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_wxPyTaskBarIcon swig_types[9]
221 #define SWIGTYPE_p_wxIconBundle swig_types[10]
222 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[11]
223 #define SWIGTYPE_p_wxFindDialogEvent swig_types[12]
224 #define SWIGTYPE_p_wxPreviewCanvas swig_types[13]
225 #define SWIGTYPE_p_wxFont swig_types[14]
226 #define SWIGTYPE_p_wxSplitterEvent swig_types[15]
227 #define SWIGTYPE_p_wxRegion swig_types[16]
228 #define SWIGTYPE_p_wxFindReplaceData swig_types[17]
229 #define SWIGTYPE_p_int swig_types[18]
230 #define SWIGTYPE_p_wxSize swig_types[19]
231 #define SWIGTYPE_p_wxDC swig_types[20]
232 #define SWIGTYPE_p_wxIcon swig_types[21]
233 #define SWIGTYPE_p_wxVisualAttributes swig_types[22]
234 #define SWIGTYPE_p_wxMDIChildFrame swig_types[23]
235 #define SWIGTYPE_p_wxColourData swig_types[24]
236 #define SWIGTYPE_p_wxNotifyEvent swig_types[25]
237 #define SWIGTYPE_p_wxPyWindow swig_types[26]
238 #define SWIGTYPE_p_wxSplashScreen swig_types[27]
239 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[28]
240 #define SWIGTYPE_p_wxProgressDialog swig_types[29]
241 #define SWIGTYPE_p_wxMessageDialog swig_types[30]
242 #define SWIGTYPE_p_wxTextEntryDialog swig_types[31]
243 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[32]
244 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[33]
245 #define SWIGTYPE_p_wxFileDialog swig_types[34]
246 #define SWIGTYPE_p_wxPrinter swig_types[35]
247 #define SWIGTYPE_p_wxArrayInt swig_types[36]
248 #define SWIGTYPE_p_wxEvtHandler swig_types[37]
249 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[38]
250 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[39]
251 #define SWIGTYPE_p_wxPyVListBox swig_types[40]
252 #define SWIGTYPE_p_wxRect swig_types[41]
253 #define SWIGTYPE_p_char swig_types[42]
254 #define SWIGTYPE_p_wxMiniFrame swig_types[43]
255 #define SWIGTYPE_p_wxFrame swig_types[44]
256 #define SWIGTYPE_p_wxPyPrintout swig_types[45]
257 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[46]
258 #define SWIGTYPE_p_wxScrollWinEvent swig_types[47]
259 #define SWIGTYPE_p_wxStatusBar swig_types[48]
260 #define SWIGTYPE_p_wxMDIParentFrame swig_types[49]
261 #define SWIGTYPE_p_wxPoint swig_types[50]
262 #define SWIGTYPE_p_wxObject swig_types[51]
263 #define SWIGTYPE_p_wxOutputStream swig_types[52]
264 #define SWIGTYPE_p_wxMDIClientWindow swig_types[53]
265 #define SWIGTYPE_p_wxTipWindow swig_types[54]
266 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[55]
267 #define SWIGTYPE_p_wxSplitterWindow swig_types[56]
268 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[57]
269 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[58]
270 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[59]
271 #define SWIGTYPE_p_wxPopupWindow swig_types[60]
272 #define SWIGTYPE_p_wxSashWindow swig_types[61]
273 #define SWIGTYPE_p_wxTopLevelWindow swig_types[62]
274 #define SWIGTYPE_p_wxWindow swig_types[63]
275 #define SWIGTYPE_p_wxScrolledWindow swig_types[64]
276 #define SWIGTYPE_p_wxMenuBar swig_types[65]
277 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[66]
278 #define SWIGTYPE_p_wxPrintPreview swig_types[67]
279 #define SWIGTYPE_p_wxSashEvent swig_types[68]
280 #define SWIGTYPE_p_wxString swig_types[69]
281 #define SWIGTYPE_p_wxPyPrintPreview swig_types[70]
282 #define SWIGTYPE_p_wxFontDialog swig_types[71]
283 #define SWIGTYPE_p_wxDirDialog swig_types[72]
284 #define SWIGTYPE_p_wxColourDialog swig_types[73]
285 #define SWIGTYPE_p_wxDialog swig_types[74]
286 #define SWIGTYPE_p_wxPanel swig_types[75]
287 #define SWIGTYPE_p_wxPageSetupDialog swig_types[76]
288 #define SWIGTYPE_p_wxPrintDialog swig_types[77]
289 #define SWIGTYPE_p_wxFileSystem swig_types[78]
290 #define SWIGTYPE_p_wxBitmap swig_types[79]
291 #define SWIGTYPE_p_wxCommandEvent swig_types[80]
292 #define SWIGTYPE_p_wxPreviewControlBar swig_types[81]
293 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[82]
294 #define SWIGTYPE_p_wxColour swig_types[83]
295 #define SWIGTYPE_p_wxToolBar swig_types[84]
296 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[85]
297 #define SWIGTYPE_p_wxPrintDialogData swig_types[86]
298 static swig_type_info
*swig_types
[88];
300 /* -------- TYPES TABLE (END) -------- */
303 /*-----------------------------------------------
304 @(target):= _windows_.so
305 ------------------------------------------------*/
306 #define SWIG_init init_windows_
308 #define SWIG_name "_windows_"
310 /* Auxiliar swig macros that appear in the header */
312 #define SWIG_OLDOBJ 1
313 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
314 #define SWIG_PYSTR SWIG_NEWOBJ + 1
317 #define SWIGSTATICINLINE(a) static inline a
318 #define SWIGSTATIC(a) static a
319 #define swig_new_array(size,Type) (new Type[(size)])
320 #define swig_delete(cptr) delete cptr
321 #define swig_delete_array(cptr) delete[] cptr
322 #define swig_const_cast(a,Type) const_cast<Type >(a)
323 #define swig_static_cast(a,Type) static_cast<Type >(a)
324 #define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a)
325 #define swig_new_copy(ptr,Type) (new Type(*ptr))
326 #define swig_numeric_cast(a,Type) static_cast<Type >(a)
330 #define SWIGSTATICINLINE(a) static a
331 #define SWIGSTATIC(a) static a
332 #define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type)))
333 #define swig_delete(cptr) free((char*)cptr)
334 #define swig_delete_array(cptr) free((char*)cptr)
335 #define swig_const_cast(a,Type) (Type)(a)
336 #define swig_static_cast(a,Type) (Type)(a)
337 #define swig_reinterpret_cast(a,Type) (Type)(a)
338 #define swig_numeric_cast(a,Type) (Type)(a)
339 #define swig_new_copy(ptr,Type) ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type)))
341 #endif /* __cplusplus */
344 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
345 #define SWIG_From_signed_SS_char PyInt_FromLong
347 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
348 #define SWIG_From_unsigned_SS_char PyInt_FromLong
350 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
351 #define SWIG_From_short PyInt_FromLong
353 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
354 #define SWIG_From_unsigned_SS_short PyInt_FromLong
356 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
357 #define SWIG_From_int PyInt_FromLong
359 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
360 #define SWIG_From_long PyInt_FromLong
362 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
363 #define SWIG_From_float PyFloat_FromDouble
365 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
366 #define SWIG_From_double PyFloat_FromDouble
370 #include "wx/wxPython/wxPython.h"
371 #include "wx/wxPython/pyclasses.h"
374 static const wxString
wxPyEmptyString(wxEmptyString
);
375 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
382 SWIGSTATICINLINE(int)
383 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
386 if (value
< min_value
) {
388 PyErr_Format(PyExc_OverflowError
,
389 "value %ld is less than '%s' minimum %ld",
390 value
, errmsg
, min_value
);
393 } else if (value
> max_value
) {
395 PyErr_Format(PyExc_OverflowError
,
396 "value %ld is greater than '%s' maximum %ld",
397 value
, errmsg
, max_value
);
405 // See my_fragments.i
406 SWIGSTATICINLINE(int)
407 SWIG_AsVal_long(PyObject
* obj
, long* val
)
409 if (PyNumber_Check(obj
)) {
410 if (val
) *val
= PyInt_AsLong(obj
);
414 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
415 obj
->ob_type
->tp_name
);
416 PyErr_SetObject(PyExc_TypeError
, errmsg
);
423 #if INT_MAX != LONG_MAX
424 SWIGSTATICINLINE(int)
425 SWIG_AsVal_int(PyObject
*obj
, int *val
)
427 const char* errmsg
= val
? "int" : 0;
429 if (SWIG_AsVal_long(obj
, &v
)) {
430 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
431 if (val
) *val
= swig_numeric_cast(v
, int);
440 PyErr_SetString(PyExc_TypeError
, "an int is expected");
445 SWIGSTATICINLINE(int)
446 SWIG_AsVal_int(PyObject
*obj
, int *val
)
448 return SWIG_AsVal_long(obj
,(long*)val
);
453 SWIGSTATICINLINE(int)
454 SWIG_As_int(PyObject
* obj
)
457 if (!SWIG_AsVal_int(obj
, &v
)) {
459 this is needed to make valgrind/purify happier. the other
460 solution is throw an exception, but since this code should work
463 memset((void*)&v
, 0, sizeof(int));
469 SWIGSTATICINLINE(long)
470 SWIG_As_long(PyObject
* obj
)
473 if (!SWIG_AsVal_long(obj
, &v
)) {
475 this is needed to make valgrind/purify happier. the other
476 solution is throw an exception, but since this code should work
479 memset((void*)&v
, 0, sizeof(long));
485 SWIGSTATICINLINE(int)
486 SWIG_Check_int(PyObject
* obj
)
488 return SWIG_AsVal_int(obj
, (int*)0);
492 SWIGSTATICINLINE(int)
493 SWIG_Check_long(PyObject
* obj
)
495 return SWIG_AsVal_long(obj
, (long*)0);
499 SWIGSTATICINLINE(int)
500 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
502 /* if (val) *val = PyObject_IsTrue(obj); return 1; */
503 if (obj
== Py_True
) {
504 if (val
) *val
= true;
507 if (obj
== Py_False
) {
508 if (val
) *val
= false;
512 if (SWIG_AsVal_int(obj
, &res
)) {
513 if (val
) *val
= (bool)res
;
517 PyErr_SetString(PyExc_TypeError
, "a bool is expected");
523 SWIGSTATICINLINE(bool)
524 SWIG_As_bool(PyObject
* obj
)
527 if (!SWIG_AsVal_bool(obj
, &v
)) {
529 this is needed to make valgrind/purify happier. the other
530 solution is throw an exception, but since this code should work
533 memset((void*)&v
, 0, sizeof(bool));
539 SWIGSTATICINLINE(int)
540 SWIG_Check_bool(PyObject
* obj
)
542 return SWIG_AsVal_bool(obj
, (bool*)0);
546 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
552 } else if (target
== Py_None
) {
556 if (!PyTuple_Check(target
)) {
558 target
= PyTuple_New(1);
559 PyTuple_SetItem(target
, 0, o2
);
562 PyTuple_SetItem(o3
, 0, o
);
565 target
= PySequence_Concat(o2
, o3
);
574 // See my_fragments.i
575 SWIGSTATICINLINE(int)
576 SWIG_AsVal_double(PyObject
*obj
, double* val
)
578 if (PyNumber_Check(obj
)) {
579 if (val
) *val
= PyFloat_AsDouble(obj
);
583 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
584 obj
->ob_type
->tp_name
);
585 PyErr_SetObject(PyExc_TypeError
, errmsg
);
592 SWIGSTATICINLINE(double)
593 SWIG_As_double(PyObject
* obj
)
596 if (!SWIG_AsVal_double(obj
, &v
)) {
598 this is needed to make valgrind/purify happier. the other
599 solution is throw an exception, but since this code should work
602 memset((void*)&v
, 0, sizeof(double));
608 SWIGSTATICINLINE(int)
609 SWIG_Check_double(PyObject
* obj
)
611 return SWIG_AsVal_double(obj
, (double*)0);
614 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
615 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
616 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
617 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
620 wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
622 self
->GetFieldRect(i
, r
);
625 static const wxString
wxPySplitterNameStr(wxT("splitter"));
626 static const wxString
wxPySashNameStr(wxT("sashWindow"));
627 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
629 #include <wx/popupwin.h>
632 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
635 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
636 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
637 : wxPopupTransientWindow(parent
, style
) {}
639 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
640 DEC_PYCALLBACK__(OnDismiss
);
641 DEC_PYCALLBACK_BOOL_(CanDismiss
);
646 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
647 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
648 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
651 #include <wx/tipwin.h>
653 wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
,wxRect
*rectBound
){
654 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
657 #include <wx/tipwin.h>
660 #include <wx/vscroll.h>
663 class wxPyVScrolledWindow
: public wxVScrolledWindow
665 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
);
667 wxPyVScrolledWindow() : wxVScrolledWindow() {}
669 wxPyVScrolledWindow(wxWindow
*parent
,
670 wxWindowID id
= wxID_ANY
,
671 const wxPoint
& pos
= wxDefaultPosition
,
672 const wxSize
& size
= wxDefaultSize
,
674 const wxString
& name
= wxPyPanelNameStr
)
675 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
678 // Overridable virtuals
680 // this function must be overridden in the derived class and it should
681 // return the height of the given line in pixels
682 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
685 // this function doesn't have to be overridden but it may be useful to do
686 // it if calculating the lines heights is a relatively expensive operation
687 // as it gives the user code a possibility to calculate several of them at
690 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
691 // shouldn't rely on the latter being called for all lines in the interval
692 // specified here. It is also possible that OnGetLineHeight() will be
693 // called for the lines outside of this interval, so this is really just a
694 // hint, not a promise.
696 // finally note that lineMin is inclusive, while lineMax is exclusive, as
698 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
701 // when the number of lines changes, we try to estimate the total height
702 // of all lines which is a rather expensive operation in terms of lines
703 // access, so if the user code may estimate the average height
704 // better/faster than we do, it should override this function to implement
707 // this function should return the best guess for the total height it may
709 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
712 // Also expose some other interesting protected methods
715 // find the index of the line we need to show at the top of the window such
716 // that the last (fully or partially) visible line is the given one
717 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
718 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
720 // get the total height of the lines between lineMin (inclusive) and
721 // lineMax (exclusive)
722 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
723 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
729 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
731 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
732 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
733 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
736 // See my_fragments.i
737 SWIGSTATICINLINE(int)
738 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
741 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
742 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
746 *val
= (unsigned long)v
;
751 SWIGSTATICINLINE(unsigned long)
752 SWIG_As_unsigned_SS_long(PyObject
* obj
)
755 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
757 this is needed to make valgrind/purify happier. the other
758 solution is throw an exception, but since this code should work
761 memset((void*)&v
, 0, sizeof(unsigned long));
767 SWIGSTATICINLINE(int)
768 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
770 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
774 SWIGSTATICINLINE(PyObject
* )
775 SWIG_From_unsigned_SS_long(unsigned long value
)
777 return (value
> LONG_MAX
) ?
778 PyLong_FromUnsignedLong(value
)
779 : PyInt_FromLong(swig_numeric_cast(value
,long));
783 #include <wx/vlbox.h>
785 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
787 class wxPyVListBox
: public wxVListBox
789 DECLARE_ABSTRACT_CLASS(wxPyVListBox
);
791 wxPyVListBox() : wxVListBox() {}
793 wxPyVListBox(wxWindow
*parent
,
794 wxWindowID id
= wxID_ANY
,
795 const wxPoint
& pos
= wxDefaultPosition
,
796 const wxSize
& size
= wxDefaultSize
,
798 const wxString
& name
= wxPyVListBoxNameStr
)
799 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
802 // Overridable virtuals
804 // the derived class must implement this function to actually draw the item
805 // with the given index on the provided DC
806 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
807 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
810 // the derived class must implement this method to return the height of the
812 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
813 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
816 // this method may be used to draw separators between the lines; note that
817 // the rectangle may be modified, typically to deflate it a bit before
818 // passing to OnDrawItem()
820 // the base class version doesn't do anything
821 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
822 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
825 // this method is used to draw the items background and, maybe, a border
828 // the base class version implements a reasonable default behaviour which
829 // consists in drawing the selected item with the standard background
830 // colour and drawing a border around the item if it is either selected or
832 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
833 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
839 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
841 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
842 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
843 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
844 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
847 PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
848 unsigned long cookie
= 0;
849 int selected
= self
->GetFirstSelected(cookie
);
850 bool blocked
= wxPyBeginBlockThreads();
851 PyObject
* tup
= PyTuple_New(2);
852 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
853 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
854 wxPyEndBlockThreads(blocked
);
857 PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
858 int selected
= self
->GetNextSelected(cookie
);
859 bool blocked
= wxPyBeginBlockThreads();
860 PyObject
* tup
= PyTuple_New(2);
861 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
862 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
863 wxPyEndBlockThreads(blocked
);
867 #include <wx/htmllbox.h>
870 class wxPyHtmlListBox
: public wxHtmlListBox
872 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
);
874 wxPyHtmlListBox() : wxHtmlListBox() {}
876 wxPyHtmlListBox(wxWindow
*parent
,
877 wxWindowID id
= wxID_ANY
,
878 const wxPoint
& pos
= wxDefaultPosition
,
879 const wxSize
& size
= wxDefaultSize
,
881 const wxString
& name
= wxPyVListBoxNameStr
)
882 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
885 // Overridable virtuals
887 // this method must be implemented in the derived class and should return
888 // the body (i.e. without <html>) of the HTML for the given item
889 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
891 // this function may be overridden to decorate HTML returned by OnGetItem()
892 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
895 // // this method allows to customize the selection appearance: it may be used
896 // // to specify the colour of the text which normally has the given colour
897 // // colFg when it is inside the selection
899 // // by default, the original colour is not used at all and all text has the
900 // // same (default for this system) colour inside selection
901 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
903 // // this is the same as GetSelectedTextColour() but allows to customize the
904 // // background colour -- this is even more rarely used as you can change it
905 // // globally using SetSelectionBackground()
906 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
913 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
915 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
916 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
922 #ifndef wxHAS_TASK_BAR_ICON
923 // implement dummy classes for platforms that don't have it
925 class wxTaskBarIcon
: public wxEvtHandler
928 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
932 class wxTaskBarIconEvent
: public wxEvent
935 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
936 { wxPyRaiseNotImplemented(); }
937 virtual wxEvent
* Clone() const { return NULL
; }
938 bool IsOk() const { return false; }
939 bool IsIconInstalled() const { return false; }
940 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
941 bool RemoveIcon() { return false; }
942 bool PopupMenu(wxMenu
*menu
) { return false; }
946 wxEVT_TASKBAR_MOVE
= 0,
947 wxEVT_TASKBAR_LEFT_DOWN
= 0,
948 wxEVT_TASKBAR_LEFT_UP
= 0,
949 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
950 wxEVT_TASKBAR_RIGHT_UP
= 0,
951 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
952 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
957 // Otherwise make a class that can virtualize CreatePopupMenu
958 class wxPyTaskBarIcon
: public wxTaskBarIcon
960 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
);
962 wxPyTaskBarIcon() : wxTaskBarIcon()
965 wxMenu
* CreatePopupMenu() {
968 bool blocked
= wxPyBeginBlockThreads();
969 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
972 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
974 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
979 wxPyEndBlockThreads(blocked
);
981 rval
= wxTaskBarIcon::CreatePopupMenu();
988 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
992 void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
996 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
997 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
998 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
999 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
1000 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
1001 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
1002 PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
1004 self
->GetFilenames(arr
);
1005 return wxArrayString2PyList_helper(arr
);
1007 PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
1009 self
->GetPaths(arr
);
1010 return wxArrayString2PyList_helper(arr
);
1012 PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
1013 return wxArrayInt2PyList_helper(self
->GetSelections());
1015 wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
const &message
,wxString
const &caption
,int choices
,wxString
*choices_array
,long style
,wxPoint
const &pos
){
1016 return new wxSingleChoiceDialog(parent
, message
, caption
,
1017 choices
, choices_array
, NULL
, style
, pos
);
1022 // C++ version of Python aware wxWindow
1023 class wxPyWindow
: public wxWindow
1025 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
1027 wxPyWindow() : wxWindow() {}
1028 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
1029 const wxPoint
& pos
= wxDefaultPosition
,
1030 const wxSize
& size
= wxDefaultSize
,
1032 const wxString
& name
= wxPyPanelNameStr
)
1033 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
1035 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
1037 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1038 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1039 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1040 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1042 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1043 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1044 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1046 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1047 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1049 DEC_PYCALLBACK__(InitDialog
);
1050 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1051 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1052 DEC_PYCALLBACK_BOOL_(Validate
);
1054 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1055 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1056 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1058 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1059 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1061 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
1062 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1063 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
1068 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
1070 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
1071 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
1072 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
1073 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
1075 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
1076 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
1077 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
1079 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
1080 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
1082 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
1083 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
1084 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
1085 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
1087 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
1088 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
1089 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
1091 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
1092 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
1094 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
1095 IMP_PYCALLBACK__COLOUR(wxPyWindow
, wxWindow
, ApplyParentThemeBackground
);
1096 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
1099 // C++ version of Python aware wxPanel
1100 class wxPyPanel
: public wxPanel
1102 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
1104 wxPyPanel() : wxPanel() {}
1105 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
1106 const wxPoint
& pos
= wxDefaultPosition
,
1107 const wxSize
& size
= wxDefaultSize
,
1109 const wxString
& name
= wxPyPanelNameStr
)
1110 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
1112 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
1115 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1116 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1117 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1118 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1120 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1121 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1122 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1124 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1125 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1127 DEC_PYCALLBACK__(InitDialog
);
1128 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1129 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1130 DEC_PYCALLBACK_BOOL_(Validate
);
1132 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1133 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1134 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1136 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1137 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1139 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
1140 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1141 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
1146 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
1148 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
1149 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
1150 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
1151 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
1153 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
1154 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
1155 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
1157 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
1158 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
1160 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
1161 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
1162 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
1163 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
1165 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
1166 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
1167 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
1169 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
1170 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
1172 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
1173 IMP_PYCALLBACK__COLOUR(wxPyPanel
, wxPanel
, ApplyParentThemeBackground
);
1174 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
1177 // C++ version of Python aware wxScrolledWindow
1178 class wxPyScrolledWindow
: public wxScrolledWindow
1180 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
1182 wxPyScrolledWindow() : wxScrolledWindow() {}
1183 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
1184 const wxPoint
& pos
= wxDefaultPosition
,
1185 const wxSize
& size
= wxDefaultSize
,
1187 const wxString
& name
= wxPyPanelNameStr
)
1188 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
1190 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
1192 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1193 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1194 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1195 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1197 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1198 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1199 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1201 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1202 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1204 DEC_PYCALLBACK__(InitDialog
);
1205 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1206 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1207 DEC_PYCALLBACK_BOOL_(Validate
);
1209 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1210 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1211 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1213 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1214 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1216 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
1217 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1218 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
1223 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
1225 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
1226 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
1227 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
1228 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
1230 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
1231 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
1232 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
1234 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
1235 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
1237 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
1238 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
1239 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
1240 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
1242 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
1243 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
1244 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
1246 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
1247 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
1249 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
1250 IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow
, wxScrolledWindow
, ApplyParentThemeBackground
);
1251 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
1255 #include "wx/wxPython/printfw.h"
1258 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
1259 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1263 // Since this one would be tough and ugly to do with the Macros...
1264 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1265 bool hadErr
= false;
1268 bool blocked
= wxPyBeginBlockThreads();
1269 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
1270 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1271 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
1274 val
= PyTuple_GetItem(result
, 0);
1275 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
1278 val
= PyTuple_GetItem(result
, 1);
1279 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
1282 val
= PyTuple_GetItem(result
, 2);
1283 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
1286 val
= PyTuple_GetItem(result
, 3);
1287 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
1294 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
1299 wxPyEndBlockThreads(blocked
);
1301 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1304 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1305 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1309 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
1310 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
1311 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
1312 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
1313 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
1314 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
1315 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
1321 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1322 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1323 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1326 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1327 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1330 bool blocked = wxPyBeginBlockThreads(); \
1331 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1332 PyObject* win = wxPyMake_wxObject(a,false); \
1333 PyObject* dc = wxPyMake_wxObject(&b,false); \
1334 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
1338 wxPyEndBlockThreads(blocked); \
1340 rval = PCLASS::CBNAME(a, b); \
1343 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1344 return PCLASS::CBNAME(a, b); \
1350 class wxPyPrintPreview
: public wxPrintPreview
1352 DECLARE_CLASS(wxPyPrintPreview
)
1354 wxPyPrintPreview(wxPyPrintout
* printout
,
1355 wxPyPrintout
* printoutForPrinting
,
1356 wxPrintDialogData
* data
=NULL
)
1357 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1359 wxPyPrintPreview(wxPyPrintout
* printout
,
1360 wxPyPrintout
* printoutForPrinting
,
1361 wxPrintData
* data
=NULL
)
1362 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1365 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
1366 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
1367 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
1368 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
1369 DEC_PYCALLBACK_VOID_INT(SetZoom
);
1370 DEC_PYCALLBACK_BOOL_BOOL(Print
);
1371 DEC_PYCALLBACK_VOID_(DetermineScaling
);
1376 // Stupid renamed classes... Fix this in 2.5...
1377 #if defined(__WXMSW__)
1378 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
1379 #elif defined(__WXMAC__)
1380 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
1382 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
1385 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
1386 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
1387 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
1388 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
1389 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
1390 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
1391 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
1394 class wxPyPreviewFrame
: public wxPreviewFrame
1396 DECLARE_CLASS(wxPyPreviewFrame
);
1398 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
1399 const wxString
& title
,
1400 const wxPoint
& pos
= wxDefaultPosition
,
1401 const wxSize
& size
= wxDefaultSize
,
1402 long style
= wxDEFAULT_FRAME_STYLE
,
1403 const wxString
& name
= wxPyFrameNameStr
)
1404 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
1407 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
1408 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
1410 DEC_PYCALLBACK_VOID_(Initialize
);
1411 DEC_PYCALLBACK_VOID_(CreateCanvas
);
1412 DEC_PYCALLBACK_VOID_(CreateControlBar
);
1417 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
1419 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
1420 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
1421 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
1424 class wxPyPreviewControlBar
: public wxPreviewControlBar
1426 DECLARE_CLASS(wxPyPreviewControlBar
);
1428 wxPyPreviewControlBar(wxPrintPreview
*preview
,
1431 const wxPoint
& pos
= wxDefaultPosition
,
1432 const wxSize
& size
= wxDefaultSize
,
1434 const wxString
& name
= wxPyPanelNameStr
)
1435 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
1438 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
1440 DEC_PYCALLBACK_VOID_(CreateButtons
);
1441 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
1446 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
1447 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
1448 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
1453 static PyObject
*_wrap_new_Panel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1454 PyObject
*resultobj
;
1455 wxWindow
*arg1
= (wxWindow
*) 0 ;
1456 int arg2
= (int) (int)-1 ;
1457 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1458 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1459 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1460 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1461 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1462 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1463 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1467 bool temp6
= false ;
1468 PyObject
* obj0
= 0 ;
1469 PyObject
* obj1
= 0 ;
1470 PyObject
* obj2
= 0 ;
1471 PyObject
* obj3
= 0 ;
1472 PyObject
* obj4
= 0 ;
1473 PyObject
* obj5
= 0 ;
1475 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1482 arg2
= (int)SWIG_As_int(obj1
);
1483 if (PyErr_Occurred()) SWIG_fail
;
1488 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1494 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1498 arg5
= (long)SWIG_As_long(obj4
);
1499 if (PyErr_Occurred()) SWIG_fail
;
1503 arg6
= wxString_in_helper(obj5
);
1504 if (arg6
== NULL
) SWIG_fail
;
1509 if (!wxPyCheckForApp()) SWIG_fail
;
1510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1511 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1513 wxPyEndAllowThreads(__tstate
);
1514 if (PyErr_Occurred()) SWIG_fail
;
1516 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
1531 static PyObject
*_wrap_new_PrePanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1532 PyObject
*resultobj
;
1538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
1540 if (!wxPyCheckForApp()) SWIG_fail
;
1541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1542 result
= (wxPanel
*)new wxPanel();
1544 wxPyEndAllowThreads(__tstate
);
1545 if (PyErr_Occurred()) SWIG_fail
;
1547 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
1554 static PyObject
*_wrap_Panel_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1555 PyObject
*resultobj
;
1556 wxPanel
*arg1
= (wxPanel
*) 0 ;
1557 wxWindow
*arg2
= (wxWindow
*) 0 ;
1558 int arg3
= (int) (int)-1 ;
1559 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1560 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1561 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1562 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1563 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1564 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1565 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1569 bool temp7
= false ;
1570 PyObject
* obj0
= 0 ;
1571 PyObject
* obj1
= 0 ;
1572 PyObject
* obj2
= 0 ;
1573 PyObject
* obj3
= 0 ;
1574 PyObject
* obj4
= 0 ;
1575 PyObject
* obj5
= 0 ;
1576 PyObject
* obj6
= 0 ;
1578 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1584 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1587 arg3
= (int)SWIG_As_int(obj2
);
1588 if (PyErr_Occurred()) SWIG_fail
;
1593 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1599 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1603 arg6
= (long)SWIG_As_long(obj5
);
1604 if (PyErr_Occurred()) SWIG_fail
;
1608 arg7
= wxString_in_helper(obj6
);
1609 if (arg7
== NULL
) SWIG_fail
;
1614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1615 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1617 wxPyEndAllowThreads(__tstate
);
1618 if (PyErr_Occurred()) SWIG_fail
;
1621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1637 static PyObject
*_wrap_Panel_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1638 PyObject
*resultobj
;
1639 wxPanel
*arg1
= (wxPanel
*) 0 ;
1640 PyObject
* obj0
= 0 ;
1642 (char *) "self", NULL
1645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
1646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1650 (arg1
)->InitDialog();
1652 wxPyEndAllowThreads(__tstate
);
1653 if (PyErr_Occurred()) SWIG_fail
;
1655 Py_INCREF(Py_None
); resultobj
= Py_None
;
1662 static PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1663 PyObject
*resultobj
;
1664 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
1665 wxVisualAttributes result
;
1666 PyObject
* obj0
= 0 ;
1668 (char *) "variant", NULL
1671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
1673 arg1
= (int)SWIG_As_int(obj0
);
1674 if (PyErr_Occurred()) SWIG_fail
;
1677 if (!wxPyCheckForApp()) SWIG_fail
;
1678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1679 result
= wxPanel::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
1681 wxPyEndAllowThreads(__tstate
);
1682 if (PyErr_Occurred()) SWIG_fail
;
1685 wxVisualAttributes
* resultptr
;
1686 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
1687 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
1695 static PyObject
* Panel_swigregister(PyObject
*, PyObject
*args
) {
1697 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1698 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
1700 return Py_BuildValue((char *)"");
1702 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1703 PyObject
*resultobj
;
1704 wxWindow
*arg1
= (wxWindow
*) 0 ;
1705 int arg2
= (int) (int)-1 ;
1706 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1707 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1708 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1709 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1710 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
1711 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1712 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1713 wxScrolledWindow
*result
;
1716 bool temp6
= false ;
1717 PyObject
* obj0
= 0 ;
1718 PyObject
* obj1
= 0 ;
1719 PyObject
* obj2
= 0 ;
1720 PyObject
* obj3
= 0 ;
1721 PyObject
* obj4
= 0 ;
1722 PyObject
* obj5
= 0 ;
1724 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1731 arg2
= (int)SWIG_As_int(obj1
);
1732 if (PyErr_Occurred()) SWIG_fail
;
1737 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1743 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1747 arg5
= (long)SWIG_As_long(obj4
);
1748 if (PyErr_Occurred()) SWIG_fail
;
1752 arg6
= wxString_in_helper(obj5
);
1753 if (arg6
== NULL
) SWIG_fail
;
1758 if (!wxPyCheckForApp()) SWIG_fail
;
1759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1760 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1762 wxPyEndAllowThreads(__tstate
);
1763 if (PyErr_Occurred()) SWIG_fail
;
1765 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1780 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1781 PyObject
*resultobj
;
1782 wxScrolledWindow
*result
;
1787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
1789 if (!wxPyCheckForApp()) SWIG_fail
;
1790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1791 result
= (wxScrolledWindow
*)new wxScrolledWindow();
1793 wxPyEndAllowThreads(__tstate
);
1794 if (PyErr_Occurred()) SWIG_fail
;
1796 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1803 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1804 PyObject
*resultobj
;
1805 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1806 wxWindow
*arg2
= (wxWindow
*) 0 ;
1807 int arg3
= (int) (int)-1 ;
1808 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1809 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1810 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1811 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1812 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
1813 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1814 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1818 bool temp7
= false ;
1819 PyObject
* obj0
= 0 ;
1820 PyObject
* obj1
= 0 ;
1821 PyObject
* obj2
= 0 ;
1822 PyObject
* obj3
= 0 ;
1823 PyObject
* obj4
= 0 ;
1824 PyObject
* obj5
= 0 ;
1825 PyObject
* obj6
= 0 ;
1827 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1833 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1836 arg3
= (int)SWIG_As_int(obj2
);
1837 if (PyErr_Occurred()) SWIG_fail
;
1842 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1848 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1852 arg6
= (long)SWIG_As_long(obj5
);
1853 if (PyErr_Occurred()) SWIG_fail
;
1857 arg7
= wxString_in_helper(obj6
);
1858 if (arg7
== NULL
) SWIG_fail
;
1863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1864 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1866 wxPyEndAllowThreads(__tstate
);
1867 if (PyErr_Occurred()) SWIG_fail
;
1870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1886 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1887 PyObject
*resultobj
;
1888 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1893 int arg6
= (int) 0 ;
1894 int arg7
= (int) 0 ;
1895 bool arg8
= (bool) false ;
1896 PyObject
* obj0
= 0 ;
1897 PyObject
* obj1
= 0 ;
1898 PyObject
* obj2
= 0 ;
1899 PyObject
* obj3
= 0 ;
1900 PyObject
* obj4
= 0 ;
1901 PyObject
* obj5
= 0 ;
1902 PyObject
* obj6
= 0 ;
1903 PyObject
* obj7
= 0 ;
1905 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1911 arg2
= (int)SWIG_As_int(obj1
);
1912 if (PyErr_Occurred()) SWIG_fail
;
1913 arg3
= (int)SWIG_As_int(obj2
);
1914 if (PyErr_Occurred()) SWIG_fail
;
1915 arg4
= (int)SWIG_As_int(obj3
);
1916 if (PyErr_Occurred()) SWIG_fail
;
1917 arg5
= (int)SWIG_As_int(obj4
);
1918 if (PyErr_Occurred()) SWIG_fail
;
1920 arg6
= (int)SWIG_As_int(obj5
);
1921 if (PyErr_Occurred()) SWIG_fail
;
1924 arg7
= (int)SWIG_As_int(obj6
);
1925 if (PyErr_Occurred()) SWIG_fail
;
1928 arg8
= (bool)SWIG_As_bool(obj7
);
1929 if (PyErr_Occurred()) SWIG_fail
;
1932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1933 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
1935 wxPyEndAllowThreads(__tstate
);
1936 if (PyErr_Occurred()) SWIG_fail
;
1938 Py_INCREF(Py_None
); resultobj
= Py_None
;
1945 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1946 PyObject
*resultobj
;
1947 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1950 PyObject
* obj0
= 0 ;
1951 PyObject
* obj1
= 0 ;
1952 PyObject
* obj2
= 0 ;
1954 (char *) "self",(char *) "x",(char *) "y", NULL
1957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1960 arg2
= (int)SWIG_As_int(obj1
);
1961 if (PyErr_Occurred()) SWIG_fail
;
1962 arg3
= (int)SWIG_As_int(obj2
);
1963 if (PyErr_Occurred()) SWIG_fail
;
1965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1966 (arg1
)->Scroll(arg2
,arg3
);
1968 wxPyEndAllowThreads(__tstate
);
1969 if (PyErr_Occurred()) SWIG_fail
;
1971 Py_INCREF(Py_None
); resultobj
= Py_None
;
1978 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1979 PyObject
*resultobj
;
1980 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1983 PyObject
* obj0
= 0 ;
1984 PyObject
* obj1
= 0 ;
1986 (char *) "self",(char *) "orient", NULL
1989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
1990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1992 arg2
= (int)SWIG_As_int(obj1
);
1993 if (PyErr_Occurred()) SWIG_fail
;
1995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1996 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
1998 wxPyEndAllowThreads(__tstate
);
1999 if (PyErr_Occurred()) SWIG_fail
;
2001 resultobj
= SWIG_From_int((int)result
);
2008 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2009 PyObject
*resultobj
;
2010 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2013 PyObject
* obj0
= 0 ;
2014 PyObject
* obj1
= 0 ;
2015 PyObject
* obj2
= 0 ;
2017 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
2020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2023 arg2
= (int)SWIG_As_int(obj1
);
2024 if (PyErr_Occurred()) SWIG_fail
;
2025 arg3
= (int)SWIG_As_int(obj2
);
2026 if (PyErr_Occurred()) SWIG_fail
;
2028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2029 (arg1
)->SetScrollPageSize(arg2
,arg3
);
2031 wxPyEndAllowThreads(__tstate
);
2032 if (PyErr_Occurred()) SWIG_fail
;
2034 Py_INCREF(Py_None
); resultobj
= Py_None
;
2041 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2042 PyObject
*resultobj
;
2043 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2046 PyObject
* obj0
= 0 ;
2047 PyObject
* obj1
= 0 ;
2048 PyObject
* obj2
= 0 ;
2050 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
2053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2056 arg2
= (int)SWIG_As_int(obj1
);
2057 if (PyErr_Occurred()) SWIG_fail
;
2058 arg3
= (int)SWIG_As_int(obj2
);
2059 if (PyErr_Occurred()) SWIG_fail
;
2061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2062 (arg1
)->SetScrollRate(arg2
,arg3
);
2064 wxPyEndAllowThreads(__tstate
);
2065 if (PyErr_Occurred()) SWIG_fail
;
2067 Py_INCREF(Py_None
); resultobj
= Py_None
;
2074 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2075 PyObject
*resultobj
;
2076 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2077 int *arg2
= (int *) 0 ;
2078 int *arg3
= (int *) 0 ;
2083 PyObject
* obj0
= 0 ;
2085 (char *) "self", NULL
2088 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
2089 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
2090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
2091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2095 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
2097 wxPyEndAllowThreads(__tstate
);
2098 if (PyErr_Occurred()) SWIG_fail
;
2100 Py_INCREF(Py_None
); resultobj
= Py_None
;
2101 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
2102 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
2103 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
2104 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
2111 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2112 PyObject
*resultobj
;
2113 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2116 PyObject
* obj0
= 0 ;
2117 PyObject
* obj1
= 0 ;
2118 PyObject
* obj2
= 0 ;
2120 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
2123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2126 arg2
= (bool)SWIG_As_bool(obj1
);
2127 if (PyErr_Occurred()) SWIG_fail
;
2128 arg3
= (bool)SWIG_As_bool(obj2
);
2129 if (PyErr_Occurred()) SWIG_fail
;
2131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2132 (arg1
)->EnableScrolling(arg2
,arg3
);
2134 wxPyEndAllowThreads(__tstate
);
2135 if (PyErr_Occurred()) SWIG_fail
;
2137 Py_INCREF(Py_None
); resultobj
= Py_None
;
2144 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2145 PyObject
*resultobj
;
2146 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2147 int *arg2
= (int *) 0 ;
2148 int *arg3
= (int *) 0 ;
2153 PyObject
* obj0
= 0 ;
2155 (char *) "self", NULL
2158 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
2159 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
2160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
2161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2165 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
2167 wxPyEndAllowThreads(__tstate
);
2168 if (PyErr_Occurred()) SWIG_fail
;
2170 Py_INCREF(Py_None
); resultobj
= Py_None
;
2171 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
2172 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
2173 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
2174 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
2181 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2182 PyObject
*resultobj
;
2183 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2186 PyObject
* obj0
= 0 ;
2187 PyObject
* obj1
= 0 ;
2188 PyObject
* obj2
= 0 ;
2190 (char *) "self",(char *) "xs",(char *) "ys", NULL
2193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2196 arg2
= (double)SWIG_As_double(obj1
);
2197 if (PyErr_Occurred()) SWIG_fail
;
2198 arg3
= (double)SWIG_As_double(obj2
);
2199 if (PyErr_Occurred()) SWIG_fail
;
2201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2202 (arg1
)->SetScale(arg2
,arg3
);
2204 wxPyEndAllowThreads(__tstate
);
2205 if (PyErr_Occurred()) SWIG_fail
;
2207 Py_INCREF(Py_None
); resultobj
= Py_None
;
2214 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2215 PyObject
*resultobj
;
2216 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2218 PyObject
* obj0
= 0 ;
2220 (char *) "self", NULL
2223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
2224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2228 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
2230 wxPyEndAllowThreads(__tstate
);
2231 if (PyErr_Occurred()) SWIG_fail
;
2233 resultobj
= SWIG_From_double((double)result
);
2240 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2241 PyObject
*resultobj
;
2242 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2244 PyObject
* obj0
= 0 ;
2246 (char *) "self", NULL
2249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
2250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2254 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
2256 wxPyEndAllowThreads(__tstate
);
2257 if (PyErr_Occurred()) SWIG_fail
;
2259 resultobj
= SWIG_From_double((double)result
);
2266 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
2267 PyObject
*resultobj
;
2268 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2272 PyObject
* obj0
= 0 ;
2273 PyObject
* obj1
= 0 ;
2275 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
2276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2280 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2284 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
2286 wxPyEndAllowThreads(__tstate
);
2287 if (PyErr_Occurred()) SWIG_fail
;
2290 wxPoint
* resultptr
;
2291 resultptr
= new wxPoint((wxPoint
&) result
);
2292 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2300 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
2301 PyObject
*resultobj
;
2302 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2305 int *arg4
= (int *) 0 ;
2306 int *arg5
= (int *) 0 ;
2311 PyObject
* obj0
= 0 ;
2312 PyObject
* obj1
= 0 ;
2313 PyObject
* obj2
= 0 ;
2315 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
2316 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
2317 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2320 arg2
= (int)SWIG_As_int(obj1
);
2321 if (PyErr_Occurred()) SWIG_fail
;
2322 arg3
= (int)SWIG_As_int(obj2
);
2323 if (PyErr_Occurred()) SWIG_fail
;
2325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2326 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
2328 wxPyEndAllowThreads(__tstate
);
2329 if (PyErr_Occurred()) SWIG_fail
;
2331 Py_INCREF(Py_None
); resultobj
= Py_None
;
2332 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
2333 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
2334 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
2335 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
2342 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
2347 argc
= PyObject_Length(args
);
2348 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2349 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2355 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2364 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2367 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
2375 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2383 _v
= SWIG_Check_int(argv
[1]);
2385 _v
= SWIG_Check_int(argv
[2]);
2387 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
2393 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2398 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
2399 PyObject
*resultobj
;
2400 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2404 PyObject
* obj0
= 0 ;
2405 PyObject
* obj1
= 0 ;
2407 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
2408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2412 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2416 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
2418 wxPyEndAllowThreads(__tstate
);
2419 if (PyErr_Occurred()) SWIG_fail
;
2422 wxPoint
* resultptr
;
2423 resultptr
= new wxPoint((wxPoint
&) result
);
2424 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2432 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
2433 PyObject
*resultobj
;
2434 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2437 int *arg4
= (int *) 0 ;
2438 int *arg5
= (int *) 0 ;
2443 PyObject
* obj0
= 0 ;
2444 PyObject
* obj1
= 0 ;
2445 PyObject
* obj2
= 0 ;
2447 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
2448 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
2449 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2452 arg2
= (int)SWIG_As_int(obj1
);
2453 if (PyErr_Occurred()) SWIG_fail
;
2454 arg3
= (int)SWIG_As_int(obj2
);
2455 if (PyErr_Occurred()) SWIG_fail
;
2457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2458 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
2460 wxPyEndAllowThreads(__tstate
);
2461 if (PyErr_Occurred()) SWIG_fail
;
2463 Py_INCREF(Py_None
); resultobj
= Py_None
;
2464 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
2465 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
2466 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
2467 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
2474 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
2479 argc
= PyObject_Length(args
);
2480 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2481 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2487 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2496 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2499 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
2507 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2515 _v
= SWIG_Check_int(argv
[1]);
2517 _v
= SWIG_Check_int(argv
[2]);
2519 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
2525 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2530 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2531 PyObject
*resultobj
;
2532 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2533 PyObject
* obj0
= 0 ;
2535 (char *) "self", NULL
2538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
2539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2543 (arg1
)->AdjustScrollbars();
2545 wxPyEndAllowThreads(__tstate
);
2546 if (PyErr_Occurred()) SWIG_fail
;
2548 Py_INCREF(Py_None
); resultobj
= Py_None
;
2555 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2556 PyObject
*resultobj
;
2557 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2558 wxScrollWinEvent
*arg2
= 0 ;
2560 PyObject
* obj0
= 0 ;
2561 PyObject
* obj1
= 0 ;
2563 (char *) "self",(char *) "event", NULL
2566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
2567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2569 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxScrollWinEvent
,
2570 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2573 PyErr_SetString(PyExc_TypeError
,"null reference");
2577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2578 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
2580 wxPyEndAllowThreads(__tstate
);
2581 if (PyErr_Occurred()) SWIG_fail
;
2583 resultobj
= SWIG_From_int((int)result
);
2590 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2591 PyObject
*resultobj
;
2592 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2593 wxWindow
*arg2
= (wxWindow
*) 0 ;
2594 PyObject
* obj0
= 0 ;
2595 PyObject
* obj1
= 0 ;
2597 (char *) "self",(char *) "target", NULL
2600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
2601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2603 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2607 (arg1
)->SetTargetWindow(arg2
);
2609 wxPyEndAllowThreads(__tstate
);
2610 if (PyErr_Occurred()) SWIG_fail
;
2612 Py_INCREF(Py_None
); resultobj
= Py_None
;
2619 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2620 PyObject
*resultobj
;
2621 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2623 PyObject
* obj0
= 0 ;
2625 (char *) "self", NULL
2628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
2629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2633 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
2635 wxPyEndAllowThreads(__tstate
);
2636 if (PyErr_Occurred()) SWIG_fail
;
2639 resultobj
= wxPyMake_wxObject(result
, 0);
2647 static PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2648 PyObject
*resultobj
;
2649 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2651 PyObject
* obj0
= 0 ;
2652 PyObject
* obj1
= 0 ;
2654 (char *) "self",(char *) "dc", NULL
2657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
2658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2660 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
2661 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2664 PyErr_SetString(PyExc_TypeError
,"null reference");
2668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2669 (arg1
)->DoPrepareDC(*arg2
);
2671 wxPyEndAllowThreads(__tstate
);
2672 if (PyErr_Occurred()) SWIG_fail
;
2674 Py_INCREF(Py_None
); resultobj
= Py_None
;
2681 static PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2682 PyObject
*resultobj
;
2683 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2684 wxVisualAttributes result
;
2685 PyObject
* obj0
= 0 ;
2687 (char *) "variant", NULL
2690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2692 arg1
= (int)SWIG_As_int(obj0
);
2693 if (PyErr_Occurred()) SWIG_fail
;
2696 if (!wxPyCheckForApp()) SWIG_fail
;
2697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2698 result
= wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2700 wxPyEndAllowThreads(__tstate
);
2701 if (PyErr_Occurred()) SWIG_fail
;
2704 wxVisualAttributes
* resultptr
;
2705 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2706 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2714 static PyObject
* ScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
2716 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2717 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
2719 return Py_BuildValue((char *)"");
2721 static int _wrap_FrameNameStr_set(PyObject
*) {
2722 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
2727 static PyObject
*_wrap_FrameNameStr_get() {
2732 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2734 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2741 static int _wrap_DialogNameStr_set(PyObject
*) {
2742 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
2747 static PyObject
*_wrap_DialogNameStr_get() {
2752 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2754 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2761 static int _wrap_StatusLineNameStr_set(PyObject
*) {
2762 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
2767 static PyObject
*_wrap_StatusLineNameStr_get() {
2772 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2774 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2781 static int _wrap_ToolBarNameStr_set(PyObject
*) {
2782 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
2787 static PyObject
*_wrap_ToolBarNameStr_get() {
2792 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2794 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2801 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2802 PyObject
*resultobj
;
2803 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2804 bool arg2
= (bool) true ;
2805 PyObject
* obj0
= 0 ;
2806 PyObject
* obj1
= 0 ;
2808 (char *) "self",(char *) "maximize", NULL
2811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
2812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2815 arg2
= (bool)SWIG_As_bool(obj1
);
2816 if (PyErr_Occurred()) SWIG_fail
;
2819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2820 (arg1
)->Maximize(arg2
);
2822 wxPyEndAllowThreads(__tstate
);
2823 if (PyErr_Occurred()) SWIG_fail
;
2825 Py_INCREF(Py_None
); resultobj
= Py_None
;
2832 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2833 PyObject
*resultobj
;
2834 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2835 PyObject
* obj0
= 0 ;
2837 (char *) "self", NULL
2840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
2841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2847 wxPyEndAllowThreads(__tstate
);
2848 if (PyErr_Occurred()) SWIG_fail
;
2850 Py_INCREF(Py_None
); resultobj
= Py_None
;
2857 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2858 PyObject
*resultobj
;
2859 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2860 bool arg2
= (bool) true ;
2861 PyObject
* obj0
= 0 ;
2862 PyObject
* obj1
= 0 ;
2864 (char *) "self",(char *) "iconize", NULL
2867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
2868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2871 arg2
= (bool)SWIG_As_bool(obj1
);
2872 if (PyErr_Occurred()) SWIG_fail
;
2875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2876 (arg1
)->Iconize(arg2
);
2878 wxPyEndAllowThreads(__tstate
);
2879 if (PyErr_Occurred()) SWIG_fail
;
2881 Py_INCREF(Py_None
); resultobj
= Py_None
;
2888 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2889 PyObject
*resultobj
;
2890 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2892 PyObject
* obj0
= 0 ;
2894 (char *) "self", NULL
2897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
2898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2902 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
2904 wxPyEndAllowThreads(__tstate
);
2905 if (PyErr_Occurred()) SWIG_fail
;
2908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2916 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2917 PyObject
*resultobj
;
2918 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2920 PyObject
* obj0
= 0 ;
2922 (char *) "self", NULL
2925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
2926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2930 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
2932 wxPyEndAllowThreads(__tstate
);
2933 if (PyErr_Occurred()) SWIG_fail
;
2936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2944 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2945 PyObject
*resultobj
;
2946 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2948 PyObject
* obj0
= 0 ;
2950 (char *) "self", NULL
2953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
2954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2958 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
2960 wxPyEndAllowThreads(__tstate
);
2961 if (PyErr_Occurred()) SWIG_fail
;
2965 resultptr
= new wxIcon((wxIcon
&) result
);
2966 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
2974 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2975 PyObject
*resultobj
;
2976 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2978 PyObject
* obj0
= 0 ;
2979 PyObject
* obj1
= 0 ;
2981 (char *) "self",(char *) "icon", NULL
2984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
2985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2987 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
2988 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2991 PyErr_SetString(PyExc_TypeError
,"null reference");
2995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2996 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
2998 wxPyEndAllowThreads(__tstate
);
2999 if (PyErr_Occurred()) SWIG_fail
;
3001 Py_INCREF(Py_None
); resultobj
= Py_None
;
3008 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3009 PyObject
*resultobj
;
3010 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3011 wxIconBundle
*arg2
= 0 ;
3012 PyObject
* obj0
= 0 ;
3013 PyObject
* obj1
= 0 ;
3015 (char *) "self",(char *) "icons", NULL
3018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
3019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3021 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIconBundle
,
3022 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3025 PyErr_SetString(PyExc_TypeError
,"null reference");
3029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3030 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
3032 wxPyEndAllowThreads(__tstate
);
3033 if (PyErr_Occurred()) SWIG_fail
;
3035 Py_INCREF(Py_None
); resultobj
= Py_None
;
3042 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3043 PyObject
*resultobj
;
3044 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3046 long arg3
= (long) wxFULLSCREEN_ALL
;
3048 PyObject
* obj0
= 0 ;
3049 PyObject
* obj1
= 0 ;
3050 PyObject
* obj2
= 0 ;
3052 (char *) "self",(char *) "show",(char *) "style", NULL
3055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3058 arg2
= (bool)SWIG_As_bool(obj1
);
3059 if (PyErr_Occurred()) SWIG_fail
;
3061 arg3
= (long)SWIG_As_long(obj2
);
3062 if (PyErr_Occurred()) SWIG_fail
;
3065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3066 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
3068 wxPyEndAllowThreads(__tstate
);
3069 if (PyErr_Occurred()) SWIG_fail
;
3072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3080 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3081 PyObject
*resultobj
;
3082 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3084 PyObject
* obj0
= 0 ;
3086 (char *) "self", NULL
3089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
3090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3094 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
3096 wxPyEndAllowThreads(__tstate
);
3097 if (PyErr_Occurred()) SWIG_fail
;
3100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3108 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3109 PyObject
*resultobj
;
3110 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3111 wxString
*arg2
= 0 ;
3112 bool temp2
= false ;
3113 PyObject
* obj0
= 0 ;
3114 PyObject
* obj1
= 0 ;
3116 (char *) "self",(char *) "title", NULL
3119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
3120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3123 arg2
= wxString_in_helper(obj1
);
3124 if (arg2
== NULL
) SWIG_fail
;
3128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3129 (arg1
)->SetTitle((wxString
const &)*arg2
);
3131 wxPyEndAllowThreads(__tstate
);
3132 if (PyErr_Occurred()) SWIG_fail
;
3134 Py_INCREF(Py_None
); resultobj
= Py_None
;
3149 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3150 PyObject
*resultobj
;
3151 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3153 PyObject
* obj0
= 0 ;
3155 (char *) "self", NULL
3158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
3159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3163 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
3165 wxPyEndAllowThreads(__tstate
);
3166 if (PyErr_Occurred()) SWIG_fail
;
3170 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3172 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3181 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3182 PyObject
*resultobj
;
3183 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3184 wxRegion
*arg2
= 0 ;
3186 PyObject
* obj0
= 0 ;
3187 PyObject
* obj1
= 0 ;
3189 (char *) "self",(char *) "region", NULL
3192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
3193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3195 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
3196 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3199 PyErr_SetString(PyExc_TypeError
,"null reference");
3203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3204 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
3206 wxPyEndAllowThreads(__tstate
);
3207 if (PyErr_Occurred()) SWIG_fail
;
3210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3218 static PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3219 PyObject
*resultobj
;
3220 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3221 int arg2
= (int) wxUSER_ATTENTION_INFO
;
3222 PyObject
* obj0
= 0 ;
3223 PyObject
* obj1
= 0 ;
3225 (char *) "self",(char *) "flags", NULL
3228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) goto fail
;
3229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3232 arg2
= (int)SWIG_As_int(obj1
);
3233 if (PyErr_Occurred()) SWIG_fail
;
3236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3237 (arg1
)->RequestUserAttention(arg2
);
3239 wxPyEndAllowThreads(__tstate
);
3240 if (PyErr_Occurred()) SWIG_fail
;
3242 Py_INCREF(Py_None
); resultobj
= Py_None
;
3249 static PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3250 PyObject
*resultobj
;
3251 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3253 PyObject
* obj0
= 0 ;
3255 (char *) "self", NULL
3258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsActive",kwnames
,&obj0
)) goto fail
;
3259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3263 result
= (bool)(arg1
)->IsActive();
3265 wxPyEndAllowThreads(__tstate
);
3266 if (PyErr_Occurred()) SWIG_fail
;
3269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3277 static PyObject
* TopLevelWindow_swigregister(PyObject
*, PyObject
*args
) {
3279 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3280 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
3282 return Py_BuildValue((char *)"");
3284 static PyObject
*_wrap_new_Frame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3285 PyObject
*resultobj
;
3286 wxWindow
*arg1
= (wxWindow
*) 0 ;
3287 int arg2
= (int) (int)-1 ;
3288 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3289 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3290 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3291 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3292 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3293 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3294 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
3295 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
3296 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3298 bool temp3
= false ;
3301 bool temp7
= false ;
3302 PyObject
* obj0
= 0 ;
3303 PyObject
* obj1
= 0 ;
3304 PyObject
* obj2
= 0 ;
3305 PyObject
* obj3
= 0 ;
3306 PyObject
* obj4
= 0 ;
3307 PyObject
* obj5
= 0 ;
3308 PyObject
* obj6
= 0 ;
3310 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3317 arg2
= (int)SWIG_As_int(obj1
);
3318 if (PyErr_Occurred()) SWIG_fail
;
3322 arg3
= wxString_in_helper(obj2
);
3323 if (arg3
== NULL
) SWIG_fail
;
3330 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3336 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3340 arg6
= (long)SWIG_As_long(obj5
);
3341 if (PyErr_Occurred()) SWIG_fail
;
3345 arg7
= wxString_in_helper(obj6
);
3346 if (arg7
== NULL
) SWIG_fail
;
3351 if (!wxPyCheckForApp()) SWIG_fail
;
3352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3353 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3355 wxPyEndAllowThreads(__tstate
);
3356 if (PyErr_Occurred()) SWIG_fail
;
3358 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
3381 static PyObject
*_wrap_new_PreFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3382 PyObject
*resultobj
;
3388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
3390 if (!wxPyCheckForApp()) SWIG_fail
;
3391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3392 result
= (wxFrame
*)new wxFrame();
3394 wxPyEndAllowThreads(__tstate
);
3395 if (PyErr_Occurred()) SWIG_fail
;
3397 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
3404 static PyObject
*_wrap_Frame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3405 PyObject
*resultobj
;
3406 wxFrame
*arg1
= (wxFrame
*) 0 ;
3407 wxWindow
*arg2
= (wxWindow
*) 0 ;
3408 int arg3
= (int) (int)-1 ;
3409 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3410 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3411 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3412 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3413 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3414 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3415 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
3416 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
3417 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3419 bool temp4
= false ;
3422 bool temp8
= false ;
3423 PyObject
* obj0
= 0 ;
3424 PyObject
* obj1
= 0 ;
3425 PyObject
* obj2
= 0 ;
3426 PyObject
* obj3
= 0 ;
3427 PyObject
* obj4
= 0 ;
3428 PyObject
* obj5
= 0 ;
3429 PyObject
* obj6
= 0 ;
3430 PyObject
* obj7
= 0 ;
3432 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3438 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3441 arg3
= (int)SWIG_As_int(obj2
);
3442 if (PyErr_Occurred()) SWIG_fail
;
3446 arg4
= wxString_in_helper(obj3
);
3447 if (arg4
== NULL
) SWIG_fail
;
3454 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3460 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3464 arg7
= (long)SWIG_As_long(obj6
);
3465 if (PyErr_Occurred()) SWIG_fail
;
3469 arg8
= wxString_in_helper(obj7
);
3470 if (arg8
== NULL
) SWIG_fail
;
3475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3476 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3478 wxPyEndAllowThreads(__tstate
);
3479 if (PyErr_Occurred()) SWIG_fail
;
3482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3506 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3507 PyObject
*resultobj
;
3508 wxFrame
*arg1
= (wxFrame
*) 0 ;
3510 PyObject
* obj0
= 0 ;
3512 (char *) "self", NULL
3515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
3516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3520 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
3522 wxPyEndAllowThreads(__tstate
);
3523 if (PyErr_Occurred()) SWIG_fail
;
3526 wxPoint
* resultptr
;
3527 resultptr
= new wxPoint((wxPoint
&) result
);
3528 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3536 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3537 PyObject
*resultobj
;
3538 wxFrame
*arg1
= (wxFrame
*) 0 ;
3539 PyObject
* obj0
= 0 ;
3541 (char *) "self", NULL
3544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
3545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3549 (arg1
)->SendSizeEvent();
3551 wxPyEndAllowThreads(__tstate
);
3552 if (PyErr_Occurred()) SWIG_fail
;
3554 Py_INCREF(Py_None
); resultobj
= Py_None
;
3561 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3562 PyObject
*resultobj
;
3563 wxFrame
*arg1
= (wxFrame
*) 0 ;
3564 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
3565 PyObject
* obj0
= 0 ;
3566 PyObject
* obj1
= 0 ;
3568 (char *) "self",(char *) "menubar", NULL
3571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3574 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBar
,
3575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3578 (arg1
)->SetMenuBar(arg2
);
3580 wxPyEndAllowThreads(__tstate
);
3581 if (PyErr_Occurred()) SWIG_fail
;
3583 Py_INCREF(Py_None
); resultobj
= Py_None
;
3590 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3591 PyObject
*resultobj
;
3592 wxFrame
*arg1
= (wxFrame
*) 0 ;
3594 PyObject
* obj0
= 0 ;
3596 (char *) "self", NULL
3599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
3600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3604 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
3606 wxPyEndAllowThreads(__tstate
);
3607 if (PyErr_Occurred()) SWIG_fail
;
3610 resultobj
= wxPyMake_wxObject(result
, 0);
3618 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3619 PyObject
*resultobj
;
3620 wxFrame
*arg1
= (wxFrame
*) 0 ;
3623 PyObject
* obj0
= 0 ;
3624 PyObject
* obj1
= 0 ;
3626 (char *) "self",(char *) "winid", NULL
3629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
3630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3632 arg2
= (int)SWIG_As_int(obj1
);
3633 if (PyErr_Occurred()) SWIG_fail
;
3635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3636 result
= (bool)(arg1
)->ProcessCommand(arg2
);
3638 wxPyEndAllowThreads(__tstate
);
3639 if (PyErr_Occurred()) SWIG_fail
;
3642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3650 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3651 PyObject
*resultobj
;
3652 wxFrame
*arg1
= (wxFrame
*) 0 ;
3653 int arg2
= (int) 1 ;
3654 long arg3
= (long) wxST_SIZEGRIP
|wxFULL_REPAINT_ON_RESIZE
;
3655 int arg4
= (int) 0 ;
3656 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
3657 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3658 wxStatusBar
*result
;
3659 bool temp5
= false ;
3660 PyObject
* obj0
= 0 ;
3661 PyObject
* obj1
= 0 ;
3662 PyObject
* obj2
= 0 ;
3663 PyObject
* obj3
= 0 ;
3664 PyObject
* obj4
= 0 ;
3666 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3673 arg2
= (int)SWIG_As_int(obj1
);
3674 if (PyErr_Occurred()) SWIG_fail
;
3677 arg3
= (long)SWIG_As_long(obj2
);
3678 if (PyErr_Occurred()) SWIG_fail
;
3681 arg4
= (int)SWIG_As_int(obj3
);
3682 if (PyErr_Occurred()) SWIG_fail
;
3686 arg5
= wxString_in_helper(obj4
);
3687 if (arg5
== NULL
) SWIG_fail
;
3692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3693 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
3695 wxPyEndAllowThreads(__tstate
);
3696 if (PyErr_Occurred()) SWIG_fail
;
3699 resultobj
= wxPyMake_wxObject(result
, 0);
3715 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3716 PyObject
*resultobj
;
3717 wxFrame
*arg1
= (wxFrame
*) 0 ;
3718 wxStatusBar
*result
;
3719 PyObject
* obj0
= 0 ;
3721 (char *) "self", NULL
3724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
3725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3729 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
3731 wxPyEndAllowThreads(__tstate
);
3732 if (PyErr_Occurred()) SWIG_fail
;
3735 resultobj
= wxPyMake_wxObject(result
, 0);
3743 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3744 PyObject
*resultobj
;
3745 wxFrame
*arg1
= (wxFrame
*) 0 ;
3746 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
3747 PyObject
* obj0
= 0 ;
3748 PyObject
* obj1
= 0 ;
3750 (char *) "self",(char *) "statBar", NULL
3753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3756 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxStatusBar
,
3757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3760 (arg1
)->SetStatusBar(arg2
);
3762 wxPyEndAllowThreads(__tstate
);
3763 if (PyErr_Occurred()) SWIG_fail
;
3765 Py_INCREF(Py_None
); resultobj
= Py_None
;
3772 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3773 PyObject
*resultobj
;
3774 wxFrame
*arg1
= (wxFrame
*) 0 ;
3775 wxString
*arg2
= 0 ;
3776 int arg3
= (int) 0 ;
3777 bool temp2
= false ;
3778 PyObject
* obj0
= 0 ;
3779 PyObject
* obj1
= 0 ;
3780 PyObject
* obj2
= 0 ;
3782 (char *) "self",(char *) "text",(char *) "number", NULL
3785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3789 arg2
= wxString_in_helper(obj1
);
3790 if (arg2
== NULL
) SWIG_fail
;
3794 arg3
= (int)SWIG_As_int(obj2
);
3795 if (PyErr_Occurred()) SWIG_fail
;
3798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3799 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
3801 wxPyEndAllowThreads(__tstate
);
3802 if (PyErr_Occurred()) SWIG_fail
;
3804 Py_INCREF(Py_None
); resultobj
= Py_None
;
3819 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3820 PyObject
*resultobj
;
3821 wxFrame
*arg1
= (wxFrame
*) 0 ;
3823 int *arg3
= (int *) 0 ;
3824 PyObject
* obj0
= 0 ;
3825 PyObject
* obj1
= 0 ;
3827 (char *) "self",(char *) "widths", NULL
3830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
3831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3834 arg2
= PyList_Size(obj1
);
3835 arg3
= int_LIST_helper(obj1
);
3836 if (arg3
== NULL
) SWIG_fail
;
3839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3840 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
3842 wxPyEndAllowThreads(__tstate
);
3843 if (PyErr_Occurred()) SWIG_fail
;
3845 Py_INCREF(Py_None
); resultobj
= Py_None
;
3847 if (arg3
) delete [] arg3
;
3852 if (arg3
) delete [] arg3
;
3858 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3859 PyObject
*resultobj
;
3860 wxFrame
*arg1
= (wxFrame
*) 0 ;
3861 wxString
*arg2
= 0 ;
3862 int arg3
= (int) 0 ;
3863 bool temp2
= false ;
3864 PyObject
* obj0
= 0 ;
3865 PyObject
* obj1
= 0 ;
3866 PyObject
* obj2
= 0 ;
3868 (char *) "self",(char *) "text",(char *) "number", NULL
3871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3875 arg2
= wxString_in_helper(obj1
);
3876 if (arg2
== NULL
) SWIG_fail
;
3880 arg3
= (int)SWIG_As_int(obj2
);
3881 if (PyErr_Occurred()) SWIG_fail
;
3884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3885 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
3887 wxPyEndAllowThreads(__tstate
);
3888 if (PyErr_Occurred()) SWIG_fail
;
3890 Py_INCREF(Py_None
); resultobj
= Py_None
;
3905 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3906 PyObject
*resultobj
;
3907 wxFrame
*arg1
= (wxFrame
*) 0 ;
3908 int arg2
= (int) 0 ;
3909 PyObject
* obj0
= 0 ;
3910 PyObject
* obj1
= 0 ;
3912 (char *) "self",(char *) "number", NULL
3915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
3916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3919 arg2
= (int)SWIG_As_int(obj1
);
3920 if (PyErr_Occurred()) SWIG_fail
;
3923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3924 (arg1
)->PopStatusText(arg2
);
3926 wxPyEndAllowThreads(__tstate
);
3927 if (PyErr_Occurred()) SWIG_fail
;
3929 Py_INCREF(Py_None
); resultobj
= Py_None
;
3936 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3937 PyObject
*resultobj
;
3938 wxFrame
*arg1
= (wxFrame
*) 0 ;
3940 PyObject
* obj0
= 0 ;
3941 PyObject
* obj1
= 0 ;
3943 (char *) "self",(char *) "n", NULL
3946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
3947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3949 arg2
= (int)SWIG_As_int(obj1
);
3950 if (PyErr_Occurred()) SWIG_fail
;
3952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3953 (arg1
)->SetStatusBarPane(arg2
);
3955 wxPyEndAllowThreads(__tstate
);
3956 if (PyErr_Occurred()) SWIG_fail
;
3958 Py_INCREF(Py_None
); resultobj
= Py_None
;
3965 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3966 PyObject
*resultobj
;
3967 wxFrame
*arg1
= (wxFrame
*) 0 ;
3969 PyObject
* obj0
= 0 ;
3971 (char *) "self", NULL
3974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
3975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3979 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
3981 wxPyEndAllowThreads(__tstate
);
3982 if (PyErr_Occurred()) SWIG_fail
;
3984 resultobj
= SWIG_From_int((int)result
);
3991 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3992 PyObject
*resultobj
;
3993 wxFrame
*arg1
= (wxFrame
*) 0 ;
3994 long arg2
= (long) -1 ;
3995 int arg3
= (int) -1 ;
3996 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
3997 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3999 bool temp4
= false ;
4000 PyObject
* obj0
= 0 ;
4001 PyObject
* obj1
= 0 ;
4002 PyObject
* obj2
= 0 ;
4003 PyObject
* obj3
= 0 ;
4005 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
4008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4012 arg2
= (long)SWIG_As_long(obj1
);
4013 if (PyErr_Occurred()) SWIG_fail
;
4016 arg3
= (int)SWIG_As_int(obj2
);
4017 if (PyErr_Occurred()) SWIG_fail
;
4021 arg4
= wxString_in_helper(obj3
);
4022 if (arg4
== NULL
) SWIG_fail
;
4027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4028 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
4030 wxPyEndAllowThreads(__tstate
);
4031 if (PyErr_Occurred()) SWIG_fail
;
4034 resultobj
= wxPyMake_wxObject(result
, 0);
4050 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4051 PyObject
*resultobj
;
4052 wxFrame
*arg1
= (wxFrame
*) 0 ;
4054 PyObject
* obj0
= 0 ;
4056 (char *) "self", NULL
4059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
4060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4064 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
4066 wxPyEndAllowThreads(__tstate
);
4067 if (PyErr_Occurred()) SWIG_fail
;
4070 resultobj
= wxPyMake_wxObject(result
, 0);
4078 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4079 PyObject
*resultobj
;
4080 wxFrame
*arg1
= (wxFrame
*) 0 ;
4081 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
4082 PyObject
* obj0
= 0 ;
4083 PyObject
* obj1
= 0 ;
4085 (char *) "self",(char *) "toolbar", NULL
4088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
4089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4091 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBar
,
4092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4095 (arg1
)->SetToolBar(arg2
);
4097 wxPyEndAllowThreads(__tstate
);
4098 if (PyErr_Occurred()) SWIG_fail
;
4100 Py_INCREF(Py_None
); resultobj
= Py_None
;
4107 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4108 PyObject
*resultobj
;
4109 wxFrame
*arg1
= (wxFrame
*) 0 ;
4110 wxString
*arg2
= 0 ;
4112 bool temp2
= false ;
4113 PyObject
* obj0
= 0 ;
4114 PyObject
* obj1
= 0 ;
4115 PyObject
* obj2
= 0 ;
4117 (char *) "self",(char *) "text",(char *) "show", NULL
4120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4124 arg2
= wxString_in_helper(obj1
);
4125 if (arg2
== NULL
) SWIG_fail
;
4128 arg3
= (bool)SWIG_As_bool(obj2
);
4129 if (PyErr_Occurred()) SWIG_fail
;
4131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4132 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
4134 wxPyEndAllowThreads(__tstate
);
4135 if (PyErr_Occurred()) SWIG_fail
;
4137 Py_INCREF(Py_None
); resultobj
= Py_None
;
4152 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4153 PyObject
*resultobj
;
4154 wxFrame
*arg1
= (wxFrame
*) 0 ;
4155 wxMenu
*arg2
= (wxMenu
*) NULL
;
4156 PyObject
* obj0
= 0 ;
4157 PyObject
* obj1
= 0 ;
4159 (char *) "self",(char *) "menu", NULL
4162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
4163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4166 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
4167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4171 (arg1
)->DoMenuUpdates(arg2
);
4173 wxPyEndAllowThreads(__tstate
);
4174 if (PyErr_Occurred()) SWIG_fail
;
4176 Py_INCREF(Py_None
); resultobj
= Py_None
;
4183 static PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4184 PyObject
*resultobj
;
4185 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4186 wxVisualAttributes result
;
4187 PyObject
* obj0
= 0 ;
4189 (char *) "variant", NULL
4192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4194 arg1
= (int)SWIG_As_int(obj0
);
4195 if (PyErr_Occurred()) SWIG_fail
;
4198 if (!wxPyCheckForApp()) SWIG_fail
;
4199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4200 result
= wxFrame::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4202 wxPyEndAllowThreads(__tstate
);
4203 if (PyErr_Occurred()) SWIG_fail
;
4206 wxVisualAttributes
* resultptr
;
4207 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4208 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4216 static PyObject
* Frame_swigregister(PyObject
*, PyObject
*args
) {
4218 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4219 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
4221 return Py_BuildValue((char *)"");
4223 static PyObject
*_wrap_new_Dialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4224 PyObject
*resultobj
;
4225 wxWindow
*arg1
= (wxWindow
*) 0 ;
4226 int arg2
= (int) (int)-1 ;
4227 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4228 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4229 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4230 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4231 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4232 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4233 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
4234 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
4235 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4237 bool temp3
= false ;
4240 bool temp7
= false ;
4241 PyObject
* obj0
= 0 ;
4242 PyObject
* obj1
= 0 ;
4243 PyObject
* obj2
= 0 ;
4244 PyObject
* obj3
= 0 ;
4245 PyObject
* obj4
= 0 ;
4246 PyObject
* obj5
= 0 ;
4247 PyObject
* obj6
= 0 ;
4249 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4256 arg2
= (int)SWIG_As_int(obj1
);
4257 if (PyErr_Occurred()) SWIG_fail
;
4261 arg3
= wxString_in_helper(obj2
);
4262 if (arg3
== NULL
) SWIG_fail
;
4269 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4275 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4279 arg6
= (long)SWIG_As_long(obj5
);
4280 if (PyErr_Occurred()) SWIG_fail
;
4284 arg7
= wxString_in_helper(obj6
);
4285 if (arg7
== NULL
) SWIG_fail
;
4290 if (!wxPyCheckForApp()) SWIG_fail
;
4291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4292 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4294 wxPyEndAllowThreads(__tstate
);
4295 if (PyErr_Occurred()) SWIG_fail
;
4297 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
4320 static PyObject
*_wrap_new_PreDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4321 PyObject
*resultobj
;
4327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
4329 if (!wxPyCheckForApp()) SWIG_fail
;
4330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4331 result
= (wxDialog
*)new wxDialog();
4333 wxPyEndAllowThreads(__tstate
);
4334 if (PyErr_Occurred()) SWIG_fail
;
4336 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
4343 static PyObject
*_wrap_Dialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4344 PyObject
*resultobj
;
4345 wxDialog
*arg1
= (wxDialog
*) 0 ;
4346 wxWindow
*arg2
= (wxWindow
*) 0 ;
4347 int arg3
= (int) (int)-1 ;
4348 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4349 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4350 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4351 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4352 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4353 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4354 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
4355 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
4356 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4358 bool temp4
= false ;
4361 bool temp8
= false ;
4362 PyObject
* obj0
= 0 ;
4363 PyObject
* obj1
= 0 ;
4364 PyObject
* obj2
= 0 ;
4365 PyObject
* obj3
= 0 ;
4366 PyObject
* obj4
= 0 ;
4367 PyObject
* obj5
= 0 ;
4368 PyObject
* obj6
= 0 ;
4369 PyObject
* obj7
= 0 ;
4371 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4377 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4380 arg3
= (int)SWIG_As_int(obj2
);
4381 if (PyErr_Occurred()) SWIG_fail
;
4385 arg4
= wxString_in_helper(obj3
);
4386 if (arg4
== NULL
) SWIG_fail
;
4393 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4399 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4403 arg7
= (long)SWIG_As_long(obj6
);
4404 if (PyErr_Occurred()) SWIG_fail
;
4408 arg8
= wxString_in_helper(obj7
);
4409 if (arg8
== NULL
) SWIG_fail
;
4414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4415 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4417 wxPyEndAllowThreads(__tstate
);
4418 if (PyErr_Occurred()) SWIG_fail
;
4421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4445 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4446 PyObject
*resultobj
;
4447 wxDialog
*arg1
= (wxDialog
*) 0 ;
4449 PyObject
* obj0
= 0 ;
4450 PyObject
* obj1
= 0 ;
4452 (char *) "self",(char *) "returnCode", NULL
4455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
4456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4458 arg2
= (int)SWIG_As_int(obj1
);
4459 if (PyErr_Occurred()) SWIG_fail
;
4461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4462 (arg1
)->SetReturnCode(arg2
);
4464 wxPyEndAllowThreads(__tstate
);
4465 if (PyErr_Occurred()) SWIG_fail
;
4467 Py_INCREF(Py_None
); resultobj
= Py_None
;
4474 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4475 PyObject
*resultobj
;
4476 wxDialog
*arg1
= (wxDialog
*) 0 ;
4478 PyObject
* obj0
= 0 ;
4480 (char *) "self", NULL
4483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
4484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4488 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
4490 wxPyEndAllowThreads(__tstate
);
4491 if (PyErr_Occurred()) SWIG_fail
;
4493 resultobj
= SWIG_From_int((int)result
);
4500 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4501 PyObject
*resultobj
;
4502 wxDialog
*arg1
= (wxDialog
*) 0 ;
4503 wxString
*arg2
= 0 ;
4505 bool temp2
= false ;
4506 PyObject
* obj0
= 0 ;
4507 PyObject
* obj1
= 0 ;
4509 (char *) "self",(char *) "message", NULL
4512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4516 arg2
= wxString_in_helper(obj1
);
4517 if (arg2
== NULL
) SWIG_fail
;
4521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4522 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
4524 wxPyEndAllowThreads(__tstate
);
4525 if (PyErr_Occurred()) SWIG_fail
;
4528 resultobj
= wxPyMake_wxSizer(result
, 0);
4544 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4545 PyObject
*resultobj
;
4546 wxDialog
*arg1
= (wxDialog
*) 0 ;
4549 PyObject
* obj0
= 0 ;
4550 PyObject
* obj1
= 0 ;
4552 (char *) "self",(char *) "flags", NULL
4555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4558 arg2
= (long)SWIG_As_long(obj1
);
4559 if (PyErr_Occurred()) SWIG_fail
;
4561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4562 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
4564 wxPyEndAllowThreads(__tstate
);
4565 if (PyErr_Occurred()) SWIG_fail
;
4568 resultobj
= wxPyMake_wxSizer(result
, 0);
4576 static PyObject
*_wrap_Dialog_IsModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4577 PyObject
*resultobj
;
4578 wxDialog
*arg1
= (wxDialog
*) 0 ;
4580 PyObject
* obj0
= 0 ;
4582 (char *) "self", NULL
4585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
4586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4590 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
4592 wxPyEndAllowThreads(__tstate
);
4593 if (PyErr_Occurred()) SWIG_fail
;
4596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4604 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4605 PyObject
*resultobj
;
4606 wxDialog
*arg1
= (wxDialog
*) 0 ;
4608 PyObject
* obj0
= 0 ;
4610 (char *) "self", NULL
4613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
4614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4618 result
= (int)(arg1
)->ShowModal();
4620 wxPyEndAllowThreads(__tstate
);
4621 if (PyErr_Occurred()) SWIG_fail
;
4623 resultobj
= SWIG_From_int((int)result
);
4630 static PyObject
*_wrap_Dialog_EndModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4631 PyObject
*resultobj
;
4632 wxDialog
*arg1
= (wxDialog
*) 0 ;
4634 PyObject
* obj0
= 0 ;
4635 PyObject
* obj1
= 0 ;
4637 (char *) "self",(char *) "retCode", NULL
4640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
4641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4643 arg2
= (int)SWIG_As_int(obj1
);
4644 if (PyErr_Occurred()) SWIG_fail
;
4646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4647 (arg1
)->EndModal(arg2
);
4649 wxPyEndAllowThreads(__tstate
);
4650 if (PyErr_Occurred()) SWIG_fail
;
4652 Py_INCREF(Py_None
); resultobj
= Py_None
;
4659 static PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4660 PyObject
*resultobj
;
4661 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4662 wxVisualAttributes result
;
4663 PyObject
* obj0
= 0 ;
4665 (char *) "variant", NULL
4668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4670 arg1
= (int)SWIG_As_int(obj0
);
4671 if (PyErr_Occurred()) SWIG_fail
;
4674 if (!wxPyCheckForApp()) SWIG_fail
;
4675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4676 result
= wxDialog::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4678 wxPyEndAllowThreads(__tstate
);
4679 if (PyErr_Occurred()) SWIG_fail
;
4682 wxVisualAttributes
* resultptr
;
4683 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4684 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4692 static PyObject
* Dialog_swigregister(PyObject
*, PyObject
*args
) {
4694 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4695 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
4697 return Py_BuildValue((char *)"");
4699 static PyObject
*_wrap_new_MiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4700 PyObject
*resultobj
;
4701 wxWindow
*arg1
= (wxWindow
*) 0 ;
4702 int arg2
= (int) (int)-1 ;
4703 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4704 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4705 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4706 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4707 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4708 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4709 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4710 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4711 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4712 wxMiniFrame
*result
;
4713 bool temp3
= false ;
4716 bool temp7
= false ;
4717 PyObject
* obj0
= 0 ;
4718 PyObject
* obj1
= 0 ;
4719 PyObject
* obj2
= 0 ;
4720 PyObject
* obj3
= 0 ;
4721 PyObject
* obj4
= 0 ;
4722 PyObject
* obj5
= 0 ;
4723 PyObject
* obj6
= 0 ;
4725 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4732 arg2
= (int)SWIG_As_int(obj1
);
4733 if (PyErr_Occurred()) SWIG_fail
;
4737 arg3
= wxString_in_helper(obj2
);
4738 if (arg3
== NULL
) SWIG_fail
;
4745 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4751 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4755 arg6
= (long)SWIG_As_long(obj5
);
4756 if (PyErr_Occurred()) SWIG_fail
;
4760 arg7
= wxString_in_helper(obj6
);
4761 if (arg7
== NULL
) SWIG_fail
;
4766 if (!wxPyCheckForApp()) SWIG_fail
;
4767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4768 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4770 wxPyEndAllowThreads(__tstate
);
4771 if (PyErr_Occurred()) SWIG_fail
;
4773 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4796 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4797 PyObject
*resultobj
;
4798 wxMiniFrame
*result
;
4803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
4805 if (!wxPyCheckForApp()) SWIG_fail
;
4806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4807 result
= (wxMiniFrame
*)new wxMiniFrame();
4809 wxPyEndAllowThreads(__tstate
);
4810 if (PyErr_Occurred()) SWIG_fail
;
4812 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4819 static PyObject
*_wrap_MiniFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4820 PyObject
*resultobj
;
4821 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
4822 wxWindow
*arg2
= (wxWindow
*) 0 ;
4823 int arg3
= (int) (int)-1 ;
4824 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4825 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4826 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4827 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4828 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4829 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4830 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4831 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4832 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4834 bool temp4
= false ;
4837 bool temp8
= false ;
4838 PyObject
* obj0
= 0 ;
4839 PyObject
* obj1
= 0 ;
4840 PyObject
* obj2
= 0 ;
4841 PyObject
* obj3
= 0 ;
4842 PyObject
* obj4
= 0 ;
4843 PyObject
* obj5
= 0 ;
4844 PyObject
* obj6
= 0 ;
4845 PyObject
* obj7
= 0 ;
4847 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMiniFrame
,
4852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4853 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4856 arg3
= (int)SWIG_As_int(obj2
);
4857 if (PyErr_Occurred()) SWIG_fail
;
4861 arg4
= wxString_in_helper(obj3
);
4862 if (arg4
== NULL
) SWIG_fail
;
4869 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4875 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4879 arg7
= (long)SWIG_As_long(obj6
);
4880 if (PyErr_Occurred()) SWIG_fail
;
4884 arg8
= wxString_in_helper(obj7
);
4885 if (arg8
== NULL
) SWIG_fail
;
4890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4891 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4893 wxPyEndAllowThreads(__tstate
);
4894 if (PyErr_Occurred()) SWIG_fail
;
4897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4921 static PyObject
* MiniFrame_swigregister(PyObject
*, PyObject
*args
) {
4923 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4924 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
4926 return Py_BuildValue((char *)"");
4928 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4929 PyObject
*resultobj
;
4930 wxBitmap
*arg1
= 0 ;
4931 wxWindow
*arg2
= (wxWindow
*) 0 ;
4933 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4934 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4935 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4936 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4937 long arg6
= (long) wxNO_BORDER
;
4938 wxSplashScreenWindow
*result
;
4941 PyObject
* obj0
= 0 ;
4942 PyObject
* obj1
= 0 ;
4943 PyObject
* obj2
= 0 ;
4944 PyObject
* obj3
= 0 ;
4945 PyObject
* obj4
= 0 ;
4946 PyObject
* obj5
= 0 ;
4948 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4953 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4956 PyErr_SetString(PyExc_TypeError
,"null reference");
4959 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4961 arg3
= (int)SWIG_As_int(obj2
);
4962 if (PyErr_Occurred()) SWIG_fail
;
4966 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4972 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4976 arg6
= (long)SWIG_As_long(obj5
);
4977 if (PyErr_Occurred()) SWIG_fail
;
4980 if (!wxPyCheckForApp()) SWIG_fail
;
4981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4982 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
4984 wxPyEndAllowThreads(__tstate
);
4985 if (PyErr_Occurred()) SWIG_fail
;
4987 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
4994 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4995 PyObject
*resultobj
;
4996 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4997 wxBitmap
*arg2
= 0 ;
4998 PyObject
* obj0
= 0 ;
4999 PyObject
* obj1
= 0 ;
5001 (char *) "self",(char *) "bitmap", NULL
5004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
5006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5007 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5008 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5011 PyErr_SetString(PyExc_TypeError
,"null reference");
5015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5016 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
5018 wxPyEndAllowThreads(__tstate
);
5019 if (PyErr_Occurred()) SWIG_fail
;
5021 Py_INCREF(Py_None
); resultobj
= Py_None
;
5028 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5029 PyObject
*resultobj
;
5030 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
5032 PyObject
* obj0
= 0 ;
5034 (char *) "self", NULL
5037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
5038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
5039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5043 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
5044 result
= (wxBitmap
*) &_result_ref
;
5047 wxPyEndAllowThreads(__tstate
);
5048 if (PyErr_Occurred()) SWIG_fail
;
5051 wxBitmap
* resultptr
= new wxBitmap(*result
);
5052 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5060 static PyObject
* SplashScreenWindow_swigregister(PyObject
*, PyObject
*args
) {
5062 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5063 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
5065 return Py_BuildValue((char *)"");
5067 static PyObject
*_wrap_new_SplashScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5068 PyObject
*resultobj
;
5069 wxBitmap
*arg1
= 0 ;
5072 wxWindow
*arg4
= (wxWindow
*) 0 ;
5073 int arg5
= (int) -1 ;
5074 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
5075 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
5076 wxSize
const &arg7_defvalue
= wxDefaultSize
;
5077 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
5078 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
5079 wxSplashScreen
*result
;
5082 PyObject
* obj0
= 0 ;
5083 PyObject
* obj1
= 0 ;
5084 PyObject
* obj2
= 0 ;
5085 PyObject
* obj3
= 0 ;
5086 PyObject
* obj4
= 0 ;
5087 PyObject
* obj5
= 0 ;
5088 PyObject
* obj6
= 0 ;
5089 PyObject
* obj7
= 0 ;
5091 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
5094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
5096 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5099 PyErr_SetString(PyExc_TypeError
,"null reference");
5102 arg2
= (long)SWIG_As_long(obj1
);
5103 if (PyErr_Occurred()) SWIG_fail
;
5104 arg3
= (int)SWIG_As_int(obj2
);
5105 if (PyErr_Occurred()) SWIG_fail
;
5106 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
5107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5109 arg5
= (int)SWIG_As_int(obj4
);
5110 if (PyErr_Occurred()) SWIG_fail
;
5115 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
5121 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
5125 arg8
= (long)SWIG_As_long(obj7
);
5126 if (PyErr_Occurred()) SWIG_fail
;
5129 if (!wxPyCheckForApp()) SWIG_fail
;
5130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5131 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
5133 wxPyEndAllowThreads(__tstate
);
5134 if (PyErr_Occurred()) SWIG_fail
;
5136 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
5143 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5144 PyObject
*resultobj
;
5145 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
5147 PyObject
* obj0
= 0 ;
5149 (char *) "self", NULL
5152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
5153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
5154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5157 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
5159 wxPyEndAllowThreads(__tstate
);
5160 if (PyErr_Occurred()) SWIG_fail
;
5162 resultobj
= SWIG_From_long((long)result
);
5169 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5170 PyObject
*resultobj
;
5171 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
5172 wxSplashScreenWindow
*result
;
5173 PyObject
* obj0
= 0 ;
5175 (char *) "self", NULL
5178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
5179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
5180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5183 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
5185 wxPyEndAllowThreads(__tstate
);
5186 if (PyErr_Occurred()) SWIG_fail
;
5188 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
5195 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5196 PyObject
*resultobj
;
5197 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
5199 PyObject
* obj0
= 0 ;
5201 (char *) "self", NULL
5204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
5205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
5206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5209 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
5211 wxPyEndAllowThreads(__tstate
);
5212 if (PyErr_Occurred()) SWIG_fail
;
5214 resultobj
= SWIG_From_int((int)result
);
5221 static PyObject
* SplashScreen_swigregister(PyObject
*, PyObject
*args
) {
5223 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5224 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
5226 return Py_BuildValue((char *)"");
5228 static PyObject
*_wrap_new_StatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5229 PyObject
*resultobj
;
5230 wxWindow
*arg1
= (wxWindow
*) 0 ;
5231 int arg2
= (int) -1 ;
5232 long arg3
= (long) wxST_SIZEGRIP
|wxFULL_REPAINT_ON_RESIZE
;
5233 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
5234 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5235 wxStatusBar
*result
;
5236 bool temp4
= false ;
5237 PyObject
* obj0
= 0 ;
5238 PyObject
* obj1
= 0 ;
5239 PyObject
* obj2
= 0 ;
5240 PyObject
* obj3
= 0 ;
5242 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5249 arg2
= (int)SWIG_As_int(obj1
);
5250 if (PyErr_Occurred()) SWIG_fail
;
5253 arg3
= (long)SWIG_As_long(obj2
);
5254 if (PyErr_Occurred()) SWIG_fail
;
5258 arg4
= wxString_in_helper(obj3
);
5259 if (arg4
== NULL
) SWIG_fail
;
5264 if (!wxPyCheckForApp()) SWIG_fail
;
5265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5266 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
5268 wxPyEndAllowThreads(__tstate
);
5269 if (PyErr_Occurred()) SWIG_fail
;
5271 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
5286 static PyObject
*_wrap_new_PreStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5287 PyObject
*resultobj
;
5288 wxStatusBar
*result
;
5293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
5295 if (!wxPyCheckForApp()) SWIG_fail
;
5296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5297 result
= (wxStatusBar
*)new wxStatusBar();
5299 wxPyEndAllowThreads(__tstate
);
5300 if (PyErr_Occurred()) SWIG_fail
;
5302 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
5309 static PyObject
*_wrap_StatusBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5310 PyObject
*resultobj
;
5311 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5312 wxWindow
*arg2
= (wxWindow
*) 0 ;
5313 int arg3
= (int) -1 ;
5314 long arg4
= (long) wxST_SIZEGRIP
;
5315 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
5316 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5318 bool temp5
= false ;
5319 PyObject
* obj0
= 0 ;
5320 PyObject
* obj1
= 0 ;
5321 PyObject
* obj2
= 0 ;
5322 PyObject
* obj3
= 0 ;
5323 PyObject
* obj4
= 0 ;
5325 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5331 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5334 arg3
= (int)SWIG_As_int(obj2
);
5335 if (PyErr_Occurred()) SWIG_fail
;
5338 arg4
= (long)SWIG_As_long(obj3
);
5339 if (PyErr_Occurred()) SWIG_fail
;
5343 arg5
= wxString_in_helper(obj4
);
5344 if (arg5
== NULL
) SWIG_fail
;
5349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5350 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
5352 wxPyEndAllowThreads(__tstate
);
5353 if (PyErr_Occurred()) SWIG_fail
;
5356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5372 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5373 PyObject
*resultobj
;
5374 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5375 int arg2
= (int) 1 ;
5376 PyObject
* obj0
= 0 ;
5377 PyObject
* obj1
= 0 ;
5379 (char *) "self",(char *) "number", NULL
5382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
5383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5386 arg2
= (int)SWIG_As_int(obj1
);
5387 if (PyErr_Occurred()) SWIG_fail
;
5390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5391 (arg1
)->SetFieldsCount(arg2
);
5393 wxPyEndAllowThreads(__tstate
);
5394 if (PyErr_Occurred()) SWIG_fail
;
5396 Py_INCREF(Py_None
); resultobj
= Py_None
;
5403 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5404 PyObject
*resultobj
;
5405 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5407 PyObject
* obj0
= 0 ;
5409 (char *) "self", NULL
5412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
5413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5417 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
5419 wxPyEndAllowThreads(__tstate
);
5420 if (PyErr_Occurred()) SWIG_fail
;
5422 resultobj
= SWIG_From_int((int)result
);
5429 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5430 PyObject
*resultobj
;
5431 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5432 wxString
*arg2
= 0 ;
5433 int arg3
= (int) 0 ;
5434 bool temp2
= false ;
5435 PyObject
* obj0
= 0 ;
5436 PyObject
* obj1
= 0 ;
5437 PyObject
* obj2
= 0 ;
5439 (char *) "self",(char *) "text",(char *) "number", NULL
5442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5446 arg2
= wxString_in_helper(obj1
);
5447 if (arg2
== NULL
) SWIG_fail
;
5451 arg3
= (int)SWIG_As_int(obj2
);
5452 if (PyErr_Occurred()) SWIG_fail
;
5455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5456 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
5458 wxPyEndAllowThreads(__tstate
);
5459 if (PyErr_Occurred()) SWIG_fail
;
5461 Py_INCREF(Py_None
); resultobj
= Py_None
;
5476 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5477 PyObject
*resultobj
;
5478 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5479 int arg2
= (int) 0 ;
5481 PyObject
* obj0
= 0 ;
5482 PyObject
* obj1
= 0 ;
5484 (char *) "self",(char *) "number", NULL
5487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5491 arg2
= (int)SWIG_As_int(obj1
);
5492 if (PyErr_Occurred()) SWIG_fail
;
5495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5496 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
5498 wxPyEndAllowThreads(__tstate
);
5499 if (PyErr_Occurred()) SWIG_fail
;
5503 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5505 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5514 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5515 PyObject
*resultobj
;
5516 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5517 wxString
*arg2
= 0 ;
5518 int arg3
= (int) 0 ;
5519 bool temp2
= false ;
5520 PyObject
* obj0
= 0 ;
5521 PyObject
* obj1
= 0 ;
5522 PyObject
* obj2
= 0 ;
5524 (char *) "self",(char *) "text",(char *) "number", NULL
5527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5531 arg2
= wxString_in_helper(obj1
);
5532 if (arg2
== NULL
) SWIG_fail
;
5536 arg3
= (int)SWIG_As_int(obj2
);
5537 if (PyErr_Occurred()) SWIG_fail
;
5540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5541 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5543 wxPyEndAllowThreads(__tstate
);
5544 if (PyErr_Occurred()) SWIG_fail
;
5546 Py_INCREF(Py_None
); resultobj
= Py_None
;
5561 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5562 PyObject
*resultobj
;
5563 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5564 int arg2
= (int) 0 ;
5565 PyObject
* obj0
= 0 ;
5566 PyObject
* obj1
= 0 ;
5568 (char *) "self",(char *) "number", NULL
5571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5575 arg2
= (int)SWIG_As_int(obj1
);
5576 if (PyErr_Occurred()) SWIG_fail
;
5579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5580 (arg1
)->PopStatusText(arg2
);
5582 wxPyEndAllowThreads(__tstate
);
5583 if (PyErr_Occurred()) SWIG_fail
;
5585 Py_INCREF(Py_None
); resultobj
= Py_None
;
5592 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5593 PyObject
*resultobj
;
5594 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5596 int *arg3
= (int *) 0 ;
5597 PyObject
* obj0
= 0 ;
5598 PyObject
* obj1
= 0 ;
5600 (char *) "self",(char *) "widths", NULL
5603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5607 arg2
= PyList_Size(obj1
);
5608 arg3
= int_LIST_helper(obj1
);
5609 if (arg3
== NULL
) SWIG_fail
;
5612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5613 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5615 wxPyEndAllowThreads(__tstate
);
5616 if (PyErr_Occurred()) SWIG_fail
;
5618 Py_INCREF(Py_None
); resultobj
= Py_None
;
5620 if (arg3
) delete [] arg3
;
5625 if (arg3
) delete [] arg3
;
5631 static PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5632 PyObject
*resultobj
;
5633 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5635 int *arg3
= (int *) 0 ;
5636 PyObject
* obj0
= 0 ;
5637 PyObject
* obj1
= 0 ;
5639 (char *) "self",(char *) "styles", NULL
5642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) goto fail
;
5643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5646 arg2
= PyList_Size(obj1
);
5647 arg3
= int_LIST_helper(obj1
);
5648 if (arg3
== NULL
) SWIG_fail
;
5651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5652 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
5654 wxPyEndAllowThreads(__tstate
);
5655 if (PyErr_Occurred()) SWIG_fail
;
5657 Py_INCREF(Py_None
); resultobj
= Py_None
;
5659 if (arg3
) delete [] arg3
;
5664 if (arg3
) delete [] arg3
;
5670 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5671 PyObject
*resultobj
;
5672 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5675 PyObject
* obj0
= 0 ;
5676 PyObject
* obj1
= 0 ;
5678 (char *) "self",(char *) "i", NULL
5681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5684 arg2
= (int)SWIG_As_int(obj1
);
5685 if (PyErr_Occurred()) SWIG_fail
;
5687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5688 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
5690 wxPyEndAllowThreads(__tstate
);
5691 if (PyErr_Occurred()) SWIG_fail
;
5695 resultptr
= new wxRect((wxRect
&) result
);
5696 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5704 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5705 PyObject
*resultobj
;
5706 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5708 PyObject
* obj0
= 0 ;
5709 PyObject
* obj1
= 0 ;
5711 (char *) "self",(char *) "height", NULL
5714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5717 arg2
= (int)SWIG_As_int(obj1
);
5718 if (PyErr_Occurred()) SWIG_fail
;
5720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5721 (arg1
)->SetMinHeight(arg2
);
5723 wxPyEndAllowThreads(__tstate
);
5724 if (PyErr_Occurred()) SWIG_fail
;
5726 Py_INCREF(Py_None
); resultobj
= Py_None
;
5733 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5734 PyObject
*resultobj
;
5735 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5737 PyObject
* obj0
= 0 ;
5739 (char *) "self", NULL
5742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
5743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5747 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
5749 wxPyEndAllowThreads(__tstate
);
5750 if (PyErr_Occurred()) SWIG_fail
;
5752 resultobj
= SWIG_From_int((int)result
);
5759 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5760 PyObject
*resultobj
;
5761 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5763 PyObject
* obj0
= 0 ;
5765 (char *) "self", NULL
5768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
5769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5773 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
5775 wxPyEndAllowThreads(__tstate
);
5776 if (PyErr_Occurred()) SWIG_fail
;
5778 resultobj
= SWIG_From_int((int)result
);
5785 static PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5786 PyObject
*resultobj
;
5787 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5788 wxVisualAttributes result
;
5789 PyObject
* obj0
= 0 ;
5791 (char *) "variant", NULL
5794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5796 arg1
= (int)SWIG_As_int(obj0
);
5797 if (PyErr_Occurred()) SWIG_fail
;
5800 if (!wxPyCheckForApp()) SWIG_fail
;
5801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5802 result
= wxStatusBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5804 wxPyEndAllowThreads(__tstate
);
5805 if (PyErr_Occurred()) SWIG_fail
;
5808 wxVisualAttributes
* resultptr
;
5809 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5810 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5818 static PyObject
* StatusBar_swigregister(PyObject
*, PyObject
*args
) {
5820 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5821 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
5823 return Py_BuildValue((char *)"");
5825 static int _wrap_SplitterNameStr_set(PyObject
*) {
5826 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
5831 static PyObject
*_wrap_SplitterNameStr_get() {
5836 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5838 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5845 static PyObject
*_wrap_new_SplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5846 PyObject
*resultobj
;
5847 wxWindow
*arg1
= (wxWindow
*) 0 ;
5848 int arg2
= (int) -1 ;
5849 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5850 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5851 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5852 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5853 long arg5
= (long) wxSP_3D
;
5854 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
5855 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5856 wxSplitterWindow
*result
;
5859 bool temp6
= false ;
5860 PyObject
* obj0
= 0 ;
5861 PyObject
* obj1
= 0 ;
5862 PyObject
* obj2
= 0 ;
5863 PyObject
* obj3
= 0 ;
5864 PyObject
* obj4
= 0 ;
5865 PyObject
* obj5
= 0 ;
5867 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5874 arg2
= (int)SWIG_As_int(obj1
);
5875 if (PyErr_Occurred()) SWIG_fail
;
5880 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5886 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5890 arg5
= (long)SWIG_As_long(obj4
);
5891 if (PyErr_Occurred()) SWIG_fail
;
5895 arg6
= wxString_in_helper(obj5
);
5896 if (arg6
== NULL
) SWIG_fail
;
5901 if (!wxPyCheckForApp()) SWIG_fail
;
5902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5903 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
5905 wxPyEndAllowThreads(__tstate
);
5906 if (PyErr_Occurred()) SWIG_fail
;
5908 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5923 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5924 PyObject
*resultobj
;
5925 wxSplitterWindow
*result
;
5930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
5932 if (!wxPyCheckForApp()) SWIG_fail
;
5933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5934 result
= (wxSplitterWindow
*)new wxSplitterWindow();
5936 wxPyEndAllowThreads(__tstate
);
5937 if (PyErr_Occurred()) SWIG_fail
;
5939 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5946 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5947 PyObject
*resultobj
;
5948 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5949 wxWindow
*arg2
= (wxWindow
*) 0 ;
5950 int arg3
= (int) -1 ;
5951 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5952 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5953 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5954 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5955 long arg6
= (long) wxSP_3D
;
5956 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
5957 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5961 bool temp7
= false ;
5962 PyObject
* obj0
= 0 ;
5963 PyObject
* obj1
= 0 ;
5964 PyObject
* obj2
= 0 ;
5965 PyObject
* obj3
= 0 ;
5966 PyObject
* obj4
= 0 ;
5967 PyObject
* obj5
= 0 ;
5968 PyObject
* obj6
= 0 ;
5970 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5976 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5979 arg3
= (int)SWIG_As_int(obj2
);
5980 if (PyErr_Occurred()) SWIG_fail
;
5985 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5991 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5995 arg6
= (long)SWIG_As_long(obj5
);
5996 if (PyErr_Occurred()) SWIG_fail
;
6000 arg7
= wxString_in_helper(obj6
);
6001 if (arg7
== NULL
) SWIG_fail
;
6006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6007 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6009 wxPyEndAllowThreads(__tstate
);
6010 if (PyErr_Occurred()) SWIG_fail
;
6013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6029 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6030 PyObject
*resultobj
;
6031 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6033 PyObject
* obj0
= 0 ;
6035 (char *) "self", NULL
6038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
6039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6043 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
6045 wxPyEndAllowThreads(__tstate
);
6046 if (PyErr_Occurred()) SWIG_fail
;
6049 resultobj
= wxPyMake_wxObject(result
, 0);
6057 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6058 PyObject
*resultobj
;
6059 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6061 PyObject
* obj0
= 0 ;
6063 (char *) "self", NULL
6066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
6067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6071 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
6073 wxPyEndAllowThreads(__tstate
);
6074 if (PyErr_Occurred()) SWIG_fail
;
6077 resultobj
= wxPyMake_wxObject(result
, 0);
6085 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6086 PyObject
*resultobj
;
6087 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6089 PyObject
* obj0
= 0 ;
6090 PyObject
* obj1
= 0 ;
6092 (char *) "self",(char *) "mode", NULL
6095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
6096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6098 arg2
= (int)SWIG_As_int(obj1
);
6099 if (PyErr_Occurred()) SWIG_fail
;
6101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6102 (arg1
)->SetSplitMode(arg2
);
6104 wxPyEndAllowThreads(__tstate
);
6105 if (PyErr_Occurred()) SWIG_fail
;
6107 Py_INCREF(Py_None
); resultobj
= Py_None
;
6114 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6115 PyObject
*resultobj
;
6116 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6118 PyObject
* obj0
= 0 ;
6120 (char *) "self", NULL
6123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
6124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6128 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
6130 wxPyEndAllowThreads(__tstate
);
6131 if (PyErr_Occurred()) SWIG_fail
;
6133 resultobj
= SWIG_From_int((int)result
);
6140 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6141 PyObject
*resultobj
;
6142 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6143 wxWindow
*arg2
= (wxWindow
*) 0 ;
6144 PyObject
* obj0
= 0 ;
6145 PyObject
* obj1
= 0 ;
6147 (char *) "self",(char *) "window", NULL
6150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
6151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6153 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6157 (arg1
)->Initialize(arg2
);
6159 wxPyEndAllowThreads(__tstate
);
6160 if (PyErr_Occurred()) SWIG_fail
;
6162 Py_INCREF(Py_None
); resultobj
= Py_None
;
6169 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6170 PyObject
*resultobj
;
6171 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6172 wxWindow
*arg2
= (wxWindow
*) 0 ;
6173 wxWindow
*arg3
= (wxWindow
*) 0 ;
6174 int arg4
= (int) 0 ;
6176 PyObject
* obj0
= 0 ;
6177 PyObject
* obj1
= 0 ;
6178 PyObject
* obj2
= 0 ;
6179 PyObject
* obj3
= 0 ;
6181 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6187 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6189 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6192 arg4
= (int)SWIG_As_int(obj3
);
6193 if (PyErr_Occurred()) SWIG_fail
;
6196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6197 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
6199 wxPyEndAllowThreads(__tstate
);
6200 if (PyErr_Occurred()) SWIG_fail
;
6203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6211 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6212 PyObject
*resultobj
;
6213 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6214 wxWindow
*arg2
= (wxWindow
*) 0 ;
6215 wxWindow
*arg3
= (wxWindow
*) 0 ;
6216 int arg4
= (int) 0 ;
6218 PyObject
* obj0
= 0 ;
6219 PyObject
* obj1
= 0 ;
6220 PyObject
* obj2
= 0 ;
6221 PyObject
* obj3
= 0 ;
6223 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6229 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6231 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6234 arg4
= (int)SWIG_As_int(obj3
);
6235 if (PyErr_Occurred()) SWIG_fail
;
6238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6239 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
6241 wxPyEndAllowThreads(__tstate
);
6242 if (PyErr_Occurred()) SWIG_fail
;
6245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6253 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6254 PyObject
*resultobj
;
6255 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6256 wxWindow
*arg2
= (wxWindow
*) NULL
;
6258 PyObject
* obj0
= 0 ;
6259 PyObject
* obj1
= 0 ;
6261 (char *) "self",(char *) "toRemove", NULL
6264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
6265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6266 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
;
6272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6273 result
= (bool)(arg1
)->Unsplit(arg2
);
6275 wxPyEndAllowThreads(__tstate
);
6276 if (PyErr_Occurred()) SWIG_fail
;
6279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6287 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6288 PyObject
*resultobj
;
6289 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6290 wxWindow
*arg2
= (wxWindow
*) 0 ;
6291 wxWindow
*arg3
= (wxWindow
*) 0 ;
6293 PyObject
* obj0
= 0 ;
6294 PyObject
* obj1
= 0 ;
6295 PyObject
* obj2
= 0 ;
6297 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
6300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6303 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6305 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6309 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
6311 wxPyEndAllowThreads(__tstate
);
6312 if (PyErr_Occurred()) SWIG_fail
;
6315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6323 static PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6324 PyObject
*resultobj
;
6325 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6326 PyObject
* obj0
= 0 ;
6328 (char *) "self", NULL
6331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_UpdateSize",kwnames
,&obj0
)) goto fail
;
6332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6336 (arg1
)->UpdateSize();
6338 wxPyEndAllowThreads(__tstate
);
6339 if (PyErr_Occurred()) SWIG_fail
;
6341 Py_INCREF(Py_None
); resultobj
= Py_None
;
6348 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6349 PyObject
*resultobj
;
6350 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6352 PyObject
* obj0
= 0 ;
6354 (char *) "self", NULL
6357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
6358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6362 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
6364 wxPyEndAllowThreads(__tstate
);
6365 if (PyErr_Occurred()) SWIG_fail
;
6368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6376 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6377 PyObject
*resultobj
;
6378 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6380 PyObject
* obj0
= 0 ;
6381 PyObject
* obj1
= 0 ;
6383 (char *) "self",(char *) "width", NULL
6386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6389 arg2
= (int)SWIG_As_int(obj1
);
6390 if (PyErr_Occurred()) SWIG_fail
;
6392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6393 (arg1
)->SetSashSize(arg2
);
6395 wxPyEndAllowThreads(__tstate
);
6396 if (PyErr_Occurred()) SWIG_fail
;
6398 Py_INCREF(Py_None
); resultobj
= Py_None
;
6405 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6406 PyObject
*resultobj
;
6407 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6409 PyObject
* obj0
= 0 ;
6410 PyObject
* obj1
= 0 ;
6412 (char *) "self",(char *) "width", NULL
6415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6418 arg2
= (int)SWIG_As_int(obj1
);
6419 if (PyErr_Occurred()) SWIG_fail
;
6421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6422 (arg1
)->SetBorderSize(arg2
);
6424 wxPyEndAllowThreads(__tstate
);
6425 if (PyErr_Occurred()) SWIG_fail
;
6427 Py_INCREF(Py_None
); resultobj
= Py_None
;
6434 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6435 PyObject
*resultobj
;
6436 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6438 PyObject
* obj0
= 0 ;
6440 (char *) "self", NULL
6443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
6444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6448 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
6450 wxPyEndAllowThreads(__tstate
);
6451 if (PyErr_Occurred()) SWIG_fail
;
6453 resultobj
= SWIG_From_int((int)result
);
6460 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6461 PyObject
*resultobj
;
6462 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6464 PyObject
* obj0
= 0 ;
6466 (char *) "self", NULL
6469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
6470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6474 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
6476 wxPyEndAllowThreads(__tstate
);
6477 if (PyErr_Occurred()) SWIG_fail
;
6479 resultobj
= SWIG_From_int((int)result
);
6486 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6487 PyObject
*resultobj
;
6488 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6490 bool arg3
= (bool) true ;
6491 PyObject
* obj0
= 0 ;
6492 PyObject
* obj1
= 0 ;
6493 PyObject
* obj2
= 0 ;
6495 (char *) "self",(char *) "position",(char *) "redraw", NULL
6498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6501 arg2
= (int)SWIG_As_int(obj1
);
6502 if (PyErr_Occurred()) SWIG_fail
;
6504 arg3
= (bool)SWIG_As_bool(obj2
);
6505 if (PyErr_Occurred()) SWIG_fail
;
6508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6509 (arg1
)->SetSashPosition(arg2
,arg3
);
6511 wxPyEndAllowThreads(__tstate
);
6512 if (PyErr_Occurred()) SWIG_fail
;
6514 Py_INCREF(Py_None
); resultobj
= Py_None
;
6521 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6522 PyObject
*resultobj
;
6523 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6525 PyObject
* obj0
= 0 ;
6527 (char *) "self", NULL
6530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6535 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
6537 wxPyEndAllowThreads(__tstate
);
6538 if (PyErr_Occurred()) SWIG_fail
;
6540 resultobj
= SWIG_From_int((int)result
);
6547 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6548 PyObject
*resultobj
;
6549 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6551 PyObject
* obj0
= 0 ;
6552 PyObject
* obj1
= 0 ;
6554 (char *) "self",(char *) "min", NULL
6557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6560 arg2
= (int)SWIG_As_int(obj1
);
6561 if (PyErr_Occurred()) SWIG_fail
;
6563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6564 (arg1
)->SetMinimumPaneSize(arg2
);
6566 wxPyEndAllowThreads(__tstate
);
6567 if (PyErr_Occurred()) SWIG_fail
;
6569 Py_INCREF(Py_None
); resultobj
= Py_None
;
6576 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6577 PyObject
*resultobj
;
6578 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6580 PyObject
* obj0
= 0 ;
6582 (char *) "self", NULL
6585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
6586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6590 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
6592 wxPyEndAllowThreads(__tstate
);
6593 if (PyErr_Occurred()) SWIG_fail
;
6595 resultobj
= SWIG_From_int((int)result
);
6602 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6603 PyObject
*resultobj
;
6604 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6607 int arg4
= (int) 5 ;
6609 PyObject
* obj0
= 0 ;
6610 PyObject
* obj1
= 0 ;
6611 PyObject
* obj2
= 0 ;
6612 PyObject
* obj3
= 0 ;
6614 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6620 arg2
= (int)SWIG_As_int(obj1
);
6621 if (PyErr_Occurred()) SWIG_fail
;
6622 arg3
= (int)SWIG_As_int(obj2
);
6623 if (PyErr_Occurred()) SWIG_fail
;
6625 arg4
= (int)SWIG_As_int(obj3
);
6626 if (PyErr_Occurred()) SWIG_fail
;
6629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6630 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
6632 wxPyEndAllowThreads(__tstate
);
6633 if (PyErr_Occurred()) SWIG_fail
;
6636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6644 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6645 PyObject
*resultobj
;
6646 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6647 PyObject
* obj0
= 0 ;
6649 (char *) "self", NULL
6652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
6653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6657 (arg1
)->SizeWindows();
6659 wxPyEndAllowThreads(__tstate
);
6660 if (PyErr_Occurred()) SWIG_fail
;
6662 Py_INCREF(Py_None
); resultobj
= Py_None
;
6669 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6670 PyObject
*resultobj
;
6671 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6673 PyObject
* obj0
= 0 ;
6674 PyObject
* obj1
= 0 ;
6676 (char *) "self",(char *) "needUpdating", NULL
6679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
6680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6682 arg2
= (bool)SWIG_As_bool(obj1
);
6683 if (PyErr_Occurred()) SWIG_fail
;
6685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6686 (arg1
)->SetNeedUpdating(arg2
);
6688 wxPyEndAllowThreads(__tstate
);
6689 if (PyErr_Occurred()) SWIG_fail
;
6691 Py_INCREF(Py_None
); resultobj
= Py_None
;
6698 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6699 PyObject
*resultobj
;
6700 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6702 PyObject
* obj0
= 0 ;
6704 (char *) "self", NULL
6707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
6708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6712 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
6714 wxPyEndAllowThreads(__tstate
);
6715 if (PyErr_Occurred()) SWIG_fail
;
6718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6726 static PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6727 PyObject
*resultobj
;
6728 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
6729 wxVisualAttributes result
;
6730 PyObject
* obj0
= 0 ;
6732 (char *) "variant", NULL
6735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6737 arg1
= (int)SWIG_As_int(obj0
);
6738 if (PyErr_Occurred()) SWIG_fail
;
6741 if (!wxPyCheckForApp()) SWIG_fail
;
6742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6743 result
= wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6745 wxPyEndAllowThreads(__tstate
);
6746 if (PyErr_Occurred()) SWIG_fail
;
6749 wxVisualAttributes
* resultptr
;
6750 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
6751 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6759 static PyObject
* SplitterWindow_swigregister(PyObject
*, PyObject
*args
) {
6761 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6762 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
6764 return Py_BuildValue((char *)"");
6766 static PyObject
*_wrap_new_SplitterEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6767 PyObject
*resultobj
;
6768 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
6769 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
6770 wxSplitterEvent
*result
;
6771 PyObject
* obj0
= 0 ;
6772 PyObject
* obj1
= 0 ;
6774 (char *) "type",(char *) "splitter", NULL
6777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6779 arg1
= (wxEventType
)SWIG_As_int(obj0
);
6780 if (PyErr_Occurred()) SWIG_fail
;
6783 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSplitterWindow
,
6784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6788 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
6790 wxPyEndAllowThreads(__tstate
);
6791 if (PyErr_Occurred()) SWIG_fail
;
6793 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
6800 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6801 PyObject
*resultobj
;
6802 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6804 PyObject
* obj0
= 0 ;
6805 PyObject
* obj1
= 0 ;
6807 (char *) "self",(char *) "pos", NULL
6810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
6811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6813 arg2
= (int)SWIG_As_int(obj1
);
6814 if (PyErr_Occurred()) SWIG_fail
;
6816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6817 (arg1
)->SetSashPosition(arg2
);
6819 wxPyEndAllowThreads(__tstate
);
6820 if (PyErr_Occurred()) SWIG_fail
;
6822 Py_INCREF(Py_None
); resultobj
= Py_None
;
6829 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6830 PyObject
*resultobj
;
6831 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6833 PyObject
* obj0
= 0 ;
6835 (char *) "self", NULL
6838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6843 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
6845 wxPyEndAllowThreads(__tstate
);
6846 if (PyErr_Occurred()) SWIG_fail
;
6848 resultobj
= SWIG_From_int((int)result
);
6855 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6856 PyObject
*resultobj
;
6857 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6859 PyObject
* obj0
= 0 ;
6861 (char *) "self", NULL
6864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
6865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6869 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
6871 wxPyEndAllowThreads(__tstate
);
6872 if (PyErr_Occurred()) SWIG_fail
;
6875 resultobj
= wxPyMake_wxObject(result
, 0);
6883 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6884 PyObject
*resultobj
;
6885 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6887 PyObject
* obj0
= 0 ;
6889 (char *) "self", NULL
6892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
6893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6897 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
6899 wxPyEndAllowThreads(__tstate
);
6900 if (PyErr_Occurred()) SWIG_fail
;
6902 resultobj
= SWIG_From_int((int)result
);
6909 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6910 PyObject
*resultobj
;
6911 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6913 PyObject
* obj0
= 0 ;
6915 (char *) "self", NULL
6918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
6919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6923 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
6925 wxPyEndAllowThreads(__tstate
);
6926 if (PyErr_Occurred()) SWIG_fail
;
6928 resultobj
= SWIG_From_int((int)result
);
6935 static PyObject
* SplitterEvent_swigregister(PyObject
*, PyObject
*args
) {
6937 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6938 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
6940 return Py_BuildValue((char *)"");
6942 static int _wrap_SashNameStr_set(PyObject
*) {
6943 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
6948 static PyObject
*_wrap_SashNameStr_get() {
6953 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6955 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6962 static int _wrap_SashLayoutNameStr_set(PyObject
*) {
6963 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
6968 static PyObject
*_wrap_SashLayoutNameStr_get() {
6973 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6975 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6982 static PyObject
*_wrap_new_SashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6983 PyObject
*resultobj
;
6984 wxWindow
*arg1
= (wxWindow
*) 0 ;
6985 int arg2
= (int) -1 ;
6986 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6987 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6988 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6989 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6990 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6991 wxString
const &arg6_defvalue
= wxPySashNameStr
;
6992 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6993 wxSashWindow
*result
;
6996 bool temp6
= false ;
6997 PyObject
* obj0
= 0 ;
6998 PyObject
* obj1
= 0 ;
6999 PyObject
* obj2
= 0 ;
7000 PyObject
* obj3
= 0 ;
7001 PyObject
* obj4
= 0 ;
7002 PyObject
* obj5
= 0 ;
7004 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
7009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7011 arg2
= (int)SWIG_As_int(obj1
);
7012 if (PyErr_Occurred()) SWIG_fail
;
7017 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7023 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7027 arg5
= (long)SWIG_As_long(obj4
);
7028 if (PyErr_Occurred()) SWIG_fail
;
7032 arg6
= wxString_in_helper(obj5
);
7033 if (arg6
== NULL
) SWIG_fail
;
7038 if (!wxPyCheckForApp()) SWIG_fail
;
7039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7040 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7042 wxPyEndAllowThreads(__tstate
);
7043 if (PyErr_Occurred()) SWIG_fail
;
7045 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
7060 static PyObject
*_wrap_new_PreSashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7061 PyObject
*resultobj
;
7062 wxSashWindow
*result
;
7067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
7069 if (!wxPyCheckForApp()) SWIG_fail
;
7070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7071 result
= (wxSashWindow
*)new wxSashWindow();
7073 wxPyEndAllowThreads(__tstate
);
7074 if (PyErr_Occurred()) SWIG_fail
;
7076 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
7083 static PyObject
*_wrap_SashWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7084 PyObject
*resultobj
;
7085 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7086 wxWindow
*arg2
= (wxWindow
*) 0 ;
7087 int arg3
= (int) -1 ;
7088 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7089 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7090 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7091 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7092 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7093 wxString
const &arg7_defvalue
= wxPySashNameStr
;
7094 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7098 bool temp7
= false ;
7099 PyObject
* obj0
= 0 ;
7100 PyObject
* obj1
= 0 ;
7101 PyObject
* obj2
= 0 ;
7102 PyObject
* obj3
= 0 ;
7103 PyObject
* obj4
= 0 ;
7104 PyObject
* obj5
= 0 ;
7105 PyObject
* obj6
= 0 ;
7107 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7113 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7116 arg3
= (int)SWIG_As_int(obj2
);
7117 if (PyErr_Occurred()) SWIG_fail
;
7122 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7128 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7132 arg6
= (long)SWIG_As_long(obj5
);
7133 if (PyErr_Occurred()) SWIG_fail
;
7137 arg7
= wxString_in_helper(obj6
);
7138 if (arg7
== NULL
) SWIG_fail
;
7143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7144 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7146 wxPyEndAllowThreads(__tstate
);
7147 if (PyErr_Occurred()) SWIG_fail
;
7150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7166 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7167 PyObject
*resultobj
;
7168 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7171 PyObject
* obj0
= 0 ;
7172 PyObject
* obj1
= 0 ;
7173 PyObject
* obj2
= 0 ;
7175 (char *) "self",(char *) "edge",(char *) "sash", NULL
7178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7181 arg2
= (int)SWIG_As_int(obj1
);
7182 if (PyErr_Occurred()) SWIG_fail
;
7183 arg3
= (bool)SWIG_As_bool(obj2
);
7184 if (PyErr_Occurred()) SWIG_fail
;
7186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7187 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
7189 wxPyEndAllowThreads(__tstate
);
7190 if (PyErr_Occurred()) SWIG_fail
;
7192 Py_INCREF(Py_None
); resultobj
= Py_None
;
7199 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7200 PyObject
*resultobj
;
7201 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7204 PyObject
* obj0
= 0 ;
7205 PyObject
* obj1
= 0 ;
7207 (char *) "self",(char *) "edge", NULL
7210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
7211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7213 arg2
= (int)SWIG_As_int(obj1
);
7214 if (PyErr_Occurred()) SWIG_fail
;
7216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7217 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
7219 wxPyEndAllowThreads(__tstate
);
7220 if (PyErr_Occurred()) SWIG_fail
;
7223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7231 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7232 PyObject
*resultobj
;
7233 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7236 PyObject
* obj0
= 0 ;
7237 PyObject
* obj1
= 0 ;
7238 PyObject
* obj2
= 0 ;
7240 (char *) "self",(char *) "edge",(char *) "border", NULL
7243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7246 arg2
= (int)SWIG_As_int(obj1
);
7247 if (PyErr_Occurred()) SWIG_fail
;
7248 arg3
= (bool)SWIG_As_bool(obj2
);
7249 if (PyErr_Occurred()) SWIG_fail
;
7251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7252 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
7254 wxPyEndAllowThreads(__tstate
);
7255 if (PyErr_Occurred()) SWIG_fail
;
7257 Py_INCREF(Py_None
); resultobj
= Py_None
;
7264 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7265 PyObject
*resultobj
;
7266 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7269 PyObject
* obj0
= 0 ;
7270 PyObject
* obj1
= 0 ;
7272 (char *) "self",(char *) "edge", NULL
7275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
7276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7278 arg2
= (int)SWIG_As_int(obj1
);
7279 if (PyErr_Occurred()) SWIG_fail
;
7281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7282 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
7284 wxPyEndAllowThreads(__tstate
);
7285 if (PyErr_Occurred()) SWIG_fail
;
7288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7296 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7297 PyObject
*resultobj
;
7298 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7301 PyObject
* obj0
= 0 ;
7302 PyObject
* obj1
= 0 ;
7304 (char *) "self",(char *) "edge", NULL
7307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
7308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7310 arg2
= (int)SWIG_As_int(obj1
);
7311 if (PyErr_Occurred()) SWIG_fail
;
7313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7314 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
7316 wxPyEndAllowThreads(__tstate
);
7317 if (PyErr_Occurred()) SWIG_fail
;
7319 resultobj
= SWIG_From_int((int)result
);
7326 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7327 PyObject
*resultobj
;
7328 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7330 PyObject
* obj0
= 0 ;
7331 PyObject
* obj1
= 0 ;
7333 (char *) "self",(char *) "width", NULL
7336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7339 arg2
= (int)SWIG_As_int(obj1
);
7340 if (PyErr_Occurred()) SWIG_fail
;
7342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7343 (arg1
)->SetDefaultBorderSize(arg2
);
7345 wxPyEndAllowThreads(__tstate
);
7346 if (PyErr_Occurred()) SWIG_fail
;
7348 Py_INCREF(Py_None
); resultobj
= Py_None
;
7355 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7356 PyObject
*resultobj
;
7357 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7359 PyObject
* obj0
= 0 ;
7361 (char *) "self", NULL
7364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
7365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7369 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
7371 wxPyEndAllowThreads(__tstate
);
7372 if (PyErr_Occurred()) SWIG_fail
;
7374 resultobj
= SWIG_From_int((int)result
);
7381 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7382 PyObject
*resultobj
;
7383 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7385 PyObject
* obj0
= 0 ;
7386 PyObject
* obj1
= 0 ;
7388 (char *) "self",(char *) "width", NULL
7391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7394 arg2
= (int)SWIG_As_int(obj1
);
7395 if (PyErr_Occurred()) SWIG_fail
;
7397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7398 (arg1
)->SetExtraBorderSize(arg2
);
7400 wxPyEndAllowThreads(__tstate
);
7401 if (PyErr_Occurred()) SWIG_fail
;
7403 Py_INCREF(Py_None
); resultobj
= Py_None
;
7410 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7411 PyObject
*resultobj
;
7412 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7414 PyObject
* obj0
= 0 ;
7416 (char *) "self", NULL
7419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
7420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7424 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
7426 wxPyEndAllowThreads(__tstate
);
7427 if (PyErr_Occurred()) SWIG_fail
;
7429 resultobj
= SWIG_From_int((int)result
);
7436 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7437 PyObject
*resultobj
;
7438 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7440 PyObject
* obj0
= 0 ;
7441 PyObject
* obj1
= 0 ;
7443 (char *) "self",(char *) "min", NULL
7446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7449 arg2
= (int)SWIG_As_int(obj1
);
7450 if (PyErr_Occurred()) SWIG_fail
;
7452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7453 (arg1
)->SetMinimumSizeX(arg2
);
7455 wxPyEndAllowThreads(__tstate
);
7456 if (PyErr_Occurred()) SWIG_fail
;
7458 Py_INCREF(Py_None
); resultobj
= Py_None
;
7465 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7466 PyObject
*resultobj
;
7467 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7469 PyObject
* obj0
= 0 ;
7470 PyObject
* obj1
= 0 ;
7472 (char *) "self",(char *) "min", NULL
7475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7478 arg2
= (int)SWIG_As_int(obj1
);
7479 if (PyErr_Occurred()) SWIG_fail
;
7481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7482 (arg1
)->SetMinimumSizeY(arg2
);
7484 wxPyEndAllowThreads(__tstate
);
7485 if (PyErr_Occurred()) SWIG_fail
;
7487 Py_INCREF(Py_None
); resultobj
= Py_None
;
7494 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7495 PyObject
*resultobj
;
7496 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7498 PyObject
* obj0
= 0 ;
7500 (char *) "self", NULL
7503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
7504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7508 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
7510 wxPyEndAllowThreads(__tstate
);
7511 if (PyErr_Occurred()) SWIG_fail
;
7513 resultobj
= SWIG_From_int((int)result
);
7520 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7521 PyObject
*resultobj
;
7522 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7524 PyObject
* obj0
= 0 ;
7526 (char *) "self", NULL
7529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
7530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7534 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
7536 wxPyEndAllowThreads(__tstate
);
7537 if (PyErr_Occurred()) SWIG_fail
;
7539 resultobj
= SWIG_From_int((int)result
);
7546 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(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 *) "max", NULL
7556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",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
)->SetMaximumSizeX(arg2
);
7565 wxPyEndAllowThreads(__tstate
);
7566 if (PyErr_Occurred()) SWIG_fail
;
7568 Py_INCREF(Py_None
); resultobj
= Py_None
;
7575 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7576 PyObject
*resultobj
;
7577 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7579 PyObject
* obj0
= 0 ;
7580 PyObject
* obj1
= 0 ;
7582 (char *) "self",(char *) "max", NULL
7585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7588 arg2
= (int)SWIG_As_int(obj1
);
7589 if (PyErr_Occurred()) SWIG_fail
;
7591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7592 (arg1
)->SetMaximumSizeY(arg2
);
7594 wxPyEndAllowThreads(__tstate
);
7595 if (PyErr_Occurred()) SWIG_fail
;
7597 Py_INCREF(Py_None
); resultobj
= Py_None
;
7604 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7605 PyObject
*resultobj
;
7606 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7608 PyObject
* obj0
= 0 ;
7610 (char *) "self", NULL
7613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
7614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7618 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
7620 wxPyEndAllowThreads(__tstate
);
7621 if (PyErr_Occurred()) SWIG_fail
;
7623 resultobj
= SWIG_From_int((int)result
);
7630 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7631 PyObject
*resultobj
;
7632 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7634 PyObject
* obj0
= 0 ;
7636 (char *) "self", NULL
7639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
7640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7644 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
7646 wxPyEndAllowThreads(__tstate
);
7647 if (PyErr_Occurred()) SWIG_fail
;
7649 resultobj
= SWIG_From_int((int)result
);
7656 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7657 PyObject
*resultobj
;
7658 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7661 int arg4
= (int) 2 ;
7663 PyObject
* obj0
= 0 ;
7664 PyObject
* obj1
= 0 ;
7665 PyObject
* obj2
= 0 ;
7666 PyObject
* obj3
= 0 ;
7668 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7674 arg2
= (int)SWIG_As_int(obj1
);
7675 if (PyErr_Occurred()) SWIG_fail
;
7676 arg3
= (int)SWIG_As_int(obj2
);
7677 if (PyErr_Occurred()) SWIG_fail
;
7679 arg4
= (int)SWIG_As_int(obj3
);
7680 if (PyErr_Occurred()) SWIG_fail
;
7683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7684 result
= (int)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
7686 wxPyEndAllowThreads(__tstate
);
7687 if (PyErr_Occurred()) SWIG_fail
;
7689 resultobj
= SWIG_From_int((int)result
);
7696 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7697 PyObject
*resultobj
;
7698 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7699 PyObject
* obj0
= 0 ;
7701 (char *) "self", NULL
7704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
7705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7709 (arg1
)->SizeWindows();
7711 wxPyEndAllowThreads(__tstate
);
7712 if (PyErr_Occurred()) SWIG_fail
;
7714 Py_INCREF(Py_None
); resultobj
= Py_None
;
7721 static PyObject
* SashWindow_swigregister(PyObject
*, PyObject
*args
) {
7723 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7724 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
7726 return Py_BuildValue((char *)"");
7728 static PyObject
*_wrap_new_SashEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7729 PyObject
*resultobj
;
7730 int arg1
= (int) 0 ;
7731 int arg2
= (int) wxSASH_NONE
;
7732 wxSashEvent
*result
;
7733 PyObject
* obj0
= 0 ;
7734 PyObject
* obj1
= 0 ;
7736 (char *) "id",(char *) "edge", NULL
7739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7741 arg1
= (int)SWIG_As_int(obj0
);
7742 if (PyErr_Occurred()) SWIG_fail
;
7745 arg2
= (int)SWIG_As_int(obj1
);
7746 if (PyErr_Occurred()) SWIG_fail
;
7749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7750 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
7752 wxPyEndAllowThreads(__tstate
);
7753 if (PyErr_Occurred()) SWIG_fail
;
7755 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
7762 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7763 PyObject
*resultobj
;
7764 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7766 PyObject
* obj0
= 0 ;
7767 PyObject
* obj1
= 0 ;
7769 (char *) "self",(char *) "edge", NULL
7772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
7773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7775 arg2
= (int)SWIG_As_int(obj1
);
7776 if (PyErr_Occurred()) SWIG_fail
;
7778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7779 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
7781 wxPyEndAllowThreads(__tstate
);
7782 if (PyErr_Occurred()) SWIG_fail
;
7784 Py_INCREF(Py_None
); resultobj
= Py_None
;
7791 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7792 PyObject
*resultobj
;
7793 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7795 PyObject
* obj0
= 0 ;
7797 (char *) "self", NULL
7800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
7801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7805 result
= (int)((wxSashEvent
const *)arg1
)->GetEdge();
7807 wxPyEndAllowThreads(__tstate
);
7808 if (PyErr_Occurred()) SWIG_fail
;
7810 resultobj
= SWIG_From_int((int)result
);
7817 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7818 PyObject
*resultobj
;
7819 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7822 PyObject
* obj0
= 0 ;
7823 PyObject
* obj1
= 0 ;
7825 (char *) "self",(char *) "rect", NULL
7828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7833 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7837 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
7839 wxPyEndAllowThreads(__tstate
);
7840 if (PyErr_Occurred()) SWIG_fail
;
7842 Py_INCREF(Py_None
); resultobj
= Py_None
;
7849 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7850 PyObject
*resultobj
;
7851 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7853 PyObject
* obj0
= 0 ;
7855 (char *) "self", NULL
7858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
7859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7863 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
7865 wxPyEndAllowThreads(__tstate
);
7866 if (PyErr_Occurred()) SWIG_fail
;
7870 resultptr
= new wxRect((wxRect
&) result
);
7871 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7879 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7880 PyObject
*resultobj
;
7881 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7883 PyObject
* obj0
= 0 ;
7884 PyObject
* obj1
= 0 ;
7886 (char *) "self",(char *) "status", NULL
7889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
7890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7892 arg2
= (int)SWIG_As_int(obj1
);
7893 if (PyErr_Occurred()) SWIG_fail
;
7895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7896 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
7898 wxPyEndAllowThreads(__tstate
);
7899 if (PyErr_Occurred()) SWIG_fail
;
7901 Py_INCREF(Py_None
); resultobj
= Py_None
;
7908 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7909 PyObject
*resultobj
;
7910 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7912 PyObject
* obj0
= 0 ;
7914 (char *) "self", NULL
7917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
7918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7922 result
= (int)((wxSashEvent
const *)arg1
)->GetDragStatus();
7924 wxPyEndAllowThreads(__tstate
);
7925 if (PyErr_Occurred()) SWIG_fail
;
7927 resultobj
= SWIG_From_int((int)result
);
7934 static PyObject
* SashEvent_swigregister(PyObject
*, PyObject
*args
) {
7936 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7937 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
7939 return Py_BuildValue((char *)"");
7941 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7942 PyObject
*resultobj
;
7943 int arg1
= (int) 0 ;
7944 wxQueryLayoutInfoEvent
*result
;
7945 PyObject
* obj0
= 0 ;
7950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
7952 arg1
= (int)SWIG_As_int(obj0
);
7953 if (PyErr_Occurred()) SWIG_fail
;
7956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7957 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
7959 wxPyEndAllowThreads(__tstate
);
7960 if (PyErr_Occurred()) SWIG_fail
;
7962 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
7969 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7970 PyObject
*resultobj
;
7971 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7973 PyObject
* obj0
= 0 ;
7974 PyObject
* obj1
= 0 ;
7976 (char *) "self",(char *) "length", NULL
7979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7982 arg2
= (int)SWIG_As_int(obj1
);
7983 if (PyErr_Occurred()) SWIG_fail
;
7985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7986 (arg1
)->SetRequestedLength(arg2
);
7988 wxPyEndAllowThreads(__tstate
);
7989 if (PyErr_Occurred()) SWIG_fail
;
7991 Py_INCREF(Py_None
); resultobj
= Py_None
;
7998 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7999 PyObject
*resultobj
;
8000 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8002 PyObject
* obj0
= 0 ;
8004 (char *) "self", NULL
8007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
8008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8012 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
8014 wxPyEndAllowThreads(__tstate
);
8015 if (PyErr_Occurred()) SWIG_fail
;
8017 resultobj
= SWIG_From_int((int)result
);
8024 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8025 PyObject
*resultobj
;
8026 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8028 PyObject
* obj0
= 0 ;
8029 PyObject
* obj1
= 0 ;
8031 (char *) "self",(char *) "flags", NULL
8034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
8035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8037 arg2
= (int)SWIG_As_int(obj1
);
8038 if (PyErr_Occurred()) SWIG_fail
;
8040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8041 (arg1
)->SetFlags(arg2
);
8043 wxPyEndAllowThreads(__tstate
);
8044 if (PyErr_Occurred()) SWIG_fail
;
8046 Py_INCREF(Py_None
); resultobj
= Py_None
;
8053 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8054 PyObject
*resultobj
;
8055 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8057 PyObject
* obj0
= 0 ;
8059 (char *) "self", NULL
8062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
8063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8067 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
8069 wxPyEndAllowThreads(__tstate
);
8070 if (PyErr_Occurred()) SWIG_fail
;
8072 resultobj
= SWIG_From_int((int)result
);
8079 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8080 PyObject
*resultobj
;
8081 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8084 PyObject
* obj0
= 0 ;
8085 PyObject
* obj1
= 0 ;
8087 (char *) "self",(char *) "size", NULL
8090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8095 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8099 (arg1
)->SetSize((wxSize
const &)*arg2
);
8101 wxPyEndAllowThreads(__tstate
);
8102 if (PyErr_Occurred()) SWIG_fail
;
8104 Py_INCREF(Py_None
); resultobj
= Py_None
;
8111 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8112 PyObject
*resultobj
;
8113 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8115 PyObject
* obj0
= 0 ;
8117 (char *) "self", NULL
8120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
8121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8125 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
8127 wxPyEndAllowThreads(__tstate
);
8128 if (PyErr_Occurred()) SWIG_fail
;
8132 resultptr
= new wxSize((wxSize
&) result
);
8133 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
8141 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8142 PyObject
*resultobj
;
8143 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8145 PyObject
* obj0
= 0 ;
8146 PyObject
* obj1
= 0 ;
8148 (char *) "self",(char *) "orient", NULL
8151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8154 arg2
= (int)SWIG_As_int(obj1
);
8155 if (PyErr_Occurred()) SWIG_fail
;
8157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8158 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8160 wxPyEndAllowThreads(__tstate
);
8161 if (PyErr_Occurred()) SWIG_fail
;
8163 Py_INCREF(Py_None
); resultobj
= Py_None
;
8170 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8171 PyObject
*resultobj
;
8172 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8174 PyObject
* obj0
= 0 ;
8176 (char *) "self", NULL
8179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
8180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8184 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
8186 wxPyEndAllowThreads(__tstate
);
8187 if (PyErr_Occurred()) SWIG_fail
;
8189 resultobj
= SWIG_From_int((int)result
);
8196 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8197 PyObject
*resultobj
;
8198 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8200 PyObject
* obj0
= 0 ;
8201 PyObject
* obj1
= 0 ;
8203 (char *) "self",(char *) "align", NULL
8206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8209 arg2
= (int)SWIG_As_int(obj1
);
8210 if (PyErr_Occurred()) SWIG_fail
;
8212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8213 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8215 wxPyEndAllowThreads(__tstate
);
8216 if (PyErr_Occurred()) SWIG_fail
;
8218 Py_INCREF(Py_None
); resultobj
= Py_None
;
8225 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8226 PyObject
*resultobj
;
8227 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8229 PyObject
* obj0
= 0 ;
8231 (char *) "self", NULL
8234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
8235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8239 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
8241 wxPyEndAllowThreads(__tstate
);
8242 if (PyErr_Occurred()) SWIG_fail
;
8244 resultobj
= SWIG_From_int((int)result
);
8251 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*, PyObject
*args
) {
8253 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8254 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
8256 return Py_BuildValue((char *)"");
8258 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8259 PyObject
*resultobj
;
8260 int arg1
= (int) 0 ;
8261 wxCalculateLayoutEvent
*result
;
8262 PyObject
* obj0
= 0 ;
8267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
8269 arg1
= (int)SWIG_As_int(obj0
);
8270 if (PyErr_Occurred()) SWIG_fail
;
8273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8274 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
8276 wxPyEndAllowThreads(__tstate
);
8277 if (PyErr_Occurred()) SWIG_fail
;
8279 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
8286 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8287 PyObject
*resultobj
;
8288 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8290 PyObject
* obj0
= 0 ;
8291 PyObject
* obj1
= 0 ;
8293 (char *) "self",(char *) "flags", NULL
8296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
8297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8299 arg2
= (int)SWIG_As_int(obj1
);
8300 if (PyErr_Occurred()) SWIG_fail
;
8302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8303 (arg1
)->SetFlags(arg2
);
8305 wxPyEndAllowThreads(__tstate
);
8306 if (PyErr_Occurred()) SWIG_fail
;
8308 Py_INCREF(Py_None
); resultobj
= Py_None
;
8315 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8316 PyObject
*resultobj
;
8317 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8319 PyObject
* obj0
= 0 ;
8321 (char *) "self", NULL
8324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
8325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8329 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
8331 wxPyEndAllowThreads(__tstate
);
8332 if (PyErr_Occurred()) SWIG_fail
;
8334 resultobj
= SWIG_From_int((int)result
);
8341 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8342 PyObject
*resultobj
;
8343 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8346 PyObject
* obj0
= 0 ;
8347 PyObject
* obj1
= 0 ;
8349 (char *) "self",(char *) "rect", NULL
8352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
8353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8357 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8361 (arg1
)->SetRect((wxRect
const &)*arg2
);
8363 wxPyEndAllowThreads(__tstate
);
8364 if (PyErr_Occurred()) SWIG_fail
;
8366 Py_INCREF(Py_None
); resultobj
= Py_None
;
8373 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8374 PyObject
*resultobj
;
8375 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8377 PyObject
* obj0
= 0 ;
8379 (char *) "self", NULL
8382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
8383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8387 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
8389 wxPyEndAllowThreads(__tstate
);
8390 if (PyErr_Occurred()) SWIG_fail
;
8394 resultptr
= new wxRect((wxRect
&) result
);
8395 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
8403 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*, PyObject
*args
) {
8405 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8406 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
8408 return Py_BuildValue((char *)"");
8410 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8411 PyObject
*resultobj
;
8412 wxWindow
*arg1
= (wxWindow
*) 0 ;
8413 int arg2
= (int) -1 ;
8414 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8415 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8416 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8417 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8418 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8419 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
8420 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8421 wxSashLayoutWindow
*result
;
8424 bool temp6
= false ;
8425 PyObject
* obj0
= 0 ;
8426 PyObject
* obj1
= 0 ;
8427 PyObject
* obj2
= 0 ;
8428 PyObject
* obj3
= 0 ;
8429 PyObject
* obj4
= 0 ;
8430 PyObject
* obj5
= 0 ;
8432 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8439 arg2
= (int)SWIG_As_int(obj1
);
8440 if (PyErr_Occurred()) SWIG_fail
;
8445 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8451 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8455 arg5
= (long)SWIG_As_long(obj4
);
8456 if (PyErr_Occurred()) SWIG_fail
;
8460 arg6
= wxString_in_helper(obj5
);
8461 if (arg6
== NULL
) SWIG_fail
;
8466 if (!wxPyCheckForApp()) SWIG_fail
;
8467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8468 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8470 wxPyEndAllowThreads(__tstate
);
8471 if (PyErr_Occurred()) SWIG_fail
;
8473 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8488 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8489 PyObject
*resultobj
;
8490 wxSashLayoutWindow
*result
;
8495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
8497 if (!wxPyCheckForApp()) SWIG_fail
;
8498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8499 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
8501 wxPyEndAllowThreads(__tstate
);
8502 if (PyErr_Occurred()) SWIG_fail
;
8504 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8511 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8512 PyObject
*resultobj
;
8513 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8514 wxWindow
*arg2
= (wxWindow
*) 0 ;
8515 int arg3
= (int) -1 ;
8516 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8517 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8518 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8519 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8520 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8521 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
8522 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8526 bool temp7
= false ;
8527 PyObject
* obj0
= 0 ;
8528 PyObject
* obj1
= 0 ;
8529 PyObject
* obj2
= 0 ;
8530 PyObject
* obj3
= 0 ;
8531 PyObject
* obj4
= 0 ;
8532 PyObject
* obj5
= 0 ;
8533 PyObject
* obj6
= 0 ;
8535 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8541 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8544 arg3
= (int)SWIG_As_int(obj2
);
8545 if (PyErr_Occurred()) SWIG_fail
;
8550 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8556 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8560 arg6
= (long)SWIG_As_long(obj5
);
8561 if (PyErr_Occurred()) SWIG_fail
;
8565 arg7
= wxString_in_helper(obj6
);
8566 if (arg7
== NULL
) SWIG_fail
;
8571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8572 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8574 wxPyEndAllowThreads(__tstate
);
8575 if (PyErr_Occurred()) SWIG_fail
;
8578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8594 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8595 PyObject
*resultobj
;
8596 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8598 PyObject
* obj0
= 0 ;
8600 (char *) "self", NULL
8603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
8604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8608 result
= (int)(arg1
)->GetAlignment();
8610 wxPyEndAllowThreads(__tstate
);
8611 if (PyErr_Occurred()) SWIG_fail
;
8613 resultobj
= SWIG_From_int((int)result
);
8620 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8621 PyObject
*resultobj
;
8622 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8624 PyObject
* obj0
= 0 ;
8626 (char *) "self", NULL
8629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
8630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8634 result
= (int)(arg1
)->GetOrientation();
8636 wxPyEndAllowThreads(__tstate
);
8637 if (PyErr_Occurred()) SWIG_fail
;
8639 resultobj
= SWIG_From_int((int)result
);
8646 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8647 PyObject
*resultobj
;
8648 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8650 PyObject
* obj0
= 0 ;
8651 PyObject
* obj1
= 0 ;
8653 (char *) "self",(char *) "alignment", NULL
8656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8659 arg2
= (int)SWIG_As_int(obj1
);
8660 if (PyErr_Occurred()) SWIG_fail
;
8662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8663 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8665 wxPyEndAllowThreads(__tstate
);
8666 if (PyErr_Occurred()) SWIG_fail
;
8668 Py_INCREF(Py_None
); resultobj
= Py_None
;
8675 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8676 PyObject
*resultobj
;
8677 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8680 PyObject
* obj0
= 0 ;
8681 PyObject
* obj1
= 0 ;
8683 (char *) "self",(char *) "size", NULL
8686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8691 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8695 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
8697 wxPyEndAllowThreads(__tstate
);
8698 if (PyErr_Occurred()) SWIG_fail
;
8700 Py_INCREF(Py_None
); resultobj
= Py_None
;
8707 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8708 PyObject
*resultobj
;
8709 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8711 PyObject
* obj0
= 0 ;
8712 PyObject
* obj1
= 0 ;
8714 (char *) "self",(char *) "orientation", NULL
8717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8720 arg2
= (int)SWIG_As_int(obj1
);
8721 if (PyErr_Occurred()) SWIG_fail
;
8723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8724 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8726 wxPyEndAllowThreads(__tstate
);
8727 if (PyErr_Occurred()) SWIG_fail
;
8729 Py_INCREF(Py_None
); resultobj
= Py_None
;
8736 static PyObject
* SashLayoutWindow_swigregister(PyObject
*, PyObject
*args
) {
8738 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8739 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
8741 return Py_BuildValue((char *)"");
8743 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8744 PyObject
*resultobj
;
8745 wxLayoutAlgorithm
*result
;
8750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
8752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8753 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
8755 wxPyEndAllowThreads(__tstate
);
8756 if (PyErr_Occurred()) SWIG_fail
;
8758 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
8765 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8766 PyObject
*resultobj
;
8767 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8768 PyObject
* obj0
= 0 ;
8770 (char *) "self", NULL
8773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
8774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8780 wxPyEndAllowThreads(__tstate
);
8781 if (PyErr_Occurred()) SWIG_fail
;
8783 Py_INCREF(Py_None
); resultobj
= Py_None
;
8790 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8791 PyObject
*resultobj
;
8792 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8793 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
8794 wxRect
*arg3
= (wxRect
*) NULL
;
8796 PyObject
* obj0
= 0 ;
8797 PyObject
* obj1
= 0 ;
8798 PyObject
* obj2
= 0 ;
8800 (char *) "self",(char *) "frame",(char *) "rect", NULL
8803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8806 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
8807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8809 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
8810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8814 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
8816 wxPyEndAllowThreads(__tstate
);
8817 if (PyErr_Occurred()) SWIG_fail
;
8820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8828 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8829 PyObject
*resultobj
;
8830 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8831 wxFrame
*arg2
= (wxFrame
*) 0 ;
8832 wxWindow
*arg3
= (wxWindow
*) NULL
;
8834 PyObject
* obj0
= 0 ;
8835 PyObject
* obj1
= 0 ;
8836 PyObject
* obj2
= 0 ;
8838 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8844 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
8845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8847 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8852 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
8854 wxPyEndAllowThreads(__tstate
);
8855 if (PyErr_Occurred()) SWIG_fail
;
8858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8866 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8867 PyObject
*resultobj
;
8868 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8869 wxWindow
*arg2
= (wxWindow
*) 0 ;
8870 wxWindow
*arg3
= (wxWindow
*) NULL
;
8872 PyObject
* obj0
= 0 ;
8873 PyObject
* obj1
= 0 ;
8874 PyObject
* obj2
= 0 ;
8876 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8882 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8885 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8890 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
8892 wxPyEndAllowThreads(__tstate
);
8893 if (PyErr_Occurred()) SWIG_fail
;
8896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8904 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*, PyObject
*args
) {
8906 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8907 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
8909 return Py_BuildValue((char *)"");
8911 static PyObject
*_wrap_new_PopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8912 PyObject
*resultobj
;
8913 wxWindow
*arg1
= (wxWindow
*) 0 ;
8914 int arg2
= (int) wxBORDER_NONE
;
8915 wxPopupWindow
*result
;
8916 PyObject
* obj0
= 0 ;
8917 PyObject
* obj1
= 0 ;
8919 (char *) "parent",(char *) "flags", NULL
8922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8926 arg2
= (int)SWIG_As_int(obj1
);
8927 if (PyErr_Occurred()) SWIG_fail
;
8930 if (!wxPyCheckForApp()) SWIG_fail
;
8931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8932 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
8934 wxPyEndAllowThreads(__tstate
);
8935 if (PyErr_Occurred()) SWIG_fail
;
8937 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8944 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8945 PyObject
*resultobj
;
8946 wxPopupWindow
*result
;
8951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
8953 if (!wxPyCheckForApp()) SWIG_fail
;
8954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8955 result
= (wxPopupWindow
*)new wxPopupWindow();
8957 wxPyEndAllowThreads(__tstate
);
8958 if (PyErr_Occurred()) SWIG_fail
;
8960 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8967 static PyObject
*_wrap_PopupWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8968 PyObject
*resultobj
;
8969 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
8970 wxWindow
*arg2
= (wxWindow
*) 0 ;
8971 int arg3
= (int) wxBORDER_NONE
;
8973 PyObject
* obj0
= 0 ;
8974 PyObject
* obj1
= 0 ;
8975 PyObject
* obj2
= 0 ;
8977 (char *) "self",(char *) "parent",(char *) "flags", NULL
8980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPopupWindow
,
8982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8983 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8986 arg3
= (int)SWIG_As_int(obj2
);
8987 if (PyErr_Occurred()) SWIG_fail
;
8990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8991 result
= (bool)(arg1
)->Create(arg2
,arg3
);
8993 wxPyEndAllowThreads(__tstate
);
8994 if (PyErr_Occurred()) SWIG_fail
;
8997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9005 static PyObject
*_wrap_PopupWindow_Position(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9006 PyObject
*resultobj
;
9007 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
9012 PyObject
* obj0
= 0 ;
9013 PyObject
* obj1
= 0 ;
9014 PyObject
* obj2
= 0 ;
9016 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
9019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPopupWindow
,
9021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9024 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9028 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
9031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9032 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
9034 wxPyEndAllowThreads(__tstate
);
9035 if (PyErr_Occurred()) SWIG_fail
;
9037 Py_INCREF(Py_None
); resultobj
= Py_None
;
9044 static PyObject
* PopupWindow_swigregister(PyObject
*, PyObject
*args
) {
9046 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9047 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
9049 return Py_BuildValue((char *)"");
9051 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9052 PyObject
*resultobj
;
9053 wxWindow
*arg1
= (wxWindow
*) 0 ;
9054 int arg2
= (int) wxBORDER_NONE
;
9055 wxPyPopupTransientWindow
*result
;
9056 PyObject
* obj0
= 0 ;
9057 PyObject
* obj1
= 0 ;
9059 (char *) "parent",(char *) "style", NULL
9062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
9063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9066 arg2
= (int)SWIG_As_int(obj1
);
9067 if (PyErr_Occurred()) SWIG_fail
;
9070 if (!wxPyCheckForApp()) SWIG_fail
;
9071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9072 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
9074 wxPyEndAllowThreads(__tstate
);
9075 if (PyErr_Occurred()) SWIG_fail
;
9077 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
9084 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9085 PyObject
*resultobj
;
9086 wxPyPopupTransientWindow
*result
;
9091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
9093 if (!wxPyCheckForApp()) SWIG_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
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9108 PyObject
*resultobj
;
9109 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
9110 PyObject
*arg2
= (PyObject
*) 0 ;
9111 PyObject
*arg3
= (PyObject
*) 0 ;
9112 PyObject
* obj0
= 0 ;
9113 PyObject
* obj1
= 0 ;
9114 PyObject
* obj2
= 0 ;
9116 (char *) "self",(char *) "self",(char *) "_class", NULL
9119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
9121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9126 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9128 wxPyEndAllowThreads(__tstate
);
9129 if (PyErr_Occurred()) SWIG_fail
;
9131 Py_INCREF(Py_None
); resultobj
= Py_None
;
9138 static PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9139 PyObject
*resultobj
;
9140 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
9141 wxWindow
*arg2
= (wxWindow
*) NULL
;
9142 PyObject
* obj0
= 0 ;
9143 PyObject
* obj1
= 0 ;
9145 (char *) "self",(char *) "focus", NULL
9148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) goto fail
;
9149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
9150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9152 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9157 (arg1
)->Popup(arg2
);
9159 wxPyEndAllowThreads(__tstate
);
9160 if (PyErr_Occurred()) SWIG_fail
;
9162 Py_INCREF(Py_None
); resultobj
= Py_None
;
9169 static PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9170 PyObject
*resultobj
;
9171 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
9172 PyObject
* obj0
= 0 ;
9174 (char *) "self", NULL
9177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PopupTransientWindow_Dismiss",kwnames
,&obj0
)) goto fail
;
9178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
9179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9184 wxPyEndAllowThreads(__tstate
);
9185 if (PyErr_Occurred()) SWIG_fail
;
9187 Py_INCREF(Py_None
); resultobj
= Py_None
;
9194 static PyObject
* PopupTransientWindow_swigregister(PyObject
*, PyObject
*args
) {
9196 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9197 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
9199 return Py_BuildValue((char *)"");
9201 static PyObject
*_wrap_new_TipWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9202 PyObject
*resultobj
;
9203 wxWindow
*arg1
= (wxWindow
*) 0 ;
9204 wxString
*arg2
= 0 ;
9205 int arg3
= (int) 100 ;
9206 wxRect
*arg4
= (wxRect
*) NULL
;
9207 wxTipWindow
*result
;
9208 bool temp2
= false ;
9209 PyObject
* obj0
= 0 ;
9210 PyObject
* obj1
= 0 ;
9211 PyObject
* obj2
= 0 ;
9212 PyObject
* obj3
= 0 ;
9214 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
9217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9221 arg2
= wxString_in_helper(obj1
);
9222 if (arg2
== NULL
) SWIG_fail
;
9226 arg3
= (int)SWIG_As_int(obj2
);
9227 if (PyErr_Occurred()) SWIG_fail
;
9230 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
9231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9234 if (!wxPyCheckForApp()) SWIG_fail
;
9235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9236 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9238 wxPyEndAllowThreads(__tstate
);
9239 if (PyErr_Occurred()) SWIG_fail
;
9241 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
9256 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9257 PyObject
*resultobj
;
9258 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
9261 PyObject
* obj0
= 0 ;
9262 PyObject
* obj1
= 0 ;
9264 (char *) "self",(char *) "rectBound", NULL
9267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
9268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
9269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9272 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9276 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
9278 wxPyEndAllowThreads(__tstate
);
9279 if (PyErr_Occurred()) SWIG_fail
;
9281 Py_INCREF(Py_None
); resultobj
= Py_None
;
9288 static PyObject
*_wrap_TipWindow_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9289 PyObject
*resultobj
;
9290 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
9291 PyObject
* obj0
= 0 ;
9293 (char *) "self", NULL
9296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
9297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
9298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9303 wxPyEndAllowThreads(__tstate
);
9304 if (PyErr_Occurred()) SWIG_fail
;
9306 Py_INCREF(Py_None
); resultobj
= Py_None
;
9313 static PyObject
* TipWindow_swigregister(PyObject
*, PyObject
*args
) {
9315 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9316 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
9318 return Py_BuildValue((char *)"");
9320 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9321 PyObject
*resultobj
;
9322 wxWindow
*arg1
= (wxWindow
*) 0 ;
9323 int arg2
= (int) wxID_ANY
;
9324 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9325 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9326 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9327 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9328 long arg5
= (long) 0 ;
9329 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
9330 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9331 wxPyVScrolledWindow
*result
;
9334 bool temp6
= false ;
9335 PyObject
* obj0
= 0 ;
9336 PyObject
* obj1
= 0 ;
9337 PyObject
* obj2
= 0 ;
9338 PyObject
* obj3
= 0 ;
9339 PyObject
* obj4
= 0 ;
9340 PyObject
* obj5
= 0 ;
9342 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9349 arg2
= (int)SWIG_As_int(obj1
);
9350 if (PyErr_Occurred()) SWIG_fail
;
9355 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9361 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9365 arg5
= (long)SWIG_As_long(obj4
);
9366 if (PyErr_Occurred()) SWIG_fail
;
9370 arg6
= wxString_in_helper(obj5
);
9371 if (arg6
== NULL
) SWIG_fail
;
9376 if (!wxPyCheckForApp()) SWIG_fail
;
9377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9378 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9380 wxPyEndAllowThreads(__tstate
);
9381 if (PyErr_Occurred()) SWIG_fail
;
9383 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
9398 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9399 PyObject
*resultobj
;
9400 wxPyVScrolledWindow
*result
;
9405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
9407 if (!wxPyCheckForApp()) SWIG_fail
;
9408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9409 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
9411 wxPyEndAllowThreads(__tstate
);
9412 if (PyErr_Occurred()) SWIG_fail
;
9414 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
9421 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9422 PyObject
*resultobj
;
9423 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9424 PyObject
*arg2
= (PyObject
*) 0 ;
9425 PyObject
*arg3
= (PyObject
*) 0 ;
9426 PyObject
* obj0
= 0 ;
9427 PyObject
* obj1
= 0 ;
9428 PyObject
* obj2
= 0 ;
9430 (char *) "self",(char *) "self",(char *) "_class", NULL
9433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9440 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9442 wxPyEndAllowThreads(__tstate
);
9443 if (PyErr_Occurred()) SWIG_fail
;
9445 Py_INCREF(Py_None
); resultobj
= Py_None
;
9452 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9453 PyObject
*resultobj
;
9454 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9455 wxWindow
*arg2
= (wxWindow
*) 0 ;
9456 int arg3
= (int) wxID_ANY
;
9457 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9458 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9459 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9460 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9461 long arg6
= (long) 0 ;
9462 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
9463 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9467 bool temp7
= false ;
9468 PyObject
* obj0
= 0 ;
9469 PyObject
* obj1
= 0 ;
9470 PyObject
* obj2
= 0 ;
9471 PyObject
* obj3
= 0 ;
9472 PyObject
* obj4
= 0 ;
9473 PyObject
* obj5
= 0 ;
9474 PyObject
* obj6
= 0 ;
9476 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9482 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9485 arg3
= (int)SWIG_As_int(obj2
);
9486 if (PyErr_Occurred()) SWIG_fail
;
9491 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9497 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9501 arg6
= (long)SWIG_As_long(obj5
);
9502 if (PyErr_Occurred()) SWIG_fail
;
9506 arg7
= wxString_in_helper(obj6
);
9507 if (arg7
== NULL
) SWIG_fail
;
9512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9513 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9515 wxPyEndAllowThreads(__tstate
);
9516 if (PyErr_Occurred()) SWIG_fail
;
9519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9535 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9536 PyObject
*resultobj
;
9537 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9539 PyObject
* obj0
= 0 ;
9540 PyObject
* obj1
= 0 ;
9542 (char *) "self",(char *) "count", NULL
9545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9548 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9549 if (PyErr_Occurred()) SWIG_fail
;
9551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9552 (arg1
)->SetLineCount(arg2
);
9554 wxPyEndAllowThreads(__tstate
);
9555 if (PyErr_Occurred()) SWIG_fail
;
9557 Py_INCREF(Py_None
); resultobj
= Py_None
;
9564 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9565 PyObject
*resultobj
;
9566 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9569 PyObject
* obj0
= 0 ;
9570 PyObject
* obj1
= 0 ;
9572 (char *) "self",(char *) "line", NULL
9575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9578 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9579 if (PyErr_Occurred()) SWIG_fail
;
9581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9582 result
= (bool)(arg1
)->ScrollToLine(arg2
);
9584 wxPyEndAllowThreads(__tstate
);
9585 if (PyErr_Occurred()) SWIG_fail
;
9588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9596 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9597 PyObject
*resultobj
;
9598 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9601 PyObject
* obj0
= 0 ;
9602 PyObject
* obj1
= 0 ;
9604 (char *) "self",(char *) "lines", NULL
9607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
9608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9610 arg2
= (int)SWIG_As_int(obj1
);
9611 if (PyErr_Occurred()) SWIG_fail
;
9613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9614 result
= (bool)(arg1
)->ScrollLines(arg2
);
9616 wxPyEndAllowThreads(__tstate
);
9617 if (PyErr_Occurred()) SWIG_fail
;
9620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9628 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9629 PyObject
*resultobj
;
9630 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9633 PyObject
* obj0
= 0 ;
9634 PyObject
* obj1
= 0 ;
9636 (char *) "self",(char *) "pages", NULL
9639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
9640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9642 arg2
= (int)SWIG_As_int(obj1
);
9643 if (PyErr_Occurred()) SWIG_fail
;
9645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9646 result
= (bool)(arg1
)->ScrollPages(arg2
);
9648 wxPyEndAllowThreads(__tstate
);
9649 if (PyErr_Occurred()) SWIG_fail
;
9652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9660 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9661 PyObject
*resultobj
;
9662 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9664 PyObject
* obj0
= 0 ;
9665 PyObject
* obj1
= 0 ;
9667 (char *) "self",(char *) "line", NULL
9670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9673 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9674 if (PyErr_Occurred()) SWIG_fail
;
9676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9677 (arg1
)->RefreshLine(arg2
);
9679 wxPyEndAllowThreads(__tstate
);
9680 if (PyErr_Occurred()) SWIG_fail
;
9682 Py_INCREF(Py_None
); resultobj
= Py_None
;
9689 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9690 PyObject
*resultobj
;
9691 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9694 PyObject
* obj0
= 0 ;
9695 PyObject
* obj1
= 0 ;
9696 PyObject
* obj2
= 0 ;
9698 (char *) "self",(char *) "from",(char *) "to", NULL
9701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9704 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9705 if (PyErr_Occurred()) SWIG_fail
;
9706 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
9707 if (PyErr_Occurred()) SWIG_fail
;
9709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9710 (arg1
)->RefreshLines(arg2
,arg3
);
9712 wxPyEndAllowThreads(__tstate
);
9713 if (PyErr_Occurred()) SWIG_fail
;
9715 Py_INCREF(Py_None
); resultobj
= Py_None
;
9722 static PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9723 PyObject
*resultobj
;
9724 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9728 PyObject
* obj0
= 0 ;
9729 PyObject
* obj1
= 0 ;
9730 PyObject
* obj2
= 0 ;
9732 (char *) "self",(char *) "x",(char *) "y", NULL
9735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9738 arg2
= (int)SWIG_As_int(obj1
);
9739 if (PyErr_Occurred()) SWIG_fail
;
9740 arg3
= (int)SWIG_As_int(obj2
);
9741 if (PyErr_Occurred()) SWIG_fail
;
9743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9744 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
9746 wxPyEndAllowThreads(__tstate
);
9747 if (PyErr_Occurred()) SWIG_fail
;
9749 resultobj
= SWIG_From_int((int)result
);
9756 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9757 PyObject
*resultobj
;
9758 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9762 PyObject
* obj0
= 0 ;
9763 PyObject
* obj1
= 0 ;
9765 (char *) "self",(char *) "pt", NULL
9768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9773 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9777 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9779 wxPyEndAllowThreads(__tstate
);
9780 if (PyErr_Occurred()) SWIG_fail
;
9782 resultobj
= SWIG_From_int((int)result
);
9789 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9790 PyObject
*resultobj
;
9791 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9792 PyObject
* obj0
= 0 ;
9794 (char *) "self", NULL
9797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
9798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9802 (arg1
)->RefreshAll();
9804 wxPyEndAllowThreads(__tstate
);
9805 if (PyErr_Occurred()) SWIG_fail
;
9807 Py_INCREF(Py_None
); resultobj
= Py_None
;
9814 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9815 PyObject
*resultobj
;
9816 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9818 PyObject
* obj0
= 0 ;
9820 (char *) "self", NULL
9823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
9824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9828 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
9830 wxPyEndAllowThreads(__tstate
);
9831 if (PyErr_Occurred()) SWIG_fail
;
9833 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
9840 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9841 PyObject
*resultobj
;
9842 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9844 PyObject
* obj0
= 0 ;
9846 (char *) "self", NULL
9849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
9850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9854 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
9856 wxPyEndAllowThreads(__tstate
);
9857 if (PyErr_Occurred()) SWIG_fail
;
9859 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
9866 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9867 PyObject
*resultobj
;
9868 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9870 PyObject
* obj0
= 0 ;
9872 (char *) "self", NULL
9875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
9876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9880 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
9882 wxPyEndAllowThreads(__tstate
);
9883 if (PyErr_Occurred()) SWIG_fail
;
9885 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
9892 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9893 PyObject
*resultobj
;
9894 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9897 PyObject
* obj0
= 0 ;
9898 PyObject
* obj1
= 0 ;
9900 (char *) "self",(char *) "line", NULL
9903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
9904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9906 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9907 if (PyErr_Occurred()) SWIG_fail
;
9909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9910 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
9912 wxPyEndAllowThreads(__tstate
);
9913 if (PyErr_Occurred()) SWIG_fail
;
9916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9924 static PyObject
* VScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
9926 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9927 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
9929 return Py_BuildValue((char *)"");
9931 static int _wrap_VListBoxNameStr_set(PyObject
*) {
9932 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
9937 static PyObject
*_wrap_VListBoxNameStr_get() {
9942 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9944 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9951 static PyObject
*_wrap_new_VListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9952 PyObject
*resultobj
;
9953 wxWindow
*arg1
= (wxWindow
*) 0 ;
9954 int arg2
= (int) wxID_ANY
;
9955 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9956 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9957 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9958 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9959 long arg5
= (long) 0 ;
9960 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
9961 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9962 wxPyVListBox
*result
;
9965 bool temp6
= false ;
9966 PyObject
* obj0
= 0 ;
9967 PyObject
* obj1
= 0 ;
9968 PyObject
* obj2
= 0 ;
9969 PyObject
* obj3
= 0 ;
9970 PyObject
* obj4
= 0 ;
9971 PyObject
* obj5
= 0 ;
9973 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9980 arg2
= (int)SWIG_As_int(obj1
);
9981 if (PyErr_Occurred()) SWIG_fail
;
9986 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9992 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9996 arg5
= (long)SWIG_As_long(obj4
);
9997 if (PyErr_Occurred()) SWIG_fail
;
10001 arg6
= wxString_in_helper(obj5
);
10002 if (arg6
== NULL
) SWIG_fail
;
10007 if (!wxPyCheckForApp()) SWIG_fail
;
10008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10009 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10011 wxPyEndAllowThreads(__tstate
);
10012 if (PyErr_Occurred()) SWIG_fail
;
10014 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
10029 static PyObject
*_wrap_new_PreVListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10030 PyObject
*resultobj
;
10031 wxPyVListBox
*result
;
10032 char *kwnames
[] = {
10036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
10038 if (!wxPyCheckForApp()) SWIG_fail
;
10039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10040 result
= (wxPyVListBox
*)new wxPyVListBox();
10042 wxPyEndAllowThreads(__tstate
);
10043 if (PyErr_Occurred()) SWIG_fail
;
10045 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
10052 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10053 PyObject
*resultobj
;
10054 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10055 PyObject
*arg2
= (PyObject
*) 0 ;
10056 PyObject
*arg3
= (PyObject
*) 0 ;
10057 PyObject
* obj0
= 0 ;
10058 PyObject
* obj1
= 0 ;
10059 PyObject
* obj2
= 0 ;
10060 char *kwnames
[] = {
10061 (char *) "self",(char *) "self",(char *) "_class", NULL
10064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10071 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10073 wxPyEndAllowThreads(__tstate
);
10074 if (PyErr_Occurred()) SWIG_fail
;
10076 Py_INCREF(Py_None
); resultobj
= Py_None
;
10083 static PyObject
*_wrap_VListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10084 PyObject
*resultobj
;
10085 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10086 wxWindow
*arg2
= (wxWindow
*) 0 ;
10087 int arg3
= (int) wxID_ANY
;
10088 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10089 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10090 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10091 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10092 long arg6
= (long) 0 ;
10093 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
10094 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10098 bool temp7
= false ;
10099 PyObject
* obj0
= 0 ;
10100 PyObject
* obj1
= 0 ;
10101 PyObject
* obj2
= 0 ;
10102 PyObject
* obj3
= 0 ;
10103 PyObject
* obj4
= 0 ;
10104 PyObject
* obj5
= 0 ;
10105 PyObject
* obj6
= 0 ;
10106 char *kwnames
[] = {
10107 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10113 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10116 arg3
= (int)SWIG_As_int(obj2
);
10117 if (PyErr_Occurred()) SWIG_fail
;
10122 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10128 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10132 arg6
= (long)SWIG_As_long(obj5
);
10133 if (PyErr_Occurred()) SWIG_fail
;
10137 arg7
= wxString_in_helper(obj6
);
10138 if (arg7
== NULL
) SWIG_fail
;
10143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10144 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10146 wxPyEndAllowThreads(__tstate
);
10147 if (PyErr_Occurred()) SWIG_fail
;
10150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10166 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10167 PyObject
*resultobj
;
10168 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10170 PyObject
* obj0
= 0 ;
10171 char *kwnames
[] = {
10172 (char *) "self", NULL
10175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
10176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10180 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
10182 wxPyEndAllowThreads(__tstate
);
10183 if (PyErr_Occurred()) SWIG_fail
;
10185 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
10192 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10193 PyObject
*resultobj
;
10194 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10196 PyObject
* obj0
= 0 ;
10197 char *kwnames
[] = {
10198 (char *) "self", NULL
10201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
10202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10206 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
10208 wxPyEndAllowThreads(__tstate
);
10209 if (PyErr_Occurred()) SWIG_fail
;
10212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10220 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10221 PyObject
*resultobj
;
10222 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10224 PyObject
* obj0
= 0 ;
10225 char *kwnames
[] = {
10226 (char *) "self", NULL
10229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
10230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10234 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
10236 wxPyEndAllowThreads(__tstate
);
10237 if (PyErr_Occurred()) SWIG_fail
;
10239 resultobj
= SWIG_From_int((int)result
);
10246 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10247 PyObject
*resultobj
;
10248 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10251 PyObject
* obj0
= 0 ;
10252 PyObject
* obj1
= 0 ;
10253 char *kwnames
[] = {
10254 (char *) "self",(char *) "item", NULL
10257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
10258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10260 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10261 if (PyErr_Occurred()) SWIG_fail
;
10263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10264 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
10266 wxPyEndAllowThreads(__tstate
);
10267 if (PyErr_Occurred()) SWIG_fail
;
10270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10278 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10279 PyObject
*resultobj
;
10280 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10283 PyObject
* obj0
= 0 ;
10284 PyObject
* obj1
= 0 ;
10285 char *kwnames
[] = {
10286 (char *) "self",(char *) "item", NULL
10289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
10290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10292 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10293 if (PyErr_Occurred()) SWIG_fail
;
10295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10296 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
10298 wxPyEndAllowThreads(__tstate
);
10299 if (PyErr_Occurred()) SWIG_fail
;
10302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10310 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10311 PyObject
*resultobj
;
10312 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10314 PyObject
* obj0
= 0 ;
10315 char *kwnames
[] = {
10316 (char *) "self", NULL
10319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
10320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10324 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
10326 wxPyEndAllowThreads(__tstate
);
10327 if (PyErr_Occurred()) SWIG_fail
;
10329 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
10336 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10337 PyObject
*resultobj
;
10338 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10340 PyObject
* obj0
= 0 ;
10341 char *kwnames
[] = {
10342 (char *) "self", NULL
10345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
10346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10350 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
10352 wxPyEndAllowThreads(__tstate
);
10353 if (PyErr_Occurred()) SWIG_fail
;
10355 resultobj
= result
;
10362 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10363 PyObject
*resultobj
;
10364 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10365 unsigned long arg2
;
10367 PyObject
* obj0
= 0 ;
10368 PyObject
* obj1
= 0 ;
10369 char *kwnames
[] = {
10370 (char *) "self",(char *) "cookie", NULL
10373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
10374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10376 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
10377 if (PyErr_Occurred()) SWIG_fail
;
10379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10380 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
10382 wxPyEndAllowThreads(__tstate
);
10383 if (PyErr_Occurred()) SWIG_fail
;
10385 resultobj
= result
;
10392 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10393 PyObject
*resultobj
;
10394 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10396 PyObject
* obj0
= 0 ;
10397 char *kwnames
[] = {
10398 (char *) "self", NULL
10401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",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();
10406 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
10408 wxPyEndAllowThreads(__tstate
);
10409 if (PyErr_Occurred()) SWIG_fail
;
10412 wxPoint
* resultptr
;
10413 resultptr
= new wxPoint((wxPoint
&) result
);
10414 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
10422 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10423 PyObject
*resultobj
;
10424 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10426 PyObject
* obj0
= 0 ;
10427 char *kwnames
[] = {
10428 (char *) "self", NULL
10431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
10432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10437 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
10438 result
= (wxColour
*) &_result_ref
;
10441 wxPyEndAllowThreads(__tstate
);
10442 if (PyErr_Occurred()) SWIG_fail
;
10444 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
10451 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10452 PyObject
*resultobj
;
10453 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10455 PyObject
* obj0
= 0 ;
10456 PyObject
* obj1
= 0 ;
10457 char *kwnames
[] = {
10458 (char *) "self",(char *) "count", NULL
10461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10464 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10465 if (PyErr_Occurred()) SWIG_fail
;
10467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10468 (arg1
)->SetItemCount(arg2
);
10470 wxPyEndAllowThreads(__tstate
);
10471 if (PyErr_Occurred()) SWIG_fail
;
10473 Py_INCREF(Py_None
); resultobj
= Py_None
;
10480 static PyObject
*_wrap_VListBox_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10481 PyObject
*resultobj
;
10482 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10483 PyObject
* obj0
= 0 ;
10484 char *kwnames
[] = {
10485 (char *) "self", NULL
10488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
10489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10495 wxPyEndAllowThreads(__tstate
);
10496 if (PyErr_Occurred()) SWIG_fail
;
10498 Py_INCREF(Py_None
); resultobj
= Py_None
;
10505 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10506 PyObject
*resultobj
;
10507 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10509 PyObject
* obj0
= 0 ;
10510 PyObject
* obj1
= 0 ;
10511 char *kwnames
[] = {
10512 (char *) "self",(char *) "selection", NULL
10515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
10516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10518 arg2
= (int)SWIG_As_int(obj1
);
10519 if (PyErr_Occurred()) SWIG_fail
;
10521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10522 (arg1
)->SetSelection(arg2
);
10524 wxPyEndAllowThreads(__tstate
);
10525 if (PyErr_Occurred()) SWIG_fail
;
10527 Py_INCREF(Py_None
); resultobj
= Py_None
;
10534 static PyObject
*_wrap_VListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10535 PyObject
*resultobj
;
10536 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10538 bool arg3
= (bool) true ;
10540 PyObject
* obj0
= 0 ;
10541 PyObject
* obj1
= 0 ;
10542 PyObject
* obj2
= 0 ;
10543 char *kwnames
[] = {
10544 (char *) "self",(char *) "item",(char *) "select", NULL
10547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10550 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10551 if (PyErr_Occurred()) SWIG_fail
;
10553 arg3
= (bool)SWIG_As_bool(obj2
);
10554 if (PyErr_Occurred()) SWIG_fail
;
10557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10558 result
= (bool)(arg1
)->Select(arg2
,arg3
);
10560 wxPyEndAllowThreads(__tstate
);
10561 if (PyErr_Occurred()) SWIG_fail
;
10564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10572 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10573 PyObject
*resultobj
;
10574 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10578 PyObject
* obj0
= 0 ;
10579 PyObject
* obj1
= 0 ;
10580 PyObject
* obj2
= 0 ;
10581 char *kwnames
[] = {
10582 (char *) "self",(char *) "from",(char *) "to", NULL
10585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10588 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10589 if (PyErr_Occurred()) SWIG_fail
;
10590 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
10591 if (PyErr_Occurred()) SWIG_fail
;
10593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10594 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
10596 wxPyEndAllowThreads(__tstate
);
10597 if (PyErr_Occurred()) SWIG_fail
;
10600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10608 static PyObject
*_wrap_VListBox_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10609 PyObject
*resultobj
;
10610 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10612 PyObject
* obj0
= 0 ;
10613 PyObject
* obj1
= 0 ;
10614 char *kwnames
[] = {
10615 (char *) "self",(char *) "item", NULL
10618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
10619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10621 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10622 if (PyErr_Occurred()) SWIG_fail
;
10624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10625 (arg1
)->Toggle(arg2
);
10627 wxPyEndAllowThreads(__tstate
);
10628 if (PyErr_Occurred()) SWIG_fail
;
10630 Py_INCREF(Py_None
); resultobj
= Py_None
;
10637 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10638 PyObject
*resultobj
;
10639 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10641 PyObject
* obj0
= 0 ;
10642 char *kwnames
[] = {
10643 (char *) "self", NULL
10646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
10647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10651 result
= (bool)(arg1
)->SelectAll();
10653 wxPyEndAllowThreads(__tstate
);
10654 if (PyErr_Occurred()) SWIG_fail
;
10657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10665 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10666 PyObject
*resultobj
;
10667 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10669 PyObject
* obj0
= 0 ;
10670 char *kwnames
[] = {
10671 (char *) "self", NULL
10674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
10675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10679 result
= (bool)(arg1
)->DeselectAll();
10681 wxPyEndAllowThreads(__tstate
);
10682 if (PyErr_Occurred()) SWIG_fail
;
10685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10693 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10694 PyObject
*resultobj
;
10695 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10696 wxPoint
*arg2
= 0 ;
10698 PyObject
* obj0
= 0 ;
10699 PyObject
* obj1
= 0 ;
10700 char *kwnames
[] = {
10701 (char *) "self",(char *) "pt", NULL
10704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
10705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10709 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10713 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
10715 wxPyEndAllowThreads(__tstate
);
10716 if (PyErr_Occurred()) SWIG_fail
;
10718 Py_INCREF(Py_None
); resultobj
= Py_None
;
10725 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10726 PyObject
*resultobj
;
10727 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10730 PyObject
* obj0
= 0 ;
10731 PyObject
* obj1
= 0 ;
10732 PyObject
* obj2
= 0 ;
10733 char *kwnames
[] = {
10734 (char *) "self",(char *) "x",(char *) "y", NULL
10737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10740 arg2
= (int)SWIG_As_int(obj1
);
10741 if (PyErr_Occurred()) SWIG_fail
;
10742 arg3
= (int)SWIG_As_int(obj2
);
10743 if (PyErr_Occurred()) SWIG_fail
;
10745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10746 (arg1
)->SetMargins(arg2
,arg3
);
10748 wxPyEndAllowThreads(__tstate
);
10749 if (PyErr_Occurred()) SWIG_fail
;
10751 Py_INCREF(Py_None
); resultobj
= Py_None
;
10758 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10759 PyObject
*resultobj
;
10760 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10761 wxColour
*arg2
= 0 ;
10763 PyObject
* obj0
= 0 ;
10764 PyObject
* obj1
= 0 ;
10765 char *kwnames
[] = {
10766 (char *) "self",(char *) "col", NULL
10769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
10770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10774 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10778 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
10780 wxPyEndAllowThreads(__tstate
);
10781 if (PyErr_Occurred()) SWIG_fail
;
10783 Py_INCREF(Py_None
); resultobj
= Py_None
;
10790 static PyObject
* VListBox_swigregister(PyObject
*, PyObject
*args
) {
10792 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10793 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
10795 return Py_BuildValue((char *)"");
10797 static PyObject
*_wrap_new_HtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10798 PyObject
*resultobj
;
10799 wxWindow
*arg1
= (wxWindow
*) 0 ;
10800 int arg2
= (int) wxID_ANY
;
10801 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10802 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10803 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10804 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10805 long arg5
= (long) 0 ;
10806 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
10807 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10808 wxPyHtmlListBox
*result
;
10811 bool temp6
= false ;
10812 PyObject
* obj0
= 0 ;
10813 PyObject
* obj1
= 0 ;
10814 PyObject
* obj2
= 0 ;
10815 PyObject
* obj3
= 0 ;
10816 PyObject
* obj4
= 0 ;
10817 PyObject
* obj5
= 0 ;
10818 char *kwnames
[] = {
10819 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10826 arg2
= (int)SWIG_As_int(obj1
);
10827 if (PyErr_Occurred()) SWIG_fail
;
10832 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10838 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10842 arg5
= (long)SWIG_As_long(obj4
);
10843 if (PyErr_Occurred()) SWIG_fail
;
10847 arg6
= wxString_in_helper(obj5
);
10848 if (arg6
== NULL
) SWIG_fail
;
10853 if (!wxPyCheckForApp()) SWIG_fail
;
10854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10855 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10857 wxPyEndAllowThreads(__tstate
);
10858 if (PyErr_Occurred()) SWIG_fail
;
10860 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10875 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10876 PyObject
*resultobj
;
10877 wxPyHtmlListBox
*result
;
10878 char *kwnames
[] = {
10882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
10884 if (!wxPyCheckForApp()) SWIG_fail
;
10885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10886 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
10888 wxPyEndAllowThreads(__tstate
);
10889 if (PyErr_Occurred()) SWIG_fail
;
10891 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10898 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10899 PyObject
*resultobj
;
10900 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10901 PyObject
*arg2
= (PyObject
*) 0 ;
10902 PyObject
*arg3
= (PyObject
*) 0 ;
10903 PyObject
* obj0
= 0 ;
10904 PyObject
* obj1
= 0 ;
10905 PyObject
* obj2
= 0 ;
10906 char *kwnames
[] = {
10907 (char *) "self",(char *) "self",(char *) "_class", NULL
10910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10917 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10919 wxPyEndAllowThreads(__tstate
);
10920 if (PyErr_Occurred()) SWIG_fail
;
10922 Py_INCREF(Py_None
); resultobj
= Py_None
;
10929 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10930 PyObject
*resultobj
;
10931 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10932 wxWindow
*arg2
= (wxWindow
*) 0 ;
10933 int arg3
= (int) wxID_ANY
;
10934 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10935 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10936 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10937 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10938 long arg6
= (long) 0 ;
10939 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
10940 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10944 bool temp7
= false ;
10945 PyObject
* obj0
= 0 ;
10946 PyObject
* obj1
= 0 ;
10947 PyObject
* obj2
= 0 ;
10948 PyObject
* obj3
= 0 ;
10949 PyObject
* obj4
= 0 ;
10950 PyObject
* obj5
= 0 ;
10951 PyObject
* obj6
= 0 ;
10952 char *kwnames
[] = {
10953 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10959 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10962 arg3
= (int)SWIG_As_int(obj2
);
10963 if (PyErr_Occurred()) SWIG_fail
;
10968 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10974 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10978 arg6
= (long)SWIG_As_long(obj5
);
10979 if (PyErr_Occurred()) SWIG_fail
;
10983 arg7
= wxString_in_helper(obj6
);
10984 if (arg7
== NULL
) SWIG_fail
;
10989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10990 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10992 wxPyEndAllowThreads(__tstate
);
10993 if (PyErr_Occurred()) SWIG_fail
;
10996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11012 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11013 PyObject
*resultobj
;
11014 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
11015 PyObject
* obj0
= 0 ;
11016 char *kwnames
[] = {
11017 (char *) "self", NULL
11020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
11021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
11022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11025 (arg1
)->RefreshAll();
11027 wxPyEndAllowThreads(__tstate
);
11028 if (PyErr_Occurred()) SWIG_fail
;
11030 Py_INCREF(Py_None
); resultobj
= Py_None
;
11037 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11038 PyObject
*resultobj
;
11039 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
11041 PyObject
* obj0
= 0 ;
11042 PyObject
* obj1
= 0 ;
11043 char *kwnames
[] = {
11044 (char *) "self",(char *) "count", NULL
11047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
11048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
11049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11050 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
11051 if (PyErr_Occurred()) SWIG_fail
;
11053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11054 (arg1
)->SetItemCount(arg2
);
11056 wxPyEndAllowThreads(__tstate
);
11057 if (PyErr_Occurred()) SWIG_fail
;
11059 Py_INCREF(Py_None
); resultobj
= Py_None
;
11066 static PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11067 PyObject
*resultobj
;
11068 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
11069 wxFileSystem
*result
;
11070 PyObject
* obj0
= 0 ;
11071 char *kwnames
[] = {
11072 (char *) "self", NULL
11075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_GetFileSystem",kwnames
,&obj0
)) goto fail
;
11076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
11077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11081 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
11082 result
= (wxFileSystem
*) &_result_ref
;
11085 wxPyEndAllowThreads(__tstate
);
11086 if (PyErr_Occurred()) SWIG_fail
;
11088 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileSystem
, 0);
11095 static PyObject
* HtmlListBox_swigregister(PyObject
*, PyObject
*args
) {
11097 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11098 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
11100 return Py_BuildValue((char *)"");
11102 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11103 PyObject
*resultobj
;
11104 wxPyTaskBarIcon
*result
;
11105 char *kwnames
[] = {
11109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
11111 if (!wxPyCheckForApp()) SWIG_fail
;
11112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11113 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
11115 wxPyEndAllowThreads(__tstate
);
11116 if (PyErr_Occurred()) SWIG_fail
;
11118 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTaskBarIcon
, 1);
11125 static PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11126 PyObject
*resultobj
;
11127 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
11128 PyObject
*arg2
= (PyObject
*) 0 ;
11129 PyObject
*arg3
= (PyObject
*) 0 ;
11131 PyObject
* obj0
= 0 ;
11132 PyObject
* obj1
= 0 ;
11133 PyObject
* obj2
= 0 ;
11134 PyObject
* obj3
= 0 ;
11135 char *kwnames
[] = {
11136 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
11139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTaskBarIcon
,
11141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11144 arg4
= (int)SWIG_As_int(obj3
);
11145 if (PyErr_Occurred()) SWIG_fail
;
11147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11148 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
11150 wxPyEndAllowThreads(__tstate
);
11151 if (PyErr_Occurred()) SWIG_fail
;
11153 Py_INCREF(Py_None
); resultobj
= Py_None
;
11160 static PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11161 PyObject
*resultobj
;
11162 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
11163 PyObject
* obj0
= 0 ;
11164 char *kwnames
[] = {
11165 (char *) "self", NULL
11168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_Destroy",kwnames
,&obj0
)) goto fail
;
11169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTaskBarIcon
,
11170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11173 wxPyTaskBarIcon_Destroy(arg1
);
11175 wxPyEndAllowThreads(__tstate
);
11176 if (PyErr_Occurred()) SWIG_fail
;
11178 Py_INCREF(Py_None
); resultobj
= Py_None
;
11185 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11186 PyObject
*resultobj
;
11187 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
11189 PyObject
* obj0
= 0 ;
11190 char *kwnames
[] = {
11191 (char *) "self", NULL
11194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
11195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTaskBarIcon
,
11196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11199 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
11201 wxPyEndAllowThreads(__tstate
);
11202 if (PyErr_Occurred()) SWIG_fail
;
11205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11213 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11214 PyObject
*resultobj
;
11215 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
11217 PyObject
* obj0
= 0 ;
11218 char *kwnames
[] = {
11219 (char *) "self", NULL
11222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
11223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTaskBarIcon
,
11224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11227 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
11229 wxPyEndAllowThreads(__tstate
);
11230 if (PyErr_Occurred()) SWIG_fail
;
11233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11241 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11242 PyObject
*resultobj
;
11243 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
11245 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11246 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11248 bool temp3
= false ;
11249 PyObject
* obj0
= 0 ;
11250 PyObject
* obj1
= 0 ;
11251 PyObject
* obj2
= 0 ;
11252 char *kwnames
[] = {
11253 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
11256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTaskBarIcon
,
11258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11259 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11260 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11262 if (arg2
== NULL
) {
11263 PyErr_SetString(PyExc_TypeError
,"null reference");
11268 arg3
= wxString_in_helper(obj2
);
11269 if (arg3
== NULL
) SWIG_fail
;
11274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11275 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
11277 wxPyEndAllowThreads(__tstate
);
11278 if (PyErr_Occurred()) SWIG_fail
;
11281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11297 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11298 PyObject
*resultobj
;
11299 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
11301 PyObject
* obj0
= 0 ;
11302 char *kwnames
[] = {
11303 (char *) "self", NULL
11306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
11307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTaskBarIcon
,
11308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11311 result
= (bool)(arg1
)->RemoveIcon();
11313 wxPyEndAllowThreads(__tstate
);
11314 if (PyErr_Occurred()) SWIG_fail
;
11317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11325 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11326 PyObject
*resultobj
;
11327 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
11328 wxMenu
*arg2
= (wxMenu
*) 0 ;
11330 PyObject
* obj0
= 0 ;
11331 PyObject
* obj1
= 0 ;
11332 char *kwnames
[] = {
11333 (char *) "self",(char *) "menu", NULL
11336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
11337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTaskBarIcon
,
11338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11339 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
11340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11343 result
= (bool)(arg1
)->PopupMenu(arg2
);
11345 wxPyEndAllowThreads(__tstate
);
11346 if (PyErr_Occurred()) SWIG_fail
;
11349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11357 static PyObject
* TaskBarIcon_swigregister(PyObject
*, PyObject
*args
) {
11359 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11360 SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon
, obj
);
11362 return Py_BuildValue((char *)"");
11364 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11365 PyObject
*resultobj
;
11367 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
11368 wxTaskBarIconEvent
*result
;
11369 PyObject
* obj0
= 0 ;
11370 PyObject
* obj1
= 0 ;
11371 char *kwnames
[] = {
11372 (char *) "evtType",(char *) "tbIcon", NULL
11375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11376 arg1
= (wxEventType
)SWIG_As_int(obj0
);
11377 if (PyErr_Occurred()) SWIG_fail
;
11378 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTaskBarIcon
,
11379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11382 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
11384 wxPyEndAllowThreads(__tstate
);
11385 if (PyErr_Occurred()) SWIG_fail
;
11387 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
11394 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*, PyObject
*args
) {
11396 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11397 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
11399 return Py_BuildValue((char *)"");
11401 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
11402 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
11407 static PyObject
*_wrap_FileSelectorPromptStr_get() {
11412 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
11414 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
11421 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
11422 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
11427 static PyObject
*_wrap_DirSelectorPromptStr_get() {
11432 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
11434 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
11441 static int _wrap_DirDialogNameStr_set(PyObject
*) {
11442 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
11447 static PyObject
*_wrap_DirDialogNameStr_get() {
11452 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
11454 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
11461 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
11462 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
11467 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
11472 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
11474 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
11481 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*) {
11482 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
11487 static PyObject
*_wrap_GetTextFromUserPromptStr_get() {
11492 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
11494 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
11501 static int _wrap_MessageBoxCaptionStr_set(PyObject
*) {
11502 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
11507 static PyObject
*_wrap_MessageBoxCaptionStr_get() {
11512 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
11514 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
11521 static PyObject
*_wrap_new_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11522 PyObject
*resultobj
;
11523 wxColourData
*result
;
11524 char *kwnames
[] = {
11528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
11530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11531 result
= (wxColourData
*)new wxColourData();
11533 wxPyEndAllowThreads(__tstate
);
11534 if (PyErr_Occurred()) SWIG_fail
;
11536 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
11543 static PyObject
*_wrap_delete_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11544 PyObject
*resultobj
;
11545 wxColourData
*arg1
= (wxColourData
*) 0 ;
11546 PyObject
* obj0
= 0 ;
11547 char *kwnames
[] = {
11548 (char *) "self", NULL
11551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
11552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11558 wxPyEndAllowThreads(__tstate
);
11559 if (PyErr_Occurred()) SWIG_fail
;
11561 Py_INCREF(Py_None
); resultobj
= Py_None
;
11568 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11569 PyObject
*resultobj
;
11570 wxColourData
*arg1
= (wxColourData
*) 0 ;
11572 PyObject
* obj0
= 0 ;
11573 char *kwnames
[] = {
11574 (char *) "self", NULL
11577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
11578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11582 result
= (bool)(arg1
)->GetChooseFull();
11584 wxPyEndAllowThreads(__tstate
);
11585 if (PyErr_Occurred()) SWIG_fail
;
11588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11596 static PyObject
*_wrap_ColourData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11597 PyObject
*resultobj
;
11598 wxColourData
*arg1
= (wxColourData
*) 0 ;
11600 PyObject
* obj0
= 0 ;
11601 char *kwnames
[] = {
11602 (char *) "self", NULL
11605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
11606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11610 result
= (arg1
)->GetColour();
11612 wxPyEndAllowThreads(__tstate
);
11613 if (PyErr_Occurred()) SWIG_fail
;
11616 wxColour
* resultptr
;
11617 resultptr
= new wxColour((wxColour
&) result
);
11618 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11626 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11627 PyObject
*resultobj
;
11628 wxColourData
*arg1
= (wxColourData
*) 0 ;
11631 PyObject
* obj0
= 0 ;
11632 PyObject
* obj1
= 0 ;
11633 char *kwnames
[] = {
11634 (char *) "self",(char *) "i", NULL
11637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11640 arg2
= (int)SWIG_As_int(obj1
);
11641 if (PyErr_Occurred()) SWIG_fail
;
11643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11644 result
= (arg1
)->GetCustomColour(arg2
);
11646 wxPyEndAllowThreads(__tstate
);
11647 if (PyErr_Occurred()) SWIG_fail
;
11650 wxColour
* resultptr
;
11651 resultptr
= new wxColour((wxColour
&) result
);
11652 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11660 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11661 PyObject
*resultobj
;
11662 wxColourData
*arg1
= (wxColourData
*) 0 ;
11664 PyObject
* obj0
= 0 ;
11665 PyObject
* obj1
= 0 ;
11666 char *kwnames
[] = {
11667 (char *) "self",(char *) "flag", NULL
11670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
11671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11673 arg2
= (int)SWIG_As_int(obj1
);
11674 if (PyErr_Occurred()) SWIG_fail
;
11676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11677 (arg1
)->SetChooseFull(arg2
);
11679 wxPyEndAllowThreads(__tstate
);
11680 if (PyErr_Occurred()) SWIG_fail
;
11682 Py_INCREF(Py_None
); resultobj
= Py_None
;
11689 static PyObject
*_wrap_ColourData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11690 PyObject
*resultobj
;
11691 wxColourData
*arg1
= (wxColourData
*) 0 ;
11692 wxColour
*arg2
= 0 ;
11694 PyObject
* obj0
= 0 ;
11695 PyObject
* obj1
= 0 ;
11696 char *kwnames
[] = {
11697 (char *) "self",(char *) "colour", NULL
11700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11705 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11709 (arg1
)->SetColour((wxColour
const &)*arg2
);
11711 wxPyEndAllowThreads(__tstate
);
11712 if (PyErr_Occurred()) SWIG_fail
;
11714 Py_INCREF(Py_None
); resultobj
= Py_None
;
11721 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11722 PyObject
*resultobj
;
11723 wxColourData
*arg1
= (wxColourData
*) 0 ;
11725 wxColour
*arg3
= 0 ;
11727 PyObject
* obj0
= 0 ;
11728 PyObject
* obj1
= 0 ;
11729 PyObject
* obj2
= 0 ;
11730 char *kwnames
[] = {
11731 (char *) "self",(char *) "i",(char *) "colour", NULL
11734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11737 arg2
= (int)SWIG_As_int(obj1
);
11738 if (PyErr_Occurred()) SWIG_fail
;
11741 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11745 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
11747 wxPyEndAllowThreads(__tstate
);
11748 if (PyErr_Occurred()) SWIG_fail
;
11750 Py_INCREF(Py_None
); resultobj
= Py_None
;
11757 static PyObject
* ColourData_swigregister(PyObject
*, PyObject
*args
) {
11759 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11760 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
11762 return Py_BuildValue((char *)"");
11764 static PyObject
*_wrap_new_ColourDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11765 PyObject
*resultobj
;
11766 wxWindow
*arg1
= (wxWindow
*) 0 ;
11767 wxColourData
*arg2
= (wxColourData
*) NULL
;
11768 wxColourDialog
*result
;
11769 PyObject
* obj0
= 0 ;
11770 PyObject
* obj1
= 0 ;
11771 char *kwnames
[] = {
11772 (char *) "parent",(char *) "data", NULL
11775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
11776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11779 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColourData
,
11780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11783 if (!wxPyCheckForApp()) SWIG_fail
;
11784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11785 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
11787 wxPyEndAllowThreads(__tstate
);
11788 if (PyErr_Occurred()) SWIG_fail
;
11790 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
11797 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11798 PyObject
*resultobj
;
11799 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
11800 wxColourData
*result
;
11801 PyObject
* obj0
= 0 ;
11802 char *kwnames
[] = {
11803 (char *) "self", NULL
11806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
11807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDialog
,
11808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11812 wxColourData
&_result_ref
= (arg1
)->GetColourData();
11813 result
= (wxColourData
*) &_result_ref
;
11816 wxPyEndAllowThreads(__tstate
);
11817 if (PyErr_Occurred()) SWIG_fail
;
11819 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
11826 static PyObject
* ColourDialog_swigregister(PyObject
*, PyObject
*args
) {
11828 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11829 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
11831 return Py_BuildValue((char *)"");
11833 static PyObject
*_wrap_new_DirDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11834 PyObject
*resultobj
;
11835 wxWindow
*arg1
= (wxWindow
*) 0 ;
11836 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
11837 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11838 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11839 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11840 long arg4
= (long) 0 ;
11841 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11842 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11843 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11844 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11845 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
11846 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11847 wxDirDialog
*result
;
11848 bool temp2
= false ;
11849 bool temp3
= false ;
11852 bool temp7
= false ;
11853 PyObject
* obj0
= 0 ;
11854 PyObject
* obj1
= 0 ;
11855 PyObject
* obj2
= 0 ;
11856 PyObject
* obj3
= 0 ;
11857 PyObject
* obj4
= 0 ;
11858 PyObject
* obj5
= 0 ;
11859 PyObject
* obj6
= 0 ;
11860 char *kwnames
[] = {
11861 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11869 arg2
= wxString_in_helper(obj1
);
11870 if (arg2
== NULL
) SWIG_fail
;
11876 arg3
= wxString_in_helper(obj2
);
11877 if (arg3
== NULL
) SWIG_fail
;
11882 arg4
= (long)SWIG_As_long(obj3
);
11883 if (PyErr_Occurred()) SWIG_fail
;
11888 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11894 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11899 arg7
= wxString_in_helper(obj6
);
11900 if (arg7
== NULL
) SWIG_fail
;
11905 if (!wxPyCheckForApp()) SWIG_fail
;
11906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11907 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
11909 wxPyEndAllowThreads(__tstate
);
11910 if (PyErr_Occurred()) SWIG_fail
;
11912 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
11943 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11944 PyObject
*resultobj
;
11945 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11947 PyObject
* obj0
= 0 ;
11948 char *kwnames
[] = {
11949 (char *) "self", NULL
11952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
11953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11957 result
= (arg1
)->GetPath();
11959 wxPyEndAllowThreads(__tstate
);
11960 if (PyErr_Occurred()) SWIG_fail
;
11964 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11966 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11975 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11976 PyObject
*resultobj
;
11977 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11979 PyObject
* obj0
= 0 ;
11980 char *kwnames
[] = {
11981 (char *) "self", NULL
11984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
11985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11989 result
= (arg1
)->GetMessage();
11991 wxPyEndAllowThreads(__tstate
);
11992 if (PyErr_Occurred()) SWIG_fail
;
11996 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11998 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12007 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12008 PyObject
*resultobj
;
12009 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
12011 PyObject
* obj0
= 0 ;
12012 char *kwnames
[] = {
12013 (char *) "self", NULL
12016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
12017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
12018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12021 result
= (long)(arg1
)->GetStyle();
12023 wxPyEndAllowThreads(__tstate
);
12024 if (PyErr_Occurred()) SWIG_fail
;
12026 resultobj
= SWIG_From_long((long)result
);
12033 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12034 PyObject
*resultobj
;
12035 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
12036 wxString
*arg2
= 0 ;
12037 bool temp2
= false ;
12038 PyObject
* obj0
= 0 ;
12039 PyObject
* obj1
= 0 ;
12040 char *kwnames
[] = {
12041 (char *) "self",(char *) "message", NULL
12044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
12045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
12046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12048 arg2
= wxString_in_helper(obj1
);
12049 if (arg2
== NULL
) SWIG_fail
;
12053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12054 (arg1
)->SetMessage((wxString
const &)*arg2
);
12056 wxPyEndAllowThreads(__tstate
);
12057 if (PyErr_Occurred()) SWIG_fail
;
12059 Py_INCREF(Py_None
); resultobj
= Py_None
;
12074 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12075 PyObject
*resultobj
;
12076 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
12077 wxString
*arg2
= 0 ;
12078 bool temp2
= false ;
12079 PyObject
* obj0
= 0 ;
12080 PyObject
* obj1
= 0 ;
12081 char *kwnames
[] = {
12082 (char *) "self",(char *) "path", NULL
12085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
12086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
12087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12089 arg2
= wxString_in_helper(obj1
);
12090 if (arg2
== NULL
) SWIG_fail
;
12094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12095 (arg1
)->SetPath((wxString
const &)*arg2
);
12097 wxPyEndAllowThreads(__tstate
);
12098 if (PyErr_Occurred()) SWIG_fail
;
12100 Py_INCREF(Py_None
); resultobj
= Py_None
;
12115 static PyObject
* DirDialog_swigregister(PyObject
*, PyObject
*args
) {
12117 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12118 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
12120 return Py_BuildValue((char *)"");
12122 static PyObject
*_wrap_new_FileDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12123 PyObject
*resultobj
;
12124 wxWindow
*arg1
= (wxWindow
*) 0 ;
12125 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
12126 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12127 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12128 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12129 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12130 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12131 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
12132 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
12133 long arg6
= (long) 0 ;
12134 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12135 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12136 wxFileDialog
*result
;
12137 bool temp2
= false ;
12138 bool temp3
= false ;
12139 bool temp4
= false ;
12140 bool temp5
= false ;
12142 PyObject
* obj0
= 0 ;
12143 PyObject
* obj1
= 0 ;
12144 PyObject
* obj2
= 0 ;
12145 PyObject
* obj3
= 0 ;
12146 PyObject
* obj4
= 0 ;
12147 PyObject
* obj5
= 0 ;
12148 PyObject
* obj6
= 0 ;
12149 char *kwnames
[] = {
12150 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
12153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12158 arg2
= wxString_in_helper(obj1
);
12159 if (arg2
== NULL
) SWIG_fail
;
12165 arg3
= wxString_in_helper(obj2
);
12166 if (arg3
== NULL
) SWIG_fail
;
12172 arg4
= wxString_in_helper(obj3
);
12173 if (arg4
== NULL
) SWIG_fail
;
12179 arg5
= wxString_in_helper(obj4
);
12180 if (arg5
== NULL
) SWIG_fail
;
12185 arg6
= (long)SWIG_As_long(obj5
);
12186 if (PyErr_Occurred()) SWIG_fail
;
12191 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
12195 if (!wxPyCheckForApp()) SWIG_fail
;
12196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12197 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
12199 wxPyEndAllowThreads(__tstate
);
12200 if (PyErr_Occurred()) SWIG_fail
;
12202 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
12241 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12242 PyObject
*resultobj
;
12243 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12244 wxString
*arg2
= 0 ;
12245 bool temp2
= false ;
12246 PyObject
* obj0
= 0 ;
12247 PyObject
* obj1
= 0 ;
12248 char *kwnames
[] = {
12249 (char *) "self",(char *) "message", NULL
12252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
12253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12256 arg2
= wxString_in_helper(obj1
);
12257 if (arg2
== NULL
) SWIG_fail
;
12261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12262 (arg1
)->SetMessage((wxString
const &)*arg2
);
12264 wxPyEndAllowThreads(__tstate
);
12265 if (PyErr_Occurred()) SWIG_fail
;
12267 Py_INCREF(Py_None
); resultobj
= Py_None
;
12282 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12283 PyObject
*resultobj
;
12284 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12285 wxString
*arg2
= 0 ;
12286 bool temp2
= false ;
12287 PyObject
* obj0
= 0 ;
12288 PyObject
* obj1
= 0 ;
12289 char *kwnames
[] = {
12290 (char *) "self",(char *) "path", NULL
12293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
12294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12297 arg2
= wxString_in_helper(obj1
);
12298 if (arg2
== NULL
) SWIG_fail
;
12302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12303 (arg1
)->SetPath((wxString
const &)*arg2
);
12305 wxPyEndAllowThreads(__tstate
);
12306 if (PyErr_Occurred()) SWIG_fail
;
12308 Py_INCREF(Py_None
); resultobj
= Py_None
;
12323 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12324 PyObject
*resultobj
;
12325 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12326 wxString
*arg2
= 0 ;
12327 bool temp2
= false ;
12328 PyObject
* obj0
= 0 ;
12329 PyObject
* obj1
= 0 ;
12330 char *kwnames
[] = {
12331 (char *) "self",(char *) "dir", NULL
12334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
12335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12338 arg2
= wxString_in_helper(obj1
);
12339 if (arg2
== NULL
) SWIG_fail
;
12343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12344 (arg1
)->SetDirectory((wxString
const &)*arg2
);
12346 wxPyEndAllowThreads(__tstate
);
12347 if (PyErr_Occurred()) SWIG_fail
;
12349 Py_INCREF(Py_None
); resultobj
= Py_None
;
12364 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12365 PyObject
*resultobj
;
12366 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12367 wxString
*arg2
= 0 ;
12368 bool temp2
= false ;
12369 PyObject
* obj0
= 0 ;
12370 PyObject
* obj1
= 0 ;
12371 char *kwnames
[] = {
12372 (char *) "self",(char *) "name", NULL
12375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
12376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12379 arg2
= wxString_in_helper(obj1
);
12380 if (arg2
== NULL
) SWIG_fail
;
12384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12385 (arg1
)->SetFilename((wxString
const &)*arg2
);
12387 wxPyEndAllowThreads(__tstate
);
12388 if (PyErr_Occurred()) SWIG_fail
;
12390 Py_INCREF(Py_None
); resultobj
= Py_None
;
12405 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12406 PyObject
*resultobj
;
12407 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12408 wxString
*arg2
= 0 ;
12409 bool temp2
= false ;
12410 PyObject
* obj0
= 0 ;
12411 PyObject
* obj1
= 0 ;
12412 char *kwnames
[] = {
12413 (char *) "self",(char *) "wildCard", NULL
12416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
12417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12420 arg2
= wxString_in_helper(obj1
);
12421 if (arg2
== NULL
) SWIG_fail
;
12425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12426 (arg1
)->SetWildcard((wxString
const &)*arg2
);
12428 wxPyEndAllowThreads(__tstate
);
12429 if (PyErr_Occurred()) SWIG_fail
;
12431 Py_INCREF(Py_None
); resultobj
= Py_None
;
12446 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12447 PyObject
*resultobj
;
12448 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12450 PyObject
* obj0
= 0 ;
12451 PyObject
* obj1
= 0 ;
12452 char *kwnames
[] = {
12453 (char *) "self",(char *) "style", NULL
12456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
12457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12459 arg2
= (long)SWIG_As_long(obj1
);
12460 if (PyErr_Occurred()) SWIG_fail
;
12462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12463 (arg1
)->SetStyle(arg2
);
12465 wxPyEndAllowThreads(__tstate
);
12466 if (PyErr_Occurred()) SWIG_fail
;
12468 Py_INCREF(Py_None
); resultobj
= Py_None
;
12475 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12476 PyObject
*resultobj
;
12477 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12479 PyObject
* obj0
= 0 ;
12480 PyObject
* obj1
= 0 ;
12481 char *kwnames
[] = {
12482 (char *) "self",(char *) "filterIndex", NULL
12485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
12486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12488 arg2
= (int)SWIG_As_int(obj1
);
12489 if (PyErr_Occurred()) SWIG_fail
;
12491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12492 (arg1
)->SetFilterIndex(arg2
);
12494 wxPyEndAllowThreads(__tstate
);
12495 if (PyErr_Occurred()) SWIG_fail
;
12497 Py_INCREF(Py_None
); resultobj
= Py_None
;
12504 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12505 PyObject
*resultobj
;
12506 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12508 PyObject
* obj0
= 0 ;
12509 char *kwnames
[] = {
12510 (char *) "self", NULL
12513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
12514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12518 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
12520 wxPyEndAllowThreads(__tstate
);
12521 if (PyErr_Occurred()) SWIG_fail
;
12525 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12527 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12536 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12537 PyObject
*resultobj
;
12538 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12540 PyObject
* obj0
= 0 ;
12541 char *kwnames
[] = {
12542 (char *) "self", NULL
12545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
12546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12550 result
= ((wxFileDialog
const *)arg1
)->GetPath();
12552 wxPyEndAllowThreads(__tstate
);
12553 if (PyErr_Occurred()) SWIG_fail
;
12557 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12559 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12568 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12569 PyObject
*resultobj
;
12570 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12572 PyObject
* obj0
= 0 ;
12573 char *kwnames
[] = {
12574 (char *) "self", NULL
12577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
12578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12582 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
12584 wxPyEndAllowThreads(__tstate
);
12585 if (PyErr_Occurred()) SWIG_fail
;
12589 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12591 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12600 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12601 PyObject
*resultobj
;
12602 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12604 PyObject
* obj0
= 0 ;
12605 char *kwnames
[] = {
12606 (char *) "self", NULL
12609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
12610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12614 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
12616 wxPyEndAllowThreads(__tstate
);
12617 if (PyErr_Occurred()) SWIG_fail
;
12621 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12623 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12632 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12633 PyObject
*resultobj
;
12634 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12636 PyObject
* obj0
= 0 ;
12637 char *kwnames
[] = {
12638 (char *) "self", NULL
12641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
12642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12646 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
12648 wxPyEndAllowThreads(__tstate
);
12649 if (PyErr_Occurred()) SWIG_fail
;
12653 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12655 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12664 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12665 PyObject
*resultobj
;
12666 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12668 PyObject
* obj0
= 0 ;
12669 char *kwnames
[] = {
12670 (char *) "self", NULL
12673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
12674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12678 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
12680 wxPyEndAllowThreads(__tstate
);
12681 if (PyErr_Occurred()) SWIG_fail
;
12683 resultobj
= SWIG_From_long((long)result
);
12690 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12691 PyObject
*resultobj
;
12692 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12694 PyObject
* obj0
= 0 ;
12695 char *kwnames
[] = {
12696 (char *) "self", NULL
12699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
12700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12704 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
12706 wxPyEndAllowThreads(__tstate
);
12707 if (PyErr_Occurred()) SWIG_fail
;
12709 resultobj
= SWIG_From_int((int)result
);
12716 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12717 PyObject
*resultobj
;
12718 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12720 PyObject
* obj0
= 0 ;
12721 char *kwnames
[] = {
12722 (char *) "self", NULL
12725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
12726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12730 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
12732 wxPyEndAllowThreads(__tstate
);
12733 if (PyErr_Occurred()) SWIG_fail
;
12735 resultobj
= result
;
12742 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12743 PyObject
*resultobj
;
12744 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12746 PyObject
* obj0
= 0 ;
12747 char *kwnames
[] = {
12748 (char *) "self", NULL
12751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
12752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12756 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
12758 wxPyEndAllowThreads(__tstate
);
12759 if (PyErr_Occurred()) SWIG_fail
;
12761 resultobj
= result
;
12768 static PyObject
* FileDialog_swigregister(PyObject
*, PyObject
*args
) {
12770 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12771 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
12773 return Py_BuildValue((char *)"");
12775 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12776 PyObject
*resultobj
;
12777 wxWindow
*arg1
= (wxWindow
*) 0 ;
12778 wxString
*arg2
= 0 ;
12779 wxString
*arg3
= 0 ;
12780 int arg4
= (int) 0 ;
12781 wxString
*arg5
= (wxString
*) NULL
;
12782 long arg6
= (long) wxCHOICEDLG_STYLE
;
12783 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12784 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12785 wxMultiChoiceDialog
*result
;
12786 bool temp2
= false ;
12787 bool temp3
= false ;
12789 PyObject
* obj0
= 0 ;
12790 PyObject
* obj1
= 0 ;
12791 PyObject
* obj2
= 0 ;
12792 PyObject
* obj3
= 0 ;
12793 PyObject
* obj4
= 0 ;
12794 PyObject
* obj5
= 0 ;
12795 char *kwnames
[] = {
12796 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12803 arg2
= wxString_in_helper(obj1
);
12804 if (arg2
== NULL
) SWIG_fail
;
12808 arg3
= wxString_in_helper(obj2
);
12809 if (arg3
== NULL
) SWIG_fail
;
12814 arg4
= PyList_Size(obj3
);
12815 arg5
= wxString_LIST_helper(obj3
);
12816 if (arg5
== NULL
) SWIG_fail
;
12820 arg6
= (long)SWIG_As_long(obj4
);
12821 if (PyErr_Occurred()) SWIG_fail
;
12826 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12830 if (!wxPyCheckForApp()) SWIG_fail
;
12831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12832 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12834 wxPyEndAllowThreads(__tstate
);
12835 if (PyErr_Occurred()) SWIG_fail
;
12837 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
12847 if (arg5
) delete [] arg5
;
12860 if (arg5
) delete [] arg5
;
12866 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12867 PyObject
*resultobj
;
12868 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12869 wxArrayInt
*arg2
= 0 ;
12870 bool temp2
= false ;
12871 PyObject
* obj0
= 0 ;
12872 PyObject
* obj1
= 0 ;
12873 char *kwnames
[] = {
12874 (char *) "self",(char *) "selections", NULL
12877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
12878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12881 if (! PySequence_Check(obj1
)) {
12882 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
12885 arg2
= new wxArrayInt
;
12887 int i
, len
=PySequence_Length(obj1
);
12888 for (i
=0; i
<len
; i
++) {
12889 PyObject
* item
= PySequence_GetItem(obj1
, i
);
12890 PyObject
* number
= PyNumber_Int(item
);
12891 arg2
->Add(PyInt_AS_LONG(number
));
12897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12898 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
12900 wxPyEndAllowThreads(__tstate
);
12901 if (PyErr_Occurred()) SWIG_fail
;
12903 Py_INCREF(Py_None
); resultobj
= Py_None
;
12905 if (temp2
) delete arg2
;
12910 if (temp2
) delete arg2
;
12916 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12917 PyObject
*resultobj
;
12918 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12920 PyObject
* obj0
= 0 ;
12921 char *kwnames
[] = {
12922 (char *) "self", NULL
12925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
12926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12930 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
12932 wxPyEndAllowThreads(__tstate
);
12933 if (PyErr_Occurred()) SWIG_fail
;
12935 resultobj
= result
;
12942 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
12944 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12945 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
12947 return Py_BuildValue((char *)"");
12949 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12950 PyObject
*resultobj
;
12951 wxWindow
*arg1
= (wxWindow
*) 0 ;
12952 wxString
*arg2
= 0 ;
12953 wxString
*arg3
= 0 ;
12955 wxString
*arg5
= (wxString
*) 0 ;
12956 long arg6
= (long) wxCHOICEDLG_STYLE
;
12957 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12958 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12959 wxSingleChoiceDialog
*result
;
12960 bool temp2
= false ;
12961 bool temp3
= false ;
12963 PyObject
* obj0
= 0 ;
12964 PyObject
* obj1
= 0 ;
12965 PyObject
* obj2
= 0 ;
12966 PyObject
* obj3
= 0 ;
12967 PyObject
* obj4
= 0 ;
12968 PyObject
* obj5
= 0 ;
12969 char *kwnames
[] = {
12970 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12977 arg2
= wxString_in_helper(obj1
);
12978 if (arg2
== NULL
) SWIG_fail
;
12982 arg3
= wxString_in_helper(obj2
);
12983 if (arg3
== NULL
) SWIG_fail
;
12987 arg4
= PyList_Size(obj3
);
12988 arg5
= wxString_LIST_helper(obj3
);
12989 if (arg5
== NULL
) SWIG_fail
;
12992 arg6
= (long)SWIG_As_long(obj4
);
12993 if (PyErr_Occurred()) SWIG_fail
;
12998 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
13002 if (!wxPyCheckForApp()) SWIG_fail
;
13003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13004 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
13006 wxPyEndAllowThreads(__tstate
);
13007 if (PyErr_Occurred()) SWIG_fail
;
13009 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
13019 if (arg5
) delete [] arg5
;
13032 if (arg5
) delete [] arg5
;
13038 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13039 PyObject
*resultobj
;
13040 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
13042 PyObject
* obj0
= 0 ;
13043 char *kwnames
[] = {
13044 (char *) "self", NULL
13047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
13048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
13049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13052 result
= (int)(arg1
)->GetSelection();
13054 wxPyEndAllowThreads(__tstate
);
13055 if (PyErr_Occurred()) SWIG_fail
;
13057 resultobj
= SWIG_From_int((int)result
);
13064 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13065 PyObject
*resultobj
;
13066 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
13068 PyObject
* obj0
= 0 ;
13069 char *kwnames
[] = {
13070 (char *) "self", NULL
13073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
13074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
13075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13078 result
= (arg1
)->GetStringSelection();
13080 wxPyEndAllowThreads(__tstate
);
13081 if (PyErr_Occurred()) SWIG_fail
;
13085 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13087 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13096 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13097 PyObject
*resultobj
;
13098 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
13100 PyObject
* obj0
= 0 ;
13101 PyObject
* obj1
= 0 ;
13102 char *kwnames
[] = {
13103 (char *) "self",(char *) "sel", NULL
13106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
13108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13109 arg2
= (int)SWIG_As_int(obj1
);
13110 if (PyErr_Occurred()) SWIG_fail
;
13112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13113 (arg1
)->SetSelection(arg2
);
13115 wxPyEndAllowThreads(__tstate
);
13116 if (PyErr_Occurred()) SWIG_fail
;
13118 Py_INCREF(Py_None
); resultobj
= Py_None
;
13125 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
13127 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13128 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
13130 return Py_BuildValue((char *)"");
13132 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13133 PyObject
*resultobj
;
13134 wxWindow
*arg1
= (wxWindow
*) 0 ;
13135 wxString
*arg2
= 0 ;
13136 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
13137 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13138 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13139 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13140 long arg5
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
13141 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
13142 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
13143 wxTextEntryDialog
*result
;
13144 bool temp2
= false ;
13145 bool temp3
= false ;
13146 bool temp4
= false ;
13148 PyObject
* obj0
= 0 ;
13149 PyObject
* obj1
= 0 ;
13150 PyObject
* obj2
= 0 ;
13151 PyObject
* obj3
= 0 ;
13152 PyObject
* obj4
= 0 ;
13153 PyObject
* obj5
= 0 ;
13154 char *kwnames
[] = {
13155 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
13158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13162 arg2
= wxString_in_helper(obj1
);
13163 if (arg2
== NULL
) SWIG_fail
;
13168 arg3
= wxString_in_helper(obj2
);
13169 if (arg3
== NULL
) SWIG_fail
;
13175 arg4
= wxString_in_helper(obj3
);
13176 if (arg4
== NULL
) SWIG_fail
;
13181 arg5
= (long)SWIG_As_long(obj4
);
13182 if (PyErr_Occurred()) SWIG_fail
;
13187 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
13191 if (!wxPyCheckForApp()) SWIG_fail
;
13192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13193 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
13195 wxPyEndAllowThreads(__tstate
);
13196 if (PyErr_Occurred()) SWIG_fail
;
13198 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
13229 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13230 PyObject
*resultobj
;
13231 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
13233 PyObject
* obj0
= 0 ;
13234 char *kwnames
[] = {
13235 (char *) "self", NULL
13238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
13239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
13240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13243 result
= (arg1
)->GetValue();
13245 wxPyEndAllowThreads(__tstate
);
13246 if (PyErr_Occurred()) SWIG_fail
;
13250 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13252 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13261 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13262 PyObject
*resultobj
;
13263 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
13264 wxString
*arg2
= 0 ;
13265 bool temp2
= false ;
13266 PyObject
* obj0
= 0 ;
13267 PyObject
* obj1
= 0 ;
13268 char *kwnames
[] = {
13269 (char *) "self",(char *) "value", NULL
13272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
13274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13276 arg2
= wxString_in_helper(obj1
);
13277 if (arg2
== NULL
) SWIG_fail
;
13281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13282 (arg1
)->SetValue((wxString
const &)*arg2
);
13284 wxPyEndAllowThreads(__tstate
);
13285 if (PyErr_Occurred()) SWIG_fail
;
13287 Py_INCREF(Py_None
); resultobj
= Py_None
;
13302 static PyObject
* TextEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
13304 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13305 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
13307 return Py_BuildValue((char *)"");
13309 static PyObject
*_wrap_new_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13310 PyObject
*resultobj
;
13311 wxFontData
*result
;
13312 char *kwnames
[] = {
13316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
13318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13319 result
= (wxFontData
*)new wxFontData();
13321 wxPyEndAllowThreads(__tstate
);
13322 if (PyErr_Occurred()) SWIG_fail
;
13324 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
13331 static PyObject
*_wrap_delete_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13332 PyObject
*resultobj
;
13333 wxFontData
*arg1
= (wxFontData
*) 0 ;
13334 PyObject
* obj0
= 0 ;
13335 char *kwnames
[] = {
13336 (char *) "self", NULL
13339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
13340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13346 wxPyEndAllowThreads(__tstate
);
13347 if (PyErr_Occurred()) SWIG_fail
;
13349 Py_INCREF(Py_None
); resultobj
= Py_None
;
13356 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13357 PyObject
*resultobj
;
13358 wxFontData
*arg1
= (wxFontData
*) 0 ;
13360 PyObject
* obj0
= 0 ;
13361 PyObject
* obj1
= 0 ;
13362 char *kwnames
[] = {
13363 (char *) "self",(char *) "enable", NULL
13366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
13367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13369 arg2
= (bool)SWIG_As_bool(obj1
);
13370 if (PyErr_Occurred()) SWIG_fail
;
13372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13373 (arg1
)->EnableEffects(arg2
);
13375 wxPyEndAllowThreads(__tstate
);
13376 if (PyErr_Occurred()) SWIG_fail
;
13378 Py_INCREF(Py_None
); resultobj
= Py_None
;
13385 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13386 PyObject
*resultobj
;
13387 wxFontData
*arg1
= (wxFontData
*) 0 ;
13389 PyObject
* obj0
= 0 ;
13390 char *kwnames
[] = {
13391 (char *) "self", NULL
13394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
13395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13399 result
= (bool)(arg1
)->GetAllowSymbols();
13401 wxPyEndAllowThreads(__tstate
);
13402 if (PyErr_Occurred()) SWIG_fail
;
13405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13413 static PyObject
*_wrap_FontData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13414 PyObject
*resultobj
;
13415 wxFontData
*arg1
= (wxFontData
*) 0 ;
13417 PyObject
* obj0
= 0 ;
13418 char *kwnames
[] = {
13419 (char *) "self", NULL
13422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
13423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13427 result
= (arg1
)->GetColour();
13429 wxPyEndAllowThreads(__tstate
);
13430 if (PyErr_Occurred()) SWIG_fail
;
13433 wxColour
* resultptr
;
13434 resultptr
= new wxColour((wxColour
&) result
);
13435 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13443 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13444 PyObject
*resultobj
;
13445 wxFontData
*arg1
= (wxFontData
*) 0 ;
13447 PyObject
* obj0
= 0 ;
13448 char *kwnames
[] = {
13449 (char *) "self", NULL
13452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
13453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13457 result
= (arg1
)->GetChosenFont();
13459 wxPyEndAllowThreads(__tstate
);
13460 if (PyErr_Occurred()) SWIG_fail
;
13463 wxFont
* resultptr
;
13464 resultptr
= new wxFont((wxFont
&) result
);
13465 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13473 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13474 PyObject
*resultobj
;
13475 wxFontData
*arg1
= (wxFontData
*) 0 ;
13477 PyObject
* obj0
= 0 ;
13478 char *kwnames
[] = {
13479 (char *) "self", NULL
13482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
13483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13487 result
= (bool)(arg1
)->GetEnableEffects();
13489 wxPyEndAllowThreads(__tstate
);
13490 if (PyErr_Occurred()) SWIG_fail
;
13493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13501 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13502 PyObject
*resultobj
;
13503 wxFontData
*arg1
= (wxFontData
*) 0 ;
13505 PyObject
* obj0
= 0 ;
13506 char *kwnames
[] = {
13507 (char *) "self", NULL
13510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
13511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13515 result
= (arg1
)->GetInitialFont();
13517 wxPyEndAllowThreads(__tstate
);
13518 if (PyErr_Occurred()) SWIG_fail
;
13521 wxFont
* resultptr
;
13522 resultptr
= new wxFont((wxFont
&) result
);
13523 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13531 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13532 PyObject
*resultobj
;
13533 wxFontData
*arg1
= (wxFontData
*) 0 ;
13535 PyObject
* obj0
= 0 ;
13536 char *kwnames
[] = {
13537 (char *) "self", NULL
13540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
13541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13545 result
= (bool)(arg1
)->GetShowHelp();
13547 wxPyEndAllowThreads(__tstate
);
13548 if (PyErr_Occurred()) SWIG_fail
;
13551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13559 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13560 PyObject
*resultobj
;
13561 wxFontData
*arg1
= (wxFontData
*) 0 ;
13563 PyObject
* obj0
= 0 ;
13564 PyObject
* obj1
= 0 ;
13565 char *kwnames
[] = {
13566 (char *) "self",(char *) "allowSymbols", NULL
13569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
13570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13572 arg2
= (bool)SWIG_As_bool(obj1
);
13573 if (PyErr_Occurred()) SWIG_fail
;
13575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13576 (arg1
)->SetAllowSymbols(arg2
);
13578 wxPyEndAllowThreads(__tstate
);
13579 if (PyErr_Occurred()) SWIG_fail
;
13581 Py_INCREF(Py_None
); resultobj
= Py_None
;
13588 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13589 PyObject
*resultobj
;
13590 wxFontData
*arg1
= (wxFontData
*) 0 ;
13592 PyObject
* obj0
= 0 ;
13593 PyObject
* obj1
= 0 ;
13594 char *kwnames
[] = {
13595 (char *) "self",(char *) "font", NULL
13598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13601 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13602 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13604 if (arg2
== NULL
) {
13605 PyErr_SetString(PyExc_TypeError
,"null reference");
13609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13610 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
13612 wxPyEndAllowThreads(__tstate
);
13613 if (PyErr_Occurred()) SWIG_fail
;
13615 Py_INCREF(Py_None
); resultobj
= Py_None
;
13622 static PyObject
*_wrap_FontData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13623 PyObject
*resultobj
;
13624 wxFontData
*arg1
= (wxFontData
*) 0 ;
13625 wxColour
*arg2
= 0 ;
13627 PyObject
* obj0
= 0 ;
13628 PyObject
* obj1
= 0 ;
13629 char *kwnames
[] = {
13630 (char *) "self",(char *) "colour", NULL
13633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13638 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13642 (arg1
)->SetColour((wxColour
const &)*arg2
);
13644 wxPyEndAllowThreads(__tstate
);
13645 if (PyErr_Occurred()) SWIG_fail
;
13647 Py_INCREF(Py_None
); resultobj
= Py_None
;
13654 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13655 PyObject
*resultobj
;
13656 wxFontData
*arg1
= (wxFontData
*) 0 ;
13658 PyObject
* obj0
= 0 ;
13659 PyObject
* obj1
= 0 ;
13660 char *kwnames
[] = {
13661 (char *) "self",(char *) "font", NULL
13664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13667 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13668 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13670 if (arg2
== NULL
) {
13671 PyErr_SetString(PyExc_TypeError
,"null reference");
13675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13676 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
13678 wxPyEndAllowThreads(__tstate
);
13679 if (PyErr_Occurred()) SWIG_fail
;
13681 Py_INCREF(Py_None
); resultobj
= Py_None
;
13688 static PyObject
*_wrap_FontData_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13689 PyObject
*resultobj
;
13690 wxFontData
*arg1
= (wxFontData
*) 0 ;
13693 PyObject
* obj0
= 0 ;
13694 PyObject
* obj1
= 0 ;
13695 PyObject
* obj2
= 0 ;
13696 char *kwnames
[] = {
13697 (char *) "self",(char *) "min",(char *) "max", NULL
13700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13703 arg2
= (int)SWIG_As_int(obj1
);
13704 if (PyErr_Occurred()) SWIG_fail
;
13705 arg3
= (int)SWIG_As_int(obj2
);
13706 if (PyErr_Occurred()) SWIG_fail
;
13708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13709 (arg1
)->SetRange(arg2
,arg3
);
13711 wxPyEndAllowThreads(__tstate
);
13712 if (PyErr_Occurred()) SWIG_fail
;
13714 Py_INCREF(Py_None
); resultobj
= Py_None
;
13721 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13722 PyObject
*resultobj
;
13723 wxFontData
*arg1
= (wxFontData
*) 0 ;
13725 PyObject
* obj0
= 0 ;
13726 PyObject
* obj1
= 0 ;
13727 char *kwnames
[] = {
13728 (char *) "self",(char *) "showHelp", NULL
13731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
13732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13734 arg2
= (bool)SWIG_As_bool(obj1
);
13735 if (PyErr_Occurred()) SWIG_fail
;
13737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13738 (arg1
)->SetShowHelp(arg2
);
13740 wxPyEndAllowThreads(__tstate
);
13741 if (PyErr_Occurred()) SWIG_fail
;
13743 Py_INCREF(Py_None
); resultobj
= Py_None
;
13750 static PyObject
* FontData_swigregister(PyObject
*, PyObject
*args
) {
13752 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13753 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
13755 return Py_BuildValue((char *)"");
13757 static PyObject
*_wrap_new_FontDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13758 PyObject
*resultobj
;
13759 wxWindow
*arg1
= (wxWindow
*) 0 ;
13760 wxFontData
*arg2
= 0 ;
13761 wxFontDialog
*result
;
13762 PyObject
* obj0
= 0 ;
13763 PyObject
* obj1
= 0 ;
13764 char *kwnames
[] = {
13765 (char *) "parent",(char *) "data", NULL
13768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
13769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13771 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFontData
,
13772 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13774 if (arg2
== NULL
) {
13775 PyErr_SetString(PyExc_TypeError
,"null reference");
13779 if (!wxPyCheckForApp()) SWIG_fail
;
13780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13781 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
13783 wxPyEndAllowThreads(__tstate
);
13784 if (PyErr_Occurred()) SWIG_fail
;
13786 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
13793 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13794 PyObject
*resultobj
;
13795 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
13796 wxFontData
*result
;
13797 PyObject
* obj0
= 0 ;
13798 char *kwnames
[] = {
13799 (char *) "self", NULL
13802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
13803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontDialog
,
13804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13808 wxFontData
&_result_ref
= (arg1
)->GetFontData();
13809 result
= (wxFontData
*) &_result_ref
;
13812 wxPyEndAllowThreads(__tstate
);
13813 if (PyErr_Occurred()) SWIG_fail
;
13815 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
13822 static PyObject
* FontDialog_swigregister(PyObject
*, PyObject
*args
) {
13824 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13825 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
13827 return Py_BuildValue((char *)"");
13829 static PyObject
*_wrap_new_MessageDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13830 PyObject
*resultobj
;
13831 wxWindow
*arg1
= (wxWindow
*) 0 ;
13832 wxString
*arg2
= 0 ;
13833 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
13834 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13835 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
13836 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13837 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13838 wxMessageDialog
*result
;
13839 bool temp2
= false ;
13840 bool temp3
= false ;
13842 PyObject
* obj0
= 0 ;
13843 PyObject
* obj1
= 0 ;
13844 PyObject
* obj2
= 0 ;
13845 PyObject
* obj3
= 0 ;
13846 PyObject
* obj4
= 0 ;
13847 char *kwnames
[] = {
13848 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13855 arg2
= wxString_in_helper(obj1
);
13856 if (arg2
== NULL
) SWIG_fail
;
13861 arg3
= wxString_in_helper(obj2
);
13862 if (arg3
== NULL
) SWIG_fail
;
13867 arg4
= (long)SWIG_As_long(obj3
);
13868 if (PyErr_Occurred()) SWIG_fail
;
13873 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13877 if (!wxPyCheckForApp()) SWIG_fail
;
13878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13879 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
13881 wxPyEndAllowThreads(__tstate
);
13882 if (PyErr_Occurred()) SWIG_fail
;
13884 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
13907 static PyObject
* MessageDialog_swigregister(PyObject
*, PyObject
*args
) {
13909 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13910 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
13912 return Py_BuildValue((char *)"");
13914 static PyObject
*_wrap_new_ProgressDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13915 PyObject
*resultobj
;
13916 wxString
*arg1
= 0 ;
13917 wxString
*arg2
= 0 ;
13918 int arg3
= (int) 100 ;
13919 wxWindow
*arg4
= (wxWindow
*) NULL
;
13920 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
13921 wxProgressDialog
*result
;
13922 bool temp1
= false ;
13923 bool temp2
= false ;
13924 PyObject
* obj0
= 0 ;
13925 PyObject
* obj1
= 0 ;
13926 PyObject
* obj2
= 0 ;
13927 PyObject
* obj3
= 0 ;
13928 PyObject
* obj4
= 0 ;
13929 char *kwnames
[] = {
13930 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13935 arg1
= wxString_in_helper(obj0
);
13936 if (arg1
== NULL
) SWIG_fail
;
13940 arg2
= wxString_in_helper(obj1
);
13941 if (arg2
== NULL
) SWIG_fail
;
13945 arg3
= (int)SWIG_As_int(obj2
);
13946 if (PyErr_Occurred()) SWIG_fail
;
13949 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
13950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13953 arg5
= (int)SWIG_As_int(obj4
);
13954 if (PyErr_Occurred()) SWIG_fail
;
13957 if (!wxPyCheckForApp()) SWIG_fail
;
13958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13959 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
13961 wxPyEndAllowThreads(__tstate
);
13962 if (PyErr_Occurred()) SWIG_fail
;
13964 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
13987 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13988 PyObject
*resultobj
;
13989 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13991 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13992 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13994 bool temp3
= false ;
13995 PyObject
* obj0
= 0 ;
13996 PyObject
* obj1
= 0 ;
13997 PyObject
* obj2
= 0 ;
13998 char *kwnames
[] = {
13999 (char *) "self",(char *) "value",(char *) "newmsg", NULL
14002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
14004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14005 arg2
= (int)SWIG_As_int(obj1
);
14006 if (PyErr_Occurred()) SWIG_fail
;
14009 arg3
= wxString_in_helper(obj2
);
14010 if (arg3
== NULL
) SWIG_fail
;
14015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14016 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
14018 wxPyEndAllowThreads(__tstate
);
14019 if (PyErr_Occurred()) SWIG_fail
;
14022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14038 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14039 PyObject
*resultobj
;
14040 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
14041 PyObject
* obj0
= 0 ;
14042 char *kwnames
[] = {
14043 (char *) "self", NULL
14046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
14047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
14048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14053 wxPyEndAllowThreads(__tstate
);
14054 if (PyErr_Occurred()) SWIG_fail
;
14056 Py_INCREF(Py_None
); resultobj
= Py_None
;
14063 static PyObject
* ProgressDialog_swigregister(PyObject
*, PyObject
*args
) {
14065 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14066 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
14068 return Py_BuildValue((char *)"");
14070 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14071 PyObject
*resultobj
;
14072 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14073 int arg2
= (int) 0 ;
14074 wxFindDialogEvent
*result
;
14075 PyObject
* obj0
= 0 ;
14076 PyObject
* obj1
= 0 ;
14077 char *kwnames
[] = {
14078 (char *) "commandType",(char *) "id", NULL
14081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14083 arg1
= (wxEventType
)SWIG_As_int(obj0
);
14084 if (PyErr_Occurred()) SWIG_fail
;
14087 arg2
= (int)SWIG_As_int(obj1
);
14088 if (PyErr_Occurred()) SWIG_fail
;
14091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14092 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
14094 wxPyEndAllowThreads(__tstate
);
14095 if (PyErr_Occurred()) SWIG_fail
;
14097 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
14104 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14105 PyObject
*resultobj
;
14106 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14108 PyObject
* obj0
= 0 ;
14109 char *kwnames
[] = {
14110 (char *) "self", NULL
14113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
14114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14118 result
= (int)(arg1
)->GetFlags();
14120 wxPyEndAllowThreads(__tstate
);
14121 if (PyErr_Occurred()) SWIG_fail
;
14123 resultobj
= SWIG_From_int((int)result
);
14130 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14131 PyObject
*resultobj
;
14132 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14134 PyObject
* obj0
= 0 ;
14135 char *kwnames
[] = {
14136 (char *) "self", NULL
14139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
14140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14145 wxString
const &_result_ref
= (arg1
)->GetFindString();
14146 result
= (wxString
*) &_result_ref
;
14149 wxPyEndAllowThreads(__tstate
);
14150 if (PyErr_Occurred()) SWIG_fail
;
14154 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14156 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14165 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14166 PyObject
*resultobj
;
14167 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14169 PyObject
* obj0
= 0 ;
14170 char *kwnames
[] = {
14171 (char *) "self", NULL
14174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
14175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14180 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
14181 result
= (wxString
*) &_result_ref
;
14184 wxPyEndAllowThreads(__tstate
);
14185 if (PyErr_Occurred()) SWIG_fail
;
14189 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14191 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14200 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14201 PyObject
*resultobj
;
14202 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14203 wxFindReplaceDialog
*result
;
14204 PyObject
* obj0
= 0 ;
14205 char *kwnames
[] = {
14206 (char *) "self", NULL
14209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
14210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14214 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
14216 wxPyEndAllowThreads(__tstate
);
14217 if (PyErr_Occurred()) SWIG_fail
;
14219 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
14226 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14227 PyObject
*resultobj
;
14228 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14230 PyObject
* obj0
= 0 ;
14231 PyObject
* obj1
= 0 ;
14232 char *kwnames
[] = {
14233 (char *) "self",(char *) "flags", NULL
14236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
14237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14239 arg2
= (int)SWIG_As_int(obj1
);
14240 if (PyErr_Occurred()) SWIG_fail
;
14242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14243 (arg1
)->SetFlags(arg2
);
14245 wxPyEndAllowThreads(__tstate
);
14246 if (PyErr_Occurred()) SWIG_fail
;
14248 Py_INCREF(Py_None
); resultobj
= Py_None
;
14255 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14256 PyObject
*resultobj
;
14257 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14258 wxString
*arg2
= 0 ;
14259 bool temp2
= false ;
14260 PyObject
* obj0
= 0 ;
14261 PyObject
* obj1
= 0 ;
14262 char *kwnames
[] = {
14263 (char *) "self",(char *) "str", NULL
14266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
14267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14270 arg2
= wxString_in_helper(obj1
);
14271 if (arg2
== NULL
) SWIG_fail
;
14275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14276 (arg1
)->SetFindString((wxString
const &)*arg2
);
14278 wxPyEndAllowThreads(__tstate
);
14279 if (PyErr_Occurred()) SWIG_fail
;
14281 Py_INCREF(Py_None
); resultobj
= Py_None
;
14296 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14297 PyObject
*resultobj
;
14298 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14299 wxString
*arg2
= 0 ;
14300 bool temp2
= false ;
14301 PyObject
* obj0
= 0 ;
14302 PyObject
* obj1
= 0 ;
14303 char *kwnames
[] = {
14304 (char *) "self",(char *) "str", NULL
14307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
14308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14311 arg2
= wxString_in_helper(obj1
);
14312 if (arg2
== NULL
) SWIG_fail
;
14316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14317 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
14319 wxPyEndAllowThreads(__tstate
);
14320 if (PyErr_Occurred()) SWIG_fail
;
14322 Py_INCREF(Py_None
); resultobj
= Py_None
;
14337 static PyObject
* FindDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
14339 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14340 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
14342 return Py_BuildValue((char *)"");
14344 static PyObject
*_wrap_new_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14345 PyObject
*resultobj
;
14346 int arg1
= (int) 0 ;
14347 wxFindReplaceData
*result
;
14348 PyObject
* obj0
= 0 ;
14349 char *kwnames
[] = {
14350 (char *) "flags", NULL
14353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
14355 arg1
= (int)SWIG_As_int(obj0
);
14356 if (PyErr_Occurred()) SWIG_fail
;
14359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14360 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
14362 wxPyEndAllowThreads(__tstate
);
14363 if (PyErr_Occurred()) SWIG_fail
;
14365 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
14372 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14373 PyObject
*resultobj
;
14374 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14375 PyObject
* obj0
= 0 ;
14376 char *kwnames
[] = {
14377 (char *) "self", NULL
14380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
14381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14387 wxPyEndAllowThreads(__tstate
);
14388 if (PyErr_Occurred()) SWIG_fail
;
14390 Py_INCREF(Py_None
); resultobj
= Py_None
;
14397 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14398 PyObject
*resultobj
;
14399 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14401 PyObject
* obj0
= 0 ;
14402 char *kwnames
[] = {
14403 (char *) "self", NULL
14406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
14407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14412 wxString
const &_result_ref
= (arg1
)->GetFindString();
14413 result
= (wxString
*) &_result_ref
;
14416 wxPyEndAllowThreads(__tstate
);
14417 if (PyErr_Occurred()) SWIG_fail
;
14421 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14423 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14432 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14433 PyObject
*resultobj
;
14434 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14436 PyObject
* obj0
= 0 ;
14437 char *kwnames
[] = {
14438 (char *) "self", NULL
14441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
14442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14447 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
14448 result
= (wxString
*) &_result_ref
;
14451 wxPyEndAllowThreads(__tstate
);
14452 if (PyErr_Occurred()) SWIG_fail
;
14456 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14458 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14467 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14468 PyObject
*resultobj
;
14469 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14471 PyObject
* obj0
= 0 ;
14472 char *kwnames
[] = {
14473 (char *) "self", NULL
14476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
14477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14481 result
= (int)(arg1
)->GetFlags();
14483 wxPyEndAllowThreads(__tstate
);
14484 if (PyErr_Occurred()) SWIG_fail
;
14486 resultobj
= SWIG_From_int((int)result
);
14493 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14494 PyObject
*resultobj
;
14495 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14497 PyObject
* obj0
= 0 ;
14498 PyObject
* obj1
= 0 ;
14499 char *kwnames
[] = {
14500 (char *) "self",(char *) "flags", NULL
14503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
14504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14506 arg2
= (int)SWIG_As_int(obj1
);
14507 if (PyErr_Occurred()) SWIG_fail
;
14509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14510 (arg1
)->SetFlags(arg2
);
14512 wxPyEndAllowThreads(__tstate
);
14513 if (PyErr_Occurred()) SWIG_fail
;
14515 Py_INCREF(Py_None
); resultobj
= Py_None
;
14522 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14523 PyObject
*resultobj
;
14524 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14525 wxString
*arg2
= 0 ;
14526 bool temp2
= false ;
14527 PyObject
* obj0
= 0 ;
14528 PyObject
* obj1
= 0 ;
14529 char *kwnames
[] = {
14530 (char *) "self",(char *) "str", NULL
14533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
14534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14537 arg2
= wxString_in_helper(obj1
);
14538 if (arg2
== NULL
) SWIG_fail
;
14542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14543 (arg1
)->SetFindString((wxString
const &)*arg2
);
14545 wxPyEndAllowThreads(__tstate
);
14546 if (PyErr_Occurred()) SWIG_fail
;
14548 Py_INCREF(Py_None
); resultobj
= Py_None
;
14563 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14564 PyObject
*resultobj
;
14565 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14566 wxString
*arg2
= 0 ;
14567 bool temp2
= false ;
14568 PyObject
* obj0
= 0 ;
14569 PyObject
* obj1
= 0 ;
14570 char *kwnames
[] = {
14571 (char *) "self",(char *) "str", NULL
14574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
14575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14578 arg2
= wxString_in_helper(obj1
);
14579 if (arg2
== NULL
) SWIG_fail
;
14583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14584 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
14586 wxPyEndAllowThreads(__tstate
);
14587 if (PyErr_Occurred()) SWIG_fail
;
14589 Py_INCREF(Py_None
); resultobj
= Py_None
;
14604 static PyObject
* FindReplaceData_swigregister(PyObject
*, PyObject
*args
) {
14606 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14607 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
14609 return Py_BuildValue((char *)"");
14611 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14612 PyObject
*resultobj
;
14613 wxWindow
*arg1
= (wxWindow
*) 0 ;
14614 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14615 wxString
*arg3
= 0 ;
14616 int arg4
= (int) 0 ;
14617 wxFindReplaceDialog
*result
;
14618 bool temp3
= false ;
14619 PyObject
* obj0
= 0 ;
14620 PyObject
* obj1
= 0 ;
14621 PyObject
* obj2
= 0 ;
14622 PyObject
* obj3
= 0 ;
14623 char *kwnames
[] = {
14624 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14630 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14633 arg3
= wxString_in_helper(obj2
);
14634 if (arg3
== NULL
) SWIG_fail
;
14638 arg4
= (int)SWIG_As_int(obj3
);
14639 if (PyErr_Occurred()) SWIG_fail
;
14642 if (!wxPyCheckForApp()) SWIG_fail
;
14643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14644 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
14646 wxPyEndAllowThreads(__tstate
);
14647 if (PyErr_Occurred()) SWIG_fail
;
14649 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14664 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14665 PyObject
*resultobj
;
14666 wxFindReplaceDialog
*result
;
14667 char *kwnames
[] = {
14671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
14673 if (!wxPyCheckForApp()) SWIG_fail
;
14674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14675 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
14677 wxPyEndAllowThreads(__tstate
);
14678 if (PyErr_Occurred()) SWIG_fail
;
14680 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14687 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14688 PyObject
*resultobj
;
14689 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14690 wxWindow
*arg2
= (wxWindow
*) 0 ;
14691 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
14692 wxString
*arg4
= 0 ;
14693 int arg5
= (int) 0 ;
14695 bool temp4
= false ;
14696 PyObject
* obj0
= 0 ;
14697 PyObject
* obj1
= 0 ;
14698 PyObject
* obj2
= 0 ;
14699 PyObject
* obj3
= 0 ;
14700 PyObject
* obj4
= 0 ;
14701 char *kwnames
[] = {
14702 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14708 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14710 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFindReplaceData
,
14711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14713 arg4
= wxString_in_helper(obj3
);
14714 if (arg4
== NULL
) SWIG_fail
;
14718 arg5
= (int)SWIG_As_int(obj4
);
14719 if (PyErr_Occurred()) SWIG_fail
;
14722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14723 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14725 wxPyEndAllowThreads(__tstate
);
14726 if (PyErr_Occurred()) SWIG_fail
;
14729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14745 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14746 PyObject
*resultobj
;
14747 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14748 wxFindReplaceData
*result
;
14749 PyObject
* obj0
= 0 ;
14750 char *kwnames
[] = {
14751 (char *) "self", NULL
14754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
14755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14759 result
= (wxFindReplaceData
*)(arg1
)->GetData();
14761 wxPyEndAllowThreads(__tstate
);
14762 if (PyErr_Occurred()) SWIG_fail
;
14764 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
14771 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14772 PyObject
*resultobj
;
14773 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14774 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14775 PyObject
* obj0
= 0 ;
14776 PyObject
* obj1
= 0 ;
14777 char *kwnames
[] = {
14778 (char *) "self",(char *) "data", NULL
14781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
14782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14784 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14788 (arg1
)->SetData(arg2
);
14790 wxPyEndAllowThreads(__tstate
);
14791 if (PyErr_Occurred()) SWIG_fail
;
14793 Py_INCREF(Py_None
); resultobj
= Py_None
;
14800 static PyObject
* FindReplaceDialog_swigregister(PyObject
*, PyObject
*args
) {
14802 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14803 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
14805 return Py_BuildValue((char *)"");
14807 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14808 PyObject
*resultobj
;
14809 wxWindow
*arg1
= (wxWindow
*) 0 ;
14810 int arg2
= (int) (int)-1 ;
14811 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14812 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14813 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14814 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14815 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14816 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14817 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14818 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14819 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14820 wxMDIParentFrame
*result
;
14821 bool temp3
= false ;
14824 bool temp7
= false ;
14825 PyObject
* obj0
= 0 ;
14826 PyObject
* obj1
= 0 ;
14827 PyObject
* obj2
= 0 ;
14828 PyObject
* obj3
= 0 ;
14829 PyObject
* obj4
= 0 ;
14830 PyObject
* obj5
= 0 ;
14831 PyObject
* obj6
= 0 ;
14832 char *kwnames
[] = {
14833 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14840 arg2
= (int)SWIG_As_int(obj1
);
14841 if (PyErr_Occurred()) SWIG_fail
;
14845 arg3
= wxString_in_helper(obj2
);
14846 if (arg3
== NULL
) SWIG_fail
;
14853 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14859 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14863 arg6
= (long)SWIG_As_long(obj5
);
14864 if (PyErr_Occurred()) SWIG_fail
;
14868 arg7
= wxString_in_helper(obj6
);
14869 if (arg7
== NULL
) SWIG_fail
;
14874 if (!wxPyCheckForApp()) SWIG_fail
;
14875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14876 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14878 wxPyEndAllowThreads(__tstate
);
14879 if (PyErr_Occurred()) SWIG_fail
;
14881 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14904 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14905 PyObject
*resultobj
;
14906 wxMDIParentFrame
*result
;
14907 char *kwnames
[] = {
14911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
14913 if (!wxPyCheckForApp()) SWIG_fail
;
14914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14915 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
14917 wxPyEndAllowThreads(__tstate
);
14918 if (PyErr_Occurred()) SWIG_fail
;
14920 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14927 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14928 PyObject
*resultobj
;
14929 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14930 wxWindow
*arg2
= (wxWindow
*) 0 ;
14931 int arg3
= (int) (int)-1 ;
14932 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14933 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14934 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14935 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14936 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14937 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14938 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14939 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14940 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14942 bool temp4
= false ;
14945 bool temp8
= false ;
14946 PyObject
* obj0
= 0 ;
14947 PyObject
* obj1
= 0 ;
14948 PyObject
* obj2
= 0 ;
14949 PyObject
* obj3
= 0 ;
14950 PyObject
* obj4
= 0 ;
14951 PyObject
* obj5
= 0 ;
14952 PyObject
* obj6
= 0 ;
14953 PyObject
* obj7
= 0 ;
14954 char *kwnames
[] = {
14955 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14961 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14964 arg3
= (int)SWIG_As_int(obj2
);
14965 if (PyErr_Occurred()) SWIG_fail
;
14969 arg4
= wxString_in_helper(obj3
);
14970 if (arg4
== NULL
) SWIG_fail
;
14977 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14983 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14987 arg7
= (long)SWIG_As_long(obj6
);
14988 if (PyErr_Occurred()) SWIG_fail
;
14992 arg8
= wxString_in_helper(obj7
);
14993 if (arg8
== NULL
) SWIG_fail
;
14998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14999 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
15001 wxPyEndAllowThreads(__tstate
);
15002 if (PyErr_Occurred()) SWIG_fail
;
15005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15029 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15030 PyObject
*resultobj
;
15031 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15032 PyObject
* obj0
= 0 ;
15033 char *kwnames
[] = {
15034 (char *) "self", NULL
15037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
15038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15042 (arg1
)->ActivateNext();
15044 wxPyEndAllowThreads(__tstate
);
15045 if (PyErr_Occurred()) SWIG_fail
;
15047 Py_INCREF(Py_None
); resultobj
= Py_None
;
15054 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15055 PyObject
*resultobj
;
15056 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15057 PyObject
* obj0
= 0 ;
15058 char *kwnames
[] = {
15059 (char *) "self", NULL
15062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
15063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15067 (arg1
)->ActivatePrevious();
15069 wxPyEndAllowThreads(__tstate
);
15070 if (PyErr_Occurred()) SWIG_fail
;
15072 Py_INCREF(Py_None
); resultobj
= Py_None
;
15079 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15080 PyObject
*resultobj
;
15081 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15082 PyObject
* obj0
= 0 ;
15083 char *kwnames
[] = {
15084 (char *) "self", NULL
15087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
15088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15092 (arg1
)->ArrangeIcons();
15094 wxPyEndAllowThreads(__tstate
);
15095 if (PyErr_Occurred()) SWIG_fail
;
15097 Py_INCREF(Py_None
); resultobj
= Py_None
;
15104 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15105 PyObject
*resultobj
;
15106 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15107 PyObject
* obj0
= 0 ;
15108 char *kwnames
[] = {
15109 (char *) "self", NULL
15112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
15113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15119 wxPyEndAllowThreads(__tstate
);
15120 if (PyErr_Occurred()) SWIG_fail
;
15122 Py_INCREF(Py_None
); resultobj
= Py_None
;
15129 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15130 PyObject
*resultobj
;
15131 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15132 wxMDIChildFrame
*result
;
15133 PyObject
* obj0
= 0 ;
15134 char *kwnames
[] = {
15135 (char *) "self", NULL
15138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
15139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15143 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
15145 wxPyEndAllowThreads(__tstate
);
15146 if (PyErr_Occurred()) SWIG_fail
;
15149 resultobj
= wxPyMake_wxObject(result
, 0);
15157 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15158 PyObject
*resultobj
;
15159 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15160 wxMDIClientWindow
*result
;
15161 PyObject
* obj0
= 0 ;
15162 char *kwnames
[] = {
15163 (char *) "self", NULL
15166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
15167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15171 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
15173 wxPyEndAllowThreads(__tstate
);
15174 if (PyErr_Occurred()) SWIG_fail
;
15177 resultobj
= wxPyMake_wxObject(result
, 0);
15185 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15186 PyObject
*resultobj
;
15187 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15189 PyObject
* obj0
= 0 ;
15190 char *kwnames
[] = {
15191 (char *) "self", NULL
15194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
15195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15199 result
= (wxWindow
*)(arg1
)->GetToolBar();
15201 wxPyEndAllowThreads(__tstate
);
15202 if (PyErr_Occurred()) SWIG_fail
;
15205 resultobj
= wxPyMake_wxObject(result
, 0);
15213 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15214 PyObject
*resultobj
;
15215 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15216 PyObject
* obj0
= 0 ;
15217 char *kwnames
[] = {
15218 (char *) "self", NULL
15221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
15222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15228 wxPyEndAllowThreads(__tstate
);
15229 if (PyErr_Occurred()) SWIG_fail
;
15231 Py_INCREF(Py_None
); resultobj
= Py_None
;
15238 static PyObject
* MDIParentFrame_swigregister(PyObject
*, PyObject
*args
) {
15240 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15241 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
15243 return Py_BuildValue((char *)"");
15245 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15246 PyObject
*resultobj
;
15247 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15248 int arg2
= (int) (int)-1 ;
15249 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15250 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15251 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15252 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15253 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15254 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15255 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
15256 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
15257 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15258 wxMDIChildFrame
*result
;
15259 bool temp3
= false ;
15262 bool temp7
= false ;
15263 PyObject
* obj0
= 0 ;
15264 PyObject
* obj1
= 0 ;
15265 PyObject
* obj2
= 0 ;
15266 PyObject
* obj3
= 0 ;
15267 PyObject
* obj4
= 0 ;
15268 PyObject
* obj5
= 0 ;
15269 PyObject
* obj6
= 0 ;
15270 char *kwnames
[] = {
15271 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15278 arg2
= (int)SWIG_As_int(obj1
);
15279 if (PyErr_Occurred()) SWIG_fail
;
15283 arg3
= wxString_in_helper(obj2
);
15284 if (arg3
== NULL
) SWIG_fail
;
15291 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15297 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15301 arg6
= (long)SWIG_As_long(obj5
);
15302 if (PyErr_Occurred()) SWIG_fail
;
15306 arg7
= wxString_in_helper(obj6
);
15307 if (arg7
== NULL
) SWIG_fail
;
15312 if (!wxPyCheckForApp()) SWIG_fail
;
15313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15314 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15316 wxPyEndAllowThreads(__tstate
);
15317 if (PyErr_Occurred()) SWIG_fail
;
15319 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
15342 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15343 PyObject
*resultobj
;
15344 wxMDIChildFrame
*result
;
15345 char *kwnames
[] = {
15349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
15351 if (!wxPyCheckForApp()) SWIG_fail
;
15352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15353 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
15355 wxPyEndAllowThreads(__tstate
);
15356 if (PyErr_Occurred()) SWIG_fail
;
15358 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
15365 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15366 PyObject
*resultobj
;
15367 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15368 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
15369 int arg3
= (int) (int)-1 ;
15370 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15371 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15372 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15373 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15374 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15375 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15376 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
15377 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
15378 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15380 bool temp4
= false ;
15383 bool temp8
= false ;
15384 PyObject
* obj0
= 0 ;
15385 PyObject
* obj1
= 0 ;
15386 PyObject
* obj2
= 0 ;
15387 PyObject
* obj3
= 0 ;
15388 PyObject
* obj4
= 0 ;
15389 PyObject
* obj5
= 0 ;
15390 PyObject
* obj6
= 0 ;
15391 PyObject
* obj7
= 0 ;
15392 char *kwnames
[] = {
15393 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
15397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15399 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
15400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15402 arg3
= (int)SWIG_As_int(obj2
);
15403 if (PyErr_Occurred()) SWIG_fail
;
15407 arg4
= wxString_in_helper(obj3
);
15408 if (arg4
== NULL
) SWIG_fail
;
15415 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15421 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15425 arg7
= (long)SWIG_As_long(obj6
);
15426 if (PyErr_Occurred()) SWIG_fail
;
15430 arg8
= wxString_in_helper(obj7
);
15431 if (arg8
== NULL
) SWIG_fail
;
15436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15437 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
15439 wxPyEndAllowThreads(__tstate
);
15440 if (PyErr_Occurred()) SWIG_fail
;
15443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15467 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15468 PyObject
*resultobj
;
15469 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15470 PyObject
* obj0
= 0 ;
15471 char *kwnames
[] = {
15472 (char *) "self", NULL
15475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
15476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15480 (arg1
)->Activate();
15482 wxPyEndAllowThreads(__tstate
);
15483 if (PyErr_Occurred()) SWIG_fail
;
15485 Py_INCREF(Py_None
); resultobj
= Py_None
;
15492 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15493 PyObject
*resultobj
;
15494 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15496 PyObject
* obj0
= 0 ;
15497 PyObject
* obj1
= 0 ;
15498 char *kwnames
[] = {
15499 (char *) "self",(char *) "maximize", NULL
15502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
15503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15505 arg2
= (bool)SWIG_As_bool(obj1
);
15506 if (PyErr_Occurred()) SWIG_fail
;
15508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15509 (arg1
)->Maximize(arg2
);
15511 wxPyEndAllowThreads(__tstate
);
15512 if (PyErr_Occurred()) SWIG_fail
;
15514 Py_INCREF(Py_None
); resultobj
= Py_None
;
15521 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15522 PyObject
*resultobj
;
15523 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15524 PyObject
* obj0
= 0 ;
15525 char *kwnames
[] = {
15526 (char *) "self", NULL
15529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
15530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15536 wxPyEndAllowThreads(__tstate
);
15537 if (PyErr_Occurred()) SWIG_fail
;
15539 Py_INCREF(Py_None
); resultobj
= Py_None
;
15546 static PyObject
* MDIChildFrame_swigregister(PyObject
*, PyObject
*args
) {
15548 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15549 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
15551 return Py_BuildValue((char *)"");
15553 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15554 PyObject
*resultobj
;
15555 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15556 long arg2
= (long) 0 ;
15557 wxMDIClientWindow
*result
;
15558 PyObject
* obj0
= 0 ;
15559 PyObject
* obj1
= 0 ;
15560 char *kwnames
[] = {
15561 (char *) "parent",(char *) "style", NULL
15564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
15565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15568 arg2
= (long)SWIG_As_long(obj1
);
15569 if (PyErr_Occurred()) SWIG_fail
;
15572 if (!wxPyCheckForApp()) SWIG_fail
;
15573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15574 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
15576 wxPyEndAllowThreads(__tstate
);
15577 if (PyErr_Occurred()) SWIG_fail
;
15579 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
15586 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15587 PyObject
*resultobj
;
15588 wxMDIClientWindow
*result
;
15589 char *kwnames
[] = {
15593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
15595 if (!wxPyCheckForApp()) SWIG_fail
;
15596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15597 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
15599 wxPyEndAllowThreads(__tstate
);
15600 if (PyErr_Occurred()) SWIG_fail
;
15602 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
15609 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15610 PyObject
*resultobj
;
15611 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
15612 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
15613 long arg3
= (long) 0 ;
15615 PyObject
* obj0
= 0 ;
15616 PyObject
* obj1
= 0 ;
15617 PyObject
* obj2
= 0 ;
15618 char *kwnames
[] = {
15619 (char *) "self",(char *) "parent",(char *) "style", NULL
15622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIClientWindow
,
15624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15625 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
15626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15628 arg3
= (long)SWIG_As_long(obj2
);
15629 if (PyErr_Occurred()) SWIG_fail
;
15632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15633 result
= (bool)(arg1
)->Create(arg2
,arg3
);
15635 wxPyEndAllowThreads(__tstate
);
15636 if (PyErr_Occurred()) SWIG_fail
;
15639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15647 static PyObject
* MDIClientWindow_swigregister(PyObject
*, PyObject
*args
) {
15649 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15650 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
15652 return Py_BuildValue((char *)"");
15654 static PyObject
*_wrap_new_PyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15655 PyObject
*resultobj
;
15656 wxWindow
*arg1
= (wxWindow
*) 0 ;
15657 int arg2
= (int) (int)-1 ;
15658 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15659 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15660 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15661 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15662 long arg5
= (long) 0 ;
15663 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15664 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15665 wxPyWindow
*result
;
15668 bool temp6
= false ;
15669 PyObject
* obj0
= 0 ;
15670 PyObject
* obj1
= 0 ;
15671 PyObject
* obj2
= 0 ;
15672 PyObject
* obj3
= 0 ;
15673 PyObject
* obj4
= 0 ;
15674 PyObject
* obj5
= 0 ;
15675 char *kwnames
[] = {
15676 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15683 arg2
= (int)SWIG_As_int(obj1
);
15684 if (PyErr_Occurred()) SWIG_fail
;
15689 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15695 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15699 arg5
= (long)SWIG_As_long(obj4
);
15700 if (PyErr_Occurred()) SWIG_fail
;
15704 arg6
= wxString_in_helper(obj5
);
15705 if (arg6
== NULL
) SWIG_fail
;
15710 if (!wxPyCheckForApp()) SWIG_fail
;
15711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15712 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15714 wxPyEndAllowThreads(__tstate
);
15715 if (PyErr_Occurred()) SWIG_fail
;
15717 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15732 static PyObject
*_wrap_new_PrePyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15733 PyObject
*resultobj
;
15734 wxPyWindow
*result
;
15735 char *kwnames
[] = {
15739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyWindow",kwnames
)) goto fail
;
15741 if (!wxPyCheckForApp()) SWIG_fail
;
15742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15743 result
= (wxPyWindow
*)new wxPyWindow();
15745 wxPyEndAllowThreads(__tstate
);
15746 if (PyErr_Occurred()) SWIG_fail
;
15748 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15755 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15756 PyObject
*resultobj
;
15757 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15758 PyObject
*arg2
= (PyObject
*) 0 ;
15759 PyObject
*arg3
= (PyObject
*) 0 ;
15760 PyObject
* obj0
= 0 ;
15761 PyObject
* obj1
= 0 ;
15762 PyObject
* obj2
= 0 ;
15763 char *kwnames
[] = {
15764 (char *) "self",(char *) "self",(char *) "_class", NULL
15767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15774 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15776 wxPyEndAllowThreads(__tstate
);
15777 if (PyErr_Occurred()) SWIG_fail
;
15779 Py_INCREF(Py_None
); resultobj
= Py_None
;
15786 static PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15787 PyObject
*resultobj
;
15788 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15791 PyObject
* obj0
= 0 ;
15792 PyObject
* obj1
= 0 ;
15793 char *kwnames
[] = {
15794 (char *) "self",(char *) "size", NULL
15797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15802 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15806 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
15808 wxPyEndAllowThreads(__tstate
);
15809 if (PyErr_Occurred()) SWIG_fail
;
15811 Py_INCREF(Py_None
); resultobj
= Py_None
;
15818 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15819 PyObject
*resultobj
;
15820 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15825 PyObject
* obj0
= 0 ;
15826 PyObject
* obj1
= 0 ;
15827 PyObject
* obj2
= 0 ;
15828 PyObject
* obj3
= 0 ;
15829 PyObject
* obj4
= 0 ;
15830 char *kwnames
[] = {
15831 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15837 arg2
= (int)SWIG_As_int(obj1
);
15838 if (PyErr_Occurred()) SWIG_fail
;
15839 arg3
= (int)SWIG_As_int(obj2
);
15840 if (PyErr_Occurred()) SWIG_fail
;
15841 arg4
= (int)SWIG_As_int(obj3
);
15842 if (PyErr_Occurred()) SWIG_fail
;
15843 arg5
= (int)SWIG_As_int(obj4
);
15844 if (PyErr_Occurred()) SWIG_fail
;
15846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15847 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
15849 wxPyEndAllowThreads(__tstate
);
15850 if (PyErr_Occurred()) SWIG_fail
;
15852 Py_INCREF(Py_None
); resultobj
= Py_None
;
15859 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15860 PyObject
*resultobj
;
15861 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15866 int arg6
= (int) wxSIZE_AUTO
;
15867 PyObject
* obj0
= 0 ;
15868 PyObject
* obj1
= 0 ;
15869 PyObject
* obj2
= 0 ;
15870 PyObject
* obj3
= 0 ;
15871 PyObject
* obj4
= 0 ;
15872 PyObject
* obj5
= 0 ;
15873 char *kwnames
[] = {
15874 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15880 arg2
= (int)SWIG_As_int(obj1
);
15881 if (PyErr_Occurred()) SWIG_fail
;
15882 arg3
= (int)SWIG_As_int(obj2
);
15883 if (PyErr_Occurred()) SWIG_fail
;
15884 arg4
= (int)SWIG_As_int(obj3
);
15885 if (PyErr_Occurred()) SWIG_fail
;
15886 arg5
= (int)SWIG_As_int(obj4
);
15887 if (PyErr_Occurred()) SWIG_fail
;
15889 arg6
= (int)SWIG_As_int(obj5
);
15890 if (PyErr_Occurred()) SWIG_fail
;
15893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15894 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
15896 wxPyEndAllowThreads(__tstate
);
15897 if (PyErr_Occurred()) SWIG_fail
;
15899 Py_INCREF(Py_None
); resultobj
= Py_None
;
15906 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15907 PyObject
*resultobj
;
15908 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15911 PyObject
* obj0
= 0 ;
15912 PyObject
* obj1
= 0 ;
15913 PyObject
* obj2
= 0 ;
15914 char *kwnames
[] = {
15915 (char *) "self",(char *) "width",(char *) "height", NULL
15918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15921 arg2
= (int)SWIG_As_int(obj1
);
15922 if (PyErr_Occurred()) SWIG_fail
;
15923 arg3
= (int)SWIG_As_int(obj2
);
15924 if (PyErr_Occurred()) SWIG_fail
;
15926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15927 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
15929 wxPyEndAllowThreads(__tstate
);
15930 if (PyErr_Occurred()) SWIG_fail
;
15932 Py_INCREF(Py_None
); resultobj
= Py_None
;
15939 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15940 PyObject
*resultobj
;
15941 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15944 PyObject
* obj0
= 0 ;
15945 PyObject
* obj1
= 0 ;
15946 PyObject
* obj2
= 0 ;
15947 char *kwnames
[] = {
15948 (char *) "self",(char *) "x",(char *) "y", NULL
15951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15954 arg2
= (int)SWIG_As_int(obj1
);
15955 if (PyErr_Occurred()) SWIG_fail
;
15956 arg3
= (int)SWIG_As_int(obj2
);
15957 if (PyErr_Occurred()) SWIG_fail
;
15959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15960 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
15962 wxPyEndAllowThreads(__tstate
);
15963 if (PyErr_Occurred()) SWIG_fail
;
15965 Py_INCREF(Py_None
); resultobj
= Py_None
;
15972 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15973 PyObject
*resultobj
;
15974 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15975 int *arg2
= (int *) 0 ;
15976 int *arg3
= (int *) 0 ;
15981 PyObject
* obj0
= 0 ;
15982 char *kwnames
[] = {
15983 (char *) "self", NULL
15986 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
15987 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
15989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15993 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
15995 wxPyEndAllowThreads(__tstate
);
15996 if (PyErr_Occurred()) SWIG_fail
;
15998 Py_INCREF(Py_None
); resultobj
= Py_None
;
15999 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16000 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16001 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16002 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16009 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16010 PyObject
*resultobj
;
16011 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16012 int *arg2
= (int *) 0 ;
16013 int *arg3
= (int *) 0 ;
16018 PyObject
* obj0
= 0 ;
16019 char *kwnames
[] = {
16020 (char *) "self", NULL
16023 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16024 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
16026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16030 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
16032 wxPyEndAllowThreads(__tstate
);
16033 if (PyErr_Occurred()) SWIG_fail
;
16035 Py_INCREF(Py_None
); resultobj
= Py_None
;
16036 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16037 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16038 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16039 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16046 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16047 PyObject
*resultobj
;
16048 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16049 int *arg2
= (int *) 0 ;
16050 int *arg3
= (int *) 0 ;
16055 PyObject
* obj0
= 0 ;
16056 char *kwnames
[] = {
16057 (char *) "self", NULL
16060 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16061 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
16063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16067 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
16069 wxPyEndAllowThreads(__tstate
);
16070 if (PyErr_Occurred()) SWIG_fail
;
16072 Py_INCREF(Py_None
); resultobj
= Py_None
;
16073 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16074 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16075 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16076 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16083 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16084 PyObject
*resultobj
;
16085 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16087 PyObject
* obj0
= 0 ;
16088 char *kwnames
[] = {
16089 (char *) "self", NULL
16092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
16093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16097 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
16099 wxPyEndAllowThreads(__tstate
);
16100 if (PyErr_Occurred()) SWIG_fail
;
16103 wxSize
* resultptr
;
16104 resultptr
= new wxSize((wxSize
&) result
);
16105 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16113 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16114 PyObject
*resultobj
;
16115 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16117 PyObject
* obj0
= 0 ;
16118 char *kwnames
[] = {
16119 (char *) "self", NULL
16122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
16123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16127 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
16129 wxPyEndAllowThreads(__tstate
);
16130 if (PyErr_Occurred()) SWIG_fail
;
16133 wxSize
* resultptr
;
16134 resultptr
= new wxSize((wxSize
&) result
);
16135 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16143 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16144 PyObject
*resultobj
;
16145 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16146 PyObject
* obj0
= 0 ;
16147 char *kwnames
[] = {
16148 (char *) "self", NULL
16151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
16152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16156 (arg1
)->base_InitDialog();
16158 wxPyEndAllowThreads(__tstate
);
16159 if (PyErr_Occurred()) SWIG_fail
;
16161 Py_INCREF(Py_None
); resultobj
= Py_None
;
16168 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16169 PyObject
*resultobj
;
16170 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16172 PyObject
* obj0
= 0 ;
16173 char *kwnames
[] = {
16174 (char *) "self", NULL
16177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
16178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16182 result
= (bool)(arg1
)->base_TransferDataToWindow();
16184 wxPyEndAllowThreads(__tstate
);
16185 if (PyErr_Occurred()) SWIG_fail
;
16188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16196 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16197 PyObject
*resultobj
;
16198 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16200 PyObject
* obj0
= 0 ;
16201 char *kwnames
[] = {
16202 (char *) "self", NULL
16205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
16206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16210 result
= (bool)(arg1
)->base_TransferDataFromWindow();
16212 wxPyEndAllowThreads(__tstate
);
16213 if (PyErr_Occurred()) SWIG_fail
;
16216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16224 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16225 PyObject
*resultobj
;
16226 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16228 PyObject
* obj0
= 0 ;
16229 char *kwnames
[] = {
16230 (char *) "self", NULL
16233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
16234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16238 result
= (bool)(arg1
)->base_Validate();
16240 wxPyEndAllowThreads(__tstate
);
16241 if (PyErr_Occurred()) SWIG_fail
;
16244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16252 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16253 PyObject
*resultobj
;
16254 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16256 PyObject
* obj0
= 0 ;
16257 char *kwnames
[] = {
16258 (char *) "self", NULL
16261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
16262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16266 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
16268 wxPyEndAllowThreads(__tstate
);
16269 if (PyErr_Occurred()) SWIG_fail
;
16272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16280 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16281 PyObject
*resultobj
;
16282 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16284 PyObject
* obj0
= 0 ;
16285 char *kwnames
[] = {
16286 (char *) "self", NULL
16289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
16290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16294 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
16296 wxPyEndAllowThreads(__tstate
);
16297 if (PyErr_Occurred()) SWIG_fail
;
16300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16308 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16309 PyObject
*resultobj
;
16310 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16312 PyObject
* obj0
= 0 ;
16313 char *kwnames
[] = {
16314 (char *) "self", NULL
16317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
16318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16322 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
16324 wxPyEndAllowThreads(__tstate
);
16325 if (PyErr_Occurred()) SWIG_fail
;
16328 wxSize
* resultptr
;
16329 resultptr
= new wxSize((wxSize
&) result
);
16330 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16338 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16339 PyObject
*resultobj
;
16340 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16341 wxWindow
*arg2
= (wxWindow
*) 0 ;
16342 PyObject
* obj0
= 0 ;
16343 PyObject
* obj1
= 0 ;
16344 char *kwnames
[] = {
16345 (char *) "self",(char *) "child", NULL
16348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16351 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16355 (arg1
)->base_AddChild(arg2
);
16357 wxPyEndAllowThreads(__tstate
);
16358 if (PyErr_Occurred()) SWIG_fail
;
16360 Py_INCREF(Py_None
); resultobj
= Py_None
;
16367 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16368 PyObject
*resultobj
;
16369 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16370 wxWindow
*arg2
= (wxWindow
*) 0 ;
16371 PyObject
* obj0
= 0 ;
16372 PyObject
* obj1
= 0 ;
16373 char *kwnames
[] = {
16374 (char *) "self",(char *) "child", NULL
16377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16380 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16384 (arg1
)->base_RemoveChild(arg2
);
16386 wxPyEndAllowThreads(__tstate
);
16387 if (PyErr_Occurred()) SWIG_fail
;
16389 Py_INCREF(Py_None
); resultobj
= Py_None
;
16396 static PyObject
*_wrap_PyWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16397 PyObject
*resultobj
;
16398 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16400 PyObject
* obj0
= 0 ;
16401 char *kwnames
[] = {
16402 (char *) "self", NULL
16405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
16406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16410 result
= (bool)((wxPyWindow
const *)arg1
)->base_ShouldInheritColours();
16412 wxPyEndAllowThreads(__tstate
);
16413 if (PyErr_Occurred()) SWIG_fail
;
16416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16424 static PyObject
*_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16425 PyObject
*resultobj
;
16426 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16427 wxColour
*arg2
= 0 ;
16429 PyObject
* obj0
= 0 ;
16430 PyObject
* obj1
= 0 ;
16431 char *kwnames
[] = {
16432 (char *) "self",(char *) "c", NULL
16435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
16436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16440 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16444 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
16446 wxPyEndAllowThreads(__tstate
);
16447 if (PyErr_Occurred()) SWIG_fail
;
16449 Py_INCREF(Py_None
); resultobj
= Py_None
;
16456 static PyObject
*_wrap_PyWindow_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16457 PyObject
*resultobj
;
16458 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16459 wxVisualAttributes result
;
16460 PyObject
* obj0
= 0 ;
16461 char *kwnames
[] = {
16462 (char *) "self", NULL
16465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16470 result
= (arg1
)->base_GetDefaultAttributes();
16472 wxPyEndAllowThreads(__tstate
);
16473 if (PyErr_Occurred()) SWIG_fail
;
16476 wxVisualAttributes
* resultptr
;
16477 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
16478 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16486 static PyObject
* PyWindow_swigregister(PyObject
*, PyObject
*args
) {
16488 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16489 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
16491 return Py_BuildValue((char *)"");
16493 static PyObject
*_wrap_new_PyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16494 PyObject
*resultobj
;
16495 wxWindow
*arg1
= (wxWindow
*) 0 ;
16496 int arg2
= (int) (int)-1 ;
16497 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16498 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16499 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16500 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16501 long arg5
= (long) 0 ;
16502 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
16503 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
16507 bool temp6
= false ;
16508 PyObject
* obj0
= 0 ;
16509 PyObject
* obj1
= 0 ;
16510 PyObject
* obj2
= 0 ;
16511 PyObject
* obj3
= 0 ;
16512 PyObject
* obj4
= 0 ;
16513 PyObject
* obj5
= 0 ;
16514 char *kwnames
[] = {
16515 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16522 arg2
= (int)SWIG_As_int(obj1
);
16523 if (PyErr_Occurred()) SWIG_fail
;
16528 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16534 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16538 arg5
= (long)SWIG_As_long(obj4
);
16539 if (PyErr_Occurred()) SWIG_fail
;
16543 arg6
= wxString_in_helper(obj5
);
16544 if (arg6
== NULL
) SWIG_fail
;
16549 if (!wxPyCheckForApp()) SWIG_fail
;
16550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16551 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
16553 wxPyEndAllowThreads(__tstate
);
16554 if (PyErr_Occurred()) SWIG_fail
;
16556 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
16571 static PyObject
*_wrap_new_PrePyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16572 PyObject
*resultobj
;
16574 char *kwnames
[] = {
16578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyPanel",kwnames
)) goto fail
;
16580 if (!wxPyCheckForApp()) SWIG_fail
;
16581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16582 result
= (wxPyPanel
*)new wxPyPanel();
16584 wxPyEndAllowThreads(__tstate
);
16585 if (PyErr_Occurred()) SWIG_fail
;
16587 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
16594 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16595 PyObject
*resultobj
;
16596 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16597 PyObject
*arg2
= (PyObject
*) 0 ;
16598 PyObject
*arg3
= (PyObject
*) 0 ;
16599 PyObject
* obj0
= 0 ;
16600 PyObject
* obj1
= 0 ;
16601 PyObject
* obj2
= 0 ;
16602 char *kwnames
[] = {
16603 (char *) "self",(char *) "self",(char *) "_class", NULL
16606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16613 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16615 wxPyEndAllowThreads(__tstate
);
16616 if (PyErr_Occurred()) SWIG_fail
;
16618 Py_INCREF(Py_None
); resultobj
= Py_None
;
16625 static PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16626 PyObject
*resultobj
;
16627 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16630 PyObject
* obj0
= 0 ;
16631 PyObject
* obj1
= 0 ;
16632 char *kwnames
[] = {
16633 (char *) "self",(char *) "size", NULL
16636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16641 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16645 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
16647 wxPyEndAllowThreads(__tstate
);
16648 if (PyErr_Occurred()) SWIG_fail
;
16650 Py_INCREF(Py_None
); resultobj
= Py_None
;
16657 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16658 PyObject
*resultobj
;
16659 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16664 PyObject
* obj0
= 0 ;
16665 PyObject
* obj1
= 0 ;
16666 PyObject
* obj2
= 0 ;
16667 PyObject
* obj3
= 0 ;
16668 PyObject
* obj4
= 0 ;
16669 char *kwnames
[] = {
16670 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16676 arg2
= (int)SWIG_As_int(obj1
);
16677 if (PyErr_Occurred()) SWIG_fail
;
16678 arg3
= (int)SWIG_As_int(obj2
);
16679 if (PyErr_Occurred()) SWIG_fail
;
16680 arg4
= (int)SWIG_As_int(obj3
);
16681 if (PyErr_Occurred()) SWIG_fail
;
16682 arg5
= (int)SWIG_As_int(obj4
);
16683 if (PyErr_Occurred()) SWIG_fail
;
16685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16686 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
16688 wxPyEndAllowThreads(__tstate
);
16689 if (PyErr_Occurred()) SWIG_fail
;
16691 Py_INCREF(Py_None
); resultobj
= Py_None
;
16698 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16699 PyObject
*resultobj
;
16700 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16705 int arg6
= (int) wxSIZE_AUTO
;
16706 PyObject
* obj0
= 0 ;
16707 PyObject
* obj1
= 0 ;
16708 PyObject
* obj2
= 0 ;
16709 PyObject
* obj3
= 0 ;
16710 PyObject
* obj4
= 0 ;
16711 PyObject
* obj5
= 0 ;
16712 char *kwnames
[] = {
16713 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16719 arg2
= (int)SWIG_As_int(obj1
);
16720 if (PyErr_Occurred()) SWIG_fail
;
16721 arg3
= (int)SWIG_As_int(obj2
);
16722 if (PyErr_Occurred()) SWIG_fail
;
16723 arg4
= (int)SWIG_As_int(obj3
);
16724 if (PyErr_Occurred()) SWIG_fail
;
16725 arg5
= (int)SWIG_As_int(obj4
);
16726 if (PyErr_Occurred()) SWIG_fail
;
16728 arg6
= (int)SWIG_As_int(obj5
);
16729 if (PyErr_Occurred()) SWIG_fail
;
16732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16733 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
16735 wxPyEndAllowThreads(__tstate
);
16736 if (PyErr_Occurred()) SWIG_fail
;
16738 Py_INCREF(Py_None
); resultobj
= Py_None
;
16745 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16746 PyObject
*resultobj
;
16747 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16750 PyObject
* obj0
= 0 ;
16751 PyObject
* obj1
= 0 ;
16752 PyObject
* obj2
= 0 ;
16753 char *kwnames
[] = {
16754 (char *) "self",(char *) "width",(char *) "height", NULL
16757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16760 arg2
= (int)SWIG_As_int(obj1
);
16761 if (PyErr_Occurred()) SWIG_fail
;
16762 arg3
= (int)SWIG_As_int(obj2
);
16763 if (PyErr_Occurred()) SWIG_fail
;
16765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16766 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
16768 wxPyEndAllowThreads(__tstate
);
16769 if (PyErr_Occurred()) SWIG_fail
;
16771 Py_INCREF(Py_None
); resultobj
= Py_None
;
16778 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16779 PyObject
*resultobj
;
16780 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16783 PyObject
* obj0
= 0 ;
16784 PyObject
* obj1
= 0 ;
16785 PyObject
* obj2
= 0 ;
16786 char *kwnames
[] = {
16787 (char *) "self",(char *) "x",(char *) "y", NULL
16790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16793 arg2
= (int)SWIG_As_int(obj1
);
16794 if (PyErr_Occurred()) SWIG_fail
;
16795 arg3
= (int)SWIG_As_int(obj2
);
16796 if (PyErr_Occurred()) SWIG_fail
;
16798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16799 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
16801 wxPyEndAllowThreads(__tstate
);
16802 if (PyErr_Occurred()) SWIG_fail
;
16804 Py_INCREF(Py_None
); resultobj
= Py_None
;
16811 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16812 PyObject
*resultobj
;
16813 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16814 int *arg2
= (int *) 0 ;
16815 int *arg3
= (int *) 0 ;
16820 PyObject
* obj0
= 0 ;
16821 char *kwnames
[] = {
16822 (char *) "self", NULL
16825 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16826 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
16828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16832 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
16834 wxPyEndAllowThreads(__tstate
);
16835 if (PyErr_Occurred()) SWIG_fail
;
16837 Py_INCREF(Py_None
); resultobj
= Py_None
;
16838 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16839 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16840 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16841 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16848 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16849 PyObject
*resultobj
;
16850 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16851 int *arg2
= (int *) 0 ;
16852 int *arg3
= (int *) 0 ;
16857 PyObject
* obj0
= 0 ;
16858 char *kwnames
[] = {
16859 (char *) "self", NULL
16862 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16863 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
16865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16869 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
16871 wxPyEndAllowThreads(__tstate
);
16872 if (PyErr_Occurred()) SWIG_fail
;
16874 Py_INCREF(Py_None
); resultobj
= Py_None
;
16875 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16876 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16877 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16878 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16885 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16886 PyObject
*resultobj
;
16887 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16888 int *arg2
= (int *) 0 ;
16889 int *arg3
= (int *) 0 ;
16894 PyObject
* obj0
= 0 ;
16895 char *kwnames
[] = {
16896 (char *) "self", NULL
16899 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16900 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
16902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16906 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
16908 wxPyEndAllowThreads(__tstate
);
16909 if (PyErr_Occurred()) SWIG_fail
;
16911 Py_INCREF(Py_None
); resultobj
= Py_None
;
16912 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16913 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16914 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16915 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16922 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16923 PyObject
*resultobj
;
16924 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16926 PyObject
* obj0
= 0 ;
16927 char *kwnames
[] = {
16928 (char *) "self", NULL
16931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
16932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16936 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
16938 wxPyEndAllowThreads(__tstate
);
16939 if (PyErr_Occurred()) SWIG_fail
;
16942 wxSize
* resultptr
;
16943 resultptr
= new wxSize((wxSize
&) result
);
16944 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16952 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16953 PyObject
*resultobj
;
16954 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16956 PyObject
* obj0
= 0 ;
16957 char *kwnames
[] = {
16958 (char *) "self", NULL
16961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
16962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16966 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
16968 wxPyEndAllowThreads(__tstate
);
16969 if (PyErr_Occurred()) SWIG_fail
;
16972 wxSize
* resultptr
;
16973 resultptr
= new wxSize((wxSize
&) result
);
16974 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16982 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16983 PyObject
*resultobj
;
16984 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16985 PyObject
* obj0
= 0 ;
16986 char *kwnames
[] = {
16987 (char *) "self", NULL
16990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
16991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16995 (arg1
)->base_InitDialog();
16997 wxPyEndAllowThreads(__tstate
);
16998 if (PyErr_Occurred()) SWIG_fail
;
17000 Py_INCREF(Py_None
); resultobj
= Py_None
;
17007 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17008 PyObject
*resultobj
;
17009 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17011 PyObject
* obj0
= 0 ;
17012 char *kwnames
[] = {
17013 (char *) "self", NULL
17016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
17017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17021 result
= (bool)(arg1
)->base_TransferDataToWindow();
17023 wxPyEndAllowThreads(__tstate
);
17024 if (PyErr_Occurred()) SWIG_fail
;
17027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17035 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17036 PyObject
*resultobj
;
17037 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17039 PyObject
* obj0
= 0 ;
17040 char *kwnames
[] = {
17041 (char *) "self", NULL
17044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
17045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17049 result
= (bool)(arg1
)->base_TransferDataFromWindow();
17051 wxPyEndAllowThreads(__tstate
);
17052 if (PyErr_Occurred()) SWIG_fail
;
17055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17063 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17064 PyObject
*resultobj
;
17065 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17067 PyObject
* obj0
= 0 ;
17068 char *kwnames
[] = {
17069 (char *) "self", NULL
17072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
17073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17077 result
= (bool)(arg1
)->base_Validate();
17079 wxPyEndAllowThreads(__tstate
);
17080 if (PyErr_Occurred()) SWIG_fail
;
17083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17091 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17092 PyObject
*resultobj
;
17093 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17095 PyObject
* obj0
= 0 ;
17096 char *kwnames
[] = {
17097 (char *) "self", NULL
17100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
17101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17105 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
17107 wxPyEndAllowThreads(__tstate
);
17108 if (PyErr_Occurred()) SWIG_fail
;
17111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17119 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17120 PyObject
*resultobj
;
17121 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17123 PyObject
* obj0
= 0 ;
17124 char *kwnames
[] = {
17125 (char *) "self", NULL
17128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
17129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17133 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
17135 wxPyEndAllowThreads(__tstate
);
17136 if (PyErr_Occurred()) SWIG_fail
;
17139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17147 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17148 PyObject
*resultobj
;
17149 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17151 PyObject
* obj0
= 0 ;
17152 char *kwnames
[] = {
17153 (char *) "self", NULL
17156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
17157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17161 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
17163 wxPyEndAllowThreads(__tstate
);
17164 if (PyErr_Occurred()) SWIG_fail
;
17167 wxSize
* resultptr
;
17168 resultptr
= new wxSize((wxSize
&) result
);
17169 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17177 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17178 PyObject
*resultobj
;
17179 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17180 wxWindow
*arg2
= (wxWindow
*) 0 ;
17181 PyObject
* obj0
= 0 ;
17182 PyObject
* obj1
= 0 ;
17183 char *kwnames
[] = {
17184 (char *) "self",(char *) "child", NULL
17187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17190 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17194 (arg1
)->base_AddChild(arg2
);
17196 wxPyEndAllowThreads(__tstate
);
17197 if (PyErr_Occurred()) SWIG_fail
;
17199 Py_INCREF(Py_None
); resultobj
= Py_None
;
17206 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17207 PyObject
*resultobj
;
17208 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17209 wxWindow
*arg2
= (wxWindow
*) 0 ;
17210 PyObject
* obj0
= 0 ;
17211 PyObject
* obj1
= 0 ;
17212 char *kwnames
[] = {
17213 (char *) "self",(char *) "child", NULL
17216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17219 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17223 (arg1
)->base_RemoveChild(arg2
);
17225 wxPyEndAllowThreads(__tstate
);
17226 if (PyErr_Occurred()) SWIG_fail
;
17228 Py_INCREF(Py_None
); resultobj
= Py_None
;
17235 static PyObject
*_wrap_PyPanel_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17236 PyObject
*resultobj
;
17237 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17239 PyObject
* obj0
= 0 ;
17240 char *kwnames
[] = {
17241 (char *) "self", NULL
17244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
17245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17249 result
= (bool)((wxPyPanel
const *)arg1
)->base_ShouldInheritColours();
17251 wxPyEndAllowThreads(__tstate
);
17252 if (PyErr_Occurred()) SWIG_fail
;
17255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17263 static PyObject
*_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17264 PyObject
*resultobj
;
17265 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17266 wxColour
*arg2
= 0 ;
17268 PyObject
* obj0
= 0 ;
17269 PyObject
* obj1
= 0 ;
17270 char *kwnames
[] = {
17271 (char *) "self",(char *) "c", NULL
17274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
17275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17279 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17283 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
17285 wxPyEndAllowThreads(__tstate
);
17286 if (PyErr_Occurred()) SWIG_fail
;
17288 Py_INCREF(Py_None
); resultobj
= Py_None
;
17295 static PyObject
*_wrap_PyPanel_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17296 PyObject
*resultobj
;
17297 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17298 wxVisualAttributes result
;
17299 PyObject
* obj0
= 0 ;
17300 char *kwnames
[] = {
17301 (char *) "self", NULL
17304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17309 result
= (arg1
)->base_GetDefaultAttributes();
17311 wxPyEndAllowThreads(__tstate
);
17312 if (PyErr_Occurred()) SWIG_fail
;
17315 wxVisualAttributes
* resultptr
;
17316 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
17317 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17325 static PyObject
* PyPanel_swigregister(PyObject
*, PyObject
*args
) {
17327 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17328 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
17330 return Py_BuildValue((char *)"");
17332 static PyObject
*_wrap_new_PyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17333 PyObject
*resultobj
;
17334 wxWindow
*arg1
= (wxWindow
*) 0 ;
17335 int arg2
= (int) (int)-1 ;
17336 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17337 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17338 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17339 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17340 long arg5
= (long) 0 ;
17341 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
17342 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17343 wxPyScrolledWindow
*result
;
17346 bool temp6
= false ;
17347 PyObject
* obj0
= 0 ;
17348 PyObject
* obj1
= 0 ;
17349 PyObject
* obj2
= 0 ;
17350 PyObject
* obj3
= 0 ;
17351 PyObject
* obj4
= 0 ;
17352 PyObject
* obj5
= 0 ;
17353 char *kwnames
[] = {
17354 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17361 arg2
= (int)SWIG_As_int(obj1
);
17362 if (PyErr_Occurred()) SWIG_fail
;
17367 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17373 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17377 arg5
= (long)SWIG_As_long(obj4
);
17378 if (PyErr_Occurred()) SWIG_fail
;
17382 arg6
= wxString_in_helper(obj5
);
17383 if (arg6
== NULL
) SWIG_fail
;
17388 if (!wxPyCheckForApp()) SWIG_fail
;
17389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17390 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17392 wxPyEndAllowThreads(__tstate
);
17393 if (PyErr_Occurred()) SWIG_fail
;
17395 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
17410 static PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17411 PyObject
*resultobj
;
17412 wxPyScrolledWindow
*result
;
17413 char *kwnames
[] = {
17417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyScrolledWindow",kwnames
)) goto fail
;
17419 if (!wxPyCheckForApp()) SWIG_fail
;
17420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17421 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
17423 wxPyEndAllowThreads(__tstate
);
17424 if (PyErr_Occurred()) SWIG_fail
;
17426 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
17433 static PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17434 PyObject
*resultobj
;
17435 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17436 PyObject
*arg2
= (PyObject
*) 0 ;
17437 PyObject
*arg3
= (PyObject
*) 0 ;
17438 PyObject
* obj0
= 0 ;
17439 PyObject
* obj1
= 0 ;
17440 PyObject
* obj2
= 0 ;
17441 char *kwnames
[] = {
17442 (char *) "self",(char *) "self",(char *) "_class", NULL
17445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17452 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17454 wxPyEndAllowThreads(__tstate
);
17455 if (PyErr_Occurred()) SWIG_fail
;
17457 Py_INCREF(Py_None
); resultobj
= Py_None
;
17464 static PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17465 PyObject
*resultobj
;
17466 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17469 PyObject
* obj0
= 0 ;
17470 PyObject
* obj1
= 0 ;
17471 char *kwnames
[] = {
17472 (char *) "self",(char *) "size", NULL
17475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17480 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17484 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
17486 wxPyEndAllowThreads(__tstate
);
17487 if (PyErr_Occurred()) SWIG_fail
;
17489 Py_INCREF(Py_None
); resultobj
= Py_None
;
17496 static PyObject
*_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17497 PyObject
*resultobj
;
17498 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17503 PyObject
* obj0
= 0 ;
17504 PyObject
* obj1
= 0 ;
17505 PyObject
* obj2
= 0 ;
17506 PyObject
* obj3
= 0 ;
17507 PyObject
* obj4
= 0 ;
17508 char *kwnames
[] = {
17509 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17515 arg2
= (int)SWIG_As_int(obj1
);
17516 if (PyErr_Occurred()) SWIG_fail
;
17517 arg3
= (int)SWIG_As_int(obj2
);
17518 if (PyErr_Occurred()) SWIG_fail
;
17519 arg4
= (int)SWIG_As_int(obj3
);
17520 if (PyErr_Occurred()) SWIG_fail
;
17521 arg5
= (int)SWIG_As_int(obj4
);
17522 if (PyErr_Occurred()) SWIG_fail
;
17524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17525 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
17527 wxPyEndAllowThreads(__tstate
);
17528 if (PyErr_Occurred()) SWIG_fail
;
17530 Py_INCREF(Py_None
); resultobj
= Py_None
;
17537 static PyObject
*_wrap_PyScrolledWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17538 PyObject
*resultobj
;
17539 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17544 int arg6
= (int) wxSIZE_AUTO
;
17545 PyObject
* obj0
= 0 ;
17546 PyObject
* obj1
= 0 ;
17547 PyObject
* obj2
= 0 ;
17548 PyObject
* obj3
= 0 ;
17549 PyObject
* obj4
= 0 ;
17550 PyObject
* obj5
= 0 ;
17551 char *kwnames
[] = {
17552 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17558 arg2
= (int)SWIG_As_int(obj1
);
17559 if (PyErr_Occurred()) SWIG_fail
;
17560 arg3
= (int)SWIG_As_int(obj2
);
17561 if (PyErr_Occurred()) SWIG_fail
;
17562 arg4
= (int)SWIG_As_int(obj3
);
17563 if (PyErr_Occurred()) SWIG_fail
;
17564 arg5
= (int)SWIG_As_int(obj4
);
17565 if (PyErr_Occurred()) SWIG_fail
;
17567 arg6
= (int)SWIG_As_int(obj5
);
17568 if (PyErr_Occurred()) SWIG_fail
;
17571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17572 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
17574 wxPyEndAllowThreads(__tstate
);
17575 if (PyErr_Occurred()) SWIG_fail
;
17577 Py_INCREF(Py_None
); resultobj
= Py_None
;
17584 static PyObject
*_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17585 PyObject
*resultobj
;
17586 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17589 PyObject
* obj0
= 0 ;
17590 PyObject
* obj1
= 0 ;
17591 PyObject
* obj2
= 0 ;
17592 char *kwnames
[] = {
17593 (char *) "self",(char *) "width",(char *) "height", NULL
17596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17599 arg2
= (int)SWIG_As_int(obj1
);
17600 if (PyErr_Occurred()) SWIG_fail
;
17601 arg3
= (int)SWIG_As_int(obj2
);
17602 if (PyErr_Occurred()) SWIG_fail
;
17604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17605 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
17607 wxPyEndAllowThreads(__tstate
);
17608 if (PyErr_Occurred()) SWIG_fail
;
17610 Py_INCREF(Py_None
); resultobj
= Py_None
;
17617 static PyObject
*_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17618 PyObject
*resultobj
;
17619 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17622 PyObject
* obj0
= 0 ;
17623 PyObject
* obj1
= 0 ;
17624 PyObject
* obj2
= 0 ;
17625 char *kwnames
[] = {
17626 (char *) "self",(char *) "x",(char *) "y", NULL
17629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17632 arg2
= (int)SWIG_As_int(obj1
);
17633 if (PyErr_Occurred()) SWIG_fail
;
17634 arg3
= (int)SWIG_As_int(obj2
);
17635 if (PyErr_Occurred()) SWIG_fail
;
17637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17638 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
17640 wxPyEndAllowThreads(__tstate
);
17641 if (PyErr_Occurred()) SWIG_fail
;
17643 Py_INCREF(Py_None
); resultobj
= Py_None
;
17650 static PyObject
*_wrap_PyScrolledWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17651 PyObject
*resultobj
;
17652 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17653 int *arg2
= (int *) 0 ;
17654 int *arg3
= (int *) 0 ;
17659 PyObject
* obj0
= 0 ;
17660 char *kwnames
[] = {
17661 (char *) "self", NULL
17664 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17665 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
17667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17671 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
17673 wxPyEndAllowThreads(__tstate
);
17674 if (PyErr_Occurred()) SWIG_fail
;
17676 Py_INCREF(Py_None
); resultobj
= Py_None
;
17677 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17678 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17679 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17680 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17687 static PyObject
*_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17688 PyObject
*resultobj
;
17689 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17690 int *arg2
= (int *) 0 ;
17691 int *arg3
= (int *) 0 ;
17696 PyObject
* obj0
= 0 ;
17697 char *kwnames
[] = {
17698 (char *) "self", NULL
17701 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17702 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
17704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17708 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
17710 wxPyEndAllowThreads(__tstate
);
17711 if (PyErr_Occurred()) SWIG_fail
;
17713 Py_INCREF(Py_None
); resultobj
= Py_None
;
17714 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17715 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17716 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17717 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17724 static PyObject
*_wrap_PyScrolledWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17725 PyObject
*resultobj
;
17726 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17727 int *arg2
= (int *) 0 ;
17728 int *arg3
= (int *) 0 ;
17733 PyObject
* obj0
= 0 ;
17734 char *kwnames
[] = {
17735 (char *) "self", NULL
17738 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17739 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
17741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17745 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
17747 wxPyEndAllowThreads(__tstate
);
17748 if (PyErr_Occurred()) SWIG_fail
;
17750 Py_INCREF(Py_None
); resultobj
= Py_None
;
17751 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17752 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17753 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17754 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17761 static PyObject
*_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17762 PyObject
*resultobj
;
17763 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17765 PyObject
* obj0
= 0 ;
17766 char *kwnames
[] = {
17767 (char *) "self", NULL
17770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
17771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17775 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetVirtualSize();
17777 wxPyEndAllowThreads(__tstate
);
17778 if (PyErr_Occurred()) SWIG_fail
;
17781 wxSize
* resultptr
;
17782 resultptr
= new wxSize((wxSize
&) result
);
17783 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17791 static PyObject
*_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17792 PyObject
*resultobj
;
17793 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17795 PyObject
* obj0
= 0 ;
17796 char *kwnames
[] = {
17797 (char *) "self", NULL
17800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
17801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17805 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetBestSize();
17807 wxPyEndAllowThreads(__tstate
);
17808 if (PyErr_Occurred()) SWIG_fail
;
17811 wxSize
* resultptr
;
17812 resultptr
= new wxSize((wxSize
&) result
);
17813 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17821 static PyObject
*_wrap_PyScrolledWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17822 PyObject
*resultobj
;
17823 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17824 PyObject
* obj0
= 0 ;
17825 char *kwnames
[] = {
17826 (char *) "self", NULL
17829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
17830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17834 (arg1
)->base_InitDialog();
17836 wxPyEndAllowThreads(__tstate
);
17837 if (PyErr_Occurred()) SWIG_fail
;
17839 Py_INCREF(Py_None
); resultobj
= Py_None
;
17846 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17847 PyObject
*resultobj
;
17848 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17850 PyObject
* obj0
= 0 ;
17851 char *kwnames
[] = {
17852 (char *) "self", NULL
17855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
17856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17860 result
= (bool)(arg1
)->base_TransferDataToWindow();
17862 wxPyEndAllowThreads(__tstate
);
17863 if (PyErr_Occurred()) SWIG_fail
;
17866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17874 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17875 PyObject
*resultobj
;
17876 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17878 PyObject
* obj0
= 0 ;
17879 char *kwnames
[] = {
17880 (char *) "self", NULL
17883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
17884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17888 result
= (bool)(arg1
)->base_TransferDataFromWindow();
17890 wxPyEndAllowThreads(__tstate
);
17891 if (PyErr_Occurred()) SWIG_fail
;
17894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17902 static PyObject
*_wrap_PyScrolledWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17903 PyObject
*resultobj
;
17904 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17906 PyObject
* obj0
= 0 ;
17907 char *kwnames
[] = {
17908 (char *) "self", NULL
17911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
17912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17916 result
= (bool)(arg1
)->base_Validate();
17918 wxPyEndAllowThreads(__tstate
);
17919 if (PyErr_Occurred()) SWIG_fail
;
17922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17930 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17931 PyObject
*resultobj
;
17932 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17934 PyObject
* obj0
= 0 ;
17935 char *kwnames
[] = {
17936 (char *) "self", NULL
17939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
17940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17944 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocus();
17946 wxPyEndAllowThreads(__tstate
);
17947 if (PyErr_Occurred()) SWIG_fail
;
17950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17958 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17959 PyObject
*resultobj
;
17960 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17962 PyObject
* obj0
= 0 ;
17963 char *kwnames
[] = {
17964 (char *) "self", NULL
17967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
17968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17972 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
17974 wxPyEndAllowThreads(__tstate
);
17975 if (PyErr_Occurred()) SWIG_fail
;
17978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17986 static PyObject
*_wrap_PyScrolledWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17987 PyObject
*resultobj
;
17988 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17990 PyObject
* obj0
= 0 ;
17991 char *kwnames
[] = {
17992 (char *) "self", NULL
17995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
17996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18000 result
= ((wxPyScrolledWindow
const *)arg1
)->base_GetMaxSize();
18002 wxPyEndAllowThreads(__tstate
);
18003 if (PyErr_Occurred()) SWIG_fail
;
18006 wxSize
* resultptr
;
18007 resultptr
= new wxSize((wxSize
&) result
);
18008 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18016 static PyObject
*_wrap_PyScrolledWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18017 PyObject
*resultobj
;
18018 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18019 wxWindow
*arg2
= (wxWindow
*) 0 ;
18020 PyObject
* obj0
= 0 ;
18021 PyObject
* obj1
= 0 ;
18022 char *kwnames
[] = {
18023 (char *) "self",(char *) "child", NULL
18026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
18027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18029 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18033 (arg1
)->base_AddChild(arg2
);
18035 wxPyEndAllowThreads(__tstate
);
18036 if (PyErr_Occurred()) SWIG_fail
;
18038 Py_INCREF(Py_None
); resultobj
= Py_None
;
18045 static PyObject
*_wrap_PyScrolledWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18046 PyObject
*resultobj
;
18047 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18048 wxWindow
*arg2
= (wxWindow
*) 0 ;
18049 PyObject
* obj0
= 0 ;
18050 PyObject
* obj1
= 0 ;
18051 char *kwnames
[] = {
18052 (char *) "self",(char *) "child", NULL
18055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
18056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18058 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18062 (arg1
)->base_RemoveChild(arg2
);
18064 wxPyEndAllowThreads(__tstate
);
18065 if (PyErr_Occurred()) SWIG_fail
;
18067 Py_INCREF(Py_None
); resultobj
= Py_None
;
18074 static PyObject
*_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18075 PyObject
*resultobj
;
18076 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18078 PyObject
* obj0
= 0 ;
18079 char *kwnames
[] = {
18080 (char *) "self", NULL
18083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
18084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18088 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_ShouldInheritColours();
18090 wxPyEndAllowThreads(__tstate
);
18091 if (PyErr_Occurred()) SWIG_fail
;
18094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18102 static PyObject
*_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18103 PyObject
*resultobj
;
18104 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18105 wxColour
*arg2
= 0 ;
18107 PyObject
* obj0
= 0 ;
18108 PyObject
* obj1
= 0 ;
18109 char *kwnames
[] = {
18110 (char *) "self",(char *) "c", NULL
18113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
18114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18118 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18122 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
18124 wxPyEndAllowThreads(__tstate
);
18125 if (PyErr_Occurred()) SWIG_fail
;
18127 Py_INCREF(Py_None
); resultobj
= Py_None
;
18134 static PyObject
*_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18135 PyObject
*resultobj
;
18136 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18137 wxVisualAttributes result
;
18138 PyObject
* obj0
= 0 ;
18139 char *kwnames
[] = {
18140 (char *) "self", NULL
18143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
18144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18148 result
= (arg1
)->base_GetDefaultAttributes();
18150 wxPyEndAllowThreads(__tstate
);
18151 if (PyErr_Occurred()) SWIG_fail
;
18154 wxVisualAttributes
* resultptr
;
18155 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
18156 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
18164 static PyObject
* PyScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
18166 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18167 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow
, obj
);
18169 return Py_BuildValue((char *)"");
18171 static int _wrap_PrintoutTitleStr_set(PyObject
*) {
18172 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
18177 static PyObject
*_wrap_PrintoutTitleStr_get() {
18182 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
18184 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
18191 static int _wrap_PreviewCanvasNameStr_set(PyObject
*) {
18192 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
18197 static PyObject
*_wrap_PreviewCanvasNameStr_get() {
18202 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
18204 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
18211 static PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*, PyObject
*args
) {
18212 PyObject
*resultobj
;
18213 wxPrintData
*result
;
18215 if(!PyArg_ParseTuple(args
,(char *)":new_PrintData")) goto fail
;
18217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18218 result
= (wxPrintData
*)new wxPrintData();
18220 wxPyEndAllowThreads(__tstate
);
18221 if (PyErr_Occurred()) SWIG_fail
;
18223 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
18230 static PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*, PyObject
*args
) {
18231 PyObject
*resultobj
;
18232 wxPrintData
*arg1
= 0 ;
18233 wxPrintData
*result
;
18234 PyObject
* obj0
= 0 ;
18236 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintData",&obj0
)) goto fail
;
18237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18238 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18240 if (arg1
== NULL
) {
18241 PyErr_SetString(PyExc_TypeError
,"null reference");
18245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18246 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
18248 wxPyEndAllowThreads(__tstate
);
18249 if (PyErr_Occurred()) SWIG_fail
;
18251 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
18258 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
18263 argc
= PyObject_Length(args
);
18264 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
18265 argv
[ii
] = PyTuple_GetItem(args
,ii
);
18268 return _wrap_new_PrintData__SWIG_0(self
,args
);
18274 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
18282 return _wrap_new_PrintData__SWIG_1(self
,args
);
18286 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintData'");
18291 static PyObject
*_wrap_delete_PrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18292 PyObject
*resultobj
;
18293 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18294 PyObject
* obj0
= 0 ;
18295 char *kwnames
[] = {
18296 (char *) "self", NULL
18299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
18300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18306 wxPyEndAllowThreads(__tstate
);
18307 if (PyErr_Occurred()) SWIG_fail
;
18309 Py_INCREF(Py_None
); resultobj
= Py_None
;
18316 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18317 PyObject
*resultobj
;
18318 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18320 PyObject
* obj0
= 0 ;
18321 char *kwnames
[] = {
18322 (char *) "self", NULL
18325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
18326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18330 result
= (int)(arg1
)->GetNoCopies();
18332 wxPyEndAllowThreads(__tstate
);
18333 if (PyErr_Occurred()) SWIG_fail
;
18335 resultobj
= SWIG_From_int((int)result
);
18342 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18343 PyObject
*resultobj
;
18344 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18346 PyObject
* obj0
= 0 ;
18347 char *kwnames
[] = {
18348 (char *) "self", NULL
18351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
18352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18356 result
= (bool)(arg1
)->GetCollate();
18358 wxPyEndAllowThreads(__tstate
);
18359 if (PyErr_Occurred()) SWIG_fail
;
18362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18370 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18371 PyObject
*resultobj
;
18372 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18374 PyObject
* obj0
= 0 ;
18375 char *kwnames
[] = {
18376 (char *) "self", NULL
18379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
18380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18384 result
= (int)(arg1
)->GetOrientation();
18386 wxPyEndAllowThreads(__tstate
);
18387 if (PyErr_Occurred()) SWIG_fail
;
18389 resultobj
= SWIG_From_int((int)result
);
18396 static PyObject
*_wrap_PrintData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18397 PyObject
*resultobj
;
18398 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18400 PyObject
* obj0
= 0 ;
18401 char *kwnames
[] = {
18402 (char *) "self", NULL
18405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
18406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18410 result
= (bool)(arg1
)->Ok();
18412 wxPyEndAllowThreads(__tstate
);
18413 if (PyErr_Occurred()) SWIG_fail
;
18416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18424 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18425 PyObject
*resultobj
;
18426 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18428 PyObject
* obj0
= 0 ;
18429 char *kwnames
[] = {
18430 (char *) "self", NULL
18433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
18434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18439 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
18440 result
= (wxString
*) &_result_ref
;
18443 wxPyEndAllowThreads(__tstate
);
18444 if (PyErr_Occurred()) SWIG_fail
;
18448 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18450 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18459 static PyObject
*_wrap_PrintData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18460 PyObject
*resultobj
;
18461 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18463 PyObject
* obj0
= 0 ;
18464 char *kwnames
[] = {
18465 (char *) "self", NULL
18468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
18469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18473 result
= (bool)(arg1
)->GetColour();
18475 wxPyEndAllowThreads(__tstate
);
18476 if (PyErr_Occurred()) SWIG_fail
;
18479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18487 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18488 PyObject
*resultobj
;
18489 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18491 PyObject
* obj0
= 0 ;
18492 char *kwnames
[] = {
18493 (char *) "self", NULL
18496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
18497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18501 result
= (int)(arg1
)->GetDuplex();
18503 wxPyEndAllowThreads(__tstate
);
18504 if (PyErr_Occurred()) SWIG_fail
;
18506 resultobj
= SWIG_From_int((int)result
);
18513 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18514 PyObject
*resultobj
;
18515 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18517 PyObject
* obj0
= 0 ;
18518 char *kwnames
[] = {
18519 (char *) "self", NULL
18522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
18523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18527 result
= (int)(arg1
)->GetPaperId();
18529 wxPyEndAllowThreads(__tstate
);
18530 if (PyErr_Occurred()) SWIG_fail
;
18532 resultobj
= SWIG_From_int((int)result
);
18539 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18540 PyObject
*resultobj
;
18541 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18543 PyObject
* obj0
= 0 ;
18544 char *kwnames
[] = {
18545 (char *) "self", NULL
18548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
18549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18554 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
18555 result
= (wxSize
*) &_result_ref
;
18558 wxPyEndAllowThreads(__tstate
);
18559 if (PyErr_Occurred()) SWIG_fail
;
18561 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
18568 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18569 PyObject
*resultobj
;
18570 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18572 PyObject
* obj0
= 0 ;
18573 char *kwnames
[] = {
18574 (char *) "self", NULL
18577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
18578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18582 result
= (int)(arg1
)->GetQuality();
18584 wxPyEndAllowThreads(__tstate
);
18585 if (PyErr_Occurred()) SWIG_fail
;
18587 resultobj
= SWIG_From_int((int)result
);
18594 static PyObject
*_wrap_PrintData_GetBin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18595 PyObject
*resultobj
;
18596 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18598 PyObject
* obj0
= 0 ;
18599 char *kwnames
[] = {
18600 (char *) "self", NULL
18603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetBin",kwnames
,&obj0
)) goto fail
;
18604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18608 result
= (int)(arg1
)->GetBin();
18610 wxPyEndAllowThreads(__tstate
);
18611 if (PyErr_Occurred()) SWIG_fail
;
18613 resultobj
= SWIG_From_int((int)result
);
18620 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18621 PyObject
*resultobj
;
18622 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18624 PyObject
* obj0
= 0 ;
18625 PyObject
* obj1
= 0 ;
18626 char *kwnames
[] = {
18627 (char *) "self",(char *) "v", NULL
18630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
18631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18633 arg2
= (int)SWIG_As_int(obj1
);
18634 if (PyErr_Occurred()) SWIG_fail
;
18636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18637 (arg1
)->SetNoCopies(arg2
);
18639 wxPyEndAllowThreads(__tstate
);
18640 if (PyErr_Occurred()) SWIG_fail
;
18642 Py_INCREF(Py_None
); resultobj
= Py_None
;
18649 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18650 PyObject
*resultobj
;
18651 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18653 PyObject
* obj0
= 0 ;
18654 PyObject
* obj1
= 0 ;
18655 char *kwnames
[] = {
18656 (char *) "self",(char *) "flag", NULL
18659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
18660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18662 arg2
= (bool)SWIG_As_bool(obj1
);
18663 if (PyErr_Occurred()) SWIG_fail
;
18665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18666 (arg1
)->SetCollate(arg2
);
18668 wxPyEndAllowThreads(__tstate
);
18669 if (PyErr_Occurred()) SWIG_fail
;
18671 Py_INCREF(Py_None
); resultobj
= Py_None
;
18678 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18679 PyObject
*resultobj
;
18680 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18682 PyObject
* obj0
= 0 ;
18683 PyObject
* obj1
= 0 ;
18684 char *kwnames
[] = {
18685 (char *) "self",(char *) "orient", NULL
18688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
18689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18691 arg2
= (int)SWIG_As_int(obj1
);
18692 if (PyErr_Occurred()) SWIG_fail
;
18694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18695 (arg1
)->SetOrientation(arg2
);
18697 wxPyEndAllowThreads(__tstate
);
18698 if (PyErr_Occurred()) SWIG_fail
;
18700 Py_INCREF(Py_None
); resultobj
= Py_None
;
18707 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18708 PyObject
*resultobj
;
18709 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18710 wxString
*arg2
= 0 ;
18711 bool temp2
= false ;
18712 PyObject
* obj0
= 0 ;
18713 PyObject
* obj1
= 0 ;
18714 char *kwnames
[] = {
18715 (char *) "self",(char *) "name", NULL
18718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
18719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18722 arg2
= wxString_in_helper(obj1
);
18723 if (arg2
== NULL
) SWIG_fail
;
18727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18728 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
18730 wxPyEndAllowThreads(__tstate
);
18731 if (PyErr_Occurred()) SWIG_fail
;
18733 Py_INCREF(Py_None
); resultobj
= Py_None
;
18748 static PyObject
*_wrap_PrintData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18749 PyObject
*resultobj
;
18750 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18752 PyObject
* obj0
= 0 ;
18753 PyObject
* obj1
= 0 ;
18754 char *kwnames
[] = {
18755 (char *) "self",(char *) "colour", NULL
18758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18761 arg2
= (bool)SWIG_As_bool(obj1
);
18762 if (PyErr_Occurred()) SWIG_fail
;
18764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18765 (arg1
)->SetColour(arg2
);
18767 wxPyEndAllowThreads(__tstate
);
18768 if (PyErr_Occurred()) SWIG_fail
;
18770 Py_INCREF(Py_None
); resultobj
= Py_None
;
18777 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18778 PyObject
*resultobj
;
18779 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18781 PyObject
* obj0
= 0 ;
18782 PyObject
* obj1
= 0 ;
18783 char *kwnames
[] = {
18784 (char *) "self",(char *) "duplex", NULL
18787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
18788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18790 arg2
= (int)SWIG_As_int(obj1
);
18791 if (PyErr_Occurred()) SWIG_fail
;
18793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18794 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
18796 wxPyEndAllowThreads(__tstate
);
18797 if (PyErr_Occurred()) SWIG_fail
;
18799 Py_INCREF(Py_None
); resultobj
= Py_None
;
18806 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18807 PyObject
*resultobj
;
18808 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18810 PyObject
* obj0
= 0 ;
18811 PyObject
* obj1
= 0 ;
18812 char *kwnames
[] = {
18813 (char *) "self",(char *) "sizeId", NULL
18816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
18817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18819 arg2
= (int)SWIG_As_int(obj1
);
18820 if (PyErr_Occurred()) SWIG_fail
;
18822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18823 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
18825 wxPyEndAllowThreads(__tstate
);
18826 if (PyErr_Occurred()) SWIG_fail
;
18828 Py_INCREF(Py_None
); resultobj
= Py_None
;
18835 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18836 PyObject
*resultobj
;
18837 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18840 PyObject
* obj0
= 0 ;
18841 PyObject
* obj1
= 0 ;
18842 char *kwnames
[] = {
18843 (char *) "self",(char *) "sz", NULL
18846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18851 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18855 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
18857 wxPyEndAllowThreads(__tstate
);
18858 if (PyErr_Occurred()) SWIG_fail
;
18860 Py_INCREF(Py_None
); resultobj
= Py_None
;
18867 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18868 PyObject
*resultobj
;
18869 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18871 PyObject
* obj0
= 0 ;
18872 PyObject
* obj1
= 0 ;
18873 char *kwnames
[] = {
18874 (char *) "self",(char *) "quality", NULL
18877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
18878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18880 arg2
= (int)SWIG_As_int(obj1
);
18881 if (PyErr_Occurred()) SWIG_fail
;
18883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18884 (arg1
)->SetQuality(arg2
);
18886 wxPyEndAllowThreads(__tstate
);
18887 if (PyErr_Occurred()) SWIG_fail
;
18889 Py_INCREF(Py_None
); resultobj
= Py_None
;
18896 static PyObject
*_wrap_PrintData_SetBin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18897 PyObject
*resultobj
;
18898 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18900 PyObject
* obj0
= 0 ;
18901 PyObject
* obj1
= 0 ;
18902 char *kwnames
[] = {
18903 (char *) "self",(char *) "bin", NULL
18906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) goto fail
;
18907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18909 arg2
= (int)SWIG_As_int(obj1
);
18910 if (PyErr_Occurred()) SWIG_fail
;
18912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18913 (arg1
)->SetBin((wxPrintBin
)arg2
);
18915 wxPyEndAllowThreads(__tstate
);
18916 if (PyErr_Occurred()) SWIG_fail
;
18918 Py_INCREF(Py_None
); resultobj
= Py_None
;
18925 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18926 PyObject
*resultobj
;
18927 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18929 PyObject
* obj0
= 0 ;
18930 char *kwnames
[] = {
18931 (char *) "self", NULL
18934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
18935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18940 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
18941 result
= (wxString
*) &_result_ref
;
18944 wxPyEndAllowThreads(__tstate
);
18945 if (PyErr_Occurred()) SWIG_fail
;
18949 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18951 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18960 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18961 PyObject
*resultobj
;
18962 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18964 PyObject
* obj0
= 0 ;
18965 char *kwnames
[] = {
18966 (char *) "self", NULL
18969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
18970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18975 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
18976 result
= (wxString
*) &_result_ref
;
18979 wxPyEndAllowThreads(__tstate
);
18980 if (PyErr_Occurred()) SWIG_fail
;
18984 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18986 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18995 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18996 PyObject
*resultobj
;
18997 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18999 PyObject
* obj0
= 0 ;
19000 char *kwnames
[] = {
19001 (char *) "self", NULL
19004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
19005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19010 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
19011 result
= (wxString
*) &_result_ref
;
19014 wxPyEndAllowThreads(__tstate
);
19015 if (PyErr_Occurred()) SWIG_fail
;
19019 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19021 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19030 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19031 PyObject
*resultobj
;
19032 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19034 PyObject
* obj0
= 0 ;
19035 char *kwnames
[] = {
19036 (char *) "self", NULL
19039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
19040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19045 wxString
const &_result_ref
= (arg1
)->GetFilename();
19046 result
= (wxString
*) &_result_ref
;
19049 wxPyEndAllowThreads(__tstate
);
19050 if (PyErr_Occurred()) SWIG_fail
;
19054 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19056 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19065 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19066 PyObject
*resultobj
;
19067 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19069 PyObject
* obj0
= 0 ;
19070 char *kwnames
[] = {
19071 (char *) "self", NULL
19074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
19075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19080 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
19081 result
= (wxString
*) &_result_ref
;
19084 wxPyEndAllowThreads(__tstate
);
19085 if (PyErr_Occurred()) SWIG_fail
;
19089 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19091 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19100 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19101 PyObject
*resultobj
;
19102 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19104 PyObject
* obj0
= 0 ;
19105 char *kwnames
[] = {
19106 (char *) "self", NULL
19109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
19110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19114 result
= (double)(arg1
)->GetPrinterScaleX();
19116 wxPyEndAllowThreads(__tstate
);
19117 if (PyErr_Occurred()) SWIG_fail
;
19119 resultobj
= SWIG_From_double((double)result
);
19126 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19127 PyObject
*resultobj
;
19128 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19130 PyObject
* obj0
= 0 ;
19131 char *kwnames
[] = {
19132 (char *) "self", NULL
19135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
19136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19140 result
= (double)(arg1
)->GetPrinterScaleY();
19142 wxPyEndAllowThreads(__tstate
);
19143 if (PyErr_Occurred()) SWIG_fail
;
19145 resultobj
= SWIG_From_double((double)result
);
19152 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19153 PyObject
*resultobj
;
19154 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19156 PyObject
* obj0
= 0 ;
19157 char *kwnames
[] = {
19158 (char *) "self", NULL
19161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
19162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19166 result
= (long)(arg1
)->GetPrinterTranslateX();
19168 wxPyEndAllowThreads(__tstate
);
19169 if (PyErr_Occurred()) SWIG_fail
;
19171 resultobj
= SWIG_From_long((long)result
);
19178 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19179 PyObject
*resultobj
;
19180 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19182 PyObject
* obj0
= 0 ;
19183 char *kwnames
[] = {
19184 (char *) "self", NULL
19187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
19188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19192 result
= (long)(arg1
)->GetPrinterTranslateY();
19194 wxPyEndAllowThreads(__tstate
);
19195 if (PyErr_Occurred()) SWIG_fail
;
19197 resultobj
= SWIG_From_long((long)result
);
19204 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19205 PyObject
*resultobj
;
19206 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19208 PyObject
* obj0
= 0 ;
19209 char *kwnames
[] = {
19210 (char *) "self", NULL
19213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
19214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19218 result
= (int)(arg1
)->GetPrintMode();
19220 wxPyEndAllowThreads(__tstate
);
19221 if (PyErr_Occurred()) SWIG_fail
;
19223 resultobj
= SWIG_From_int((int)result
);
19230 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19231 PyObject
*resultobj
;
19232 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19233 wxString
*arg2
= 0 ;
19234 bool temp2
= false ;
19235 PyObject
* obj0
= 0 ;
19236 PyObject
* obj1
= 0 ;
19237 char *kwnames
[] = {
19238 (char *) "self",(char *) "command", NULL
19241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
19242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19245 arg2
= wxString_in_helper(obj1
);
19246 if (arg2
== NULL
) SWIG_fail
;
19250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19251 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
19253 wxPyEndAllowThreads(__tstate
);
19254 if (PyErr_Occurred()) SWIG_fail
;
19256 Py_INCREF(Py_None
); resultobj
= Py_None
;
19271 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19272 PyObject
*resultobj
;
19273 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19274 wxString
*arg2
= 0 ;
19275 bool temp2
= false ;
19276 PyObject
* obj0
= 0 ;
19277 PyObject
* obj1
= 0 ;
19278 char *kwnames
[] = {
19279 (char *) "self",(char *) "options", NULL
19282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
19283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19286 arg2
= wxString_in_helper(obj1
);
19287 if (arg2
== NULL
) SWIG_fail
;
19291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19292 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
19294 wxPyEndAllowThreads(__tstate
);
19295 if (PyErr_Occurred()) SWIG_fail
;
19297 Py_INCREF(Py_None
); resultobj
= Py_None
;
19312 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19313 PyObject
*resultobj
;
19314 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19315 wxString
*arg2
= 0 ;
19316 bool temp2
= false ;
19317 PyObject
* obj0
= 0 ;
19318 PyObject
* obj1
= 0 ;
19319 char *kwnames
[] = {
19320 (char *) "self",(char *) "command", NULL
19323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
19324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19327 arg2
= wxString_in_helper(obj1
);
19328 if (arg2
== NULL
) SWIG_fail
;
19332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19333 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
19335 wxPyEndAllowThreads(__tstate
);
19336 if (PyErr_Occurred()) SWIG_fail
;
19338 Py_INCREF(Py_None
); resultobj
= Py_None
;
19353 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19354 PyObject
*resultobj
;
19355 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19356 wxString
*arg2
= 0 ;
19357 bool temp2
= false ;
19358 PyObject
* obj0
= 0 ;
19359 PyObject
* obj1
= 0 ;
19360 char *kwnames
[] = {
19361 (char *) "self",(char *) "filename", NULL
19364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
19365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19368 arg2
= wxString_in_helper(obj1
);
19369 if (arg2
== NULL
) SWIG_fail
;
19373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19374 (arg1
)->SetFilename((wxString
const &)*arg2
);
19376 wxPyEndAllowThreads(__tstate
);
19377 if (PyErr_Occurred()) SWIG_fail
;
19379 Py_INCREF(Py_None
); resultobj
= Py_None
;
19394 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19395 PyObject
*resultobj
;
19396 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19397 wxString
*arg2
= 0 ;
19398 bool temp2
= false ;
19399 PyObject
* obj0
= 0 ;
19400 PyObject
* obj1
= 0 ;
19401 char *kwnames
[] = {
19402 (char *) "self",(char *) "path", NULL
19405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
19406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19409 arg2
= wxString_in_helper(obj1
);
19410 if (arg2
== NULL
) SWIG_fail
;
19414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19415 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
19417 wxPyEndAllowThreads(__tstate
);
19418 if (PyErr_Occurred()) SWIG_fail
;
19420 Py_INCREF(Py_None
); resultobj
= Py_None
;
19435 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19436 PyObject
*resultobj
;
19437 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19439 PyObject
* obj0
= 0 ;
19440 PyObject
* obj1
= 0 ;
19441 char *kwnames
[] = {
19442 (char *) "self",(char *) "x", NULL
19445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
19446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19448 arg2
= (double)SWIG_As_double(obj1
);
19449 if (PyErr_Occurred()) SWIG_fail
;
19451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19452 (arg1
)->SetPrinterScaleX(arg2
);
19454 wxPyEndAllowThreads(__tstate
);
19455 if (PyErr_Occurred()) SWIG_fail
;
19457 Py_INCREF(Py_None
); resultobj
= Py_None
;
19464 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19465 PyObject
*resultobj
;
19466 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19468 PyObject
* obj0
= 0 ;
19469 PyObject
* obj1
= 0 ;
19470 char *kwnames
[] = {
19471 (char *) "self",(char *) "y", NULL
19474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
19475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19477 arg2
= (double)SWIG_As_double(obj1
);
19478 if (PyErr_Occurred()) SWIG_fail
;
19480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19481 (arg1
)->SetPrinterScaleY(arg2
);
19483 wxPyEndAllowThreads(__tstate
);
19484 if (PyErr_Occurred()) SWIG_fail
;
19486 Py_INCREF(Py_None
); resultobj
= Py_None
;
19493 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19494 PyObject
*resultobj
;
19495 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19498 PyObject
* obj0
= 0 ;
19499 PyObject
* obj1
= 0 ;
19500 PyObject
* obj2
= 0 ;
19501 char *kwnames
[] = {
19502 (char *) "self",(char *) "x",(char *) "y", NULL
19505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19508 arg2
= (double)SWIG_As_double(obj1
);
19509 if (PyErr_Occurred()) SWIG_fail
;
19510 arg3
= (double)SWIG_As_double(obj2
);
19511 if (PyErr_Occurred()) SWIG_fail
;
19513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19514 (arg1
)->SetPrinterScaling(arg2
,arg3
);
19516 wxPyEndAllowThreads(__tstate
);
19517 if (PyErr_Occurred()) SWIG_fail
;
19519 Py_INCREF(Py_None
); resultobj
= Py_None
;
19526 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19527 PyObject
*resultobj
;
19528 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19530 PyObject
* obj0
= 0 ;
19531 PyObject
* obj1
= 0 ;
19532 char *kwnames
[] = {
19533 (char *) "self",(char *) "x", NULL
19536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
19537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19539 arg2
= (long)SWIG_As_long(obj1
);
19540 if (PyErr_Occurred()) SWIG_fail
;
19542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19543 (arg1
)->SetPrinterTranslateX(arg2
);
19545 wxPyEndAllowThreads(__tstate
);
19546 if (PyErr_Occurred()) SWIG_fail
;
19548 Py_INCREF(Py_None
); resultobj
= Py_None
;
19555 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19556 PyObject
*resultobj
;
19557 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19559 PyObject
* obj0
= 0 ;
19560 PyObject
* obj1
= 0 ;
19561 char *kwnames
[] = {
19562 (char *) "self",(char *) "y", NULL
19565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
19566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19568 arg2
= (long)SWIG_As_long(obj1
);
19569 if (PyErr_Occurred()) SWIG_fail
;
19571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19572 (arg1
)->SetPrinterTranslateY(arg2
);
19574 wxPyEndAllowThreads(__tstate
);
19575 if (PyErr_Occurred()) SWIG_fail
;
19577 Py_INCREF(Py_None
); resultobj
= Py_None
;
19584 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19585 PyObject
*resultobj
;
19586 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19589 PyObject
* obj0
= 0 ;
19590 PyObject
* obj1
= 0 ;
19591 PyObject
* obj2
= 0 ;
19592 char *kwnames
[] = {
19593 (char *) "self",(char *) "x",(char *) "y", NULL
19596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19599 arg2
= (long)SWIG_As_long(obj1
);
19600 if (PyErr_Occurred()) SWIG_fail
;
19601 arg3
= (long)SWIG_As_long(obj2
);
19602 if (PyErr_Occurred()) SWIG_fail
;
19604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19605 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
19607 wxPyEndAllowThreads(__tstate
);
19608 if (PyErr_Occurred()) SWIG_fail
;
19610 Py_INCREF(Py_None
); resultobj
= Py_None
;
19617 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19618 PyObject
*resultobj
;
19619 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19621 PyObject
* obj0
= 0 ;
19622 PyObject
* obj1
= 0 ;
19623 char *kwnames
[] = {
19624 (char *) "self",(char *) "printMode", NULL
19627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
19628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19630 arg2
= (int)SWIG_As_int(obj1
);
19631 if (PyErr_Occurred()) SWIG_fail
;
19633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19634 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
19636 wxPyEndAllowThreads(__tstate
);
19637 if (PyErr_Occurred()) SWIG_fail
;
19639 Py_INCREF(Py_None
); resultobj
= Py_None
;
19646 static PyObject
*_wrap_PrintData_GetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19647 PyObject
*resultobj
;
19648 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19649 wxOutputStream
*result
;
19650 PyObject
* obj0
= 0 ;
19651 char *kwnames
[] = {
19652 (char *) "self", NULL
19655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOutputStream",kwnames
,&obj0
)) goto fail
;
19656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19660 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
19662 wxPyEndAllowThreads(__tstate
);
19663 if (PyErr_Occurred()) SWIG_fail
;
19665 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
19672 static PyObject
*_wrap_PrintData_SetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19673 PyObject
*resultobj
;
19674 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19675 wxOutputStream
*arg2
= (wxOutputStream
*) 0 ;
19676 PyObject
* obj0
= 0 ;
19677 PyObject
* obj1
= 0 ;
19678 char *kwnames
[] = {
19679 (char *) "self",(char *) "outputstream", NULL
19682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOutputStream",kwnames
,&obj0
,&obj1
)) goto fail
;
19683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19685 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxOutputStream
,
19686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19689 (arg1
)->SetOutputStream(arg2
);
19691 wxPyEndAllowThreads(__tstate
);
19692 if (PyErr_Occurred()) SWIG_fail
;
19694 Py_INCREF(Py_None
); resultobj
= Py_None
;
19701 static PyObject
* PrintData_swigregister(PyObject
*, PyObject
*args
) {
19703 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19704 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
19706 return Py_BuildValue((char *)"");
19708 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
19709 PyObject
*resultobj
;
19710 wxPageSetupDialogData
*result
;
19712 if(!PyArg_ParseTuple(args
,(char *)":new_PageSetupDialogData")) goto fail
;
19714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19715 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
19717 wxPyEndAllowThreads(__tstate
);
19718 if (PyErr_Occurred()) SWIG_fail
;
19720 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
19727 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
19728 PyObject
*resultobj
;
19729 wxPageSetupDialogData
*arg1
= 0 ;
19730 wxPageSetupDialogData
*result
;
19731 PyObject
* obj0
= 0 ;
19733 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
19734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19735 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19737 if (arg1
== NULL
) {
19738 PyErr_SetString(PyExc_TypeError
,"null reference");
19742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19743 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
19745 wxPyEndAllowThreads(__tstate
);
19746 if (PyErr_Occurred()) SWIG_fail
;
19748 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
19755 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
19760 argc
= PyObject_Length(args
);
19761 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
19762 argv
[ii
] = PyTuple_GetItem(args
,ii
);
19765 return _wrap_new_PageSetupDialogData__SWIG_0(self
,args
);
19771 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPageSetupDialogData
, 0) == -1) {
19779 return _wrap_new_PageSetupDialogData__SWIG_1(self
,args
);
19783 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PageSetupDialogData'");
19788 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19789 PyObject
*resultobj
;
19790 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19791 PyObject
* obj0
= 0 ;
19792 char *kwnames
[] = {
19793 (char *) "self", NULL
19796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
19797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19803 wxPyEndAllowThreads(__tstate
);
19804 if (PyErr_Occurred()) SWIG_fail
;
19806 Py_INCREF(Py_None
); resultobj
= Py_None
;
19813 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19814 PyObject
*resultobj
;
19815 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19817 PyObject
* obj0
= 0 ;
19818 PyObject
* obj1
= 0 ;
19819 char *kwnames
[] = {
19820 (char *) "self",(char *) "flag", NULL
19823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19826 arg2
= (bool)SWIG_As_bool(obj1
);
19827 if (PyErr_Occurred()) SWIG_fail
;
19829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19830 (arg1
)->EnableHelp(arg2
);
19832 wxPyEndAllowThreads(__tstate
);
19833 if (PyErr_Occurred()) SWIG_fail
;
19835 Py_INCREF(Py_None
); resultobj
= Py_None
;
19842 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19843 PyObject
*resultobj
;
19844 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19846 PyObject
* obj0
= 0 ;
19847 PyObject
* obj1
= 0 ;
19848 char *kwnames
[] = {
19849 (char *) "self",(char *) "flag", NULL
19852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
19853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19855 arg2
= (bool)SWIG_As_bool(obj1
);
19856 if (PyErr_Occurred()) SWIG_fail
;
19858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19859 (arg1
)->EnableMargins(arg2
);
19861 wxPyEndAllowThreads(__tstate
);
19862 if (PyErr_Occurred()) SWIG_fail
;
19864 Py_INCREF(Py_None
); resultobj
= Py_None
;
19871 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19872 PyObject
*resultobj
;
19873 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19875 PyObject
* obj0
= 0 ;
19876 PyObject
* obj1
= 0 ;
19877 char *kwnames
[] = {
19878 (char *) "self",(char *) "flag", NULL
19881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
19882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19884 arg2
= (bool)SWIG_As_bool(obj1
);
19885 if (PyErr_Occurred()) SWIG_fail
;
19887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19888 (arg1
)->EnableOrientation(arg2
);
19890 wxPyEndAllowThreads(__tstate
);
19891 if (PyErr_Occurred()) SWIG_fail
;
19893 Py_INCREF(Py_None
); resultobj
= Py_None
;
19900 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19901 PyObject
*resultobj
;
19902 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19904 PyObject
* obj0
= 0 ;
19905 PyObject
* obj1
= 0 ;
19906 char *kwnames
[] = {
19907 (char *) "self",(char *) "flag", NULL
19910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
19911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19913 arg2
= (bool)SWIG_As_bool(obj1
);
19914 if (PyErr_Occurred()) SWIG_fail
;
19916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19917 (arg1
)->EnablePaper(arg2
);
19919 wxPyEndAllowThreads(__tstate
);
19920 if (PyErr_Occurred()) SWIG_fail
;
19922 Py_INCREF(Py_None
); resultobj
= Py_None
;
19929 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19930 PyObject
*resultobj
;
19931 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19933 PyObject
* obj0
= 0 ;
19934 PyObject
* obj1
= 0 ;
19935 char *kwnames
[] = {
19936 (char *) "self",(char *) "flag", NULL
19939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
19940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19942 arg2
= (bool)SWIG_As_bool(obj1
);
19943 if (PyErr_Occurred()) SWIG_fail
;
19945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19946 (arg1
)->EnablePrinter(arg2
);
19948 wxPyEndAllowThreads(__tstate
);
19949 if (PyErr_Occurred()) SWIG_fail
;
19951 Py_INCREF(Py_None
); resultobj
= Py_None
;
19958 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19959 PyObject
*resultobj
;
19960 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19962 PyObject
* obj0
= 0 ;
19963 char *kwnames
[] = {
19964 (char *) "self", NULL
19967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
19968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19972 result
= (bool)(arg1
)->GetDefaultMinMargins();
19974 wxPyEndAllowThreads(__tstate
);
19975 if (PyErr_Occurred()) SWIG_fail
;
19978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19986 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19987 PyObject
*resultobj
;
19988 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19990 PyObject
* obj0
= 0 ;
19991 char *kwnames
[] = {
19992 (char *) "self", NULL
19995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
19996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20000 result
= (bool)(arg1
)->GetEnableMargins();
20002 wxPyEndAllowThreads(__tstate
);
20003 if (PyErr_Occurred()) SWIG_fail
;
20006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20014 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20015 PyObject
*resultobj
;
20016 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20018 PyObject
* obj0
= 0 ;
20019 char *kwnames
[] = {
20020 (char *) "self", NULL
20023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
20024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20028 result
= (bool)(arg1
)->GetEnableOrientation();
20030 wxPyEndAllowThreads(__tstate
);
20031 if (PyErr_Occurred()) SWIG_fail
;
20034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20042 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20043 PyObject
*resultobj
;
20044 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20046 PyObject
* obj0
= 0 ;
20047 char *kwnames
[] = {
20048 (char *) "self", NULL
20051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
20052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20056 result
= (bool)(arg1
)->GetEnablePaper();
20058 wxPyEndAllowThreads(__tstate
);
20059 if (PyErr_Occurred()) SWIG_fail
;
20062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20070 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20071 PyObject
*resultobj
;
20072 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20074 PyObject
* obj0
= 0 ;
20075 char *kwnames
[] = {
20076 (char *) "self", NULL
20079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
20080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20084 result
= (bool)(arg1
)->GetEnablePrinter();
20086 wxPyEndAllowThreads(__tstate
);
20087 if (PyErr_Occurred()) SWIG_fail
;
20090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20098 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20099 PyObject
*resultobj
;
20100 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20102 PyObject
* obj0
= 0 ;
20103 char *kwnames
[] = {
20104 (char *) "self", NULL
20107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
20108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20112 result
= (bool)(arg1
)->GetEnableHelp();
20114 wxPyEndAllowThreads(__tstate
);
20115 if (PyErr_Occurred()) SWIG_fail
;
20118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20126 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20127 PyObject
*resultobj
;
20128 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20130 PyObject
* obj0
= 0 ;
20131 char *kwnames
[] = {
20132 (char *) "self", NULL
20135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
20136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20140 result
= (bool)(arg1
)->GetDefaultInfo();
20142 wxPyEndAllowThreads(__tstate
);
20143 if (PyErr_Occurred()) SWIG_fail
;
20146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20154 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20155 PyObject
*resultobj
;
20156 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20158 PyObject
* obj0
= 0 ;
20159 char *kwnames
[] = {
20160 (char *) "self", NULL
20163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
20164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20168 result
= (arg1
)->GetMarginTopLeft();
20170 wxPyEndAllowThreads(__tstate
);
20171 if (PyErr_Occurred()) SWIG_fail
;
20174 wxPoint
* resultptr
;
20175 resultptr
= new wxPoint((wxPoint
&) result
);
20176 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20184 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20185 PyObject
*resultobj
;
20186 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20188 PyObject
* obj0
= 0 ;
20189 char *kwnames
[] = {
20190 (char *) "self", NULL
20193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
20194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20198 result
= (arg1
)->GetMarginBottomRight();
20200 wxPyEndAllowThreads(__tstate
);
20201 if (PyErr_Occurred()) SWIG_fail
;
20204 wxPoint
* resultptr
;
20205 resultptr
= new wxPoint((wxPoint
&) result
);
20206 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20214 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20215 PyObject
*resultobj
;
20216 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20218 PyObject
* obj0
= 0 ;
20219 char *kwnames
[] = {
20220 (char *) "self", NULL
20223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
20224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20228 result
= (arg1
)->GetMinMarginTopLeft();
20230 wxPyEndAllowThreads(__tstate
);
20231 if (PyErr_Occurred()) SWIG_fail
;
20234 wxPoint
* resultptr
;
20235 resultptr
= new wxPoint((wxPoint
&) result
);
20236 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20244 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20245 PyObject
*resultobj
;
20246 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20248 PyObject
* obj0
= 0 ;
20249 char *kwnames
[] = {
20250 (char *) "self", NULL
20253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
20254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20258 result
= (arg1
)->GetMinMarginBottomRight();
20260 wxPyEndAllowThreads(__tstate
);
20261 if (PyErr_Occurred()) SWIG_fail
;
20264 wxPoint
* resultptr
;
20265 resultptr
= new wxPoint((wxPoint
&) result
);
20266 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20274 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20275 PyObject
*resultobj
;
20276 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20278 PyObject
* obj0
= 0 ;
20279 char *kwnames
[] = {
20280 (char *) "self", NULL
20283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
20284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20288 result
= (int)(arg1
)->GetPaperId();
20290 wxPyEndAllowThreads(__tstate
);
20291 if (PyErr_Occurred()) SWIG_fail
;
20293 resultobj
= SWIG_From_int((int)result
);
20300 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20301 PyObject
*resultobj
;
20302 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20304 PyObject
* obj0
= 0 ;
20305 char *kwnames
[] = {
20306 (char *) "self", NULL
20309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
20310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20314 result
= (arg1
)->GetPaperSize();
20316 wxPyEndAllowThreads(__tstate
);
20317 if (PyErr_Occurred()) SWIG_fail
;
20320 wxSize
* resultptr
;
20321 resultptr
= new wxSize((wxSize
&) result
);
20322 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20330 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20331 PyObject
*resultobj
;
20332 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20333 wxPrintData
*result
;
20334 PyObject
* obj0
= 0 ;
20335 char *kwnames
[] = {
20336 (char *) "self", NULL
20339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
20340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20345 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
20346 result
= (wxPrintData
*) &_result_ref
;
20349 wxPyEndAllowThreads(__tstate
);
20350 if (PyErr_Occurred()) SWIG_fail
;
20352 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
20359 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20360 PyObject
*resultobj
;
20361 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20363 PyObject
* obj0
= 0 ;
20364 char *kwnames
[] = {
20365 (char *) "self", NULL
20368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
20369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20373 result
= (bool)(arg1
)->Ok();
20375 wxPyEndAllowThreads(__tstate
);
20376 if (PyErr_Occurred()) SWIG_fail
;
20379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20387 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20388 PyObject
*resultobj
;
20389 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20391 PyObject
* obj0
= 0 ;
20392 PyObject
* obj1
= 0 ;
20393 char *kwnames
[] = {
20394 (char *) "self",(char *) "flag", NULL
20397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
20398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20400 arg2
= (bool)SWIG_As_bool(obj1
);
20401 if (PyErr_Occurred()) SWIG_fail
;
20403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20404 (arg1
)->SetDefaultInfo(arg2
);
20406 wxPyEndAllowThreads(__tstate
);
20407 if (PyErr_Occurred()) SWIG_fail
;
20409 Py_INCREF(Py_None
); resultobj
= Py_None
;
20416 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20417 PyObject
*resultobj
;
20418 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20420 PyObject
* obj0
= 0 ;
20421 PyObject
* obj1
= 0 ;
20422 char *kwnames
[] = {
20423 (char *) "self",(char *) "flag", NULL
20426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
20427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20429 arg2
= (bool)SWIG_As_bool(obj1
);
20430 if (PyErr_Occurred()) SWIG_fail
;
20432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20433 (arg1
)->SetDefaultMinMargins(arg2
);
20435 wxPyEndAllowThreads(__tstate
);
20436 if (PyErr_Occurred()) SWIG_fail
;
20438 Py_INCREF(Py_None
); resultobj
= Py_None
;
20445 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20446 PyObject
*resultobj
;
20447 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20448 wxPoint
*arg2
= 0 ;
20450 PyObject
* obj0
= 0 ;
20451 PyObject
* obj1
= 0 ;
20452 char *kwnames
[] = {
20453 (char *) "self",(char *) "pt", NULL
20456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
20457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20461 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20465 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
20467 wxPyEndAllowThreads(__tstate
);
20468 if (PyErr_Occurred()) SWIG_fail
;
20470 Py_INCREF(Py_None
); resultobj
= Py_None
;
20477 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20478 PyObject
*resultobj
;
20479 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20480 wxPoint
*arg2
= 0 ;
20482 PyObject
* obj0
= 0 ;
20483 PyObject
* obj1
= 0 ;
20484 char *kwnames
[] = {
20485 (char *) "self",(char *) "pt", NULL
20488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
20489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20493 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20497 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
20499 wxPyEndAllowThreads(__tstate
);
20500 if (PyErr_Occurred()) SWIG_fail
;
20502 Py_INCREF(Py_None
); resultobj
= Py_None
;
20509 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20510 PyObject
*resultobj
;
20511 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20512 wxPoint
*arg2
= 0 ;
20514 PyObject
* obj0
= 0 ;
20515 PyObject
* obj1
= 0 ;
20516 char *kwnames
[] = {
20517 (char *) "self",(char *) "pt", NULL
20520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
20521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20525 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20529 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
20531 wxPyEndAllowThreads(__tstate
);
20532 if (PyErr_Occurred()) SWIG_fail
;
20534 Py_INCREF(Py_None
); resultobj
= Py_None
;
20541 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20542 PyObject
*resultobj
;
20543 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20544 wxPoint
*arg2
= 0 ;
20546 PyObject
* obj0
= 0 ;
20547 PyObject
* obj1
= 0 ;
20548 char *kwnames
[] = {
20549 (char *) "self",(char *) "pt", NULL
20552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
20553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20557 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20561 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
20563 wxPyEndAllowThreads(__tstate
);
20564 if (PyErr_Occurred()) SWIG_fail
;
20566 Py_INCREF(Py_None
); resultobj
= Py_None
;
20573 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20574 PyObject
*resultobj
;
20575 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20577 PyObject
* obj0
= 0 ;
20578 PyObject
* obj1
= 0 ;
20579 char *kwnames
[] = {
20580 (char *) "self",(char *) "id", NULL
20583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
20584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20586 arg2
= (int)SWIG_As_int(obj1
);
20587 if (PyErr_Occurred()) SWIG_fail
;
20589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20590 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
20592 wxPyEndAllowThreads(__tstate
);
20593 if (PyErr_Occurred()) SWIG_fail
;
20595 Py_INCREF(Py_None
); resultobj
= Py_None
;
20602 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20603 PyObject
*resultobj
;
20604 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20607 PyObject
* obj0
= 0 ;
20608 PyObject
* obj1
= 0 ;
20609 char *kwnames
[] = {
20610 (char *) "self",(char *) "size", NULL
20613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20618 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20622 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
20624 wxPyEndAllowThreads(__tstate
);
20625 if (PyErr_Occurred()) SWIG_fail
;
20627 Py_INCREF(Py_None
); resultobj
= Py_None
;
20634 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20635 PyObject
*resultobj
;
20636 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20637 wxPrintData
*arg2
= 0 ;
20638 PyObject
* obj0
= 0 ;
20639 PyObject
* obj1
= 0 ;
20640 char *kwnames
[] = {
20641 (char *) "self",(char *) "printData", NULL
20644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
20645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20647 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
20648 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20650 if (arg2
== NULL
) {
20651 PyErr_SetString(PyExc_TypeError
,"null reference");
20655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20656 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
20658 wxPyEndAllowThreads(__tstate
);
20659 if (PyErr_Occurred()) SWIG_fail
;
20661 Py_INCREF(Py_None
); resultobj
= Py_None
;
20668 static PyObject
* PageSetupDialogData_swigregister(PyObject
*, PyObject
*args
) {
20670 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20671 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
20673 return Py_BuildValue((char *)"");
20675 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20676 PyObject
*resultobj
;
20677 wxWindow
*arg1
= (wxWindow
*) 0 ;
20678 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
20679 wxPageSetupDialog
*result
;
20680 PyObject
* obj0
= 0 ;
20681 PyObject
* obj1
= 0 ;
20682 char *kwnames
[] = {
20683 (char *) "parent",(char *) "data", NULL
20686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
20687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20690 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPageSetupDialogData
,
20691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20694 if (!wxPyCheckForApp()) SWIG_fail
;
20695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20696 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
20698 wxPyEndAllowThreads(__tstate
);
20699 if (PyErr_Occurred()) SWIG_fail
;
20701 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
20708 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20709 PyObject
*resultobj
;
20710 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
20711 wxPageSetupDialogData
*result
;
20712 PyObject
* obj0
= 0 ;
20713 char *kwnames
[] = {
20714 (char *) "self", NULL
20717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
20718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
20719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20723 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
20724 result
= (wxPageSetupDialogData
*) &_result_ref
;
20727 wxPyEndAllowThreads(__tstate
);
20728 if (PyErr_Occurred()) SWIG_fail
;
20730 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
20737 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20738 PyObject
*resultobj
;
20739 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
20741 PyObject
* obj0
= 0 ;
20742 char *kwnames
[] = {
20743 (char *) "self", NULL
20746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
20747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
20748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20751 result
= (int)(arg1
)->ShowModal();
20753 wxPyEndAllowThreads(__tstate
);
20754 if (PyErr_Occurred()) SWIG_fail
;
20756 resultobj
= SWIG_From_int((int)result
);
20763 static PyObject
* PageSetupDialog_swigregister(PyObject
*, PyObject
*args
) {
20765 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20766 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
20768 return Py_BuildValue((char *)"");
20770 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
20771 PyObject
*resultobj
;
20772 wxPrintDialogData
*result
;
20774 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
20776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20777 result
= (wxPrintDialogData
*)new wxPrintDialogData();
20779 wxPyEndAllowThreads(__tstate
);
20780 if (PyErr_Occurred()) SWIG_fail
;
20782 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
20789 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
20790 PyObject
*resultobj
;
20791 wxPrintData
*arg1
= 0 ;
20792 wxPrintDialogData
*result
;
20793 PyObject
* obj0
= 0 ;
20795 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
20796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
20797 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20799 if (arg1
== NULL
) {
20800 PyErr_SetString(PyExc_TypeError
,"null reference");
20804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20805 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
20807 wxPyEndAllowThreads(__tstate
);
20808 if (PyErr_Occurred()) SWIG_fail
;
20810 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
20817 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
20822 argc
= PyObject_Length(args
);
20823 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
20824 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20827 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
20833 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
20841 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
20845 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintDialogData'");
20850 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20851 PyObject
*resultobj
;
20852 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20853 PyObject
* obj0
= 0 ;
20854 char *kwnames
[] = {
20855 (char *) "self", NULL
20858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
20859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20865 wxPyEndAllowThreads(__tstate
);
20866 if (PyErr_Occurred()) SWIG_fail
;
20868 Py_INCREF(Py_None
); resultobj
= Py_None
;
20875 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20876 PyObject
*resultobj
;
20877 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20879 PyObject
* obj0
= 0 ;
20880 char *kwnames
[] = {
20881 (char *) "self", NULL
20884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
20885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20889 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
20891 wxPyEndAllowThreads(__tstate
);
20892 if (PyErr_Occurred()) SWIG_fail
;
20894 resultobj
= SWIG_From_int((int)result
);
20901 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20902 PyObject
*resultobj
;
20903 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20905 PyObject
* obj0
= 0 ;
20906 char *kwnames
[] = {
20907 (char *) "self", NULL
20910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
20911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20915 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
20917 wxPyEndAllowThreads(__tstate
);
20918 if (PyErr_Occurred()) SWIG_fail
;
20920 resultobj
= SWIG_From_int((int)result
);
20927 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20928 PyObject
*resultobj
;
20929 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20931 PyObject
* obj0
= 0 ;
20932 char *kwnames
[] = {
20933 (char *) "self", NULL
20936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
20937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20941 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
20943 wxPyEndAllowThreads(__tstate
);
20944 if (PyErr_Occurred()) SWIG_fail
;
20946 resultobj
= SWIG_From_int((int)result
);
20953 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20954 PyObject
*resultobj
;
20955 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20957 PyObject
* obj0
= 0 ;
20958 char *kwnames
[] = {
20959 (char *) "self", NULL
20962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
20963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20967 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
20969 wxPyEndAllowThreads(__tstate
);
20970 if (PyErr_Occurred()) SWIG_fail
;
20972 resultobj
= SWIG_From_int((int)result
);
20979 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20980 PyObject
*resultobj
;
20981 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20983 PyObject
* obj0
= 0 ;
20984 char *kwnames
[] = {
20985 (char *) "self", NULL
20988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
20989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20993 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
20995 wxPyEndAllowThreads(__tstate
);
20996 if (PyErr_Occurred()) SWIG_fail
;
20998 resultobj
= SWIG_From_int((int)result
);
21005 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21006 PyObject
*resultobj
;
21007 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21009 PyObject
* obj0
= 0 ;
21010 char *kwnames
[] = {
21011 (char *) "self", NULL
21014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
21015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21019 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
21021 wxPyEndAllowThreads(__tstate
);
21022 if (PyErr_Occurred()) SWIG_fail
;
21025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21033 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21034 PyObject
*resultobj
;
21035 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21037 PyObject
* obj0
= 0 ;
21038 char *kwnames
[] = {
21039 (char *) "self", NULL
21042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
21043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21047 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
21049 wxPyEndAllowThreads(__tstate
);
21050 if (PyErr_Occurred()) SWIG_fail
;
21053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21061 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21062 PyObject
*resultobj
;
21063 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21065 PyObject
* obj0
= 0 ;
21066 char *kwnames
[] = {
21067 (char *) "self", NULL
21070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
21071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21075 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
21077 wxPyEndAllowThreads(__tstate
);
21078 if (PyErr_Occurred()) SWIG_fail
;
21081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21089 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21090 PyObject
*resultobj
;
21091 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21093 PyObject
* obj0
= 0 ;
21094 char *kwnames
[] = {
21095 (char *) "self", NULL
21098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
21099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21103 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
21105 wxPyEndAllowThreads(__tstate
);
21106 if (PyErr_Occurred()) SWIG_fail
;
21109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21117 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21118 PyObject
*resultobj
;
21119 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21121 PyObject
* obj0
= 0 ;
21122 char *kwnames
[] = {
21123 (char *) "self", NULL
21126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
21127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21131 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
21133 wxPyEndAllowThreads(__tstate
);
21134 if (PyErr_Occurred()) SWIG_fail
;
21137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21145 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21146 PyObject
*resultobj
;
21147 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21149 PyObject
* obj0
= 0 ;
21150 PyObject
* obj1
= 0 ;
21151 char *kwnames
[] = {
21152 (char *) "self",(char *) "v", NULL
21155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21158 arg2
= (int)SWIG_As_int(obj1
);
21159 if (PyErr_Occurred()) SWIG_fail
;
21161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21162 (arg1
)->SetFromPage(arg2
);
21164 wxPyEndAllowThreads(__tstate
);
21165 if (PyErr_Occurred()) SWIG_fail
;
21167 Py_INCREF(Py_None
); resultobj
= Py_None
;
21174 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21175 PyObject
*resultobj
;
21176 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21178 PyObject
* obj0
= 0 ;
21179 PyObject
* obj1
= 0 ;
21180 char *kwnames
[] = {
21181 (char *) "self",(char *) "v", NULL
21184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21187 arg2
= (int)SWIG_As_int(obj1
);
21188 if (PyErr_Occurred()) SWIG_fail
;
21190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21191 (arg1
)->SetToPage(arg2
);
21193 wxPyEndAllowThreads(__tstate
);
21194 if (PyErr_Occurred()) SWIG_fail
;
21196 Py_INCREF(Py_None
); resultobj
= Py_None
;
21203 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21204 PyObject
*resultobj
;
21205 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21207 PyObject
* obj0
= 0 ;
21208 PyObject
* obj1
= 0 ;
21209 char *kwnames
[] = {
21210 (char *) "self",(char *) "v", NULL
21213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21216 arg2
= (int)SWIG_As_int(obj1
);
21217 if (PyErr_Occurred()) SWIG_fail
;
21219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21220 (arg1
)->SetMinPage(arg2
);
21222 wxPyEndAllowThreads(__tstate
);
21223 if (PyErr_Occurred()) SWIG_fail
;
21225 Py_INCREF(Py_None
); resultobj
= Py_None
;
21232 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21233 PyObject
*resultobj
;
21234 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21236 PyObject
* obj0
= 0 ;
21237 PyObject
* obj1
= 0 ;
21238 char *kwnames
[] = {
21239 (char *) "self",(char *) "v", NULL
21242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21245 arg2
= (int)SWIG_As_int(obj1
);
21246 if (PyErr_Occurred()) SWIG_fail
;
21248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21249 (arg1
)->SetMaxPage(arg2
);
21251 wxPyEndAllowThreads(__tstate
);
21252 if (PyErr_Occurred()) SWIG_fail
;
21254 Py_INCREF(Py_None
); resultobj
= Py_None
;
21261 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21262 PyObject
*resultobj
;
21263 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21265 PyObject
* obj0
= 0 ;
21266 PyObject
* obj1
= 0 ;
21267 char *kwnames
[] = {
21268 (char *) "self",(char *) "v", NULL
21271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
21272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21274 arg2
= (int)SWIG_As_int(obj1
);
21275 if (PyErr_Occurred()) SWIG_fail
;
21277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21278 (arg1
)->SetNoCopies(arg2
);
21280 wxPyEndAllowThreads(__tstate
);
21281 if (PyErr_Occurred()) SWIG_fail
;
21283 Py_INCREF(Py_None
); resultobj
= Py_None
;
21290 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21291 PyObject
*resultobj
;
21292 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21294 PyObject
* obj0
= 0 ;
21295 PyObject
* obj1
= 0 ;
21296 char *kwnames
[] = {
21297 (char *) "self",(char *) "flag", NULL
21300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
21301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21303 arg2
= (bool)SWIG_As_bool(obj1
);
21304 if (PyErr_Occurred()) SWIG_fail
;
21306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21307 (arg1
)->SetAllPages(arg2
);
21309 wxPyEndAllowThreads(__tstate
);
21310 if (PyErr_Occurred()) SWIG_fail
;
21312 Py_INCREF(Py_None
); resultobj
= Py_None
;
21319 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21320 PyObject
*resultobj
;
21321 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21323 PyObject
* obj0
= 0 ;
21324 PyObject
* obj1
= 0 ;
21325 char *kwnames
[] = {
21326 (char *) "self",(char *) "flag", NULL
21329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
21330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21332 arg2
= (bool)SWIG_As_bool(obj1
);
21333 if (PyErr_Occurred()) SWIG_fail
;
21335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21336 (arg1
)->SetSelection(arg2
);
21338 wxPyEndAllowThreads(__tstate
);
21339 if (PyErr_Occurred()) SWIG_fail
;
21341 Py_INCREF(Py_None
); resultobj
= Py_None
;
21348 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21349 PyObject
*resultobj
;
21350 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21352 PyObject
* obj0
= 0 ;
21353 PyObject
* obj1
= 0 ;
21354 char *kwnames
[] = {
21355 (char *) "self",(char *) "flag", NULL
21358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
21359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21361 arg2
= (bool)SWIG_As_bool(obj1
);
21362 if (PyErr_Occurred()) SWIG_fail
;
21364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21365 (arg1
)->SetCollate(arg2
);
21367 wxPyEndAllowThreads(__tstate
);
21368 if (PyErr_Occurred()) SWIG_fail
;
21370 Py_INCREF(Py_None
); resultobj
= Py_None
;
21377 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21378 PyObject
*resultobj
;
21379 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21381 PyObject
* obj0
= 0 ;
21382 PyObject
* obj1
= 0 ;
21383 char *kwnames
[] = {
21384 (char *) "self",(char *) "flag", NULL
21387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
21388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21390 arg2
= (bool)SWIG_As_bool(obj1
);
21391 if (PyErr_Occurred()) SWIG_fail
;
21393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21394 (arg1
)->SetPrintToFile(arg2
);
21396 wxPyEndAllowThreads(__tstate
);
21397 if (PyErr_Occurred()) SWIG_fail
;
21399 Py_INCREF(Py_None
); resultobj
= Py_None
;
21406 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21407 PyObject
*resultobj
;
21408 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21410 PyObject
* obj0
= 0 ;
21411 PyObject
* obj1
= 0 ;
21412 char *kwnames
[] = {
21413 (char *) "self",(char *) "flag", NULL
21416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21419 arg2
= (bool)SWIG_As_bool(obj1
);
21420 if (PyErr_Occurred()) SWIG_fail
;
21422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21423 (arg1
)->SetSetupDialog(arg2
);
21425 wxPyEndAllowThreads(__tstate
);
21426 if (PyErr_Occurred()) SWIG_fail
;
21428 Py_INCREF(Py_None
); resultobj
= Py_None
;
21435 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21436 PyObject
*resultobj
;
21437 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21439 PyObject
* obj0
= 0 ;
21440 PyObject
* obj1
= 0 ;
21441 char *kwnames
[] = {
21442 (char *) "self",(char *) "flag", NULL
21445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
21446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21448 arg2
= (bool)SWIG_As_bool(obj1
);
21449 if (PyErr_Occurred()) SWIG_fail
;
21451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21452 (arg1
)->EnablePrintToFile(arg2
);
21454 wxPyEndAllowThreads(__tstate
);
21455 if (PyErr_Occurred()) SWIG_fail
;
21457 Py_INCREF(Py_None
); resultobj
= Py_None
;
21464 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21465 PyObject
*resultobj
;
21466 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21468 PyObject
* obj0
= 0 ;
21469 PyObject
* obj1
= 0 ;
21470 char *kwnames
[] = {
21471 (char *) "self",(char *) "flag", NULL
21474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
21475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21477 arg2
= (bool)SWIG_As_bool(obj1
);
21478 if (PyErr_Occurred()) SWIG_fail
;
21480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21481 (arg1
)->EnableSelection(arg2
);
21483 wxPyEndAllowThreads(__tstate
);
21484 if (PyErr_Occurred()) SWIG_fail
;
21486 Py_INCREF(Py_None
); resultobj
= Py_None
;
21493 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21494 PyObject
*resultobj
;
21495 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21497 PyObject
* obj0
= 0 ;
21498 PyObject
* obj1
= 0 ;
21499 char *kwnames
[] = {
21500 (char *) "self",(char *) "flag", NULL
21503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
21504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21506 arg2
= (bool)SWIG_As_bool(obj1
);
21507 if (PyErr_Occurred()) SWIG_fail
;
21509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21510 (arg1
)->EnablePageNumbers(arg2
);
21512 wxPyEndAllowThreads(__tstate
);
21513 if (PyErr_Occurred()) SWIG_fail
;
21515 Py_INCREF(Py_None
); resultobj
= Py_None
;
21522 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21523 PyObject
*resultobj
;
21524 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21526 PyObject
* obj0
= 0 ;
21527 PyObject
* obj1
= 0 ;
21528 char *kwnames
[] = {
21529 (char *) "self",(char *) "flag", NULL
21532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
21533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21535 arg2
= (bool)SWIG_As_bool(obj1
);
21536 if (PyErr_Occurred()) SWIG_fail
;
21538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21539 (arg1
)->EnableHelp(arg2
);
21541 wxPyEndAllowThreads(__tstate
);
21542 if (PyErr_Occurred()) SWIG_fail
;
21544 Py_INCREF(Py_None
); resultobj
= Py_None
;
21551 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21552 PyObject
*resultobj
;
21553 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21555 PyObject
* obj0
= 0 ;
21556 char *kwnames
[] = {
21557 (char *) "self", NULL
21560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
21561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21565 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
21567 wxPyEndAllowThreads(__tstate
);
21568 if (PyErr_Occurred()) SWIG_fail
;
21571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21579 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21580 PyObject
*resultobj
;
21581 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21583 PyObject
* obj0
= 0 ;
21584 char *kwnames
[] = {
21585 (char *) "self", NULL
21588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
21589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21593 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
21595 wxPyEndAllowThreads(__tstate
);
21596 if (PyErr_Occurred()) SWIG_fail
;
21599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21607 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21608 PyObject
*resultobj
;
21609 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21611 PyObject
* obj0
= 0 ;
21612 char *kwnames
[] = {
21613 (char *) "self", NULL
21616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
21617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21621 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
21623 wxPyEndAllowThreads(__tstate
);
21624 if (PyErr_Occurred()) SWIG_fail
;
21627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21635 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21636 PyObject
*resultobj
;
21637 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21639 PyObject
* obj0
= 0 ;
21640 char *kwnames
[] = {
21641 (char *) "self", NULL
21644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
21645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21649 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
21651 wxPyEndAllowThreads(__tstate
);
21652 if (PyErr_Occurred()) SWIG_fail
;
21655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21663 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21664 PyObject
*resultobj
;
21665 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21667 PyObject
* obj0
= 0 ;
21668 char *kwnames
[] = {
21669 (char *) "self", NULL
21672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
21673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21677 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
21679 wxPyEndAllowThreads(__tstate
);
21680 if (PyErr_Occurred()) SWIG_fail
;
21683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21691 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21692 PyObject
*resultobj
;
21693 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21694 wxPrintData
*result
;
21695 PyObject
* obj0
= 0 ;
21696 char *kwnames
[] = {
21697 (char *) "self", NULL
21700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
21701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21706 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
21707 result
= (wxPrintData
*) &_result_ref
;
21710 wxPyEndAllowThreads(__tstate
);
21711 if (PyErr_Occurred()) SWIG_fail
;
21713 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
21720 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21721 PyObject
*resultobj
;
21722 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21723 wxPrintData
*arg2
= 0 ;
21724 PyObject
* obj0
= 0 ;
21725 PyObject
* obj1
= 0 ;
21726 char *kwnames
[] = {
21727 (char *) "self",(char *) "printData", NULL
21730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
21731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21733 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
21734 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21736 if (arg2
== NULL
) {
21737 PyErr_SetString(PyExc_TypeError
,"null reference");
21741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21742 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
21744 wxPyEndAllowThreads(__tstate
);
21745 if (PyErr_Occurred()) SWIG_fail
;
21747 Py_INCREF(Py_None
); resultobj
= Py_None
;
21754 static PyObject
* PrintDialogData_swigregister(PyObject
*, PyObject
*args
) {
21756 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21757 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
21759 return Py_BuildValue((char *)"");
21761 static PyObject
*_wrap_new_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21762 PyObject
*resultobj
;
21763 wxWindow
*arg1
= (wxWindow
*) 0 ;
21764 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
21765 wxPrintDialog
*result
;
21766 PyObject
* obj0
= 0 ;
21767 PyObject
* obj1
= 0 ;
21768 char *kwnames
[] = {
21769 (char *) "parent",(char *) "data", NULL
21772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21776 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintDialogData
,
21777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21780 if (!wxPyCheckForApp()) SWIG_fail
;
21781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21782 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
21784 wxPyEndAllowThreads(__tstate
);
21785 if (PyErr_Occurred()) SWIG_fail
;
21787 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
21794 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21795 PyObject
*resultobj
;
21796 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21797 wxPrintDialogData
*result
;
21798 PyObject
* obj0
= 0 ;
21799 char *kwnames
[] = {
21800 (char *) "self", NULL
21803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21809 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21810 result
= (wxPrintDialogData
*) &_result_ref
;
21813 wxPyEndAllowThreads(__tstate
);
21814 if (PyErr_Occurred()) SWIG_fail
;
21816 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
21823 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21824 PyObject
*resultobj
;
21825 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21827 PyObject
* obj0
= 0 ;
21828 char *kwnames
[] = {
21829 (char *) "self", NULL
21832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
21833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21837 result
= (wxDC
*)(arg1
)->GetPrintDC();
21839 wxPyEndAllowThreads(__tstate
);
21840 if (PyErr_Occurred()) SWIG_fail
;
21843 resultobj
= wxPyMake_wxObject(result
, 1);
21851 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21852 PyObject
*resultobj
;
21853 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21855 PyObject
* obj0
= 0 ;
21856 char *kwnames
[] = {
21857 (char *) "self", NULL
21860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
21861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21865 result
= (int)(arg1
)->ShowModal();
21867 wxPyEndAllowThreads(__tstate
);
21868 if (PyErr_Occurred()) SWIG_fail
;
21870 resultobj
= SWIG_From_int((int)result
);
21877 static PyObject
* PrintDialog_swigregister(PyObject
*, PyObject
*args
) {
21879 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21880 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
21882 return Py_BuildValue((char *)"");
21884 static PyObject
*_wrap_new_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21885 PyObject
*resultobj
;
21886 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
21888 PyObject
* obj0
= 0 ;
21889 char *kwnames
[] = {
21890 (char *) "data", NULL
21893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
21895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21899 if (!wxPyCheckForApp()) SWIG_fail
;
21900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21901 result
= (wxPrinter
*)new wxPrinter(arg1
);
21903 wxPyEndAllowThreads(__tstate
);
21904 if (PyErr_Occurred()) SWIG_fail
;
21906 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
21913 static PyObject
*_wrap_delete_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21914 PyObject
*resultobj
;
21915 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21916 PyObject
* obj0
= 0 ;
21917 char *kwnames
[] = {
21918 (char *) "self", NULL
21921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
21922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21928 wxPyEndAllowThreads(__tstate
);
21929 if (PyErr_Occurred()) SWIG_fail
;
21931 Py_INCREF(Py_None
); resultobj
= Py_None
;
21938 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21939 PyObject
*resultobj
;
21940 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21941 wxWindow
*arg2
= (wxWindow
*) 0 ;
21942 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21943 PyObject
* obj0
= 0 ;
21944 PyObject
* obj1
= 0 ;
21945 PyObject
* obj2
= 0 ;
21946 char *kwnames
[] = {
21947 (char *) "self",(char *) "parent",(char *) "printout", NULL
21950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21953 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21955 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21959 (arg1
)->CreateAbortWindow(arg2
,arg3
);
21961 wxPyEndAllowThreads(__tstate
);
21962 if (PyErr_Occurred()) SWIG_fail
;
21964 Py_INCREF(Py_None
); resultobj
= Py_None
;
21971 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21972 PyObject
*resultobj
;
21973 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21974 wxPrintDialogData
*result
;
21975 PyObject
* obj0
= 0 ;
21976 char *kwnames
[] = {
21977 (char *) "self", NULL
21980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21986 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21987 result
= (wxPrintDialogData
*) &_result_ref
;
21990 wxPyEndAllowThreads(__tstate
);
21991 if (PyErr_Occurred()) SWIG_fail
;
21993 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
22000 static PyObject
*_wrap_Printer_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22001 PyObject
*resultobj
;
22002 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22003 wxWindow
*arg2
= (wxWindow
*) 0 ;
22004 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
22005 int arg4
= (int) true ;
22007 PyObject
* obj0
= 0 ;
22008 PyObject
* obj1
= 0 ;
22009 PyObject
* obj2
= 0 ;
22010 PyObject
* obj3
= 0 ;
22011 char *kwnames
[] = {
22012 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
22015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22018 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22020 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
22021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22023 arg4
= (int)SWIG_As_int(obj3
);
22024 if (PyErr_Occurred()) SWIG_fail
;
22027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22028 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
22030 wxPyEndAllowThreads(__tstate
);
22031 if (PyErr_Occurred()) SWIG_fail
;
22034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22042 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22043 PyObject
*resultobj
;
22044 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22045 wxWindow
*arg2
= (wxWindow
*) 0 ;
22047 PyObject
* obj0
= 0 ;
22048 PyObject
* obj1
= 0 ;
22049 char *kwnames
[] = {
22050 (char *) "self",(char *) "parent", NULL
22053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
22054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22056 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22060 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
22062 wxPyEndAllowThreads(__tstate
);
22063 if (PyErr_Occurred()) SWIG_fail
;
22066 resultobj
= wxPyMake_wxObject(result
, 0);
22074 static PyObject
*_wrap_Printer_ReportError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22075 PyObject
*resultobj
;
22076 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22077 wxWindow
*arg2
= (wxWindow
*) 0 ;
22078 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
22079 wxString
*arg4
= 0 ;
22080 bool temp4
= false ;
22081 PyObject
* obj0
= 0 ;
22082 PyObject
* obj1
= 0 ;
22083 PyObject
* obj2
= 0 ;
22084 PyObject
* obj3
= 0 ;
22085 char *kwnames
[] = {
22086 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
22089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22092 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22094 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
22095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22097 arg4
= wxString_in_helper(obj3
);
22098 if (arg4
== NULL
) SWIG_fail
;
22102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22103 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
22105 wxPyEndAllowThreads(__tstate
);
22106 if (PyErr_Occurred()) SWIG_fail
;
22108 Py_INCREF(Py_None
); resultobj
= Py_None
;
22123 static PyObject
*_wrap_Printer_Setup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22124 PyObject
*resultobj
;
22125 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22126 wxWindow
*arg2
= (wxWindow
*) 0 ;
22128 PyObject
* obj0
= 0 ;
22129 PyObject
* obj1
= 0 ;
22130 char *kwnames
[] = {
22131 (char *) "self",(char *) "parent", NULL
22134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
22135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22137 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22141 result
= (bool)(arg1
)->Setup(arg2
);
22143 wxPyEndAllowThreads(__tstate
);
22144 if (PyErr_Occurred()) SWIG_fail
;
22147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22155 static PyObject
*_wrap_Printer_GetAbort(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22156 PyObject
*resultobj
;
22157 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22159 PyObject
* obj0
= 0 ;
22160 char *kwnames
[] = {
22161 (char *) "self", NULL
22164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
22165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22169 result
= (bool)(arg1
)->GetAbort();
22171 wxPyEndAllowThreads(__tstate
);
22172 if (PyErr_Occurred()) SWIG_fail
;
22175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22183 static PyObject
*_wrap_Printer_GetLastError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22184 PyObject
*resultobj
;
22186 char *kwnames
[] = {
22190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
22192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22193 result
= (int)wxPrinter::GetLastError();
22195 wxPyEndAllowThreads(__tstate
);
22196 if (PyErr_Occurred()) SWIG_fail
;
22198 resultobj
= SWIG_From_int((int)result
);
22205 static PyObject
* Printer_swigregister(PyObject
*, PyObject
*args
) {
22207 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22208 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
22210 return Py_BuildValue((char *)"");
22212 static PyObject
*_wrap_new_Printout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22213 PyObject
*resultobj
;
22214 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
22215 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
22216 wxPyPrintout
*result
;
22217 bool temp1
= false ;
22218 PyObject
* obj0
= 0 ;
22219 char *kwnames
[] = {
22220 (char *) "title", NULL
22223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
22226 arg1
= wxString_in_helper(obj0
);
22227 if (arg1
== NULL
) SWIG_fail
;
22232 if (!wxPyCheckForApp()) SWIG_fail
;
22233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22234 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
22236 wxPyEndAllowThreads(__tstate
);
22237 if (PyErr_Occurred()) SWIG_fail
;
22240 resultobj
= wxPyMake_wxObject(result
, 1);
22256 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22257 PyObject
*resultobj
;
22258 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22259 PyObject
*arg2
= (PyObject
*) 0 ;
22260 PyObject
*arg3
= (PyObject
*) 0 ;
22261 PyObject
* obj0
= 0 ;
22262 PyObject
* obj1
= 0 ;
22263 PyObject
* obj2
= 0 ;
22264 char *kwnames
[] = {
22265 (char *) "self",(char *) "self",(char *) "_class", NULL
22268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22275 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22277 wxPyEndAllowThreads(__tstate
);
22278 if (PyErr_Occurred()) SWIG_fail
;
22280 Py_INCREF(Py_None
); resultobj
= Py_None
;
22287 static PyObject
*_wrap_Printout_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22288 PyObject
*resultobj
;
22289 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22291 PyObject
* obj0
= 0 ;
22292 char *kwnames
[] = {
22293 (char *) "self", NULL
22296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
22297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22301 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
22303 wxPyEndAllowThreads(__tstate
);
22304 if (PyErr_Occurred()) SWIG_fail
;
22308 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22310 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22319 static PyObject
*_wrap_Printout_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22320 PyObject
*resultobj
;
22321 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22323 PyObject
* obj0
= 0 ;
22324 char *kwnames
[] = {
22325 (char *) "self", NULL
22328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
22329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22333 result
= (wxDC
*)(arg1
)->GetDC();
22335 wxPyEndAllowThreads(__tstate
);
22336 if (PyErr_Occurred()) SWIG_fail
;
22339 resultobj
= wxPyMake_wxObject(result
, 0);
22347 static PyObject
*_wrap_Printout_SetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22348 PyObject
*resultobj
;
22349 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22350 wxDC
*arg2
= (wxDC
*) 0 ;
22351 PyObject
* obj0
= 0 ;
22352 PyObject
* obj1
= 0 ;
22353 char *kwnames
[] = {
22354 (char *) "self",(char *) "dc", NULL
22357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
22358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22360 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22364 (arg1
)->SetDC(arg2
);
22366 wxPyEndAllowThreads(__tstate
);
22367 if (PyErr_Occurred()) SWIG_fail
;
22369 Py_INCREF(Py_None
); resultobj
= Py_None
;
22376 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22377 PyObject
*resultobj
;
22378 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22381 PyObject
* obj0
= 0 ;
22382 PyObject
* obj1
= 0 ;
22383 PyObject
* obj2
= 0 ;
22384 char *kwnames
[] = {
22385 (char *) "self",(char *) "w",(char *) "h", NULL
22388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22391 arg2
= (int)SWIG_As_int(obj1
);
22392 if (PyErr_Occurred()) SWIG_fail
;
22393 arg3
= (int)SWIG_As_int(obj2
);
22394 if (PyErr_Occurred()) SWIG_fail
;
22396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22397 (arg1
)->SetPageSizePixels(arg2
,arg3
);
22399 wxPyEndAllowThreads(__tstate
);
22400 if (PyErr_Occurred()) SWIG_fail
;
22402 Py_INCREF(Py_None
); resultobj
= Py_None
;
22409 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22410 PyObject
*resultobj
;
22411 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22412 int *arg2
= (int *) 0 ;
22413 int *arg3
= (int *) 0 ;
22418 PyObject
* obj0
= 0 ;
22419 char *kwnames
[] = {
22420 (char *) "self", NULL
22423 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22424 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
22426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22430 (arg1
)->GetPageSizePixels(arg2
,arg3
);
22432 wxPyEndAllowThreads(__tstate
);
22433 if (PyErr_Occurred()) SWIG_fail
;
22435 Py_INCREF(Py_None
); resultobj
= Py_None
;
22436 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22437 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22438 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22439 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22446 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22447 PyObject
*resultobj
;
22448 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22451 PyObject
* obj0
= 0 ;
22452 PyObject
* obj1
= 0 ;
22453 PyObject
* obj2
= 0 ;
22454 char *kwnames
[] = {
22455 (char *) "self",(char *) "w",(char *) "h", NULL
22458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22461 arg2
= (int)SWIG_As_int(obj1
);
22462 if (PyErr_Occurred()) SWIG_fail
;
22463 arg3
= (int)SWIG_As_int(obj2
);
22464 if (PyErr_Occurred()) SWIG_fail
;
22466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22467 (arg1
)->SetPageSizeMM(arg2
,arg3
);
22469 wxPyEndAllowThreads(__tstate
);
22470 if (PyErr_Occurred()) SWIG_fail
;
22472 Py_INCREF(Py_None
); resultobj
= Py_None
;
22479 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22480 PyObject
*resultobj
;
22481 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22482 int *arg2
= (int *) 0 ;
22483 int *arg3
= (int *) 0 ;
22488 PyObject
* obj0
= 0 ;
22489 char *kwnames
[] = {
22490 (char *) "self", NULL
22493 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22494 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
22496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22500 (arg1
)->GetPageSizeMM(arg2
,arg3
);
22502 wxPyEndAllowThreads(__tstate
);
22503 if (PyErr_Occurred()) SWIG_fail
;
22505 Py_INCREF(Py_None
); resultobj
= Py_None
;
22506 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22507 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22508 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22509 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22516 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22517 PyObject
*resultobj
;
22518 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22521 PyObject
* obj0
= 0 ;
22522 PyObject
* obj1
= 0 ;
22523 PyObject
* obj2
= 0 ;
22524 char *kwnames
[] = {
22525 (char *) "self",(char *) "x",(char *) "y", NULL
22528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22531 arg2
= (int)SWIG_As_int(obj1
);
22532 if (PyErr_Occurred()) SWIG_fail
;
22533 arg3
= (int)SWIG_As_int(obj2
);
22534 if (PyErr_Occurred()) SWIG_fail
;
22536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22537 (arg1
)->SetPPIScreen(arg2
,arg3
);
22539 wxPyEndAllowThreads(__tstate
);
22540 if (PyErr_Occurred()) SWIG_fail
;
22542 Py_INCREF(Py_None
); resultobj
= Py_None
;
22549 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22550 PyObject
*resultobj
;
22551 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22552 int *arg2
= (int *) 0 ;
22553 int *arg3
= (int *) 0 ;
22558 PyObject
* obj0
= 0 ;
22559 char *kwnames
[] = {
22560 (char *) "self", NULL
22563 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22564 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
22566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22570 (arg1
)->GetPPIScreen(arg2
,arg3
);
22572 wxPyEndAllowThreads(__tstate
);
22573 if (PyErr_Occurred()) SWIG_fail
;
22575 Py_INCREF(Py_None
); resultobj
= Py_None
;
22576 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22577 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22578 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22579 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22586 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22587 PyObject
*resultobj
;
22588 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22591 PyObject
* obj0
= 0 ;
22592 PyObject
* obj1
= 0 ;
22593 PyObject
* obj2
= 0 ;
22594 char *kwnames
[] = {
22595 (char *) "self",(char *) "x",(char *) "y", NULL
22598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22601 arg2
= (int)SWIG_As_int(obj1
);
22602 if (PyErr_Occurred()) SWIG_fail
;
22603 arg3
= (int)SWIG_As_int(obj2
);
22604 if (PyErr_Occurred()) SWIG_fail
;
22606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22607 (arg1
)->SetPPIPrinter(arg2
,arg3
);
22609 wxPyEndAllowThreads(__tstate
);
22610 if (PyErr_Occurred()) SWIG_fail
;
22612 Py_INCREF(Py_None
); resultobj
= Py_None
;
22619 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22620 PyObject
*resultobj
;
22621 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22622 int *arg2
= (int *) 0 ;
22623 int *arg3
= (int *) 0 ;
22628 PyObject
* obj0
= 0 ;
22629 char *kwnames
[] = {
22630 (char *) "self", NULL
22633 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22634 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
22636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22640 (arg1
)->GetPPIPrinter(arg2
,arg3
);
22642 wxPyEndAllowThreads(__tstate
);
22643 if (PyErr_Occurred()) SWIG_fail
;
22645 Py_INCREF(Py_None
); resultobj
= Py_None
;
22646 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22647 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22648 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22649 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22656 static PyObject
*_wrap_Printout_IsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22657 PyObject
*resultobj
;
22658 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22660 PyObject
* obj0
= 0 ;
22661 char *kwnames
[] = {
22662 (char *) "self", NULL
22665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
22666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22670 result
= (bool)(arg1
)->IsPreview();
22672 wxPyEndAllowThreads(__tstate
);
22673 if (PyErr_Occurred()) SWIG_fail
;
22676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22684 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22685 PyObject
*resultobj
;
22686 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22688 PyObject
* obj0
= 0 ;
22689 PyObject
* obj1
= 0 ;
22690 char *kwnames
[] = {
22691 (char *) "self",(char *) "p", NULL
22694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
22695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22697 arg2
= (bool)SWIG_As_bool(obj1
);
22698 if (PyErr_Occurred()) SWIG_fail
;
22700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22701 (arg1
)->SetIsPreview(arg2
);
22703 wxPyEndAllowThreads(__tstate
);
22704 if (PyErr_Occurred()) SWIG_fail
;
22706 Py_INCREF(Py_None
); resultobj
= Py_None
;
22713 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22714 PyObject
*resultobj
;
22715 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22719 PyObject
* obj0
= 0 ;
22720 PyObject
* obj1
= 0 ;
22721 PyObject
* obj2
= 0 ;
22722 char *kwnames
[] = {
22723 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
22726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22729 arg2
= (int)SWIG_As_int(obj1
);
22730 if (PyErr_Occurred()) SWIG_fail
;
22731 arg3
= (int)SWIG_As_int(obj2
);
22732 if (PyErr_Occurred()) SWIG_fail
;
22734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22735 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
22737 wxPyEndAllowThreads(__tstate
);
22738 if (PyErr_Occurred()) SWIG_fail
;
22741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22749 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22750 PyObject
*resultobj
;
22751 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22752 PyObject
* obj0
= 0 ;
22753 char *kwnames
[] = {
22754 (char *) "self", NULL
22757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
22758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22762 (arg1
)->base_OnEndDocument();
22764 wxPyEndAllowThreads(__tstate
);
22765 if (PyErr_Occurred()) SWIG_fail
;
22767 Py_INCREF(Py_None
); resultobj
= Py_None
;
22774 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22775 PyObject
*resultobj
;
22776 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22777 PyObject
* obj0
= 0 ;
22778 char *kwnames
[] = {
22779 (char *) "self", NULL
22782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
22783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22787 (arg1
)->base_OnBeginPrinting();
22789 wxPyEndAllowThreads(__tstate
);
22790 if (PyErr_Occurred()) SWIG_fail
;
22792 Py_INCREF(Py_None
); resultobj
= Py_None
;
22799 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22800 PyObject
*resultobj
;
22801 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22802 PyObject
* obj0
= 0 ;
22803 char *kwnames
[] = {
22804 (char *) "self", NULL
22807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
22808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22812 (arg1
)->base_OnEndPrinting();
22814 wxPyEndAllowThreads(__tstate
);
22815 if (PyErr_Occurred()) SWIG_fail
;
22817 Py_INCREF(Py_None
); resultobj
= Py_None
;
22824 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22825 PyObject
*resultobj
;
22826 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22827 PyObject
* obj0
= 0 ;
22828 char *kwnames
[] = {
22829 (char *) "self", NULL
22832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
22833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22837 (arg1
)->base_OnPreparePrinting();
22839 wxPyEndAllowThreads(__tstate
);
22840 if (PyErr_Occurred()) SWIG_fail
;
22842 Py_INCREF(Py_None
); resultobj
= Py_None
;
22849 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22850 PyObject
*resultobj
;
22851 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22854 PyObject
* obj0
= 0 ;
22855 PyObject
* obj1
= 0 ;
22856 char *kwnames
[] = {
22857 (char *) "self",(char *) "page", NULL
22860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
22861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22863 arg2
= (int)SWIG_As_int(obj1
);
22864 if (PyErr_Occurred()) SWIG_fail
;
22866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22867 result
= (bool)(arg1
)->base_HasPage(arg2
);
22869 wxPyEndAllowThreads(__tstate
);
22870 if (PyErr_Occurred()) SWIG_fail
;
22873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22881 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22882 PyObject
*resultobj
;
22883 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22884 int *arg2
= (int *) 0 ;
22885 int *arg3
= (int *) 0 ;
22886 int *arg4
= (int *) 0 ;
22887 int *arg5
= (int *) 0 ;
22896 PyObject
* obj0
= 0 ;
22897 char *kwnames
[] = {
22898 (char *) "self", NULL
22901 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22902 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22903 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
22904 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
22905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
22906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22910 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
22912 wxPyEndAllowThreads(__tstate
);
22913 if (PyErr_Occurred()) SWIG_fail
;
22915 Py_INCREF(Py_None
); resultobj
= Py_None
;
22916 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22917 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22918 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22919 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22920 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
22921 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
22922 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
22923 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
22930 static PyObject
* Printout_swigregister(PyObject
*, PyObject
*args
) {
22932 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22933 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
22935 return Py_BuildValue((char *)"");
22937 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22938 PyObject
*resultobj
;
22939 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22940 wxWindow
*arg2
= (wxWindow
*) 0 ;
22941 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22942 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22943 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22944 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22945 long arg5
= (long) 0 ;
22946 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
22947 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22948 wxPreviewCanvas
*result
;
22951 bool temp6
= false ;
22952 PyObject
* obj0
= 0 ;
22953 PyObject
* obj1
= 0 ;
22954 PyObject
* obj2
= 0 ;
22955 PyObject
* obj3
= 0 ;
22956 PyObject
* obj4
= 0 ;
22957 PyObject
* obj5
= 0 ;
22958 char *kwnames
[] = {
22959 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22965 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22970 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22976 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22980 arg5
= (long)SWIG_As_long(obj4
);
22981 if (PyErr_Occurred()) SWIG_fail
;
22985 arg6
= wxString_in_helper(obj5
);
22986 if (arg6
== NULL
) SWIG_fail
;
22991 if (!wxPyCheckForApp()) SWIG_fail
;
22992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22993 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22995 wxPyEndAllowThreads(__tstate
);
22996 if (PyErr_Occurred()) SWIG_fail
;
22998 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
23013 static PyObject
* PreviewCanvas_swigregister(PyObject
*, PyObject
*args
) {
23015 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23016 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
23018 return Py_BuildValue((char *)"");
23020 static PyObject
*_wrap_new_PreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23021 PyObject
*resultobj
;
23022 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23023 wxFrame
*arg2
= (wxFrame
*) 0 ;
23024 wxString
*arg3
= 0 ;
23025 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23026 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23027 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23028 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23029 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
23030 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
23031 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23032 wxPreviewFrame
*result
;
23033 bool temp3
= false ;
23036 bool temp7
= false ;
23037 PyObject
* obj0
= 0 ;
23038 PyObject
* obj1
= 0 ;
23039 PyObject
* obj2
= 0 ;
23040 PyObject
* obj3
= 0 ;
23041 PyObject
* obj4
= 0 ;
23042 PyObject
* obj5
= 0 ;
23043 PyObject
* obj6
= 0 ;
23044 char *kwnames
[] = {
23045 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23051 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
23052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23054 arg3
= wxString_in_helper(obj2
);
23055 if (arg3
== NULL
) SWIG_fail
;
23061 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23067 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23071 arg6
= (long)SWIG_As_long(obj5
);
23072 if (PyErr_Occurred()) SWIG_fail
;
23076 arg7
= wxString_in_helper(obj6
);
23077 if (arg7
== NULL
) SWIG_fail
;
23082 if (!wxPyCheckForApp()) SWIG_fail
;
23083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23084 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
23086 wxPyEndAllowThreads(__tstate
);
23087 if (PyErr_Occurred()) SWIG_fail
;
23089 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
23112 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23113 PyObject
*resultobj
;
23114 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
23115 PyObject
* obj0
= 0 ;
23116 char *kwnames
[] = {
23117 (char *) "self", NULL
23120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
23121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
23122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23125 (arg1
)->Initialize();
23127 wxPyEndAllowThreads(__tstate
);
23128 if (PyErr_Occurred()) SWIG_fail
;
23130 Py_INCREF(Py_None
); resultobj
= Py_None
;
23137 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23138 PyObject
*resultobj
;
23139 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
23140 PyObject
* obj0
= 0 ;
23141 char *kwnames
[] = {
23142 (char *) "self", NULL
23145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
23146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
23147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23150 (arg1
)->CreateControlBar();
23152 wxPyEndAllowThreads(__tstate
);
23153 if (PyErr_Occurred()) SWIG_fail
;
23155 Py_INCREF(Py_None
); resultobj
= Py_None
;
23162 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23163 PyObject
*resultobj
;
23164 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
23165 PyObject
* obj0
= 0 ;
23166 char *kwnames
[] = {
23167 (char *) "self", NULL
23170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
23171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
23172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23175 (arg1
)->CreateCanvas();
23177 wxPyEndAllowThreads(__tstate
);
23178 if (PyErr_Occurred()) SWIG_fail
;
23180 Py_INCREF(Py_None
); resultobj
= Py_None
;
23187 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23188 PyObject
*resultobj
;
23189 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
23190 wxPreviewControlBar
*result
;
23191 PyObject
* obj0
= 0 ;
23192 char *kwnames
[] = {
23193 (char *) "self", NULL
23196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
23197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
23198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23201 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
23203 wxPyEndAllowThreads(__tstate
);
23204 if (PyErr_Occurred()) SWIG_fail
;
23206 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
23213 static PyObject
* PreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
23215 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23216 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
23218 return Py_BuildValue((char *)"");
23220 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23221 PyObject
*resultobj
;
23222 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23224 wxWindow
*arg3
= (wxWindow
*) 0 ;
23225 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23226 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23227 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23228 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23229 long arg6
= (long) wxTAB_TRAVERSAL
;
23230 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
23231 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23232 wxPreviewControlBar
*result
;
23235 bool temp7
= false ;
23236 PyObject
* obj0
= 0 ;
23237 PyObject
* obj1
= 0 ;
23238 PyObject
* obj2
= 0 ;
23239 PyObject
* obj3
= 0 ;
23240 PyObject
* obj4
= 0 ;
23241 PyObject
* obj5
= 0 ;
23242 PyObject
* obj6
= 0 ;
23243 char *kwnames
[] = {
23244 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23250 arg2
= (long)SWIG_As_long(obj1
);
23251 if (PyErr_Occurred()) SWIG_fail
;
23252 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
23253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23257 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23263 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23267 arg6
= (long)SWIG_As_long(obj5
);
23268 if (PyErr_Occurred()) SWIG_fail
;
23272 arg7
= wxString_in_helper(obj6
);
23273 if (arg7
== NULL
) SWIG_fail
;
23278 if (!wxPyCheckForApp()) SWIG_fail
;
23279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23280 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
23282 wxPyEndAllowThreads(__tstate
);
23283 if (PyErr_Occurred()) SWIG_fail
;
23285 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
23300 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23301 PyObject
*resultobj
;
23302 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23304 PyObject
* obj0
= 0 ;
23305 char *kwnames
[] = {
23306 (char *) "self", NULL
23309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
23310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23314 result
= (int)(arg1
)->GetZoomControl();
23316 wxPyEndAllowThreads(__tstate
);
23317 if (PyErr_Occurred()) SWIG_fail
;
23319 resultobj
= SWIG_From_int((int)result
);
23326 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23327 PyObject
*resultobj
;
23328 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23330 PyObject
* obj0
= 0 ;
23331 PyObject
* obj1
= 0 ;
23332 char *kwnames
[] = {
23333 (char *) "self",(char *) "zoom", NULL
23336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
23337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23339 arg2
= (int)SWIG_As_int(obj1
);
23340 if (PyErr_Occurred()) SWIG_fail
;
23342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23343 (arg1
)->SetZoomControl(arg2
);
23345 wxPyEndAllowThreads(__tstate
);
23346 if (PyErr_Occurred()) SWIG_fail
;
23348 Py_INCREF(Py_None
); resultobj
= Py_None
;
23355 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23356 PyObject
*resultobj
;
23357 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23358 wxPrintPreview
*result
;
23359 PyObject
* obj0
= 0 ;
23360 char *kwnames
[] = {
23361 (char *) "self", NULL
23364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
23365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23369 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
23371 wxPyEndAllowThreads(__tstate
);
23372 if (PyErr_Occurred()) SWIG_fail
;
23374 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
23381 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23382 PyObject
*resultobj
;
23383 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23384 PyObject
* obj0
= 0 ;
23385 char *kwnames
[] = {
23386 (char *) "self", NULL
23389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
23390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23396 wxPyEndAllowThreads(__tstate
);
23397 if (PyErr_Occurred()) SWIG_fail
;
23399 Py_INCREF(Py_None
); resultobj
= Py_None
;
23406 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23407 PyObject
*resultobj
;
23408 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23409 PyObject
* obj0
= 0 ;
23410 char *kwnames
[] = {
23411 (char *) "self", NULL
23414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
23415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23419 (arg1
)->OnPrevious();
23421 wxPyEndAllowThreads(__tstate
);
23422 if (PyErr_Occurred()) SWIG_fail
;
23424 Py_INCREF(Py_None
); resultobj
= Py_None
;
23431 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23432 PyObject
*resultobj
;
23433 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23434 PyObject
* obj0
= 0 ;
23435 char *kwnames
[] = {
23436 (char *) "self", NULL
23439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
23440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23446 wxPyEndAllowThreads(__tstate
);
23447 if (PyErr_Occurred()) SWIG_fail
;
23449 Py_INCREF(Py_None
); resultobj
= Py_None
;
23456 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23457 PyObject
*resultobj
;
23458 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23459 PyObject
* obj0
= 0 ;
23460 char *kwnames
[] = {
23461 (char *) "self", NULL
23464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
23465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23471 wxPyEndAllowThreads(__tstate
);
23472 if (PyErr_Occurred()) SWIG_fail
;
23474 Py_INCREF(Py_None
); resultobj
= Py_None
;
23481 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23482 PyObject
*resultobj
;
23483 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23484 PyObject
* obj0
= 0 ;
23485 char *kwnames
[] = {
23486 (char *) "self", NULL
23489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
23490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23496 wxPyEndAllowThreads(__tstate
);
23497 if (PyErr_Occurred()) SWIG_fail
;
23499 Py_INCREF(Py_None
); resultobj
= Py_None
;
23506 static PyObject
* PreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
23508 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23509 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
23511 return Py_BuildValue((char *)"");
23513 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
23514 PyObject
*resultobj
;
23515 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23516 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23517 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
23518 wxPrintPreview
*result
;
23519 PyObject
* obj0
= 0 ;
23520 PyObject
* obj1
= 0 ;
23521 PyObject
* obj2
= 0 ;
23523 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23526 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23529 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
23530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23533 if (!wxPyCheckForApp()) SWIG_fail
;
23534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23535 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
23537 wxPyEndAllowThreads(__tstate
);
23538 if (PyErr_Occurred()) SWIG_fail
;
23540 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
23547 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
23548 PyObject
*resultobj
;
23549 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23550 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23551 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
23552 wxPrintPreview
*result
;
23553 PyObject
* obj0
= 0 ;
23554 PyObject
* obj1
= 0 ;
23555 PyObject
* obj2
= 0 ;
23557 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23560 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23562 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
23563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23565 if (!wxPyCheckForApp()) SWIG_fail
;
23566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23567 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
23569 wxPyEndAllowThreads(__tstate
);
23570 if (PyErr_Occurred()) SWIG_fail
;
23572 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
23579 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
23584 argc
= PyObject_Length(args
);
23585 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
23586 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23588 if ((argc
>= 2) && (argc
<= 3)) {
23592 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23602 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23611 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
23615 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
23623 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
23632 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23642 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23652 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
23660 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
23666 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintPreview'");
23671 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23672 PyObject
*resultobj
;
23673 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23676 PyObject
* obj0
= 0 ;
23677 PyObject
* obj1
= 0 ;
23678 char *kwnames
[] = {
23679 (char *) "self",(char *) "pageNum", NULL
23682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23685 arg2
= (int)SWIG_As_int(obj1
);
23686 if (PyErr_Occurred()) SWIG_fail
;
23688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23689 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
23691 wxPyEndAllowThreads(__tstate
);
23692 if (PyErr_Occurred()) SWIG_fail
;
23695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23703 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23704 PyObject
*resultobj
;
23705 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23707 PyObject
* obj0
= 0 ;
23708 char *kwnames
[] = {
23709 (char *) "self", NULL
23712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
23713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23717 result
= (int)(arg1
)->GetCurrentPage();
23719 wxPyEndAllowThreads(__tstate
);
23720 if (PyErr_Occurred()) SWIG_fail
;
23722 resultobj
= SWIG_From_int((int)result
);
23729 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23730 PyObject
*resultobj
;
23731 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23732 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23733 PyObject
* obj0
= 0 ;
23734 PyObject
* obj1
= 0 ;
23735 char *kwnames
[] = {
23736 (char *) "self",(char *) "printout", NULL
23739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
23740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23742 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23746 (arg1
)->SetPrintout(arg2
);
23748 wxPyEndAllowThreads(__tstate
);
23749 if (PyErr_Occurred()) SWIG_fail
;
23751 Py_INCREF(Py_None
); resultobj
= Py_None
;
23758 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23759 PyObject
*resultobj
;
23760 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23761 wxPyPrintout
*result
;
23762 PyObject
* obj0
= 0 ;
23763 char *kwnames
[] = {
23764 (char *) "self", NULL
23767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
23768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23772 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
23774 wxPyEndAllowThreads(__tstate
);
23775 if (PyErr_Occurred()) SWIG_fail
;
23778 resultobj
= wxPyMake_wxObject(result
, 0);
23786 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23787 PyObject
*resultobj
;
23788 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23789 wxPyPrintout
*result
;
23790 PyObject
* obj0
= 0 ;
23791 char *kwnames
[] = {
23792 (char *) "self", NULL
23795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
23796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23800 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
23802 wxPyEndAllowThreads(__tstate
);
23803 if (PyErr_Occurred()) SWIG_fail
;
23806 resultobj
= wxPyMake_wxObject(result
, 0);
23814 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23815 PyObject
*resultobj
;
23816 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23817 wxFrame
*arg2
= (wxFrame
*) 0 ;
23818 PyObject
* obj0
= 0 ;
23819 PyObject
* obj1
= 0 ;
23820 char *kwnames
[] = {
23821 (char *) "self",(char *) "frame", NULL
23824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
23825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23827 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
23828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23831 (arg1
)->SetFrame(arg2
);
23833 wxPyEndAllowThreads(__tstate
);
23834 if (PyErr_Occurred()) SWIG_fail
;
23836 Py_INCREF(Py_None
); resultobj
= Py_None
;
23843 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23844 PyObject
*resultobj
;
23845 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23846 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23847 PyObject
* obj0
= 0 ;
23848 PyObject
* obj1
= 0 ;
23849 char *kwnames
[] = {
23850 (char *) "self",(char *) "canvas", NULL
23853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
23854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23856 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23860 (arg1
)->SetCanvas(arg2
);
23862 wxPyEndAllowThreads(__tstate
);
23863 if (PyErr_Occurred()) SWIG_fail
;
23865 Py_INCREF(Py_None
); resultobj
= Py_None
;
23872 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23873 PyObject
*resultobj
;
23874 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23876 PyObject
* obj0
= 0 ;
23877 char *kwnames
[] = {
23878 (char *) "self", NULL
23881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
23882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23886 result
= (wxFrame
*)(arg1
)->GetFrame();
23888 wxPyEndAllowThreads(__tstate
);
23889 if (PyErr_Occurred()) SWIG_fail
;
23892 resultobj
= wxPyMake_wxObject(result
, 0);
23900 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23901 PyObject
*resultobj
;
23902 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23903 wxPreviewCanvas
*result
;
23904 PyObject
* obj0
= 0 ;
23905 char *kwnames
[] = {
23906 (char *) "self", NULL
23909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
23910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23914 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
23916 wxPyEndAllowThreads(__tstate
);
23917 if (PyErr_Occurred()) SWIG_fail
;
23919 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
23926 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23927 PyObject
*resultobj
;
23928 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23929 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23932 PyObject
* obj0
= 0 ;
23933 PyObject
* obj1
= 0 ;
23934 PyObject
* obj2
= 0 ;
23935 char *kwnames
[] = {
23936 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23942 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23944 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23945 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23947 if (arg3
== NULL
) {
23948 PyErr_SetString(PyExc_TypeError
,"null reference");
23952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23953 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
23955 wxPyEndAllowThreads(__tstate
);
23956 if (PyErr_Occurred()) SWIG_fail
;
23959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23967 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23968 PyObject
*resultobj
;
23969 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23970 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23973 PyObject
* obj0
= 0 ;
23974 PyObject
* obj1
= 0 ;
23975 PyObject
* obj2
= 0 ;
23976 char *kwnames
[] = {
23977 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23983 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23985 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23986 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23988 if (arg3
== NULL
) {
23989 PyErr_SetString(PyExc_TypeError
,"null reference");
23993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23994 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
23996 wxPyEndAllowThreads(__tstate
);
23997 if (PyErr_Occurred()) SWIG_fail
;
24000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24008 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24009 PyObject
*resultobj
;
24010 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24013 PyObject
* obj0
= 0 ;
24014 PyObject
* obj1
= 0 ;
24015 char *kwnames
[] = {
24016 (char *) "self",(char *) "pageNum", NULL
24019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24022 arg2
= (int)SWIG_As_int(obj1
);
24023 if (PyErr_Occurred()) SWIG_fail
;
24025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24026 result
= (bool)(arg1
)->RenderPage(arg2
);
24028 wxPyEndAllowThreads(__tstate
);
24029 if (PyErr_Occurred()) SWIG_fail
;
24032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24040 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24041 PyObject
*resultobj
;
24042 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24043 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24044 PyObject
* obj0
= 0 ;
24045 PyObject
* obj1
= 0 ;
24046 char *kwnames
[] = {
24047 (char *) "self",(char *) "canvas", NULL
24050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
24051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24053 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24057 (arg1
)->AdjustScrollbars(arg2
);
24059 wxPyEndAllowThreads(__tstate
);
24060 if (PyErr_Occurred()) SWIG_fail
;
24062 Py_INCREF(Py_None
); resultobj
= Py_None
;
24069 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24070 PyObject
*resultobj
;
24071 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24072 wxPrintDialogData
*result
;
24073 PyObject
* obj0
= 0 ;
24074 char *kwnames
[] = {
24075 (char *) "self", NULL
24078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
24079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24084 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
24085 result
= (wxPrintDialogData
*) &_result_ref
;
24088 wxPyEndAllowThreads(__tstate
);
24089 if (PyErr_Occurred()) SWIG_fail
;
24091 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
24098 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24099 PyObject
*resultobj
;
24100 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24102 PyObject
* obj0
= 0 ;
24103 PyObject
* obj1
= 0 ;
24104 char *kwnames
[] = {
24105 (char *) "self",(char *) "percent", NULL
24108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
24109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24111 arg2
= (int)SWIG_As_int(obj1
);
24112 if (PyErr_Occurred()) SWIG_fail
;
24114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24115 (arg1
)->SetZoom(arg2
);
24117 wxPyEndAllowThreads(__tstate
);
24118 if (PyErr_Occurred()) SWIG_fail
;
24120 Py_INCREF(Py_None
); resultobj
= Py_None
;
24127 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24128 PyObject
*resultobj
;
24129 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24131 PyObject
* obj0
= 0 ;
24132 char *kwnames
[] = {
24133 (char *) "self", NULL
24136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
24137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24141 result
= (int)(arg1
)->GetZoom();
24143 wxPyEndAllowThreads(__tstate
);
24144 if (PyErr_Occurred()) SWIG_fail
;
24146 resultobj
= SWIG_From_int((int)result
);
24153 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24154 PyObject
*resultobj
;
24155 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24157 PyObject
* obj0
= 0 ;
24158 char *kwnames
[] = {
24159 (char *) "self", NULL
24162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
24163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24167 result
= (int)(arg1
)->GetMaxPage();
24169 wxPyEndAllowThreads(__tstate
);
24170 if (PyErr_Occurred()) SWIG_fail
;
24172 resultobj
= SWIG_From_int((int)result
);
24179 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24180 PyObject
*resultobj
;
24181 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24183 PyObject
* obj0
= 0 ;
24184 char *kwnames
[] = {
24185 (char *) "self", NULL
24188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
24189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24193 result
= (int)(arg1
)->GetMinPage();
24195 wxPyEndAllowThreads(__tstate
);
24196 if (PyErr_Occurred()) SWIG_fail
;
24198 resultobj
= SWIG_From_int((int)result
);
24205 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24206 PyObject
*resultobj
;
24207 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24209 PyObject
* obj0
= 0 ;
24210 char *kwnames
[] = {
24211 (char *) "self", NULL
24214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
24215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24219 result
= (bool)(arg1
)->Ok();
24221 wxPyEndAllowThreads(__tstate
);
24222 if (PyErr_Occurred()) SWIG_fail
;
24225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24233 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24234 PyObject
*resultobj
;
24235 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24237 PyObject
* obj0
= 0 ;
24238 PyObject
* obj1
= 0 ;
24239 char *kwnames
[] = {
24240 (char *) "self",(char *) "ok", NULL
24243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
24244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24246 arg2
= (bool)SWIG_As_bool(obj1
);
24247 if (PyErr_Occurred()) SWIG_fail
;
24249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24250 (arg1
)->SetOk(arg2
);
24252 wxPyEndAllowThreads(__tstate
);
24253 if (PyErr_Occurred()) SWIG_fail
;
24255 Py_INCREF(Py_None
); resultobj
= Py_None
;
24262 static PyObject
*_wrap_PrintPreview_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24263 PyObject
*resultobj
;
24264 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24267 PyObject
* obj0
= 0 ;
24268 PyObject
* obj1
= 0 ;
24269 char *kwnames
[] = {
24270 (char *) "self",(char *) "interactive", NULL
24273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
24274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24276 arg2
= (bool)SWIG_As_bool(obj1
);
24277 if (PyErr_Occurred()) SWIG_fail
;
24279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24280 result
= (bool)(arg1
)->Print(arg2
);
24282 wxPyEndAllowThreads(__tstate
);
24283 if (PyErr_Occurred()) SWIG_fail
;
24286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24294 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24295 PyObject
*resultobj
;
24296 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24297 PyObject
* obj0
= 0 ;
24298 char *kwnames
[] = {
24299 (char *) "self", NULL
24302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
24303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24307 (arg1
)->DetermineScaling();
24309 wxPyEndAllowThreads(__tstate
);
24310 if (PyErr_Occurred()) SWIG_fail
;
24312 Py_INCREF(Py_None
); resultobj
= Py_None
;
24319 static PyObject
* PrintPreview_swigregister(PyObject
*, PyObject
*args
) {
24321 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24322 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
24324 return Py_BuildValue((char *)"");
24326 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
24327 PyObject
*resultobj
;
24328 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24329 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
24330 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
24331 wxPyPrintPreview
*result
;
24332 PyObject
* obj0
= 0 ;
24333 PyObject
* obj1
= 0 ;
24334 PyObject
* obj2
= 0 ;
24336 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
24337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
24338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24339 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
24340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24342 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
24343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24346 if (!wxPyCheckForApp()) SWIG_fail
;
24347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24348 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
24350 wxPyEndAllowThreads(__tstate
);
24351 if (PyErr_Occurred()) SWIG_fail
;
24353 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
24360 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
24361 PyObject
*resultobj
;
24362 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24363 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
24364 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
24365 wxPyPrintPreview
*result
;
24366 PyObject
* obj0
= 0 ;
24367 PyObject
* obj1
= 0 ;
24368 PyObject
* obj2
= 0 ;
24370 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
24371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
24372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24373 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
24374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24375 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
24376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24378 if (!wxPyCheckForApp()) SWIG_fail
;
24379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24380 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
24382 wxPyEndAllowThreads(__tstate
);
24383 if (PyErr_Occurred()) SWIG_fail
;
24385 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
24392 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
24397 argc
= PyObject_Length(args
);
24398 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
24399 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24401 if ((argc
>= 2) && (argc
<= 3)) {
24405 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24415 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24424 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
24428 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
24436 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
24445 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24455 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24465 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
24473 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
24479 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PyPrintPreview'");
24484 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24485 PyObject
*resultobj
;
24486 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24487 PyObject
*arg2
= (PyObject
*) 0 ;
24488 PyObject
*arg3
= (PyObject
*) 0 ;
24489 PyObject
* obj0
= 0 ;
24490 PyObject
* obj1
= 0 ;
24491 PyObject
* obj2
= 0 ;
24492 char *kwnames
[] = {
24493 (char *) "self",(char *) "self",(char *) "_class", NULL
24496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24503 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24505 wxPyEndAllowThreads(__tstate
);
24506 if (PyErr_Occurred()) SWIG_fail
;
24508 Py_INCREF(Py_None
); resultobj
= Py_None
;
24515 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24516 PyObject
*resultobj
;
24517 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24520 PyObject
* obj0
= 0 ;
24521 PyObject
* obj1
= 0 ;
24522 char *kwnames
[] = {
24523 (char *) "self",(char *) "pageNum", NULL
24526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24529 arg2
= (int)SWIG_As_int(obj1
);
24530 if (PyErr_Occurred()) SWIG_fail
;
24532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24533 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
24535 wxPyEndAllowThreads(__tstate
);
24536 if (PyErr_Occurred()) SWIG_fail
;
24539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24547 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24548 PyObject
*resultobj
;
24549 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24550 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24553 PyObject
* obj0
= 0 ;
24554 PyObject
* obj1
= 0 ;
24555 PyObject
* obj2
= 0 ;
24556 char *kwnames
[] = {
24557 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24563 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24565 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24566 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24568 if (arg3
== NULL
) {
24569 PyErr_SetString(PyExc_TypeError
,"null reference");
24573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24574 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
24576 wxPyEndAllowThreads(__tstate
);
24577 if (PyErr_Occurred()) SWIG_fail
;
24580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24588 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24589 PyObject
*resultobj
;
24590 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24591 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24594 PyObject
* obj0
= 0 ;
24595 PyObject
* obj1
= 0 ;
24596 PyObject
* obj2
= 0 ;
24597 char *kwnames
[] = {
24598 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24604 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24606 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24607 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24609 if (arg3
== NULL
) {
24610 PyErr_SetString(PyExc_TypeError
,"null reference");
24614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24615 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
24617 wxPyEndAllowThreads(__tstate
);
24618 if (PyErr_Occurred()) SWIG_fail
;
24621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24629 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24630 PyObject
*resultobj
;
24631 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24634 PyObject
* obj0
= 0 ;
24635 PyObject
* obj1
= 0 ;
24636 char *kwnames
[] = {
24637 (char *) "self",(char *) "pageNum", NULL
24640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24643 arg2
= (int)SWIG_As_int(obj1
);
24644 if (PyErr_Occurred()) SWIG_fail
;
24646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24647 result
= (bool)(arg1
)->base_RenderPage(arg2
);
24649 wxPyEndAllowThreads(__tstate
);
24650 if (PyErr_Occurred()) SWIG_fail
;
24653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24661 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24662 PyObject
*resultobj
;
24663 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24665 PyObject
* obj0
= 0 ;
24666 PyObject
* obj1
= 0 ;
24667 char *kwnames
[] = {
24668 (char *) "self",(char *) "percent", NULL
24671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
24672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24674 arg2
= (int)SWIG_As_int(obj1
);
24675 if (PyErr_Occurred()) SWIG_fail
;
24677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24678 (arg1
)->base_SetZoom(arg2
);
24680 wxPyEndAllowThreads(__tstate
);
24681 if (PyErr_Occurred()) SWIG_fail
;
24683 Py_INCREF(Py_None
); resultobj
= Py_None
;
24690 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24691 PyObject
*resultobj
;
24692 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24695 PyObject
* obj0
= 0 ;
24696 PyObject
* obj1
= 0 ;
24697 char *kwnames
[] = {
24698 (char *) "self",(char *) "interactive", NULL
24701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
24702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24704 arg2
= (bool)SWIG_As_bool(obj1
);
24705 if (PyErr_Occurred()) SWIG_fail
;
24707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24708 result
= (bool)(arg1
)->base_Print(arg2
);
24710 wxPyEndAllowThreads(__tstate
);
24711 if (PyErr_Occurred()) SWIG_fail
;
24714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24722 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24723 PyObject
*resultobj
;
24724 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24725 PyObject
* obj0
= 0 ;
24726 char *kwnames
[] = {
24727 (char *) "self", NULL
24730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
24731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24735 (arg1
)->base_DetermineScaling();
24737 wxPyEndAllowThreads(__tstate
);
24738 if (PyErr_Occurred()) SWIG_fail
;
24740 Py_INCREF(Py_None
); resultobj
= Py_None
;
24747 static PyObject
* PyPrintPreview_swigregister(PyObject
*, PyObject
*args
) {
24749 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24750 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
24752 return Py_BuildValue((char *)"");
24754 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24755 PyObject
*resultobj
;
24756 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24757 wxFrame
*arg2
= (wxFrame
*) 0 ;
24758 wxString
*arg3
= 0 ;
24759 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24760 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24761 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24762 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24763 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
24764 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
24765 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24766 wxPyPreviewFrame
*result
;
24767 bool temp3
= false ;
24770 bool temp7
= false ;
24771 PyObject
* obj0
= 0 ;
24772 PyObject
* obj1
= 0 ;
24773 PyObject
* obj2
= 0 ;
24774 PyObject
* obj3
= 0 ;
24775 PyObject
* obj4
= 0 ;
24776 PyObject
* obj5
= 0 ;
24777 PyObject
* obj6
= 0 ;
24778 char *kwnames
[] = {
24779 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24785 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
24786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24788 arg3
= wxString_in_helper(obj2
);
24789 if (arg3
== NULL
) SWIG_fail
;
24795 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24801 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24805 arg6
= (long)SWIG_As_long(obj5
);
24806 if (PyErr_Occurred()) SWIG_fail
;
24810 arg7
= wxString_in_helper(obj6
);
24811 if (arg7
== NULL
) SWIG_fail
;
24816 if (!wxPyCheckForApp()) SWIG_fail
;
24817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24818 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24820 wxPyEndAllowThreads(__tstate
);
24821 if (PyErr_Occurred()) SWIG_fail
;
24823 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
24846 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24847 PyObject
*resultobj
;
24848 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24849 PyObject
*arg2
= (PyObject
*) 0 ;
24850 PyObject
*arg3
= (PyObject
*) 0 ;
24851 PyObject
* obj0
= 0 ;
24852 PyObject
* obj1
= 0 ;
24853 PyObject
* obj2
= 0 ;
24854 char *kwnames
[] = {
24855 (char *) "self",(char *) "self",(char *) "_class", NULL
24858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24865 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24867 wxPyEndAllowThreads(__tstate
);
24868 if (PyErr_Occurred()) SWIG_fail
;
24870 Py_INCREF(Py_None
); resultobj
= Py_None
;
24877 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24878 PyObject
*resultobj
;
24879 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24880 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24881 PyObject
* obj0
= 0 ;
24882 PyObject
* obj1
= 0 ;
24883 char *kwnames
[] = {
24884 (char *) "self",(char *) "canvas", NULL
24887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
24888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24890 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24894 (arg1
)->SetPreviewCanvas(arg2
);
24896 wxPyEndAllowThreads(__tstate
);
24897 if (PyErr_Occurred()) SWIG_fail
;
24899 Py_INCREF(Py_None
); resultobj
= Py_None
;
24906 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24907 PyObject
*resultobj
;
24908 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24909 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
24910 PyObject
* obj0
= 0 ;
24911 PyObject
* obj1
= 0 ;
24912 char *kwnames
[] = {
24913 (char *) "self",(char *) "bar", NULL
24916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
24917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24919 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewControlBar
,
24920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24923 (arg1
)->SetControlBar(arg2
);
24925 wxPyEndAllowThreads(__tstate
);
24926 if (PyErr_Occurred()) SWIG_fail
;
24928 Py_INCREF(Py_None
); resultobj
= Py_None
;
24935 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24936 PyObject
*resultobj
;
24937 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24938 PyObject
* obj0
= 0 ;
24939 char *kwnames
[] = {
24940 (char *) "self", NULL
24943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
24944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24948 (arg1
)->base_Initialize();
24950 wxPyEndAllowThreads(__tstate
);
24951 if (PyErr_Occurred()) SWIG_fail
;
24953 Py_INCREF(Py_None
); resultobj
= Py_None
;
24960 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24961 PyObject
*resultobj
;
24962 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24963 PyObject
* obj0
= 0 ;
24964 char *kwnames
[] = {
24965 (char *) "self", NULL
24968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
24969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24973 (arg1
)->base_CreateCanvas();
24975 wxPyEndAllowThreads(__tstate
);
24976 if (PyErr_Occurred()) SWIG_fail
;
24978 Py_INCREF(Py_None
); resultobj
= Py_None
;
24985 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24986 PyObject
*resultobj
;
24987 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24988 PyObject
* obj0
= 0 ;
24989 char *kwnames
[] = {
24990 (char *) "self", NULL
24993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
24994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24998 (arg1
)->base_CreateControlBar();
25000 wxPyEndAllowThreads(__tstate
);
25001 if (PyErr_Occurred()) SWIG_fail
;
25003 Py_INCREF(Py_None
); resultobj
= Py_None
;
25010 static PyObject
* PyPreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
25012 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25013 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
25015 return Py_BuildValue((char *)"");
25017 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25018 PyObject
*resultobj
;
25019 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25021 wxWindow
*arg3
= (wxWindow
*) 0 ;
25022 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25023 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25024 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25025 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25026 long arg6
= (long) 0 ;
25027 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
25028 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25029 wxPyPreviewControlBar
*result
;
25032 bool temp7
= false ;
25033 PyObject
* obj0
= 0 ;
25034 PyObject
* obj1
= 0 ;
25035 PyObject
* obj2
= 0 ;
25036 PyObject
* obj3
= 0 ;
25037 PyObject
* obj4
= 0 ;
25038 PyObject
* obj5
= 0 ;
25039 PyObject
* obj6
= 0 ;
25040 char *kwnames
[] = {
25041 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
25046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25047 arg2
= (long)SWIG_As_long(obj1
);
25048 if (PyErr_Occurred()) SWIG_fail
;
25049 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
25050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25054 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25060 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25064 arg6
= (long)SWIG_As_long(obj5
);
25065 if (PyErr_Occurred()) SWIG_fail
;
25069 arg7
= wxString_in_helper(obj6
);
25070 if (arg7
== NULL
) SWIG_fail
;
25075 if (!wxPyCheckForApp()) SWIG_fail
;
25076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25077 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25079 wxPyEndAllowThreads(__tstate
);
25080 if (PyErr_Occurred()) SWIG_fail
;
25082 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
25097 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25098 PyObject
*resultobj
;
25099 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
25100 PyObject
*arg2
= (PyObject
*) 0 ;
25101 PyObject
*arg3
= (PyObject
*) 0 ;
25102 PyObject
* obj0
= 0 ;
25103 PyObject
* obj1
= 0 ;
25104 PyObject
* obj2
= 0 ;
25105 char *kwnames
[] = {
25106 (char *) "self",(char *) "self",(char *) "_class", NULL
25109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
25111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25116 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25118 wxPyEndAllowThreads(__tstate
);
25119 if (PyErr_Occurred()) SWIG_fail
;
25121 Py_INCREF(Py_None
); resultobj
= Py_None
;
25128 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25129 PyObject
*resultobj
;
25130 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
25131 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
25132 PyObject
* obj0
= 0 ;
25133 PyObject
* obj1
= 0 ;
25134 char *kwnames
[] = {
25135 (char *) "self",(char *) "preview", NULL
25138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
25139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
25140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25141 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintPreview
,
25142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25145 (arg1
)->SetPrintPreview(arg2
);
25147 wxPyEndAllowThreads(__tstate
);
25148 if (PyErr_Occurred()) SWIG_fail
;
25150 Py_INCREF(Py_None
); resultobj
= Py_None
;
25157 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25158 PyObject
*resultobj
;
25159 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
25160 PyObject
* obj0
= 0 ;
25161 char *kwnames
[] = {
25162 (char *) "self", NULL
25165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
25166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
25167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25170 (arg1
)->base_CreateButtons();
25172 wxPyEndAllowThreads(__tstate
);
25173 if (PyErr_Occurred()) SWIG_fail
;
25175 Py_INCREF(Py_None
); resultobj
= Py_None
;
25182 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25183 PyObject
*resultobj
;
25184 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
25186 PyObject
* obj0
= 0 ;
25187 PyObject
* obj1
= 0 ;
25188 char *kwnames
[] = {
25189 (char *) "self",(char *) "zoom", NULL
25192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
25193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
25194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25195 arg2
= (int)SWIG_As_int(obj1
);
25196 if (PyErr_Occurred()) SWIG_fail
;
25198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25199 (arg1
)->base_SetZoomControl(arg2
);
25201 wxPyEndAllowThreads(__tstate
);
25202 if (PyErr_Occurred()) SWIG_fail
;
25204 Py_INCREF(Py_None
); resultobj
= Py_None
;
25211 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
25213 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25214 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
25216 return Py_BuildValue((char *)"");
25218 static PyMethodDef SwigMethods
[] = {
25219 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25220 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25221 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25222 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25223 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25224 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
25225 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25226 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25227 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25228 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25229 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25230 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25231 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25232 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25233 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25234 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25235 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25236 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25237 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25238 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25239 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
25240 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
25241 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25242 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25243 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25244 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25245 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25246 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25247 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
25248 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25249 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25250 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25251 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25252 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25253 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25254 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25255 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25256 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25257 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25258 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25259 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25260 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25261 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25262 { (char *)"TopLevelWindow_IsActive", (PyCFunction
) _wrap_TopLevelWindow_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25263 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
25264 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25265 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25266 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25267 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25268 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25269 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25270 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25271 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25272 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25273 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25274 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25275 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25276 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25277 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25278 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25279 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25280 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25281 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25282 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25283 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25284 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25285 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25286 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25287 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
25288 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25289 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25290 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25291 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25292 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25293 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25294 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25295 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25296 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25297 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25298 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25299 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
25300 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25301 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25302 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25303 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
25304 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25305 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25306 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25307 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
25308 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25309 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25310 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25311 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25312 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
25313 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25314 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25315 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25316 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25317 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25318 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25319 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25320 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25321 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25322 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25323 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25324 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25325 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25326 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25327 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25328 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25329 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
25330 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25331 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25332 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25333 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25334 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25335 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25336 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25337 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25338 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25339 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25340 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25341 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25342 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25343 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25344 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25345 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25346 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25347 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25348 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25349 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25350 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25351 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25352 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25353 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25354 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25355 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25356 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25357 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
25358 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25359 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25360 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25361 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25362 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25363 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25364 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
25365 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25366 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25367 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25368 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25369 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25370 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25371 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25372 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25373 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25374 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25375 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25376 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25377 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25378 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25379 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25380 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25381 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25382 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25383 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25384 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25385 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25386 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25387 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
25388 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25389 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25390 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25391 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25392 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25393 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25394 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25395 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
25396 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25397 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25398 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25399 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25400 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25401 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25402 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25403 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25404 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25405 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25406 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25407 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
25408 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25409 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25410 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25411 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25412 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25413 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
25414 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25415 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25416 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25417 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25418 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25419 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25420 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25421 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25422 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
25423 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25424 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25425 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25426 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25427 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25428 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
25429 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25430 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25431 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25432 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25433 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
25434 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25435 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25436 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25437 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25438 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
) _wrap_PopupTransientWindow_Dismiss
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25439 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
25440 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25441 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25442 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25443 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
25444 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25445 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25446 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25447 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25448 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25449 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25450 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25451 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25452 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25453 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25454 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25455 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25456 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25457 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25458 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25459 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25460 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25461 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
25462 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25463 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25464 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25465 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25466 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25467 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25468 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25469 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25470 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25471 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25472 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25473 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25474 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25475 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25476 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25477 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25478 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25479 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25480 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25481 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25482 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25483 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25484 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25485 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25486 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25487 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
25488 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25489 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25490 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25491 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25492 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25493 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25494 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
) _wrap_HtmlListBox_GetFileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25495 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
25496 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25497 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25498 { (char *)"TaskBarIcon_Destroy", (PyCFunction
) _wrap_TaskBarIcon_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25499 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25500 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25501 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25502 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25503 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25504 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
25505 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25506 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
25507 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25508 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25509 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25510 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25511 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25512 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25513 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25514 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25515 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
25516 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25517 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25518 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
25519 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25520 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25521 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25522 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25523 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25524 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25525 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
25526 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25527 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25528 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25529 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25530 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25531 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25532 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25533 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25534 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25535 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25536 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25537 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25538 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25539 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25540 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25541 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25542 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25543 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
25544 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25545 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25546 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25547 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
25548 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25549 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25550 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25551 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25552 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
25553 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25554 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25555 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25556 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
25557 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25558 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25559 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25560 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25561 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25562 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25563 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25564 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25565 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25566 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25567 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25568 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25569 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25570 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25571 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25572 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
25573 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25574 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25575 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
25576 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25577 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
25578 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25579 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25580 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25581 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
25582 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25583 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25584 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25585 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25586 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25587 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25588 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25589 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25590 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
25591 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25592 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25593 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25594 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25595 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25596 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25597 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25598 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25599 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
25600 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25601 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25602 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25603 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25604 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25605 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
25606 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25607 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25608 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25609 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25610 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25611 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25612 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25613 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25614 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25615 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25616 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25617 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
25618 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25619 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25620 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25621 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25622 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25623 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25624 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
25625 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25626 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25627 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25628 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
25629 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25630 { (char *)"new_PrePyWindow", (PyCFunction
) _wrap_new_PrePyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25631 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25632 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25633 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25634 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25635 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25636 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25637 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25638 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25639 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25640 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25641 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25642 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25643 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25644 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25645 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25646 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25647 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25648 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25649 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25650 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25651 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25652 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25653 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25654 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
25655 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25656 { (char *)"new_PrePyPanel", (PyCFunction
) _wrap_new_PrePyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25657 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25658 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25659 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25660 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25661 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25662 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25663 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25664 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25665 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25666 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25667 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25668 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25669 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25670 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25671 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25672 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25673 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25674 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25675 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25676 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25677 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction
) _wrap_PyPanel_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25678 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyPanel_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25679 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyPanel_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25680 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
25681 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25682 { (char *)"new_PrePyScrolledWindow", (PyCFunction
) _wrap_new_PrePyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25683 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25684 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25685 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25686 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25687 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25688 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25689 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25690 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25691 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25692 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25693 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25694 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction
) _wrap_PyScrolledWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25695 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25696 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25697 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction
) _wrap_PyScrolledWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25698 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25699 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25700 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyScrolledWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25701 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction
) _wrap_PyScrolledWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25702 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction
) _wrap_PyScrolledWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25703 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyScrolledWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25704 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25705 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyScrolledWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25706 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
25707 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
25708 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25709 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25710 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25711 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25712 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25713 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25714 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25715 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25716 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25717 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25718 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25719 { (char *)"PrintData_GetBin", (PyCFunction
) _wrap_PrintData_GetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25720 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25721 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25722 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25723 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25724 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25725 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25726 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25727 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25728 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25729 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25730 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25731 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25732 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25733 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25734 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25735 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25736 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25737 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25738 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25739 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25740 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25741 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25742 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25743 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25744 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25745 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25746 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25747 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25748 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25749 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25750 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25751 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25752 { (char *)"PrintData_GetOutputStream", (PyCFunction
) _wrap_PrintData_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25753 { (char *)"PrintData_SetOutputStream", (PyCFunction
) _wrap_PrintData_SetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25754 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
25755 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
25756 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25757 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25758 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25759 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25760 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25761 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25762 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25763 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25764 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25765 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25766 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25767 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25768 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25769 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25770 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25771 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25772 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25773 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25774 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25775 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25776 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25777 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25778 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25779 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25780 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25781 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25782 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25783 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25784 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25785 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25786 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
25787 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25788 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25789 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25790 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
25791 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
25792 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25793 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25794 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25795 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25796 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25797 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25798 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25799 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25800 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25801 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25802 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25803 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25804 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25805 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25806 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25807 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25808 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25809 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25810 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25811 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25812 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25813 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25814 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25815 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25816 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25817 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25818 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25819 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25820 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25821 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25822 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25823 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25824 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
25825 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25826 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25827 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25828 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25829 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
25830 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25831 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25832 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25833 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25834 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25835 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25836 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25837 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25838 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25839 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25840 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
25841 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25842 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25843 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25844 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25845 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25846 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25847 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25848 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25849 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25850 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25851 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25852 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25853 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25854 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25855 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25856 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25857 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25858 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25859 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25860 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25861 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25862 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25863 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
25864 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25865 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
25866 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25867 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25868 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25869 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25870 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25871 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
25872 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25873 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25874 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25875 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25876 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25877 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25878 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25879 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25880 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25881 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
25882 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
25883 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25884 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25885 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25886 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25887 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25888 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25889 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25890 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25891 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25892 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25893 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25894 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25895 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25896 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25897 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25898 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25899 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25900 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25901 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25902 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25903 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25904 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25905 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
25906 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
25907 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25908 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25909 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25910 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25911 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25912 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25913 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25914 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25915 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
25916 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25917 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25918 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25919 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25920 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25921 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25922 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25923 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
25924 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25925 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25926 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25927 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25928 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25929 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
25930 { NULL
, NULL
, 0, NULL
}
25934 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25936 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
25937 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25939 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
25940 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25942 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
25943 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
25945 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
25946 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
25948 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
25949 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
25951 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
25952 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
25954 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
25955 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
25957 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
25958 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25960 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
25961 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
25963 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
25964 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
25966 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
25967 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
25969 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
25970 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
25972 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
25973 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25975 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
25976 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
25978 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
25979 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
25981 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
25982 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25984 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
25985 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25987 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
25988 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
25990 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
25991 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
25993 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
25994 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
25996 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
25997 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
25999 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
26000 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
26002 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
26003 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
26005 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
26006 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
26008 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
26009 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26011 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
26012 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
26014 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
26015 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
26017 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
26018 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
26020 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
26021 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
26023 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
26024 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
26026 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
26027 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
26029 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
26030 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26032 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
26033 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
26035 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
26036 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
26038 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
26039 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
26041 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
26042 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
26044 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
26045 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26047 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
26048 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26050 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
26051 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
26053 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
26054 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
26056 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
26057 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
26059 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
26060 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
26062 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
26063 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26065 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
26066 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
26068 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
26069 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26071 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
26072 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
26074 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
26075 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
26077 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
26078 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
26080 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
26081 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
26083 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
26084 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
26086 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
26087 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
26089 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
26090 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26092 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
26093 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26095 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
26096 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
26098 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
26099 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
26101 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
26102 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26104 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
26105 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26107 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
26108 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
26110 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
26111 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
26113 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
26114 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26116 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
26117 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26119 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
26120 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26122 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
26123 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
26125 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
26126 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26128 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
26129 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
26131 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
26132 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
26134 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
26135 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
26137 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
26138 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
26140 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
26141 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
26143 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
26144 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
26146 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
26147 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
26149 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
26150 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26152 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
26153 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
26155 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
26156 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
26158 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
26159 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26161 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
26162 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26164 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
26165 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
26167 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
26168 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
26170 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
26171 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
26173 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
26174 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26176 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
26177 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26179 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
26180 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26182 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
26183 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
26185 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
26186 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26188 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
26189 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
26191 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
26192 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
26194 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
26195 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26197 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
26198 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26200 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
26201 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26203 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
26204 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
26206 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
26207 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
26209 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
26210 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
26212 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
26213 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26215 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
26216 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26218 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
26219 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
26221 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
26222 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
26224 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
26225 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
26227 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
26228 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26230 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
26231 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
26233 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
26234 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
26236 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
26237 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
26239 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
26240 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
26242 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
26243 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
26245 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
26246 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
26248 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
26249 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26251 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
26252 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
26254 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
26255 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
26257 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
26258 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
26260 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
26261 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
26263 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
26264 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
26266 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
26267 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
26269 static void *_p_wxSizerTo_p_wxObject(void *x
) {
26270 return (void *)((wxObject
*) ((wxSizer
*) x
));
26272 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
26273 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
26275 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
26276 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26278 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
26279 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
26281 static void *_p_wxEventTo_p_wxObject(void *x
) {
26282 return (void *)((wxObject
*) ((wxEvent
*) x
));
26284 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
26285 return (void *)((wxObject
*) ((wxFontData
*) x
));
26287 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
26288 return (void *)((wxObject
*) ((wxPrintData
*) x
));
26290 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
26291 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
26293 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
26294 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
26296 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
26297 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
26299 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
26300 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
26302 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
26303 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
26305 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
26306 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
26308 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
26309 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
26311 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
26312 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
26314 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
26315 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
26317 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
26318 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
26320 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
26321 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
26323 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
26324 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
26326 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
26327 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26329 static void *_p_wxControlTo_p_wxObject(void *x
) {
26330 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
26332 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
26333 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
26335 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
26336 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26338 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
26339 return (void *)((wxObject
*) ((wxFSFile
*) x
));
26341 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
26342 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
26344 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
26345 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
26347 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
26348 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26350 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
26351 return (void *)((wxObject
*) ((wxColourData
*) x
));
26353 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
26354 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
26356 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
26357 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26359 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
26360 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
26362 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
26363 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
26365 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
26366 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
26368 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
26369 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26371 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
26372 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26374 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
26375 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
26377 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
26378 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
26380 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
26381 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26383 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
26384 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26386 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
26387 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
26389 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
26390 return (void *)((wxObject
*) ((wxPrinter
*) x
));
26392 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
26393 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
26395 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
26396 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
26398 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
26399 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26401 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
26402 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
26404 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
26405 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
26407 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
26408 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
26410 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
26411 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
26413 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
26414 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
26416 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
26417 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
26419 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
26420 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
26422 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
26423 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
26425 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
26426 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
26428 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
26429 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
26431 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
26432 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
26434 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
26435 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
26437 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
26438 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
26440 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
26441 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
26443 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
26444 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
26446 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
26447 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
26449 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
26450 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
26452 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
26453 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
26455 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
26456 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
26458 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
26459 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
26461 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
26462 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26464 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
26465 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26467 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
26468 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
26470 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
26471 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26473 static void *_p_wxImageTo_p_wxObject(void *x
) {
26474 return (void *)((wxObject
*) ((wxImage
*) x
));
26476 static void *_p_wxFrameTo_p_wxObject(void *x
) {
26477 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
26479 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
26480 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
26482 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
26483 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
26485 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
26486 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
26488 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
26489 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
26491 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
26492 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26494 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
26495 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26497 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
26498 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
26500 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
26501 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
26503 static void *_p_wxWindowTo_p_wxObject(void *x
) {
26504 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
26506 static void *_p_wxMenuTo_p_wxObject(void *x
) {
26507 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
26509 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
26510 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
26512 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
26513 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
26515 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
26516 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
26518 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
26519 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
26521 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
26522 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
26524 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
26525 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
26527 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
26528 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26530 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
26531 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
26533 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
26534 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26536 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
26537 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26539 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
26540 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26542 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
26543 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
26545 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
26546 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26548 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
26549 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
26551 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
26552 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
26554 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
26555 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
26557 static void *_p_wxPanelTo_p_wxObject(void *x
) {
26558 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
26560 static void *_p_wxDialogTo_p_wxObject(void *x
) {
26561 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
26563 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
26564 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26566 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
26567 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26569 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
26570 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26572 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
26573 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
26575 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
26576 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
26578 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
26579 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
26581 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
26582 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26584 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
26585 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
26587 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
26588 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
26590 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
26591 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
26593 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
26594 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
26596 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
26597 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
26599 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
26600 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26602 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
26603 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
26605 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
26606 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
26608 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
26609 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26611 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
26612 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
26614 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
26615 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
26617 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
26618 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26620 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
26621 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
26623 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
26624 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
26626 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
26627 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
26629 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
26630 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
26632 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
26633 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
26635 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
26636 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26638 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
26639 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26641 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
26642 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26644 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
26645 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26647 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
26648 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26650 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
26651 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26653 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
26654 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
26656 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
26657 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
26659 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
26660 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
26662 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
26663 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
26665 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
26666 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
26668 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
26669 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
26671 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
26672 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
26674 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x
) {
26675 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPrintDialog
*) x
));
26677 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
26678 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
26680 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
26681 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
26683 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
26684 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
26686 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
26687 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
26689 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
26690 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
26692 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
26693 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
26695 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
26696 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
26698 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
26699 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26701 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
26702 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26704 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
26705 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
26707 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
26708 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
26710 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
26711 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26713 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
26714 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
26716 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
26717 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26719 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
26720 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
26722 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
26723 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
26725 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
26726 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26728 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
26729 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26731 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
26732 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
26734 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
26735 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
26737 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
26738 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26740 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
26741 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26743 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
26744 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
26746 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
26747 return (void *)((wxWindow
*) ((wxPanel
*) x
));
26749 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
26750 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
26752 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
26753 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
26755 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
26756 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26758 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
26759 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26761 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
26762 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26764 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
26765 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
26767 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
26768 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26770 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
26771 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
26773 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
26774 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
26776 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
26777 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
26779 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
26780 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
26782 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
26783 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
26785 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
26786 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26788 static void *_p_wxControlTo_p_wxWindow(void *x
) {
26789 return (void *)((wxWindow
*) ((wxControl
*) x
));
26791 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
26792 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
26794 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
26795 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26797 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
26798 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26800 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
26801 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
26803 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
26804 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
26806 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
26807 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26809 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
26810 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26812 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
26813 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26815 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
26816 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
26818 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
26819 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26821 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
26822 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
26824 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
26825 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26827 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
26828 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26830 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
26831 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26833 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
26834 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
26836 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
26837 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
26839 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
26840 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
26842 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
26843 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26845 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
26846 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26848 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
26849 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26851 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
26852 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
26854 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
26855 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
26857 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
26858 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
26860 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
26861 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
26863 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x
) {
26864 return (void *)((wxDialog
*) ((wxPageSetupDialog
*) x
));
26866 static void *_p_wxPrintDialogTo_p_wxDialog(void *x
) {
26867 return (void *)((wxDialog
*) ((wxPrintDialog
*) x
));
26869 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
26870 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
26872 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
26873 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26875 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
26876 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26878 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
26879 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
26881 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
26882 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
26884 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
26885 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
26887 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
26888 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
26890 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
26891 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26893 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
26894 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26896 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
26897 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26899 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
26900 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26902 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
26903 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
26905 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
26906 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26908 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
26909 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
26911 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
26912 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26914 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
26915 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26917 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
26918 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
26920 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
26921 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26923 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
26924 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26926 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
26927 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
26929 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
26930 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26932 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
26933 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26935 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
26936 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26938 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
26939 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26941 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
26942 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26944 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
26945 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
26947 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
26948 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26950 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}};
26951 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}};
26952 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}};
26953 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}};
26954 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}};
26955 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}};
26956 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}};
26957 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}};
26958 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}};
26959 static swig_type_info _swigt__p_wxPyTaskBarIcon
[] = {{"_p_wxPyTaskBarIcon", 0, "wxPyTaskBarIcon *", 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26960 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}};
26961 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}};
26962 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}};
26963 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}};
26964 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}};
26965 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}};
26966 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}};
26967 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}};
26968 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}};
26969 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}};
26970 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}};
26971 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}};
26972 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}};
26973 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}};
26974 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}};
26975 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}};
26976 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}};
26977 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}};
26978 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}};
26979 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}};
26980 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}};
26981 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}};
26982 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}};
26983 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}};
26984 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}};
26985 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}};
26986 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}};
26987 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26988 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}};
26989 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}};
26990 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}};
26991 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}};
26992 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}};
26993 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}};
26994 static swig_type_info _swigt__p_wxFrame
[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26995 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}};
26996 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}};
26997 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}};
26998 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}};
26999 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}};
27000 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}};
27001 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_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27002 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}};
27003 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}};
27004 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}};
27005 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}};
27006 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}};
27007 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}};
27008 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}};
27009 static swig_type_info _swigt__p_wxPyPopupTransientWindow
[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPyPopupTransientWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27010 static swig_type_info _swigt__p_wxPopupWindow
[] = {{"_p_wxPopupWindow", 0, "wxPopupWindow *", 0, 0, 0, 0},{"_p_wxPopupWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxPopupWindow
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPopupWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27011 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}};
27012 static swig_type_info _swigt__p_wxTopLevelWindow
[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", 0, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27013 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27014 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}};
27015 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}};
27016 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}};
27017 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}};
27018 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}};
27019 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}};
27020 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}};
27021 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}};
27022 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}};
27023 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}};
27024 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}};
27025 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}};
27026 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}};
27027 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}};
27028 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}};
27029 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}};
27030 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}};
27031 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}};
27032 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}};
27033 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}};
27034 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}};
27035 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}};
27036 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}};
27038 static swig_type_info
*swig_types_initial
[] = {
27039 _swigt__p_wxQueryLayoutInfoEvent
,
27040 _swigt__p_wxPreviewFrame
,
27041 _swigt__p_wxPyPreviewFrame
,
27042 _swigt__p_wxPyPanel
,
27044 _swigt__p_wxFontData
,
27046 _swigt__p_wxPrintData
,
27047 _swigt__p_wxTaskBarIcon
,
27048 _swigt__p_wxPyTaskBarIcon
,
27049 _swigt__p_wxIconBundle
,
27050 _swigt__p_wxLayoutAlgorithm
,
27051 _swigt__p_wxFindDialogEvent
,
27052 _swigt__p_wxPreviewCanvas
,
27054 _swigt__p_wxSplitterEvent
,
27055 _swigt__p_wxRegion
,
27056 _swigt__p_wxFindReplaceData
,
27061 _swigt__p_wxVisualAttributes
,
27062 _swigt__p_wxMDIChildFrame
,
27063 _swigt__p_wxColourData
,
27064 _swigt__p_wxNotifyEvent
,
27065 _swigt__p_wxPyWindow
,
27066 _swigt__p_wxSplashScreen
,
27067 _swigt__p_wxFindReplaceDialog
,
27068 _swigt__p_wxProgressDialog
,
27069 _swigt__p_wxMessageDialog
,
27070 _swigt__p_wxTextEntryDialog
,
27071 _swigt__p_wxSingleChoiceDialog
,
27072 _swigt__p_wxMultiChoiceDialog
,
27073 _swigt__p_wxFileDialog
,
27074 _swigt__p_wxPrinter
,
27075 _swigt__p_wxArrayInt
,
27076 _swigt__p_wxEvtHandler
,
27077 _swigt__p_wxCalculateLayoutEvent
,
27078 _swigt__p_wxPyHtmlListBox
,
27079 _swigt__p_wxPyVListBox
,
27082 _swigt__p_wxMiniFrame
,
27084 _swigt__p_wxPyPrintout
,
27085 _swigt__p_wxTaskBarIconEvent
,
27086 _swigt__p_wxScrollWinEvent
,
27087 _swigt__p_wxStatusBar
,
27088 _swigt__p_wxMDIParentFrame
,
27090 _swigt__p_wxObject
,
27091 _swigt__p_wxOutputStream
,
27092 _swigt__p_wxMDIClientWindow
,
27093 _swigt__p_wxTipWindow
,
27094 _swigt__p_wxSashLayoutWindow
,
27095 _swigt__p_wxSplitterWindow
,
27096 _swigt__p_wxSplashScreenWindow
,
27097 _swigt__p_wxPyVScrolledWindow
,
27098 _swigt__p_wxPyPopupTransientWindow
,
27099 _swigt__p_wxPopupWindow
,
27100 _swigt__p_wxSashWindow
,
27101 _swigt__p_wxTopLevelWindow
,
27102 _swigt__p_wxWindow
,
27103 _swigt__p_wxScrolledWindow
,
27104 _swigt__p_wxMenuBar
,
27105 _swigt__p_wxPyScrolledWindow
,
27106 _swigt__p_wxPrintPreview
,
27107 _swigt__p_wxSashEvent
,
27108 _swigt__p_wxString
,
27109 _swigt__p_wxPyPrintPreview
,
27110 _swigt__p_wxFontDialog
,
27111 _swigt__p_wxDirDialog
,
27112 _swigt__p_wxColourDialog
,
27113 _swigt__p_wxDialog
,
27115 _swigt__p_wxPageSetupDialog
,
27116 _swigt__p_wxPrintDialog
,
27117 _swigt__p_wxFileSystem
,
27118 _swigt__p_wxBitmap
,
27119 _swigt__p_wxCommandEvent
,
27120 _swigt__p_wxPreviewControlBar
,
27121 _swigt__p_wxPyPreviewControlBar
,
27122 _swigt__p_wxColour
,
27123 _swigt__p_wxToolBar
,
27124 _swigt__p_wxPageSetupDialogData
,
27125 _swigt__p_wxPrintDialogData
,
27130 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
27132 static swig_const_info swig_const_table
[] = {
27133 {0, 0, 0, 0.0, 0, 0}};
27142 SWIGEXPORT(void) SWIG_init(void) {
27143 static PyObject
*SWIG_globals
= 0;
27144 static int typeinit
= 0;
27147 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
27148 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
27149 d
= PyModule_GetDict(m
);
27152 for (i
= 0; swig_types_initial
[i
]; i
++) {
27153 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
27157 SWIG_InstallConstants(d
,swig_const_table
);
27159 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
27160 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
27161 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
27162 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
27163 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
27164 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_From_int((int)wxSTAY_ON_TOP
));
27165 PyDict_SetItemString(d
,"ICONIZE", SWIG_From_int((int)wxICONIZE
));
27166 PyDict_SetItemString(d
,"MINIMIZE", SWIG_From_int((int)wxMINIMIZE
));
27167 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_From_int((int)wxMAXIMIZE
));
27168 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_From_int((int)wxCLOSE_BOX
));
27169 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_From_int((int)wxTHICK_FRAME
));
27170 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_From_int((int)wxSYSTEM_MENU
));
27171 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_From_int((int)wxMINIMIZE_BOX
));
27172 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_From_int((int)wxMAXIMIZE_BOX
));
27173 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_From_int((int)wxTINY_CAPTION_HORIZ
));
27174 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_From_int((int)wxTINY_CAPTION_VERT
));
27175 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_From_int((int)wxRESIZE_BOX
));
27176 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_From_int((int)wxRESIZE_BORDER
));
27177 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_From_int((int)wxDIALOG_NO_PARENT
));
27178 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)wxDEFAULT_FRAME_STYLE
));
27179 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)wxDEFAULT_DIALOG_STYLE
));
27180 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_From_int((int)wxFRAME_TOOL_WINDOW
));
27181 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)wxFRAME_FLOAT_ON_PARENT
));
27182 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)wxFRAME_NO_WINDOW_MENU
));
27183 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_From_int((int)wxFRAME_NO_TASKBAR
));
27184 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_From_int((int)wxFRAME_SHAPED
));
27185 PyDict_SetItemString(d
,"FRAME_DRAWER", SWIG_From_int((int)wxFRAME_DRAWER
));
27186 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_From_int((int)wxDIALOG_MODAL
));
27187 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_From_int((int)wxDIALOG_MODELESS
));
27188 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_From_int((int)wxUSER_COLOURS
));
27189 PyDict_SetItemString(d
,"NO_3D", SWIG_From_int((int)wxNO_3D
));
27190 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)wxFULLSCREEN_NOMENUBAR
));
27191 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)wxFULLSCREEN_NOTOOLBAR
));
27192 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)wxFULLSCREEN_NOSTATUSBAR
));
27193 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_From_int((int)wxFULLSCREEN_NOBORDER
));
27194 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)wxFULLSCREEN_NOCAPTION
));
27195 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_From_int((int)wxFULLSCREEN_ALL
));
27196 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)wxTOPLEVEL_EX_DIALOG
));
27197 PyDict_SetItemString(d
,"USER_ATTENTION_INFO", SWIG_From_int((int)wxUSER_ATTENTION_INFO
));
27198 PyDict_SetItemString(d
,"USER_ATTENTION_ERROR", SWIG_From_int((int)wxUSER_ATTENTION_ERROR
));
27199 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)wxSPLASH_CENTRE_ON_PARENT
));
27200 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)wxSPLASH_CENTRE_ON_SCREEN
));
27201 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_From_int((int)wxSPLASH_NO_CENTRE
));
27202 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_From_int((int)wxSPLASH_TIMEOUT
));
27203 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)wxSPLASH_NO_TIMEOUT
));
27204 PyDict_SetItemString(d
,"SB_NORMAL", SWIG_From_int((int)wxSB_NORMAL
));
27205 PyDict_SetItemString(d
,"SB_FLAT", SWIG_From_int((int)wxSB_FLAT
));
27206 PyDict_SetItemString(d
,"SB_RAISED", SWIG_From_int((int)wxSB_RAISED
));
27207 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
27208 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_From_int((int)wxSP_NOBORDER
));
27209 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_From_int((int)wxSP_NOSASH
));
27210 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)wxSP_PERMIT_UNSPLIT
));
27211 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_From_int((int)wxSP_LIVE_UPDATE
));
27212 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_From_int((int)wxSP_3DSASH
));
27213 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_From_int((int)wxSP_3DBORDER
));
27214 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_From_int((int)wxSP_NO_XP_THEME
));
27215 PyDict_SetItemString(d
,"SP_BORDER", SWIG_From_int((int)wxSP_BORDER
));
27216 PyDict_SetItemString(d
,"SP_3D", SWIG_From_int((int)wxSP_3D
));
27217 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_From_int((int)wxSPLIT_HORIZONTAL
));
27218 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_From_int((int)wxSPLIT_VERTICAL
));
27219 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_From_int((int)wxSPLIT_DRAG_NONE
));
27220 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)wxSPLIT_DRAG_DRAGGING
));
27221 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSPLIT_DRAG_LEFT_DOWN
));
27222 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
27223 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
27224 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
27225 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
27226 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
27227 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
27228 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_From_int((int)wxSASH_DRAG_NONE
));
27229 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_From_int((int)wxSASH_DRAG_DRAGGING
));
27230 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSASH_DRAG_LEFT_DOWN
));
27231 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_From_int((int)wxSW_NOBORDER
));
27232 PyDict_SetItemString(d
,"SW_BORDER", SWIG_From_int((int)wxSW_BORDER
));
27233 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_From_int((int)wxSW_3DSASH
));
27234 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_From_int((int)wxSW_3DBORDER
));
27235 PyDict_SetItemString(d
,"SW_3D", SWIG_From_int((int)wxSW_3D
));
27236 PyDict_SetItemString(d
,"SASH_TOP", SWIG_From_int((int)wxSASH_TOP
));
27237 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_From_int((int)wxSASH_RIGHT
));
27238 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_From_int((int)wxSASH_BOTTOM
));
27239 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_From_int((int)wxSASH_LEFT
));
27240 PyDict_SetItemString(d
,"SASH_NONE", SWIG_From_int((int)wxSASH_NONE
));
27241 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_From_int((int)wxSASH_STATUS_OK
));
27242 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)wxSASH_STATUS_OUT_OF_RANGE
));
27243 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
27244 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_From_int((int)wxLAYOUT_HORIZONTAL
));
27245 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_From_int((int)wxLAYOUT_VERTICAL
));
27246 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_From_int((int)wxLAYOUT_NONE
));
27247 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_From_int((int)wxLAYOUT_TOP
));
27248 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_From_int((int)wxLAYOUT_LEFT
));
27249 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_From_int((int)wxLAYOUT_RIGHT
));
27250 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_From_int((int)wxLAYOUT_BOTTOM
));
27251 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_From_int((int)wxLAYOUT_LENGTH_Y
));
27252 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_From_int((int)wxLAYOUT_LENGTH_X
));
27253 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)wxLAYOUT_MRU_LENGTH
));
27254 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_From_int((int)wxLAYOUT_QUERY
));
27255 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
27256 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
27257 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
27259 // Map renamed classes back to their common name for OOR
27260 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
27261 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
27262 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
27264 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
27265 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
27266 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
27267 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
27268 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
27269 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
27270 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
27271 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
27272 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
27273 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
27274 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
27275 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
27276 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
27277 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_From_int((int)wxCHOICEDLG_STYLE
));
27278 PyDict_SetItemString(d
,"FR_DOWN", SWIG_From_int((int)wxFR_DOWN
));
27279 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_From_int((int)wxFR_WHOLEWORD
));
27280 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_From_int((int)wxFR_MATCHCASE
));
27281 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_From_int((int)wxFR_REPLACEDIALOG
));
27282 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_From_int((int)wxFR_NOUPDOWN
));
27283 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_From_int((int)wxFR_NOMATCHCASE
));
27284 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_From_int((int)wxFR_NOWHOLEWORD
));
27285 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
27286 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
27287 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
27288 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
27289 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
27290 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_From_int((int)4001));
27291 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_From_int((int)4001));
27292 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_From_int((int)4002));
27293 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_From_int((int)4003));
27294 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_From_int((int)4004));
27295 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_From_int((int)4005));
27296 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_From_int((int)4100));
27297 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_From_int((int)4600));
27298 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
27299 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
27300 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_From_int((int)wxPRINT_MODE_NONE
));
27301 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_From_int((int)wxPRINT_MODE_PREVIEW
));
27302 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_From_int((int)wxPRINT_MODE_FILE
));
27303 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_From_int((int)wxPRINT_MODE_PRINTER
));
27304 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_From_int((int)wxPRINT_MODE_STREAM
));
27305 PyDict_SetItemString(d
,"PRINTBIN_DEFAULT", SWIG_From_int((int)wxPRINTBIN_DEFAULT
));
27306 PyDict_SetItemString(d
,"PRINTBIN_ONLYONE", SWIG_From_int((int)wxPRINTBIN_ONLYONE
));
27307 PyDict_SetItemString(d
,"PRINTBIN_LOWER", SWIG_From_int((int)wxPRINTBIN_LOWER
));
27308 PyDict_SetItemString(d
,"PRINTBIN_MIDDLE", SWIG_From_int((int)wxPRINTBIN_MIDDLE
));
27309 PyDict_SetItemString(d
,"PRINTBIN_MANUAL", SWIG_From_int((int)wxPRINTBIN_MANUAL
));
27310 PyDict_SetItemString(d
,"PRINTBIN_ENVELOPE", SWIG_From_int((int)wxPRINTBIN_ENVELOPE
));
27311 PyDict_SetItemString(d
,"PRINTBIN_ENVMANUAL", SWIG_From_int((int)wxPRINTBIN_ENVMANUAL
));
27312 PyDict_SetItemString(d
,"PRINTBIN_AUTO", SWIG_From_int((int)wxPRINTBIN_AUTO
));
27313 PyDict_SetItemString(d
,"PRINTBIN_TRACTOR", SWIG_From_int((int)wxPRINTBIN_TRACTOR
));
27314 PyDict_SetItemString(d
,"PRINTBIN_SMALLFMT", SWIG_From_int((int)wxPRINTBIN_SMALLFMT
));
27315 PyDict_SetItemString(d
,"PRINTBIN_LARGEFMT", SWIG_From_int((int)wxPRINTBIN_LARGEFMT
));
27316 PyDict_SetItemString(d
,"PRINTBIN_LARGECAPACITY", SWIG_From_int((int)wxPRINTBIN_LARGECAPACITY
));
27317 PyDict_SetItemString(d
,"PRINTBIN_CASSETTE", SWIG_From_int((int)wxPRINTBIN_CASSETTE
));
27318 PyDict_SetItemString(d
,"PRINTBIN_FORMSOURCE", SWIG_From_int((int)wxPRINTBIN_FORMSOURCE
));
27319 PyDict_SetItemString(d
,"PRINTBIN_USER", SWIG_From_int((int)wxPRINTBIN_USER
));
27320 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_From_int((int)wxPRINTER_NO_ERROR
));
27321 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_From_int((int)wxPRINTER_CANCELLED
));
27322 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_From_int((int)wxPRINTER_ERROR
));
27323 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_From_int((int)wxPREVIEW_PRINT
));
27324 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_From_int((int)wxPREVIEW_PREVIOUS
));
27325 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_From_int((int)wxPREVIEW_NEXT
));
27326 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_From_int((int)wxPREVIEW_ZOOM
));
27327 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_From_int((int)wxPREVIEW_FIRST
));
27328 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_From_int((int)wxPREVIEW_LAST
));
27329 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_From_int((int)wxPREVIEW_GOTO
));
27330 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_From_int((int)wxPREVIEW_DEFAULT
));
27331 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_From_int((int)wxID_PREVIEW_CLOSE
));
27332 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_From_int((int)wxID_PREVIEW_NEXT
));
27333 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)wxID_PREVIEW_PREVIOUS
));
27334 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_From_int((int)wxID_PREVIEW_PRINT
));
27335 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_From_int((int)wxID_PREVIEW_ZOOM
));
27336 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_From_int((int)wxID_PREVIEW_FIRST
));
27337 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_From_int((int)wxID_PREVIEW_LAST
));
27338 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_From_int((int)wxID_PREVIEW_GOTO
));
27340 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");