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 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
345 #define SWIG_From_signed_SS_char PyInt_FromLong
347 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
348 #define SWIG_From_unsigned_SS_char PyInt_FromLong
350 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
351 #define SWIG_From_short PyInt_FromLong
353 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
354 #define SWIG_From_unsigned_SS_short PyInt_FromLong
356 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
357 #define SWIG_From_int PyInt_FromLong
359 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
360 #define SWIG_From_long PyInt_FromLong
362 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
363 #define SWIG_From_float PyFloat_FromDouble
365 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\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_SetTargetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2648 PyObject
*resultobj
;
2649 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2652 PyObject
* obj0
= 0 ;
2653 PyObject
* obj1
= 0 ;
2655 (char *) "self",(char *) "rect", NULL
2658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
2659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2663 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2667 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
2669 wxPyEndAllowThreads(__tstate
);
2670 if (PyErr_Occurred()) SWIG_fail
;
2672 Py_INCREF(Py_None
); resultobj
= Py_None
;
2679 static PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2680 PyObject
*resultobj
;
2681 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2683 PyObject
* obj0
= 0 ;
2685 (char *) "self", NULL
2688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetRect",kwnames
,&obj0
)) goto fail
;
2689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2693 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
2695 wxPyEndAllowThreads(__tstate
);
2696 if (PyErr_Occurred()) SWIG_fail
;
2700 resultptr
= new wxRect((wxRect
&) result
);
2701 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
2709 static PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2710 PyObject
*resultobj
;
2711 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2713 PyObject
* obj0
= 0 ;
2714 PyObject
* obj1
= 0 ;
2716 (char *) "self",(char *) "dc", NULL
2719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
2720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2722 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
2723 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2726 PyErr_SetString(PyExc_TypeError
,"null reference");
2730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2731 (arg1
)->DoPrepareDC(*arg2
);
2733 wxPyEndAllowThreads(__tstate
);
2734 if (PyErr_Occurred()) SWIG_fail
;
2736 Py_INCREF(Py_None
); resultobj
= Py_None
;
2743 static PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2744 PyObject
*resultobj
;
2745 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2746 wxVisualAttributes result
;
2747 PyObject
* obj0
= 0 ;
2749 (char *) "variant", NULL
2752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2754 arg1
= (int)SWIG_As_int(obj0
);
2755 if (PyErr_Occurred()) SWIG_fail
;
2758 if (!wxPyCheckForApp()) SWIG_fail
;
2759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2760 result
= wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2762 wxPyEndAllowThreads(__tstate
);
2763 if (PyErr_Occurred()) SWIG_fail
;
2766 wxVisualAttributes
* resultptr
;
2767 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2768 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2776 static PyObject
* ScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
2778 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2779 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
2781 return Py_BuildValue((char *)"");
2783 static int _wrap_FrameNameStr_set(PyObject
*) {
2784 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
2789 static PyObject
*_wrap_FrameNameStr_get() {
2794 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2796 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2803 static int _wrap_DialogNameStr_set(PyObject
*) {
2804 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
2809 static PyObject
*_wrap_DialogNameStr_get() {
2814 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2816 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2823 static int _wrap_StatusLineNameStr_set(PyObject
*) {
2824 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
2829 static PyObject
*_wrap_StatusLineNameStr_get() {
2834 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2836 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2843 static int _wrap_ToolBarNameStr_set(PyObject
*) {
2844 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
2849 static PyObject
*_wrap_ToolBarNameStr_get() {
2854 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2856 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2863 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2864 PyObject
*resultobj
;
2865 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2866 bool arg2
= (bool) true ;
2867 PyObject
* obj0
= 0 ;
2868 PyObject
* obj1
= 0 ;
2870 (char *) "self",(char *) "maximize", NULL
2873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
2874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2877 arg2
= (bool)SWIG_As_bool(obj1
);
2878 if (PyErr_Occurred()) SWIG_fail
;
2881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2882 (arg1
)->Maximize(arg2
);
2884 wxPyEndAllowThreads(__tstate
);
2885 if (PyErr_Occurred()) SWIG_fail
;
2887 Py_INCREF(Py_None
); resultobj
= Py_None
;
2894 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2895 PyObject
*resultobj
;
2896 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2897 PyObject
* obj0
= 0 ;
2899 (char *) "self", NULL
2902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
2903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2909 wxPyEndAllowThreads(__tstate
);
2910 if (PyErr_Occurred()) SWIG_fail
;
2912 Py_INCREF(Py_None
); resultobj
= Py_None
;
2919 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2920 PyObject
*resultobj
;
2921 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2922 bool arg2
= (bool) true ;
2923 PyObject
* obj0
= 0 ;
2924 PyObject
* obj1
= 0 ;
2926 (char *) "self",(char *) "iconize", NULL
2929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
2930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2933 arg2
= (bool)SWIG_As_bool(obj1
);
2934 if (PyErr_Occurred()) SWIG_fail
;
2937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2938 (arg1
)->Iconize(arg2
);
2940 wxPyEndAllowThreads(__tstate
);
2941 if (PyErr_Occurred()) SWIG_fail
;
2943 Py_INCREF(Py_None
); resultobj
= Py_None
;
2950 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2951 PyObject
*resultobj
;
2952 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2954 PyObject
* obj0
= 0 ;
2956 (char *) "self", NULL
2959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
2960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2964 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
2966 wxPyEndAllowThreads(__tstate
);
2967 if (PyErr_Occurred()) SWIG_fail
;
2970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2978 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2979 PyObject
*resultobj
;
2980 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2982 PyObject
* obj0
= 0 ;
2984 (char *) "self", NULL
2987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
2988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2992 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
2994 wxPyEndAllowThreads(__tstate
);
2995 if (PyErr_Occurred()) SWIG_fail
;
2998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3006 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3007 PyObject
*resultobj
;
3008 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3010 PyObject
* obj0
= 0 ;
3012 (char *) "self", NULL
3015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
3016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3020 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
3022 wxPyEndAllowThreads(__tstate
);
3023 if (PyErr_Occurred()) SWIG_fail
;
3027 resultptr
= new wxIcon((wxIcon
&) result
);
3028 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
3036 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3037 PyObject
*resultobj
;
3038 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3040 PyObject
* obj0
= 0 ;
3041 PyObject
* obj1
= 0 ;
3043 (char *) "self",(char *) "icon", NULL
3046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
3047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3049 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
3050 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3053 PyErr_SetString(PyExc_TypeError
,"null reference");
3057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3058 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
3060 wxPyEndAllowThreads(__tstate
);
3061 if (PyErr_Occurred()) SWIG_fail
;
3063 Py_INCREF(Py_None
); resultobj
= Py_None
;
3070 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3071 PyObject
*resultobj
;
3072 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3073 wxIconBundle
*arg2
= 0 ;
3074 PyObject
* obj0
= 0 ;
3075 PyObject
* obj1
= 0 ;
3077 (char *) "self",(char *) "icons", NULL
3080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
3081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3083 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIconBundle
,
3084 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3087 PyErr_SetString(PyExc_TypeError
,"null reference");
3091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3092 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
3094 wxPyEndAllowThreads(__tstate
);
3095 if (PyErr_Occurred()) SWIG_fail
;
3097 Py_INCREF(Py_None
); resultobj
= Py_None
;
3104 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3105 PyObject
*resultobj
;
3106 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3108 long arg3
= (long) wxFULLSCREEN_ALL
;
3110 PyObject
* obj0
= 0 ;
3111 PyObject
* obj1
= 0 ;
3112 PyObject
* obj2
= 0 ;
3114 (char *) "self",(char *) "show",(char *) "style", NULL
3117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3120 arg2
= (bool)SWIG_As_bool(obj1
);
3121 if (PyErr_Occurred()) SWIG_fail
;
3123 arg3
= (long)SWIG_As_long(obj2
);
3124 if (PyErr_Occurred()) SWIG_fail
;
3127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3128 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
3130 wxPyEndAllowThreads(__tstate
);
3131 if (PyErr_Occurred()) SWIG_fail
;
3134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3142 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3143 PyObject
*resultobj
;
3144 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3146 PyObject
* obj0
= 0 ;
3148 (char *) "self", NULL
3151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
3152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3156 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
3158 wxPyEndAllowThreads(__tstate
);
3159 if (PyErr_Occurred()) SWIG_fail
;
3162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3170 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3171 PyObject
*resultobj
;
3172 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3173 wxString
*arg2
= 0 ;
3174 bool temp2
= false ;
3175 PyObject
* obj0
= 0 ;
3176 PyObject
* obj1
= 0 ;
3178 (char *) "self",(char *) "title", NULL
3181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
3182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3185 arg2
= wxString_in_helper(obj1
);
3186 if (arg2
== NULL
) SWIG_fail
;
3190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3191 (arg1
)->SetTitle((wxString
const &)*arg2
);
3193 wxPyEndAllowThreads(__tstate
);
3194 if (PyErr_Occurred()) SWIG_fail
;
3196 Py_INCREF(Py_None
); resultobj
= Py_None
;
3211 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3212 PyObject
*resultobj
;
3213 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3215 PyObject
* obj0
= 0 ;
3217 (char *) "self", NULL
3220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
3221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3225 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
3227 wxPyEndAllowThreads(__tstate
);
3228 if (PyErr_Occurred()) SWIG_fail
;
3232 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3234 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3243 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3244 PyObject
*resultobj
;
3245 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3246 wxRegion
*arg2
= 0 ;
3248 PyObject
* obj0
= 0 ;
3249 PyObject
* obj1
= 0 ;
3251 (char *) "self",(char *) "region", NULL
3254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
3255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3257 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
3258 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3261 PyErr_SetString(PyExc_TypeError
,"null reference");
3265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3266 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
3268 wxPyEndAllowThreads(__tstate
);
3269 if (PyErr_Occurred()) SWIG_fail
;
3272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3280 static PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3281 PyObject
*resultobj
;
3282 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3283 int arg2
= (int) wxUSER_ATTENTION_INFO
;
3284 PyObject
* obj0
= 0 ;
3285 PyObject
* obj1
= 0 ;
3287 (char *) "self",(char *) "flags", NULL
3290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) goto fail
;
3291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3294 arg2
= (int)SWIG_As_int(obj1
);
3295 if (PyErr_Occurred()) SWIG_fail
;
3298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3299 (arg1
)->RequestUserAttention(arg2
);
3301 wxPyEndAllowThreads(__tstate
);
3302 if (PyErr_Occurred()) SWIG_fail
;
3304 Py_INCREF(Py_None
); resultobj
= Py_None
;
3311 static PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3312 PyObject
*resultobj
;
3313 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3315 PyObject
* obj0
= 0 ;
3317 (char *) "self", NULL
3320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsActive",kwnames
,&obj0
)) goto fail
;
3321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3325 result
= (bool)(arg1
)->IsActive();
3327 wxPyEndAllowThreads(__tstate
);
3328 if (PyErr_Occurred()) SWIG_fail
;
3331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3339 static PyObject
* TopLevelWindow_swigregister(PyObject
*, PyObject
*args
) {
3341 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3342 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
3344 return Py_BuildValue((char *)"");
3346 static PyObject
*_wrap_new_Frame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3347 PyObject
*resultobj
;
3348 wxWindow
*arg1
= (wxWindow
*) 0 ;
3349 int arg2
= (int) (int)-1 ;
3350 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3351 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3352 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3353 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3354 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3355 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3356 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
3357 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
3358 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3360 bool temp3
= false ;
3363 bool temp7
= false ;
3364 PyObject
* obj0
= 0 ;
3365 PyObject
* obj1
= 0 ;
3366 PyObject
* obj2
= 0 ;
3367 PyObject
* obj3
= 0 ;
3368 PyObject
* obj4
= 0 ;
3369 PyObject
* obj5
= 0 ;
3370 PyObject
* obj6
= 0 ;
3372 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3379 arg2
= (int)SWIG_As_int(obj1
);
3380 if (PyErr_Occurred()) SWIG_fail
;
3384 arg3
= wxString_in_helper(obj2
);
3385 if (arg3
== NULL
) SWIG_fail
;
3392 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3398 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3402 arg6
= (long)SWIG_As_long(obj5
);
3403 if (PyErr_Occurred()) SWIG_fail
;
3407 arg7
= wxString_in_helper(obj6
);
3408 if (arg7
== NULL
) SWIG_fail
;
3413 if (!wxPyCheckForApp()) SWIG_fail
;
3414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3415 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3417 wxPyEndAllowThreads(__tstate
);
3418 if (PyErr_Occurred()) SWIG_fail
;
3420 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
3443 static PyObject
*_wrap_new_PreFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3444 PyObject
*resultobj
;
3450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
3452 if (!wxPyCheckForApp()) SWIG_fail
;
3453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3454 result
= (wxFrame
*)new wxFrame();
3456 wxPyEndAllowThreads(__tstate
);
3457 if (PyErr_Occurred()) SWIG_fail
;
3459 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
3466 static PyObject
*_wrap_Frame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3467 PyObject
*resultobj
;
3468 wxFrame
*arg1
= (wxFrame
*) 0 ;
3469 wxWindow
*arg2
= (wxWindow
*) 0 ;
3470 int arg3
= (int) (int)-1 ;
3471 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3472 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3473 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3474 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3475 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3476 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3477 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
3478 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
3479 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3481 bool temp4
= false ;
3484 bool temp8
= false ;
3485 PyObject
* obj0
= 0 ;
3486 PyObject
* obj1
= 0 ;
3487 PyObject
* obj2
= 0 ;
3488 PyObject
* obj3
= 0 ;
3489 PyObject
* obj4
= 0 ;
3490 PyObject
* obj5
= 0 ;
3491 PyObject
* obj6
= 0 ;
3492 PyObject
* obj7
= 0 ;
3494 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3500 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3503 arg3
= (int)SWIG_As_int(obj2
);
3504 if (PyErr_Occurred()) SWIG_fail
;
3508 arg4
= wxString_in_helper(obj3
);
3509 if (arg4
== NULL
) SWIG_fail
;
3516 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3522 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3526 arg7
= (long)SWIG_As_long(obj6
);
3527 if (PyErr_Occurred()) SWIG_fail
;
3531 arg8
= wxString_in_helper(obj7
);
3532 if (arg8
== NULL
) SWIG_fail
;
3537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3538 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3540 wxPyEndAllowThreads(__tstate
);
3541 if (PyErr_Occurred()) SWIG_fail
;
3544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3568 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3569 PyObject
*resultobj
;
3570 wxFrame
*arg1
= (wxFrame
*) 0 ;
3572 PyObject
* obj0
= 0 ;
3574 (char *) "self", NULL
3577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
3578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3582 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
3584 wxPyEndAllowThreads(__tstate
);
3585 if (PyErr_Occurred()) SWIG_fail
;
3588 wxPoint
* resultptr
;
3589 resultptr
= new wxPoint((wxPoint
&) result
);
3590 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3598 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3599 PyObject
*resultobj
;
3600 wxFrame
*arg1
= (wxFrame
*) 0 ;
3601 PyObject
* obj0
= 0 ;
3603 (char *) "self", NULL
3606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
3607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3611 (arg1
)->SendSizeEvent();
3613 wxPyEndAllowThreads(__tstate
);
3614 if (PyErr_Occurred()) SWIG_fail
;
3616 Py_INCREF(Py_None
); resultobj
= Py_None
;
3623 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3624 PyObject
*resultobj
;
3625 wxFrame
*arg1
= (wxFrame
*) 0 ;
3626 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
3627 PyObject
* obj0
= 0 ;
3628 PyObject
* obj1
= 0 ;
3630 (char *) "self",(char *) "menubar", NULL
3633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3636 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBar
,
3637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3640 (arg1
)->SetMenuBar(arg2
);
3642 wxPyEndAllowThreads(__tstate
);
3643 if (PyErr_Occurred()) SWIG_fail
;
3645 Py_INCREF(Py_None
); resultobj
= Py_None
;
3652 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3653 PyObject
*resultobj
;
3654 wxFrame
*arg1
= (wxFrame
*) 0 ;
3656 PyObject
* obj0
= 0 ;
3658 (char *) "self", NULL
3661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
3662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3666 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
3668 wxPyEndAllowThreads(__tstate
);
3669 if (PyErr_Occurred()) SWIG_fail
;
3672 resultobj
= wxPyMake_wxObject(result
, 0);
3680 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3681 PyObject
*resultobj
;
3682 wxFrame
*arg1
= (wxFrame
*) 0 ;
3685 PyObject
* obj0
= 0 ;
3686 PyObject
* obj1
= 0 ;
3688 (char *) "self",(char *) "winid", NULL
3691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
3692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3694 arg2
= (int)SWIG_As_int(obj1
);
3695 if (PyErr_Occurred()) SWIG_fail
;
3697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3698 result
= (bool)(arg1
)->ProcessCommand(arg2
);
3700 wxPyEndAllowThreads(__tstate
);
3701 if (PyErr_Occurred()) SWIG_fail
;
3704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3712 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3713 PyObject
*resultobj
;
3714 wxFrame
*arg1
= (wxFrame
*) 0 ;
3715 int arg2
= (int) 1 ;
3716 long arg3
= (long) wxST_SIZEGRIP
;
3717 int arg4
= (int) 0 ;
3718 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
3719 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3720 wxStatusBar
*result
;
3721 bool temp5
= false ;
3722 PyObject
* obj0
= 0 ;
3723 PyObject
* obj1
= 0 ;
3724 PyObject
* obj2
= 0 ;
3725 PyObject
* obj3
= 0 ;
3726 PyObject
* obj4
= 0 ;
3728 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3735 arg2
= (int)SWIG_As_int(obj1
);
3736 if (PyErr_Occurred()) SWIG_fail
;
3739 arg3
= (long)SWIG_As_long(obj2
);
3740 if (PyErr_Occurred()) SWIG_fail
;
3743 arg4
= (int)SWIG_As_int(obj3
);
3744 if (PyErr_Occurred()) SWIG_fail
;
3748 arg5
= wxString_in_helper(obj4
);
3749 if (arg5
== NULL
) SWIG_fail
;
3754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3755 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
3757 wxPyEndAllowThreads(__tstate
);
3758 if (PyErr_Occurred()) SWIG_fail
;
3761 resultobj
= wxPyMake_wxObject(result
, 0);
3777 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3778 PyObject
*resultobj
;
3779 wxFrame
*arg1
= (wxFrame
*) 0 ;
3780 wxStatusBar
*result
;
3781 PyObject
* obj0
= 0 ;
3783 (char *) "self", NULL
3786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
3787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3791 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
3793 wxPyEndAllowThreads(__tstate
);
3794 if (PyErr_Occurred()) SWIG_fail
;
3797 resultobj
= wxPyMake_wxObject(result
, 0);
3805 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3806 PyObject
*resultobj
;
3807 wxFrame
*arg1
= (wxFrame
*) 0 ;
3808 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
3809 PyObject
* obj0
= 0 ;
3810 PyObject
* obj1
= 0 ;
3812 (char *) "self",(char *) "statBar", NULL
3815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3818 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxStatusBar
,
3819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3822 (arg1
)->SetStatusBar(arg2
);
3824 wxPyEndAllowThreads(__tstate
);
3825 if (PyErr_Occurred()) SWIG_fail
;
3827 Py_INCREF(Py_None
); resultobj
= Py_None
;
3834 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3835 PyObject
*resultobj
;
3836 wxFrame
*arg1
= (wxFrame
*) 0 ;
3837 wxString
*arg2
= 0 ;
3838 int arg3
= (int) 0 ;
3839 bool temp2
= false ;
3840 PyObject
* obj0
= 0 ;
3841 PyObject
* obj1
= 0 ;
3842 PyObject
* obj2
= 0 ;
3844 (char *) "self",(char *) "text",(char *) "number", NULL
3847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3851 arg2
= wxString_in_helper(obj1
);
3852 if (arg2
== NULL
) SWIG_fail
;
3856 arg3
= (int)SWIG_As_int(obj2
);
3857 if (PyErr_Occurred()) SWIG_fail
;
3860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3861 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
3863 wxPyEndAllowThreads(__tstate
);
3864 if (PyErr_Occurred()) SWIG_fail
;
3866 Py_INCREF(Py_None
); resultobj
= Py_None
;
3881 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3882 PyObject
*resultobj
;
3883 wxFrame
*arg1
= (wxFrame
*) 0 ;
3885 int *arg3
= (int *) 0 ;
3886 PyObject
* obj0
= 0 ;
3887 PyObject
* obj1
= 0 ;
3889 (char *) "self",(char *) "widths", NULL
3892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
3893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3896 arg2
= PyList_Size(obj1
);
3897 arg3
= int_LIST_helper(obj1
);
3898 if (arg3
== NULL
) SWIG_fail
;
3901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3902 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
3904 wxPyEndAllowThreads(__tstate
);
3905 if (PyErr_Occurred()) SWIG_fail
;
3907 Py_INCREF(Py_None
); resultobj
= Py_None
;
3909 if (arg3
) delete [] arg3
;
3914 if (arg3
) delete [] arg3
;
3920 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3921 PyObject
*resultobj
;
3922 wxFrame
*arg1
= (wxFrame
*) 0 ;
3923 wxString
*arg2
= 0 ;
3924 int arg3
= (int) 0 ;
3925 bool temp2
= false ;
3926 PyObject
* obj0
= 0 ;
3927 PyObject
* obj1
= 0 ;
3928 PyObject
* obj2
= 0 ;
3930 (char *) "self",(char *) "text",(char *) "number", NULL
3933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3937 arg2
= wxString_in_helper(obj1
);
3938 if (arg2
== NULL
) SWIG_fail
;
3942 arg3
= (int)SWIG_As_int(obj2
);
3943 if (PyErr_Occurred()) SWIG_fail
;
3946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3947 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
3949 wxPyEndAllowThreads(__tstate
);
3950 if (PyErr_Occurred()) SWIG_fail
;
3952 Py_INCREF(Py_None
); resultobj
= Py_None
;
3967 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3968 PyObject
*resultobj
;
3969 wxFrame
*arg1
= (wxFrame
*) 0 ;
3970 int arg2
= (int) 0 ;
3971 PyObject
* obj0
= 0 ;
3972 PyObject
* obj1
= 0 ;
3974 (char *) "self",(char *) "number", NULL
3977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
3978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3981 arg2
= (int)SWIG_As_int(obj1
);
3982 if (PyErr_Occurred()) SWIG_fail
;
3985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3986 (arg1
)->PopStatusText(arg2
);
3988 wxPyEndAllowThreads(__tstate
);
3989 if (PyErr_Occurred()) SWIG_fail
;
3991 Py_INCREF(Py_None
); resultobj
= Py_None
;
3998 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3999 PyObject
*resultobj
;
4000 wxFrame
*arg1
= (wxFrame
*) 0 ;
4002 PyObject
* obj0
= 0 ;
4003 PyObject
* obj1
= 0 ;
4005 (char *) "self",(char *) "n", NULL
4008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
4009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4011 arg2
= (int)SWIG_As_int(obj1
);
4012 if (PyErr_Occurred()) SWIG_fail
;
4014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4015 (arg1
)->SetStatusBarPane(arg2
);
4017 wxPyEndAllowThreads(__tstate
);
4018 if (PyErr_Occurred()) SWIG_fail
;
4020 Py_INCREF(Py_None
); resultobj
= Py_None
;
4027 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4028 PyObject
*resultobj
;
4029 wxFrame
*arg1
= (wxFrame
*) 0 ;
4031 PyObject
* obj0
= 0 ;
4033 (char *) "self", NULL
4036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
4037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4041 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
4043 wxPyEndAllowThreads(__tstate
);
4044 if (PyErr_Occurred()) SWIG_fail
;
4046 resultobj
= SWIG_From_int((int)result
);
4053 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4054 PyObject
*resultobj
;
4055 wxFrame
*arg1
= (wxFrame
*) 0 ;
4056 long arg2
= (long) -1 ;
4057 int arg3
= (int) -1 ;
4058 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
4059 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4061 bool temp4
= false ;
4062 PyObject
* obj0
= 0 ;
4063 PyObject
* obj1
= 0 ;
4064 PyObject
* obj2
= 0 ;
4065 PyObject
* obj3
= 0 ;
4067 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
4070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4074 arg2
= (long)SWIG_As_long(obj1
);
4075 if (PyErr_Occurred()) SWIG_fail
;
4078 arg3
= (int)SWIG_As_int(obj2
);
4079 if (PyErr_Occurred()) SWIG_fail
;
4083 arg4
= wxString_in_helper(obj3
);
4084 if (arg4
== NULL
) SWIG_fail
;
4089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4090 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
4092 wxPyEndAllowThreads(__tstate
);
4093 if (PyErr_Occurred()) SWIG_fail
;
4096 resultobj
= wxPyMake_wxObject(result
, 0);
4112 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4113 PyObject
*resultobj
;
4114 wxFrame
*arg1
= (wxFrame
*) 0 ;
4116 PyObject
* obj0
= 0 ;
4118 (char *) "self", NULL
4121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
4122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4126 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
4128 wxPyEndAllowThreads(__tstate
);
4129 if (PyErr_Occurred()) SWIG_fail
;
4132 resultobj
= wxPyMake_wxObject(result
, 0);
4140 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4141 PyObject
*resultobj
;
4142 wxFrame
*arg1
= (wxFrame
*) 0 ;
4143 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
4144 PyObject
* obj0
= 0 ;
4145 PyObject
* obj1
= 0 ;
4147 (char *) "self",(char *) "toolbar", NULL
4150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
4151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4153 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBar
,
4154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4157 (arg1
)->SetToolBar(arg2
);
4159 wxPyEndAllowThreads(__tstate
);
4160 if (PyErr_Occurred()) SWIG_fail
;
4162 Py_INCREF(Py_None
); resultobj
= Py_None
;
4169 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4170 PyObject
*resultobj
;
4171 wxFrame
*arg1
= (wxFrame
*) 0 ;
4172 wxString
*arg2
= 0 ;
4174 bool temp2
= false ;
4175 PyObject
* obj0
= 0 ;
4176 PyObject
* obj1
= 0 ;
4177 PyObject
* obj2
= 0 ;
4179 (char *) "self",(char *) "text",(char *) "show", NULL
4182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4186 arg2
= wxString_in_helper(obj1
);
4187 if (arg2
== NULL
) SWIG_fail
;
4190 arg3
= (bool)SWIG_As_bool(obj2
);
4191 if (PyErr_Occurred()) SWIG_fail
;
4193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4194 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
4196 wxPyEndAllowThreads(__tstate
);
4197 if (PyErr_Occurred()) SWIG_fail
;
4199 Py_INCREF(Py_None
); resultobj
= Py_None
;
4214 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4215 PyObject
*resultobj
;
4216 wxFrame
*arg1
= (wxFrame
*) 0 ;
4217 wxMenu
*arg2
= (wxMenu
*) NULL
;
4218 PyObject
* obj0
= 0 ;
4219 PyObject
* obj1
= 0 ;
4221 (char *) "self",(char *) "menu", NULL
4224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
4225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4228 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
4229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4233 (arg1
)->DoMenuUpdates(arg2
);
4235 wxPyEndAllowThreads(__tstate
);
4236 if (PyErr_Occurred()) SWIG_fail
;
4238 Py_INCREF(Py_None
); resultobj
= Py_None
;
4245 static PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4246 PyObject
*resultobj
;
4247 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4248 wxVisualAttributes result
;
4249 PyObject
* obj0
= 0 ;
4251 (char *) "variant", NULL
4254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4256 arg1
= (int)SWIG_As_int(obj0
);
4257 if (PyErr_Occurred()) SWIG_fail
;
4260 if (!wxPyCheckForApp()) SWIG_fail
;
4261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4262 result
= wxFrame::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4264 wxPyEndAllowThreads(__tstate
);
4265 if (PyErr_Occurred()) SWIG_fail
;
4268 wxVisualAttributes
* resultptr
;
4269 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4270 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4278 static PyObject
* Frame_swigregister(PyObject
*, PyObject
*args
) {
4280 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4281 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
4283 return Py_BuildValue((char *)"");
4285 static PyObject
*_wrap_new_Dialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4286 PyObject
*resultobj
;
4287 wxWindow
*arg1
= (wxWindow
*) 0 ;
4288 int arg2
= (int) (int)-1 ;
4289 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4290 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4291 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4292 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4293 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4294 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4295 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
4296 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
4297 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4299 bool temp3
= false ;
4302 bool temp7
= false ;
4303 PyObject
* obj0
= 0 ;
4304 PyObject
* obj1
= 0 ;
4305 PyObject
* obj2
= 0 ;
4306 PyObject
* obj3
= 0 ;
4307 PyObject
* obj4
= 0 ;
4308 PyObject
* obj5
= 0 ;
4309 PyObject
* obj6
= 0 ;
4311 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4318 arg2
= (int)SWIG_As_int(obj1
);
4319 if (PyErr_Occurred()) SWIG_fail
;
4323 arg3
= wxString_in_helper(obj2
);
4324 if (arg3
== NULL
) SWIG_fail
;
4331 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4337 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4341 arg6
= (long)SWIG_As_long(obj5
);
4342 if (PyErr_Occurred()) SWIG_fail
;
4346 arg7
= wxString_in_helper(obj6
);
4347 if (arg7
== NULL
) SWIG_fail
;
4352 if (!wxPyCheckForApp()) SWIG_fail
;
4353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4354 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4356 wxPyEndAllowThreads(__tstate
);
4357 if (PyErr_Occurred()) SWIG_fail
;
4359 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
4382 static PyObject
*_wrap_new_PreDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4383 PyObject
*resultobj
;
4389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
4391 if (!wxPyCheckForApp()) SWIG_fail
;
4392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4393 result
= (wxDialog
*)new wxDialog();
4395 wxPyEndAllowThreads(__tstate
);
4396 if (PyErr_Occurred()) SWIG_fail
;
4398 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
4405 static PyObject
*_wrap_Dialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4406 PyObject
*resultobj
;
4407 wxDialog
*arg1
= (wxDialog
*) 0 ;
4408 wxWindow
*arg2
= (wxWindow
*) 0 ;
4409 int arg3
= (int) (int)-1 ;
4410 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4411 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4412 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4413 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4414 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4415 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4416 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
4417 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
4418 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4420 bool temp4
= false ;
4423 bool temp8
= false ;
4424 PyObject
* obj0
= 0 ;
4425 PyObject
* obj1
= 0 ;
4426 PyObject
* obj2
= 0 ;
4427 PyObject
* obj3
= 0 ;
4428 PyObject
* obj4
= 0 ;
4429 PyObject
* obj5
= 0 ;
4430 PyObject
* obj6
= 0 ;
4431 PyObject
* obj7
= 0 ;
4433 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4439 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4442 arg3
= (int)SWIG_As_int(obj2
);
4443 if (PyErr_Occurred()) SWIG_fail
;
4447 arg4
= wxString_in_helper(obj3
);
4448 if (arg4
== NULL
) SWIG_fail
;
4455 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4461 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4465 arg7
= (long)SWIG_As_long(obj6
);
4466 if (PyErr_Occurred()) SWIG_fail
;
4470 arg8
= wxString_in_helper(obj7
);
4471 if (arg8
== NULL
) SWIG_fail
;
4476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4477 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4479 wxPyEndAllowThreads(__tstate
);
4480 if (PyErr_Occurred()) SWIG_fail
;
4483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4507 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4508 PyObject
*resultobj
;
4509 wxDialog
*arg1
= (wxDialog
*) 0 ;
4511 PyObject
* obj0
= 0 ;
4512 PyObject
* obj1
= 0 ;
4514 (char *) "self",(char *) "returnCode", NULL
4517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
4518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4520 arg2
= (int)SWIG_As_int(obj1
);
4521 if (PyErr_Occurred()) SWIG_fail
;
4523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4524 (arg1
)->SetReturnCode(arg2
);
4526 wxPyEndAllowThreads(__tstate
);
4527 if (PyErr_Occurred()) SWIG_fail
;
4529 Py_INCREF(Py_None
); resultobj
= Py_None
;
4536 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4537 PyObject
*resultobj
;
4538 wxDialog
*arg1
= (wxDialog
*) 0 ;
4540 PyObject
* obj0
= 0 ;
4542 (char *) "self", NULL
4545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
4546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4550 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
4552 wxPyEndAllowThreads(__tstate
);
4553 if (PyErr_Occurred()) SWIG_fail
;
4555 resultobj
= SWIG_From_int((int)result
);
4562 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4563 PyObject
*resultobj
;
4564 wxDialog
*arg1
= (wxDialog
*) 0 ;
4565 wxString
*arg2
= 0 ;
4567 bool temp2
= false ;
4568 PyObject
* obj0
= 0 ;
4569 PyObject
* obj1
= 0 ;
4571 (char *) "self",(char *) "message", NULL
4574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4578 arg2
= wxString_in_helper(obj1
);
4579 if (arg2
== NULL
) SWIG_fail
;
4583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4584 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
4586 wxPyEndAllowThreads(__tstate
);
4587 if (PyErr_Occurred()) SWIG_fail
;
4590 resultobj
= wxPyMake_wxSizer(result
, 0);
4606 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4607 PyObject
*resultobj
;
4608 wxDialog
*arg1
= (wxDialog
*) 0 ;
4611 PyObject
* obj0
= 0 ;
4612 PyObject
* obj1
= 0 ;
4614 (char *) "self",(char *) "flags", NULL
4617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4620 arg2
= (long)SWIG_As_long(obj1
);
4621 if (PyErr_Occurred()) SWIG_fail
;
4623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4624 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
4626 wxPyEndAllowThreads(__tstate
);
4627 if (PyErr_Occurred()) SWIG_fail
;
4630 resultobj
= wxPyMake_wxSizer(result
, 0);
4638 static PyObject
*_wrap_Dialog_IsModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4639 PyObject
*resultobj
;
4640 wxDialog
*arg1
= (wxDialog
*) 0 ;
4642 PyObject
* obj0
= 0 ;
4644 (char *) "self", NULL
4647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
4648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4652 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
4654 wxPyEndAllowThreads(__tstate
);
4655 if (PyErr_Occurred()) SWIG_fail
;
4658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4666 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4667 PyObject
*resultobj
;
4668 wxDialog
*arg1
= (wxDialog
*) 0 ;
4670 PyObject
* obj0
= 0 ;
4672 (char *) "self", NULL
4675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
4676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4680 result
= (int)(arg1
)->ShowModal();
4682 wxPyEndAllowThreads(__tstate
);
4683 if (PyErr_Occurred()) SWIG_fail
;
4685 resultobj
= SWIG_From_int((int)result
);
4692 static PyObject
*_wrap_Dialog_EndModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4693 PyObject
*resultobj
;
4694 wxDialog
*arg1
= (wxDialog
*) 0 ;
4696 PyObject
* obj0
= 0 ;
4697 PyObject
* obj1
= 0 ;
4699 (char *) "self",(char *) "retCode", NULL
4702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
4703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4705 arg2
= (int)SWIG_As_int(obj1
);
4706 if (PyErr_Occurred()) SWIG_fail
;
4708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4709 (arg1
)->EndModal(arg2
);
4711 wxPyEndAllowThreads(__tstate
);
4712 if (PyErr_Occurred()) SWIG_fail
;
4714 Py_INCREF(Py_None
); resultobj
= Py_None
;
4721 static PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4722 PyObject
*resultobj
;
4723 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4724 wxVisualAttributes result
;
4725 PyObject
* obj0
= 0 ;
4727 (char *) "variant", NULL
4730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4732 arg1
= (int)SWIG_As_int(obj0
);
4733 if (PyErr_Occurred()) SWIG_fail
;
4736 if (!wxPyCheckForApp()) SWIG_fail
;
4737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4738 result
= wxDialog::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4740 wxPyEndAllowThreads(__tstate
);
4741 if (PyErr_Occurred()) SWIG_fail
;
4744 wxVisualAttributes
* resultptr
;
4745 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4746 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4754 static PyObject
* Dialog_swigregister(PyObject
*, PyObject
*args
) {
4756 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4757 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
4759 return Py_BuildValue((char *)"");
4761 static PyObject
*_wrap_new_MiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4762 PyObject
*resultobj
;
4763 wxWindow
*arg1
= (wxWindow
*) 0 ;
4764 int arg2
= (int) (int)-1 ;
4765 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4766 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4767 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4768 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4769 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4770 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4771 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4772 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4773 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4774 wxMiniFrame
*result
;
4775 bool temp3
= false ;
4778 bool temp7
= false ;
4779 PyObject
* obj0
= 0 ;
4780 PyObject
* obj1
= 0 ;
4781 PyObject
* obj2
= 0 ;
4782 PyObject
* obj3
= 0 ;
4783 PyObject
* obj4
= 0 ;
4784 PyObject
* obj5
= 0 ;
4785 PyObject
* obj6
= 0 ;
4787 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4794 arg2
= (int)SWIG_As_int(obj1
);
4795 if (PyErr_Occurred()) SWIG_fail
;
4799 arg3
= wxString_in_helper(obj2
);
4800 if (arg3
== NULL
) SWIG_fail
;
4807 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4813 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4817 arg6
= (long)SWIG_As_long(obj5
);
4818 if (PyErr_Occurred()) SWIG_fail
;
4822 arg7
= wxString_in_helper(obj6
);
4823 if (arg7
== NULL
) SWIG_fail
;
4828 if (!wxPyCheckForApp()) SWIG_fail
;
4829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4830 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4832 wxPyEndAllowThreads(__tstate
);
4833 if (PyErr_Occurred()) SWIG_fail
;
4835 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4858 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4859 PyObject
*resultobj
;
4860 wxMiniFrame
*result
;
4865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
4867 if (!wxPyCheckForApp()) SWIG_fail
;
4868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4869 result
= (wxMiniFrame
*)new wxMiniFrame();
4871 wxPyEndAllowThreads(__tstate
);
4872 if (PyErr_Occurred()) SWIG_fail
;
4874 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4881 static PyObject
*_wrap_MiniFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4882 PyObject
*resultobj
;
4883 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
4884 wxWindow
*arg2
= (wxWindow
*) 0 ;
4885 int arg3
= (int) (int)-1 ;
4886 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4887 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4888 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4889 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4890 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4891 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4892 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4893 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4894 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4896 bool temp4
= false ;
4899 bool temp8
= false ;
4900 PyObject
* obj0
= 0 ;
4901 PyObject
* obj1
= 0 ;
4902 PyObject
* obj2
= 0 ;
4903 PyObject
* obj3
= 0 ;
4904 PyObject
* obj4
= 0 ;
4905 PyObject
* obj5
= 0 ;
4906 PyObject
* obj6
= 0 ;
4907 PyObject
* obj7
= 0 ;
4909 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMiniFrame
,
4914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4915 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4918 arg3
= (int)SWIG_As_int(obj2
);
4919 if (PyErr_Occurred()) SWIG_fail
;
4923 arg4
= wxString_in_helper(obj3
);
4924 if (arg4
== NULL
) SWIG_fail
;
4931 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4937 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4941 arg7
= (long)SWIG_As_long(obj6
);
4942 if (PyErr_Occurred()) SWIG_fail
;
4946 arg8
= wxString_in_helper(obj7
);
4947 if (arg8
== NULL
) SWIG_fail
;
4952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4953 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4955 wxPyEndAllowThreads(__tstate
);
4956 if (PyErr_Occurred()) SWIG_fail
;
4959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4983 static PyObject
* MiniFrame_swigregister(PyObject
*, PyObject
*args
) {
4985 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4986 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
4988 return Py_BuildValue((char *)"");
4990 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4991 PyObject
*resultobj
;
4992 wxBitmap
*arg1
= 0 ;
4993 wxWindow
*arg2
= (wxWindow
*) 0 ;
4995 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4996 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4997 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4998 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4999 long arg6
= (long) wxNO_BORDER
;
5000 wxSplashScreenWindow
*result
;
5003 PyObject
* obj0
= 0 ;
5004 PyObject
* obj1
= 0 ;
5005 PyObject
* obj2
= 0 ;
5006 PyObject
* obj3
= 0 ;
5007 PyObject
* obj4
= 0 ;
5008 PyObject
* obj5
= 0 ;
5010 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
5013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
5015 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5018 PyErr_SetString(PyExc_TypeError
,"null reference");
5021 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5023 arg3
= (int)SWIG_As_int(obj2
);
5024 if (PyErr_Occurred()) SWIG_fail
;
5028 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5034 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5038 arg6
= (long)SWIG_As_long(obj5
);
5039 if (PyErr_Occurred()) SWIG_fail
;
5042 if (!wxPyCheckForApp()) SWIG_fail
;
5043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5044 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
5046 wxPyEndAllowThreads(__tstate
);
5047 if (PyErr_Occurred()) SWIG_fail
;
5049 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
5056 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5057 PyObject
*resultobj
;
5058 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
5059 wxBitmap
*arg2
= 0 ;
5060 PyObject
* obj0
= 0 ;
5061 PyObject
* obj1
= 0 ;
5063 (char *) "self",(char *) "bitmap", NULL
5066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
5068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5069 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5070 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5073 PyErr_SetString(PyExc_TypeError
,"null reference");
5077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5078 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
5080 wxPyEndAllowThreads(__tstate
);
5081 if (PyErr_Occurred()) SWIG_fail
;
5083 Py_INCREF(Py_None
); resultobj
= Py_None
;
5090 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5091 PyObject
*resultobj
;
5092 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
5094 PyObject
* obj0
= 0 ;
5096 (char *) "self", NULL
5099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
5100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
5101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5105 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
5106 result
= (wxBitmap
*) &_result_ref
;
5109 wxPyEndAllowThreads(__tstate
);
5110 if (PyErr_Occurred()) SWIG_fail
;
5113 wxBitmap
* resultptr
= new wxBitmap(*result
);
5114 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5122 static PyObject
* SplashScreenWindow_swigregister(PyObject
*, PyObject
*args
) {
5124 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5125 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
5127 return Py_BuildValue((char *)"");
5129 static PyObject
*_wrap_new_SplashScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5130 PyObject
*resultobj
;
5131 wxBitmap
*arg1
= 0 ;
5134 wxWindow
*arg4
= (wxWindow
*) 0 ;
5135 int arg5
= (int) -1 ;
5136 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
5137 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
5138 wxSize
const &arg7_defvalue
= wxDefaultSize
;
5139 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
5140 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
5141 wxSplashScreen
*result
;
5144 PyObject
* obj0
= 0 ;
5145 PyObject
* obj1
= 0 ;
5146 PyObject
* obj2
= 0 ;
5147 PyObject
* obj3
= 0 ;
5148 PyObject
* obj4
= 0 ;
5149 PyObject
* obj5
= 0 ;
5150 PyObject
* obj6
= 0 ;
5151 PyObject
* obj7
= 0 ;
5153 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
5156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
5158 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5161 PyErr_SetString(PyExc_TypeError
,"null reference");
5164 arg2
= (long)SWIG_As_long(obj1
);
5165 if (PyErr_Occurred()) SWIG_fail
;
5166 arg3
= (int)SWIG_As_int(obj2
);
5167 if (PyErr_Occurred()) SWIG_fail
;
5168 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
5169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5171 arg5
= (int)SWIG_As_int(obj4
);
5172 if (PyErr_Occurred()) SWIG_fail
;
5177 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
5183 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
5187 arg8
= (long)SWIG_As_long(obj7
);
5188 if (PyErr_Occurred()) SWIG_fail
;
5191 if (!wxPyCheckForApp()) SWIG_fail
;
5192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5193 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
5195 wxPyEndAllowThreads(__tstate
);
5196 if (PyErr_Occurred()) SWIG_fail
;
5198 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
5205 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5206 PyObject
*resultobj
;
5207 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
5209 PyObject
* obj0
= 0 ;
5211 (char *) "self", NULL
5214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
5215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
5216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5219 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
5221 wxPyEndAllowThreads(__tstate
);
5222 if (PyErr_Occurred()) SWIG_fail
;
5224 resultobj
= SWIG_From_long((long)result
);
5231 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5232 PyObject
*resultobj
;
5233 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
5234 wxSplashScreenWindow
*result
;
5235 PyObject
* obj0
= 0 ;
5237 (char *) "self", NULL
5240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
5241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
5242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5245 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
5247 wxPyEndAllowThreads(__tstate
);
5248 if (PyErr_Occurred()) SWIG_fail
;
5250 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
5257 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5258 PyObject
*resultobj
;
5259 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
5261 PyObject
* obj0
= 0 ;
5263 (char *) "self", NULL
5266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
5267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
5268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5271 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
5273 wxPyEndAllowThreads(__tstate
);
5274 if (PyErr_Occurred()) SWIG_fail
;
5276 resultobj
= SWIG_From_int((int)result
);
5283 static PyObject
* SplashScreen_swigregister(PyObject
*, PyObject
*args
) {
5285 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5286 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
5288 return Py_BuildValue((char *)"");
5290 static PyObject
*_wrap_new_StatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5291 PyObject
*resultobj
;
5292 wxWindow
*arg1
= (wxWindow
*) 0 ;
5293 int arg2
= (int) -1 ;
5294 long arg3
= (long) wxST_SIZEGRIP
;
5295 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
5296 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5297 wxStatusBar
*result
;
5298 bool temp4
= false ;
5299 PyObject
* obj0
= 0 ;
5300 PyObject
* obj1
= 0 ;
5301 PyObject
* obj2
= 0 ;
5302 PyObject
* obj3
= 0 ;
5304 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5311 arg2
= (int)SWIG_As_int(obj1
);
5312 if (PyErr_Occurred()) SWIG_fail
;
5315 arg3
= (long)SWIG_As_long(obj2
);
5316 if (PyErr_Occurred()) SWIG_fail
;
5320 arg4
= wxString_in_helper(obj3
);
5321 if (arg4
== NULL
) SWIG_fail
;
5326 if (!wxPyCheckForApp()) SWIG_fail
;
5327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5328 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
5330 wxPyEndAllowThreads(__tstate
);
5331 if (PyErr_Occurred()) SWIG_fail
;
5333 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
5348 static PyObject
*_wrap_new_PreStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5349 PyObject
*resultobj
;
5350 wxStatusBar
*result
;
5355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
5357 if (!wxPyCheckForApp()) SWIG_fail
;
5358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5359 result
= (wxStatusBar
*)new wxStatusBar();
5361 wxPyEndAllowThreads(__tstate
);
5362 if (PyErr_Occurred()) SWIG_fail
;
5364 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
5371 static PyObject
*_wrap_StatusBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5372 PyObject
*resultobj
;
5373 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5374 wxWindow
*arg2
= (wxWindow
*) 0 ;
5375 int arg3
= (int) -1 ;
5376 long arg4
= (long) wxST_SIZEGRIP
;
5377 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
5378 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5380 bool temp5
= false ;
5381 PyObject
* obj0
= 0 ;
5382 PyObject
* obj1
= 0 ;
5383 PyObject
* obj2
= 0 ;
5384 PyObject
* obj3
= 0 ;
5385 PyObject
* obj4
= 0 ;
5387 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5393 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5396 arg3
= (int)SWIG_As_int(obj2
);
5397 if (PyErr_Occurred()) SWIG_fail
;
5400 arg4
= (long)SWIG_As_long(obj3
);
5401 if (PyErr_Occurred()) SWIG_fail
;
5405 arg5
= wxString_in_helper(obj4
);
5406 if (arg5
== NULL
) SWIG_fail
;
5411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5412 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
5414 wxPyEndAllowThreads(__tstate
);
5415 if (PyErr_Occurred()) SWIG_fail
;
5418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5434 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5435 PyObject
*resultobj
;
5436 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5437 int arg2
= (int) 1 ;
5438 PyObject
* obj0
= 0 ;
5439 PyObject
* obj1
= 0 ;
5441 (char *) "self",(char *) "number", NULL
5444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
5445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5448 arg2
= (int)SWIG_As_int(obj1
);
5449 if (PyErr_Occurred()) SWIG_fail
;
5452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5453 (arg1
)->SetFieldsCount(arg2
);
5455 wxPyEndAllowThreads(__tstate
);
5456 if (PyErr_Occurred()) SWIG_fail
;
5458 Py_INCREF(Py_None
); resultobj
= Py_None
;
5465 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5466 PyObject
*resultobj
;
5467 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5469 PyObject
* obj0
= 0 ;
5471 (char *) "self", NULL
5474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
5475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5479 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
5481 wxPyEndAllowThreads(__tstate
);
5482 if (PyErr_Occurred()) SWIG_fail
;
5484 resultobj
= SWIG_From_int((int)result
);
5491 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5492 PyObject
*resultobj
;
5493 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5494 wxString
*arg2
= 0 ;
5495 int arg3
= (int) 0 ;
5496 bool temp2
= false ;
5497 PyObject
* obj0
= 0 ;
5498 PyObject
* obj1
= 0 ;
5499 PyObject
* obj2
= 0 ;
5501 (char *) "self",(char *) "text",(char *) "number", NULL
5504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5508 arg2
= wxString_in_helper(obj1
);
5509 if (arg2
== NULL
) SWIG_fail
;
5513 arg3
= (int)SWIG_As_int(obj2
);
5514 if (PyErr_Occurred()) SWIG_fail
;
5517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5518 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
5520 wxPyEndAllowThreads(__tstate
);
5521 if (PyErr_Occurred()) SWIG_fail
;
5523 Py_INCREF(Py_None
); resultobj
= Py_None
;
5538 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5539 PyObject
*resultobj
;
5540 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5541 int arg2
= (int) 0 ;
5543 PyObject
* obj0
= 0 ;
5544 PyObject
* obj1
= 0 ;
5546 (char *) "self",(char *) "number", NULL
5549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5553 arg2
= (int)SWIG_As_int(obj1
);
5554 if (PyErr_Occurred()) SWIG_fail
;
5557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5558 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
5560 wxPyEndAllowThreads(__tstate
);
5561 if (PyErr_Occurred()) SWIG_fail
;
5565 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5567 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5576 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5577 PyObject
*resultobj
;
5578 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5579 wxString
*arg2
= 0 ;
5580 int arg3
= (int) 0 ;
5581 bool temp2
= false ;
5582 PyObject
* obj0
= 0 ;
5583 PyObject
* obj1
= 0 ;
5584 PyObject
* obj2
= 0 ;
5586 (char *) "self",(char *) "text",(char *) "number", NULL
5589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5593 arg2
= wxString_in_helper(obj1
);
5594 if (arg2
== NULL
) SWIG_fail
;
5598 arg3
= (int)SWIG_As_int(obj2
);
5599 if (PyErr_Occurred()) SWIG_fail
;
5602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5603 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5605 wxPyEndAllowThreads(__tstate
);
5606 if (PyErr_Occurred()) SWIG_fail
;
5608 Py_INCREF(Py_None
); resultobj
= Py_None
;
5623 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5624 PyObject
*resultobj
;
5625 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5626 int arg2
= (int) 0 ;
5627 PyObject
* obj0
= 0 ;
5628 PyObject
* obj1
= 0 ;
5630 (char *) "self",(char *) "number", NULL
5633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5637 arg2
= (int)SWIG_As_int(obj1
);
5638 if (PyErr_Occurred()) SWIG_fail
;
5641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5642 (arg1
)->PopStatusText(arg2
);
5644 wxPyEndAllowThreads(__tstate
);
5645 if (PyErr_Occurred()) SWIG_fail
;
5647 Py_INCREF(Py_None
); resultobj
= Py_None
;
5654 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5655 PyObject
*resultobj
;
5656 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5658 int *arg3
= (int *) 0 ;
5659 PyObject
* obj0
= 0 ;
5660 PyObject
* obj1
= 0 ;
5662 (char *) "self",(char *) "widths", NULL
5665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5669 arg2
= PyList_Size(obj1
);
5670 arg3
= int_LIST_helper(obj1
);
5671 if (arg3
== NULL
) SWIG_fail
;
5674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5675 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5677 wxPyEndAllowThreads(__tstate
);
5678 if (PyErr_Occurred()) SWIG_fail
;
5680 Py_INCREF(Py_None
); resultobj
= Py_None
;
5682 if (arg3
) delete [] arg3
;
5687 if (arg3
) delete [] arg3
;
5693 static PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5694 PyObject
*resultobj
;
5695 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5697 int *arg3
= (int *) 0 ;
5698 PyObject
* obj0
= 0 ;
5699 PyObject
* obj1
= 0 ;
5701 (char *) "self",(char *) "styles", NULL
5704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) goto fail
;
5705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5708 arg2
= PyList_Size(obj1
);
5709 arg3
= int_LIST_helper(obj1
);
5710 if (arg3
== NULL
) SWIG_fail
;
5713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5714 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
5716 wxPyEndAllowThreads(__tstate
);
5717 if (PyErr_Occurred()) SWIG_fail
;
5719 Py_INCREF(Py_None
); resultobj
= Py_None
;
5721 if (arg3
) delete [] arg3
;
5726 if (arg3
) delete [] arg3
;
5732 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5733 PyObject
*resultobj
;
5734 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5737 PyObject
* obj0
= 0 ;
5738 PyObject
* obj1
= 0 ;
5740 (char *) "self",(char *) "i", NULL
5743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5746 arg2
= (int)SWIG_As_int(obj1
);
5747 if (PyErr_Occurred()) SWIG_fail
;
5749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5750 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
5752 wxPyEndAllowThreads(__tstate
);
5753 if (PyErr_Occurred()) SWIG_fail
;
5757 resultptr
= new wxRect((wxRect
&) result
);
5758 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5766 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5767 PyObject
*resultobj
;
5768 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5770 PyObject
* obj0
= 0 ;
5771 PyObject
* obj1
= 0 ;
5773 (char *) "self",(char *) "height", NULL
5776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5779 arg2
= (int)SWIG_As_int(obj1
);
5780 if (PyErr_Occurred()) SWIG_fail
;
5782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5783 (arg1
)->SetMinHeight(arg2
);
5785 wxPyEndAllowThreads(__tstate
);
5786 if (PyErr_Occurred()) SWIG_fail
;
5788 Py_INCREF(Py_None
); resultobj
= Py_None
;
5795 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5796 PyObject
*resultobj
;
5797 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5799 PyObject
* obj0
= 0 ;
5801 (char *) "self", NULL
5804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
5805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5809 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
5811 wxPyEndAllowThreads(__tstate
);
5812 if (PyErr_Occurred()) SWIG_fail
;
5814 resultobj
= SWIG_From_int((int)result
);
5821 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5822 PyObject
*resultobj
;
5823 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5825 PyObject
* obj0
= 0 ;
5827 (char *) "self", NULL
5830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
5831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5835 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
5837 wxPyEndAllowThreads(__tstate
);
5838 if (PyErr_Occurred()) SWIG_fail
;
5840 resultobj
= SWIG_From_int((int)result
);
5847 static PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5848 PyObject
*resultobj
;
5849 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5850 wxVisualAttributes result
;
5851 PyObject
* obj0
= 0 ;
5853 (char *) "variant", NULL
5856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5858 arg1
= (int)SWIG_As_int(obj0
);
5859 if (PyErr_Occurred()) SWIG_fail
;
5862 if (!wxPyCheckForApp()) SWIG_fail
;
5863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5864 result
= wxStatusBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5866 wxPyEndAllowThreads(__tstate
);
5867 if (PyErr_Occurred()) SWIG_fail
;
5870 wxVisualAttributes
* resultptr
;
5871 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5872 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5880 static PyObject
* StatusBar_swigregister(PyObject
*, PyObject
*args
) {
5882 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5883 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
5885 return Py_BuildValue((char *)"");
5887 static int _wrap_SplitterNameStr_set(PyObject
*) {
5888 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
5893 static PyObject
*_wrap_SplitterNameStr_get() {
5898 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5900 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5907 static PyObject
*_wrap_new_SplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5908 PyObject
*resultobj
;
5909 wxWindow
*arg1
= (wxWindow
*) 0 ;
5910 int arg2
= (int) -1 ;
5911 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5912 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5913 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5914 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5915 long arg5
= (long) wxSP_3D
;
5916 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
5917 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5918 wxSplitterWindow
*result
;
5921 bool temp6
= false ;
5922 PyObject
* obj0
= 0 ;
5923 PyObject
* obj1
= 0 ;
5924 PyObject
* obj2
= 0 ;
5925 PyObject
* obj3
= 0 ;
5926 PyObject
* obj4
= 0 ;
5927 PyObject
* obj5
= 0 ;
5929 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5936 arg2
= (int)SWIG_As_int(obj1
);
5937 if (PyErr_Occurred()) SWIG_fail
;
5942 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5948 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5952 arg5
= (long)SWIG_As_long(obj4
);
5953 if (PyErr_Occurred()) SWIG_fail
;
5957 arg6
= wxString_in_helper(obj5
);
5958 if (arg6
== NULL
) SWIG_fail
;
5963 if (!wxPyCheckForApp()) SWIG_fail
;
5964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5965 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
5967 wxPyEndAllowThreads(__tstate
);
5968 if (PyErr_Occurred()) SWIG_fail
;
5970 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5985 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5986 PyObject
*resultobj
;
5987 wxSplitterWindow
*result
;
5992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
5994 if (!wxPyCheckForApp()) SWIG_fail
;
5995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5996 result
= (wxSplitterWindow
*)new wxSplitterWindow();
5998 wxPyEndAllowThreads(__tstate
);
5999 if (PyErr_Occurred()) SWIG_fail
;
6001 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
6008 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6009 PyObject
*resultobj
;
6010 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6011 wxWindow
*arg2
= (wxWindow
*) 0 ;
6012 int arg3
= (int) -1 ;
6013 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6014 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6015 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6016 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6017 long arg6
= (long) wxSP_3D
;
6018 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
6019 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6023 bool temp7
= false ;
6024 PyObject
* obj0
= 0 ;
6025 PyObject
* obj1
= 0 ;
6026 PyObject
* obj2
= 0 ;
6027 PyObject
* obj3
= 0 ;
6028 PyObject
* obj4
= 0 ;
6029 PyObject
* obj5
= 0 ;
6030 PyObject
* obj6
= 0 ;
6032 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6038 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6041 arg3
= (int)SWIG_As_int(obj2
);
6042 if (PyErr_Occurred()) SWIG_fail
;
6047 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6053 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6057 arg6
= (long)SWIG_As_long(obj5
);
6058 if (PyErr_Occurred()) SWIG_fail
;
6062 arg7
= wxString_in_helper(obj6
);
6063 if (arg7
== NULL
) SWIG_fail
;
6068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6069 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6071 wxPyEndAllowThreads(__tstate
);
6072 if (PyErr_Occurred()) SWIG_fail
;
6075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6091 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6092 PyObject
*resultobj
;
6093 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6095 PyObject
* obj0
= 0 ;
6097 (char *) "self", NULL
6100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
6101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6105 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
6107 wxPyEndAllowThreads(__tstate
);
6108 if (PyErr_Occurred()) SWIG_fail
;
6111 resultobj
= wxPyMake_wxObject(result
, 0);
6119 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6120 PyObject
*resultobj
;
6121 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6123 PyObject
* obj0
= 0 ;
6125 (char *) "self", NULL
6128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
6129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6133 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
6135 wxPyEndAllowThreads(__tstate
);
6136 if (PyErr_Occurred()) SWIG_fail
;
6139 resultobj
= wxPyMake_wxObject(result
, 0);
6147 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6148 PyObject
*resultobj
;
6149 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6151 PyObject
* obj0
= 0 ;
6152 PyObject
* obj1
= 0 ;
6154 (char *) "self",(char *) "mode", NULL
6157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
6158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6160 arg2
= (int)SWIG_As_int(obj1
);
6161 if (PyErr_Occurred()) SWIG_fail
;
6163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6164 (arg1
)->SetSplitMode(arg2
);
6166 wxPyEndAllowThreads(__tstate
);
6167 if (PyErr_Occurred()) SWIG_fail
;
6169 Py_INCREF(Py_None
); resultobj
= Py_None
;
6176 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6177 PyObject
*resultobj
;
6178 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6180 PyObject
* obj0
= 0 ;
6182 (char *) "self", NULL
6185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
6186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6190 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
6192 wxPyEndAllowThreads(__tstate
);
6193 if (PyErr_Occurred()) SWIG_fail
;
6195 resultobj
= SWIG_From_int((int)result
);
6202 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6203 PyObject
*resultobj
;
6204 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6205 wxWindow
*arg2
= (wxWindow
*) 0 ;
6206 PyObject
* obj0
= 0 ;
6207 PyObject
* obj1
= 0 ;
6209 (char *) "self",(char *) "window", NULL
6212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
6213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6215 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6219 (arg1
)->Initialize(arg2
);
6221 wxPyEndAllowThreads(__tstate
);
6222 if (PyErr_Occurred()) SWIG_fail
;
6224 Py_INCREF(Py_None
); resultobj
= Py_None
;
6231 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6232 PyObject
*resultobj
;
6233 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6234 wxWindow
*arg2
= (wxWindow
*) 0 ;
6235 wxWindow
*arg3
= (wxWindow
*) 0 ;
6236 int arg4
= (int) 0 ;
6238 PyObject
* obj0
= 0 ;
6239 PyObject
* obj1
= 0 ;
6240 PyObject
* obj2
= 0 ;
6241 PyObject
* obj3
= 0 ;
6243 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6249 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6251 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6254 arg4
= (int)SWIG_As_int(obj3
);
6255 if (PyErr_Occurred()) SWIG_fail
;
6258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6259 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
6261 wxPyEndAllowThreads(__tstate
);
6262 if (PyErr_Occurred()) SWIG_fail
;
6265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6273 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6274 PyObject
*resultobj
;
6275 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6276 wxWindow
*arg2
= (wxWindow
*) 0 ;
6277 wxWindow
*arg3
= (wxWindow
*) 0 ;
6278 int arg4
= (int) 0 ;
6280 PyObject
* obj0
= 0 ;
6281 PyObject
* obj1
= 0 ;
6282 PyObject
* obj2
= 0 ;
6283 PyObject
* obj3
= 0 ;
6285 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6291 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6293 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6296 arg4
= (int)SWIG_As_int(obj3
);
6297 if (PyErr_Occurred()) SWIG_fail
;
6300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6301 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
6303 wxPyEndAllowThreads(__tstate
);
6304 if (PyErr_Occurred()) SWIG_fail
;
6307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6315 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6316 PyObject
*resultobj
;
6317 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6318 wxWindow
*arg2
= (wxWindow
*) NULL
;
6320 PyObject
* obj0
= 0 ;
6321 PyObject
* obj1
= 0 ;
6323 (char *) "self",(char *) "toRemove", NULL
6326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
6327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6330 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6335 result
= (bool)(arg1
)->Unsplit(arg2
);
6337 wxPyEndAllowThreads(__tstate
);
6338 if (PyErr_Occurred()) SWIG_fail
;
6341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6349 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6350 PyObject
*resultobj
;
6351 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6352 wxWindow
*arg2
= (wxWindow
*) 0 ;
6353 wxWindow
*arg3
= (wxWindow
*) 0 ;
6355 PyObject
* obj0
= 0 ;
6356 PyObject
* obj1
= 0 ;
6357 PyObject
* obj2
= 0 ;
6359 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
6362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6365 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6367 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6371 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
6373 wxPyEndAllowThreads(__tstate
);
6374 if (PyErr_Occurred()) SWIG_fail
;
6377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6385 static PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6386 PyObject
*resultobj
;
6387 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6388 PyObject
* obj0
= 0 ;
6390 (char *) "self", NULL
6393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_UpdateSize",kwnames
,&obj0
)) goto fail
;
6394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6398 (arg1
)->UpdateSize();
6400 wxPyEndAllowThreads(__tstate
);
6401 if (PyErr_Occurred()) SWIG_fail
;
6403 Py_INCREF(Py_None
); resultobj
= Py_None
;
6410 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6411 PyObject
*resultobj
;
6412 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6414 PyObject
* obj0
= 0 ;
6416 (char *) "self", NULL
6419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
6420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6424 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
6426 wxPyEndAllowThreads(__tstate
);
6427 if (PyErr_Occurred()) SWIG_fail
;
6430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6438 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6439 PyObject
*resultobj
;
6440 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6442 PyObject
* obj0
= 0 ;
6443 PyObject
* obj1
= 0 ;
6445 (char *) "self",(char *) "width", NULL
6448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6451 arg2
= (int)SWIG_As_int(obj1
);
6452 if (PyErr_Occurred()) SWIG_fail
;
6454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6455 (arg1
)->SetSashSize(arg2
);
6457 wxPyEndAllowThreads(__tstate
);
6458 if (PyErr_Occurred()) SWIG_fail
;
6460 Py_INCREF(Py_None
); resultobj
= Py_None
;
6467 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6468 PyObject
*resultobj
;
6469 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6471 PyObject
* obj0
= 0 ;
6472 PyObject
* obj1
= 0 ;
6474 (char *) "self",(char *) "width", NULL
6477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6480 arg2
= (int)SWIG_As_int(obj1
);
6481 if (PyErr_Occurred()) SWIG_fail
;
6483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6484 (arg1
)->SetBorderSize(arg2
);
6486 wxPyEndAllowThreads(__tstate
);
6487 if (PyErr_Occurred()) SWIG_fail
;
6489 Py_INCREF(Py_None
); resultobj
= Py_None
;
6496 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6497 PyObject
*resultobj
;
6498 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6500 PyObject
* obj0
= 0 ;
6502 (char *) "self", NULL
6505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
6506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6510 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
6512 wxPyEndAllowThreads(__tstate
);
6513 if (PyErr_Occurred()) SWIG_fail
;
6515 resultobj
= SWIG_From_int((int)result
);
6522 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6523 PyObject
*resultobj
;
6524 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6526 PyObject
* obj0
= 0 ;
6528 (char *) "self", NULL
6531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
6532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6536 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
6538 wxPyEndAllowThreads(__tstate
);
6539 if (PyErr_Occurred()) SWIG_fail
;
6541 resultobj
= SWIG_From_int((int)result
);
6548 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6549 PyObject
*resultobj
;
6550 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6552 bool arg3
= (bool) true ;
6553 PyObject
* obj0
= 0 ;
6554 PyObject
* obj1
= 0 ;
6555 PyObject
* obj2
= 0 ;
6557 (char *) "self",(char *) "position",(char *) "redraw", NULL
6560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6563 arg2
= (int)SWIG_As_int(obj1
);
6564 if (PyErr_Occurred()) SWIG_fail
;
6566 arg3
= (bool)SWIG_As_bool(obj2
);
6567 if (PyErr_Occurred()) SWIG_fail
;
6570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6571 (arg1
)->SetSashPosition(arg2
,arg3
);
6573 wxPyEndAllowThreads(__tstate
);
6574 if (PyErr_Occurred()) SWIG_fail
;
6576 Py_INCREF(Py_None
); resultobj
= Py_None
;
6583 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6584 PyObject
*resultobj
;
6585 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6587 PyObject
* obj0
= 0 ;
6589 (char *) "self", NULL
6592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6597 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
6599 wxPyEndAllowThreads(__tstate
);
6600 if (PyErr_Occurred()) SWIG_fail
;
6602 resultobj
= SWIG_From_int((int)result
);
6609 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6610 PyObject
*resultobj
;
6611 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6613 PyObject
* obj0
= 0 ;
6614 PyObject
* obj1
= 0 ;
6616 (char *) "self",(char *) "min", NULL
6619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6622 arg2
= (int)SWIG_As_int(obj1
);
6623 if (PyErr_Occurred()) SWIG_fail
;
6625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6626 (arg1
)->SetMinimumPaneSize(arg2
);
6628 wxPyEndAllowThreads(__tstate
);
6629 if (PyErr_Occurred()) SWIG_fail
;
6631 Py_INCREF(Py_None
); resultobj
= Py_None
;
6638 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6639 PyObject
*resultobj
;
6640 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6642 PyObject
* obj0
= 0 ;
6644 (char *) "self", NULL
6647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
6648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6652 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
6654 wxPyEndAllowThreads(__tstate
);
6655 if (PyErr_Occurred()) SWIG_fail
;
6657 resultobj
= SWIG_From_int((int)result
);
6664 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6665 PyObject
*resultobj
;
6666 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6669 int arg4
= (int) 5 ;
6671 PyObject
* obj0
= 0 ;
6672 PyObject
* obj1
= 0 ;
6673 PyObject
* obj2
= 0 ;
6674 PyObject
* obj3
= 0 ;
6676 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6682 arg2
= (int)SWIG_As_int(obj1
);
6683 if (PyErr_Occurred()) SWIG_fail
;
6684 arg3
= (int)SWIG_As_int(obj2
);
6685 if (PyErr_Occurred()) SWIG_fail
;
6687 arg4
= (int)SWIG_As_int(obj3
);
6688 if (PyErr_Occurred()) SWIG_fail
;
6691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6692 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
6694 wxPyEndAllowThreads(__tstate
);
6695 if (PyErr_Occurred()) SWIG_fail
;
6698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6706 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6707 PyObject
*resultobj
;
6708 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6709 PyObject
* obj0
= 0 ;
6711 (char *) "self", NULL
6714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
6715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6719 (arg1
)->SizeWindows();
6721 wxPyEndAllowThreads(__tstate
);
6722 if (PyErr_Occurred()) SWIG_fail
;
6724 Py_INCREF(Py_None
); resultobj
= Py_None
;
6731 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6732 PyObject
*resultobj
;
6733 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6735 PyObject
* obj0
= 0 ;
6736 PyObject
* obj1
= 0 ;
6738 (char *) "self",(char *) "needUpdating", NULL
6741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
6742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6744 arg2
= (bool)SWIG_As_bool(obj1
);
6745 if (PyErr_Occurred()) SWIG_fail
;
6747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6748 (arg1
)->SetNeedUpdating(arg2
);
6750 wxPyEndAllowThreads(__tstate
);
6751 if (PyErr_Occurred()) SWIG_fail
;
6753 Py_INCREF(Py_None
); resultobj
= Py_None
;
6760 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6761 PyObject
*resultobj
;
6762 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6764 PyObject
* obj0
= 0 ;
6766 (char *) "self", NULL
6769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
6770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6774 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
6776 wxPyEndAllowThreads(__tstate
);
6777 if (PyErr_Occurred()) SWIG_fail
;
6780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6788 static PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6789 PyObject
*resultobj
;
6790 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
6791 wxVisualAttributes result
;
6792 PyObject
* obj0
= 0 ;
6794 (char *) "variant", NULL
6797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6799 arg1
= (int)SWIG_As_int(obj0
);
6800 if (PyErr_Occurred()) SWIG_fail
;
6803 if (!wxPyCheckForApp()) SWIG_fail
;
6804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6805 result
= wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6807 wxPyEndAllowThreads(__tstate
);
6808 if (PyErr_Occurred()) SWIG_fail
;
6811 wxVisualAttributes
* resultptr
;
6812 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
6813 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6821 static PyObject
* SplitterWindow_swigregister(PyObject
*, PyObject
*args
) {
6823 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6824 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
6826 return Py_BuildValue((char *)"");
6828 static PyObject
*_wrap_new_SplitterEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6829 PyObject
*resultobj
;
6830 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
6831 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
6832 wxSplitterEvent
*result
;
6833 PyObject
* obj0
= 0 ;
6834 PyObject
* obj1
= 0 ;
6836 (char *) "type",(char *) "splitter", NULL
6839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6841 arg1
= (wxEventType
)SWIG_As_int(obj0
);
6842 if (PyErr_Occurred()) SWIG_fail
;
6845 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSplitterWindow
,
6846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6850 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
6852 wxPyEndAllowThreads(__tstate
);
6853 if (PyErr_Occurred()) SWIG_fail
;
6855 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
6862 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6863 PyObject
*resultobj
;
6864 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6866 PyObject
* obj0
= 0 ;
6867 PyObject
* obj1
= 0 ;
6869 (char *) "self",(char *) "pos", NULL
6872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
6873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6875 arg2
= (int)SWIG_As_int(obj1
);
6876 if (PyErr_Occurred()) SWIG_fail
;
6878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6879 (arg1
)->SetSashPosition(arg2
);
6881 wxPyEndAllowThreads(__tstate
);
6882 if (PyErr_Occurred()) SWIG_fail
;
6884 Py_INCREF(Py_None
); resultobj
= Py_None
;
6891 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6892 PyObject
*resultobj
;
6893 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6895 PyObject
* obj0
= 0 ;
6897 (char *) "self", NULL
6900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6905 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
6907 wxPyEndAllowThreads(__tstate
);
6908 if (PyErr_Occurred()) SWIG_fail
;
6910 resultobj
= SWIG_From_int((int)result
);
6917 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6918 PyObject
*resultobj
;
6919 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6921 PyObject
* obj0
= 0 ;
6923 (char *) "self", NULL
6926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
6927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6931 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
6933 wxPyEndAllowThreads(__tstate
);
6934 if (PyErr_Occurred()) SWIG_fail
;
6937 resultobj
= wxPyMake_wxObject(result
, 0);
6945 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6946 PyObject
*resultobj
;
6947 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6949 PyObject
* obj0
= 0 ;
6951 (char *) "self", NULL
6954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
6955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6959 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
6961 wxPyEndAllowThreads(__tstate
);
6962 if (PyErr_Occurred()) SWIG_fail
;
6964 resultobj
= SWIG_From_int((int)result
);
6971 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6972 PyObject
*resultobj
;
6973 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6975 PyObject
* obj0
= 0 ;
6977 (char *) "self", NULL
6980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
6981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6985 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
6987 wxPyEndAllowThreads(__tstate
);
6988 if (PyErr_Occurred()) SWIG_fail
;
6990 resultobj
= SWIG_From_int((int)result
);
6997 static PyObject
* SplitterEvent_swigregister(PyObject
*, PyObject
*args
) {
6999 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7000 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
7002 return Py_BuildValue((char *)"");
7004 static int _wrap_SashNameStr_set(PyObject
*) {
7005 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
7010 static PyObject
*_wrap_SashNameStr_get() {
7015 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
7017 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
7024 static int _wrap_SashLayoutNameStr_set(PyObject
*) {
7025 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
7030 static PyObject
*_wrap_SashLayoutNameStr_get() {
7035 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
7037 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
7044 static PyObject
*_wrap_new_SashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7045 PyObject
*resultobj
;
7046 wxWindow
*arg1
= (wxWindow
*) 0 ;
7047 int arg2
= (int) -1 ;
7048 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7049 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7050 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7051 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7052 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7053 wxString
const &arg6_defvalue
= wxPySashNameStr
;
7054 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7055 wxSashWindow
*result
;
7058 bool temp6
= false ;
7059 PyObject
* obj0
= 0 ;
7060 PyObject
* obj1
= 0 ;
7061 PyObject
* obj2
= 0 ;
7062 PyObject
* obj3
= 0 ;
7063 PyObject
* obj4
= 0 ;
7064 PyObject
* obj5
= 0 ;
7066 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
7071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7073 arg2
= (int)SWIG_As_int(obj1
);
7074 if (PyErr_Occurred()) SWIG_fail
;
7079 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7085 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7089 arg5
= (long)SWIG_As_long(obj4
);
7090 if (PyErr_Occurred()) SWIG_fail
;
7094 arg6
= wxString_in_helper(obj5
);
7095 if (arg6
== NULL
) SWIG_fail
;
7100 if (!wxPyCheckForApp()) SWIG_fail
;
7101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7102 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7104 wxPyEndAllowThreads(__tstate
);
7105 if (PyErr_Occurred()) SWIG_fail
;
7107 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
7122 static PyObject
*_wrap_new_PreSashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7123 PyObject
*resultobj
;
7124 wxSashWindow
*result
;
7129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
7131 if (!wxPyCheckForApp()) SWIG_fail
;
7132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7133 result
= (wxSashWindow
*)new wxSashWindow();
7135 wxPyEndAllowThreads(__tstate
);
7136 if (PyErr_Occurred()) SWIG_fail
;
7138 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
7145 static PyObject
*_wrap_SashWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7146 PyObject
*resultobj
;
7147 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7148 wxWindow
*arg2
= (wxWindow
*) 0 ;
7149 int arg3
= (int) -1 ;
7150 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7151 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7152 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7153 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7154 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7155 wxString
const &arg7_defvalue
= wxPySashNameStr
;
7156 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7160 bool temp7
= false ;
7161 PyObject
* obj0
= 0 ;
7162 PyObject
* obj1
= 0 ;
7163 PyObject
* obj2
= 0 ;
7164 PyObject
* obj3
= 0 ;
7165 PyObject
* obj4
= 0 ;
7166 PyObject
* obj5
= 0 ;
7167 PyObject
* obj6
= 0 ;
7169 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7175 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7178 arg3
= (int)SWIG_As_int(obj2
);
7179 if (PyErr_Occurred()) SWIG_fail
;
7184 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7190 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7194 arg6
= (long)SWIG_As_long(obj5
);
7195 if (PyErr_Occurred()) SWIG_fail
;
7199 arg7
= wxString_in_helper(obj6
);
7200 if (arg7
== NULL
) SWIG_fail
;
7205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7206 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7208 wxPyEndAllowThreads(__tstate
);
7209 if (PyErr_Occurred()) SWIG_fail
;
7212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7228 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7229 PyObject
*resultobj
;
7230 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7233 PyObject
* obj0
= 0 ;
7234 PyObject
* obj1
= 0 ;
7235 PyObject
* obj2
= 0 ;
7237 (char *) "self",(char *) "edge",(char *) "sash", NULL
7240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7243 arg2
= (int)SWIG_As_int(obj1
);
7244 if (PyErr_Occurred()) SWIG_fail
;
7245 arg3
= (bool)SWIG_As_bool(obj2
);
7246 if (PyErr_Occurred()) SWIG_fail
;
7248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7249 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
7251 wxPyEndAllowThreads(__tstate
);
7252 if (PyErr_Occurred()) SWIG_fail
;
7254 Py_INCREF(Py_None
); resultobj
= Py_None
;
7261 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7262 PyObject
*resultobj
;
7263 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7266 PyObject
* obj0
= 0 ;
7267 PyObject
* obj1
= 0 ;
7269 (char *) "self",(char *) "edge", NULL
7272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
7273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7275 arg2
= (int)SWIG_As_int(obj1
);
7276 if (PyErr_Occurred()) SWIG_fail
;
7278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7279 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
7281 wxPyEndAllowThreads(__tstate
);
7282 if (PyErr_Occurred()) SWIG_fail
;
7285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7293 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7294 PyObject
*resultobj
;
7295 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7298 PyObject
* obj0
= 0 ;
7299 PyObject
* obj1
= 0 ;
7300 PyObject
* obj2
= 0 ;
7302 (char *) "self",(char *) "edge",(char *) "border", NULL
7305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7308 arg2
= (int)SWIG_As_int(obj1
);
7309 if (PyErr_Occurred()) SWIG_fail
;
7310 arg3
= (bool)SWIG_As_bool(obj2
);
7311 if (PyErr_Occurred()) SWIG_fail
;
7313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7314 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
7316 wxPyEndAllowThreads(__tstate
);
7317 if (PyErr_Occurred()) SWIG_fail
;
7319 Py_INCREF(Py_None
); resultobj
= Py_None
;
7326 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7327 PyObject
*resultobj
;
7328 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7331 PyObject
* obj0
= 0 ;
7332 PyObject
* obj1
= 0 ;
7334 (char *) "self",(char *) "edge", NULL
7337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
7338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7340 arg2
= (int)SWIG_As_int(obj1
);
7341 if (PyErr_Occurred()) SWIG_fail
;
7343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7344 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
7346 wxPyEndAllowThreads(__tstate
);
7347 if (PyErr_Occurred()) SWIG_fail
;
7350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7358 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7359 PyObject
*resultobj
;
7360 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7363 PyObject
* obj0
= 0 ;
7364 PyObject
* obj1
= 0 ;
7366 (char *) "self",(char *) "edge", NULL
7369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
7370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7372 arg2
= (int)SWIG_As_int(obj1
);
7373 if (PyErr_Occurred()) SWIG_fail
;
7375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7376 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
7378 wxPyEndAllowThreads(__tstate
);
7379 if (PyErr_Occurred()) SWIG_fail
;
7381 resultobj
= SWIG_From_int((int)result
);
7388 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7389 PyObject
*resultobj
;
7390 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7392 PyObject
* obj0
= 0 ;
7393 PyObject
* obj1
= 0 ;
7395 (char *) "self",(char *) "width", NULL
7398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7401 arg2
= (int)SWIG_As_int(obj1
);
7402 if (PyErr_Occurred()) SWIG_fail
;
7404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7405 (arg1
)->SetDefaultBorderSize(arg2
);
7407 wxPyEndAllowThreads(__tstate
);
7408 if (PyErr_Occurred()) SWIG_fail
;
7410 Py_INCREF(Py_None
); resultobj
= Py_None
;
7417 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7418 PyObject
*resultobj
;
7419 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7421 PyObject
* obj0
= 0 ;
7423 (char *) "self", NULL
7426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
7427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7431 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
7433 wxPyEndAllowThreads(__tstate
);
7434 if (PyErr_Occurred()) SWIG_fail
;
7436 resultobj
= SWIG_From_int((int)result
);
7443 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7444 PyObject
*resultobj
;
7445 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7447 PyObject
* obj0
= 0 ;
7448 PyObject
* obj1
= 0 ;
7450 (char *) "self",(char *) "width", NULL
7453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7456 arg2
= (int)SWIG_As_int(obj1
);
7457 if (PyErr_Occurred()) SWIG_fail
;
7459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7460 (arg1
)->SetExtraBorderSize(arg2
);
7462 wxPyEndAllowThreads(__tstate
);
7463 if (PyErr_Occurred()) SWIG_fail
;
7465 Py_INCREF(Py_None
); resultobj
= Py_None
;
7472 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7473 PyObject
*resultobj
;
7474 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7476 PyObject
* obj0
= 0 ;
7478 (char *) "self", NULL
7481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
7482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7486 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
7488 wxPyEndAllowThreads(__tstate
);
7489 if (PyErr_Occurred()) SWIG_fail
;
7491 resultobj
= SWIG_From_int((int)result
);
7498 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7499 PyObject
*resultobj
;
7500 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7502 PyObject
* obj0
= 0 ;
7503 PyObject
* obj1
= 0 ;
7505 (char *) "self",(char *) "min", NULL
7508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7511 arg2
= (int)SWIG_As_int(obj1
);
7512 if (PyErr_Occurred()) SWIG_fail
;
7514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7515 (arg1
)->SetMinimumSizeX(arg2
);
7517 wxPyEndAllowThreads(__tstate
);
7518 if (PyErr_Occurred()) SWIG_fail
;
7520 Py_INCREF(Py_None
); resultobj
= Py_None
;
7527 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7528 PyObject
*resultobj
;
7529 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7531 PyObject
* obj0
= 0 ;
7532 PyObject
* obj1
= 0 ;
7534 (char *) "self",(char *) "min", NULL
7537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7540 arg2
= (int)SWIG_As_int(obj1
);
7541 if (PyErr_Occurred()) SWIG_fail
;
7543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7544 (arg1
)->SetMinimumSizeY(arg2
);
7546 wxPyEndAllowThreads(__tstate
);
7547 if (PyErr_Occurred()) SWIG_fail
;
7549 Py_INCREF(Py_None
); resultobj
= Py_None
;
7556 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7557 PyObject
*resultobj
;
7558 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7560 PyObject
* obj0
= 0 ;
7562 (char *) "self", NULL
7565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
7566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7570 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
7572 wxPyEndAllowThreads(__tstate
);
7573 if (PyErr_Occurred()) SWIG_fail
;
7575 resultobj
= SWIG_From_int((int)result
);
7582 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7583 PyObject
*resultobj
;
7584 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7586 PyObject
* obj0
= 0 ;
7588 (char *) "self", NULL
7591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
7592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7596 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
7598 wxPyEndAllowThreads(__tstate
);
7599 if (PyErr_Occurred()) SWIG_fail
;
7601 resultobj
= SWIG_From_int((int)result
);
7608 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7609 PyObject
*resultobj
;
7610 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7612 PyObject
* obj0
= 0 ;
7613 PyObject
* obj1
= 0 ;
7615 (char *) "self",(char *) "max", NULL
7618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7621 arg2
= (int)SWIG_As_int(obj1
);
7622 if (PyErr_Occurred()) SWIG_fail
;
7624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7625 (arg1
)->SetMaximumSizeX(arg2
);
7627 wxPyEndAllowThreads(__tstate
);
7628 if (PyErr_Occurred()) SWIG_fail
;
7630 Py_INCREF(Py_None
); resultobj
= Py_None
;
7637 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7638 PyObject
*resultobj
;
7639 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7641 PyObject
* obj0
= 0 ;
7642 PyObject
* obj1
= 0 ;
7644 (char *) "self",(char *) "max", NULL
7647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7650 arg2
= (int)SWIG_As_int(obj1
);
7651 if (PyErr_Occurred()) SWIG_fail
;
7653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7654 (arg1
)->SetMaximumSizeY(arg2
);
7656 wxPyEndAllowThreads(__tstate
);
7657 if (PyErr_Occurred()) SWIG_fail
;
7659 Py_INCREF(Py_None
); resultobj
= Py_None
;
7666 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7667 PyObject
*resultobj
;
7668 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7670 PyObject
* obj0
= 0 ;
7672 (char *) "self", NULL
7675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
7676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7680 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
7682 wxPyEndAllowThreads(__tstate
);
7683 if (PyErr_Occurred()) SWIG_fail
;
7685 resultobj
= SWIG_From_int((int)result
);
7692 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7693 PyObject
*resultobj
;
7694 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7696 PyObject
* obj0
= 0 ;
7698 (char *) "self", NULL
7701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
7702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7706 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
7708 wxPyEndAllowThreads(__tstate
);
7709 if (PyErr_Occurred()) SWIG_fail
;
7711 resultobj
= SWIG_From_int((int)result
);
7718 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7719 PyObject
*resultobj
;
7720 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7723 int arg4
= (int) 2 ;
7725 PyObject
* obj0
= 0 ;
7726 PyObject
* obj1
= 0 ;
7727 PyObject
* obj2
= 0 ;
7728 PyObject
* obj3
= 0 ;
7730 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7736 arg2
= (int)SWIG_As_int(obj1
);
7737 if (PyErr_Occurred()) SWIG_fail
;
7738 arg3
= (int)SWIG_As_int(obj2
);
7739 if (PyErr_Occurred()) SWIG_fail
;
7741 arg4
= (int)SWIG_As_int(obj3
);
7742 if (PyErr_Occurred()) SWIG_fail
;
7745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7746 result
= (int)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
7748 wxPyEndAllowThreads(__tstate
);
7749 if (PyErr_Occurred()) SWIG_fail
;
7751 resultobj
= SWIG_From_int((int)result
);
7758 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7759 PyObject
*resultobj
;
7760 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7761 PyObject
* obj0
= 0 ;
7763 (char *) "self", NULL
7766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
7767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7771 (arg1
)->SizeWindows();
7773 wxPyEndAllowThreads(__tstate
);
7774 if (PyErr_Occurred()) SWIG_fail
;
7776 Py_INCREF(Py_None
); resultobj
= Py_None
;
7783 static PyObject
* SashWindow_swigregister(PyObject
*, PyObject
*args
) {
7785 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7786 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
7788 return Py_BuildValue((char *)"");
7790 static PyObject
*_wrap_new_SashEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7791 PyObject
*resultobj
;
7792 int arg1
= (int) 0 ;
7793 int arg2
= (int) wxSASH_NONE
;
7794 wxSashEvent
*result
;
7795 PyObject
* obj0
= 0 ;
7796 PyObject
* obj1
= 0 ;
7798 (char *) "id",(char *) "edge", NULL
7801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7803 arg1
= (int)SWIG_As_int(obj0
);
7804 if (PyErr_Occurred()) SWIG_fail
;
7807 arg2
= (int)SWIG_As_int(obj1
);
7808 if (PyErr_Occurred()) SWIG_fail
;
7811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7812 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
7814 wxPyEndAllowThreads(__tstate
);
7815 if (PyErr_Occurred()) SWIG_fail
;
7817 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
7824 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7825 PyObject
*resultobj
;
7826 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7828 PyObject
* obj0
= 0 ;
7829 PyObject
* obj1
= 0 ;
7831 (char *) "self",(char *) "edge", NULL
7834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
7835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7837 arg2
= (int)SWIG_As_int(obj1
);
7838 if (PyErr_Occurred()) SWIG_fail
;
7840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7841 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
7843 wxPyEndAllowThreads(__tstate
);
7844 if (PyErr_Occurred()) SWIG_fail
;
7846 Py_INCREF(Py_None
); resultobj
= Py_None
;
7853 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7854 PyObject
*resultobj
;
7855 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7857 PyObject
* obj0
= 0 ;
7859 (char *) "self", NULL
7862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
7863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7867 result
= (int)((wxSashEvent
const *)arg1
)->GetEdge();
7869 wxPyEndAllowThreads(__tstate
);
7870 if (PyErr_Occurred()) SWIG_fail
;
7872 resultobj
= SWIG_From_int((int)result
);
7879 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7880 PyObject
*resultobj
;
7881 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7884 PyObject
* obj0
= 0 ;
7885 PyObject
* obj1
= 0 ;
7887 (char *) "self",(char *) "rect", NULL
7890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7895 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7899 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
7901 wxPyEndAllowThreads(__tstate
);
7902 if (PyErr_Occurred()) SWIG_fail
;
7904 Py_INCREF(Py_None
); resultobj
= Py_None
;
7911 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7912 PyObject
*resultobj
;
7913 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7915 PyObject
* obj0
= 0 ;
7917 (char *) "self", NULL
7920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
7921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7925 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
7927 wxPyEndAllowThreads(__tstate
);
7928 if (PyErr_Occurred()) SWIG_fail
;
7932 resultptr
= new wxRect((wxRect
&) result
);
7933 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7941 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7942 PyObject
*resultobj
;
7943 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7945 PyObject
* obj0
= 0 ;
7946 PyObject
* obj1
= 0 ;
7948 (char *) "self",(char *) "status", NULL
7951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
7952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7954 arg2
= (int)SWIG_As_int(obj1
);
7955 if (PyErr_Occurred()) SWIG_fail
;
7957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7958 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
7960 wxPyEndAllowThreads(__tstate
);
7961 if (PyErr_Occurred()) SWIG_fail
;
7963 Py_INCREF(Py_None
); resultobj
= Py_None
;
7970 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7971 PyObject
*resultobj
;
7972 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7974 PyObject
* obj0
= 0 ;
7976 (char *) "self", NULL
7979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
7980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7984 result
= (int)((wxSashEvent
const *)arg1
)->GetDragStatus();
7986 wxPyEndAllowThreads(__tstate
);
7987 if (PyErr_Occurred()) SWIG_fail
;
7989 resultobj
= SWIG_From_int((int)result
);
7996 static PyObject
* SashEvent_swigregister(PyObject
*, PyObject
*args
) {
7998 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7999 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
8001 return Py_BuildValue((char *)"");
8003 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8004 PyObject
*resultobj
;
8005 int arg1
= (int) 0 ;
8006 wxQueryLayoutInfoEvent
*result
;
8007 PyObject
* obj0
= 0 ;
8012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
8014 arg1
= (int)SWIG_As_int(obj0
);
8015 if (PyErr_Occurred()) SWIG_fail
;
8018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8019 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
8021 wxPyEndAllowThreads(__tstate
);
8022 if (PyErr_Occurred()) SWIG_fail
;
8024 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
8031 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8032 PyObject
*resultobj
;
8033 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8035 PyObject
* obj0
= 0 ;
8036 PyObject
* obj1
= 0 ;
8038 (char *) "self",(char *) "length", NULL
8041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8044 arg2
= (int)SWIG_As_int(obj1
);
8045 if (PyErr_Occurred()) SWIG_fail
;
8047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8048 (arg1
)->SetRequestedLength(arg2
);
8050 wxPyEndAllowThreads(__tstate
);
8051 if (PyErr_Occurred()) SWIG_fail
;
8053 Py_INCREF(Py_None
); resultobj
= Py_None
;
8060 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8061 PyObject
*resultobj
;
8062 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8064 PyObject
* obj0
= 0 ;
8066 (char *) "self", NULL
8069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
8070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8074 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
8076 wxPyEndAllowThreads(__tstate
);
8077 if (PyErr_Occurred()) SWIG_fail
;
8079 resultobj
= SWIG_From_int((int)result
);
8086 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8087 PyObject
*resultobj
;
8088 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8090 PyObject
* obj0
= 0 ;
8091 PyObject
* obj1
= 0 ;
8093 (char *) "self",(char *) "flags", NULL
8096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
8097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8099 arg2
= (int)SWIG_As_int(obj1
);
8100 if (PyErr_Occurred()) SWIG_fail
;
8102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8103 (arg1
)->SetFlags(arg2
);
8105 wxPyEndAllowThreads(__tstate
);
8106 if (PyErr_Occurred()) SWIG_fail
;
8108 Py_INCREF(Py_None
); resultobj
= Py_None
;
8115 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8116 PyObject
*resultobj
;
8117 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8119 PyObject
* obj0
= 0 ;
8121 (char *) "self", NULL
8124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
8125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8129 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
8131 wxPyEndAllowThreads(__tstate
);
8132 if (PyErr_Occurred()) SWIG_fail
;
8134 resultobj
= SWIG_From_int((int)result
);
8141 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8142 PyObject
*resultobj
;
8143 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8146 PyObject
* obj0
= 0 ;
8147 PyObject
* obj1
= 0 ;
8149 (char *) "self",(char *) "size", NULL
8152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8157 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8161 (arg1
)->SetSize((wxSize
const &)*arg2
);
8163 wxPyEndAllowThreads(__tstate
);
8164 if (PyErr_Occurred()) SWIG_fail
;
8166 Py_INCREF(Py_None
); resultobj
= Py_None
;
8173 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8174 PyObject
*resultobj
;
8175 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8177 PyObject
* obj0
= 0 ;
8179 (char *) "self", NULL
8182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
8183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8187 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
8189 wxPyEndAllowThreads(__tstate
);
8190 if (PyErr_Occurred()) SWIG_fail
;
8194 resultptr
= new wxSize((wxSize
&) result
);
8195 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
8203 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8204 PyObject
*resultobj
;
8205 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8207 PyObject
* obj0
= 0 ;
8208 PyObject
* obj1
= 0 ;
8210 (char *) "self",(char *) "orient", NULL
8213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8216 arg2
= (int)SWIG_As_int(obj1
);
8217 if (PyErr_Occurred()) SWIG_fail
;
8219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8220 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8222 wxPyEndAllowThreads(__tstate
);
8223 if (PyErr_Occurred()) SWIG_fail
;
8225 Py_INCREF(Py_None
); resultobj
= Py_None
;
8232 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8233 PyObject
*resultobj
;
8234 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8236 PyObject
* obj0
= 0 ;
8238 (char *) "self", NULL
8241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
8242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8246 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
8248 wxPyEndAllowThreads(__tstate
);
8249 if (PyErr_Occurred()) SWIG_fail
;
8251 resultobj
= SWIG_From_int((int)result
);
8258 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8259 PyObject
*resultobj
;
8260 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8262 PyObject
* obj0
= 0 ;
8263 PyObject
* obj1
= 0 ;
8265 (char *) "self",(char *) "align", NULL
8268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8271 arg2
= (int)SWIG_As_int(obj1
);
8272 if (PyErr_Occurred()) SWIG_fail
;
8274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8275 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8277 wxPyEndAllowThreads(__tstate
);
8278 if (PyErr_Occurred()) SWIG_fail
;
8280 Py_INCREF(Py_None
); resultobj
= Py_None
;
8287 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8288 PyObject
*resultobj
;
8289 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8291 PyObject
* obj0
= 0 ;
8293 (char *) "self", NULL
8296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
8297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8301 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
8303 wxPyEndAllowThreads(__tstate
);
8304 if (PyErr_Occurred()) SWIG_fail
;
8306 resultobj
= SWIG_From_int((int)result
);
8313 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*, PyObject
*args
) {
8315 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8316 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
8318 return Py_BuildValue((char *)"");
8320 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8321 PyObject
*resultobj
;
8322 int arg1
= (int) 0 ;
8323 wxCalculateLayoutEvent
*result
;
8324 PyObject
* obj0
= 0 ;
8329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
8331 arg1
= (int)SWIG_As_int(obj0
);
8332 if (PyErr_Occurred()) SWIG_fail
;
8335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8336 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
8338 wxPyEndAllowThreads(__tstate
);
8339 if (PyErr_Occurred()) SWIG_fail
;
8341 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
8348 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8349 PyObject
*resultobj
;
8350 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8352 PyObject
* obj0
= 0 ;
8353 PyObject
* obj1
= 0 ;
8355 (char *) "self",(char *) "flags", NULL
8358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
8359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8361 arg2
= (int)SWIG_As_int(obj1
);
8362 if (PyErr_Occurred()) SWIG_fail
;
8364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8365 (arg1
)->SetFlags(arg2
);
8367 wxPyEndAllowThreads(__tstate
);
8368 if (PyErr_Occurred()) SWIG_fail
;
8370 Py_INCREF(Py_None
); resultobj
= Py_None
;
8377 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8378 PyObject
*resultobj
;
8379 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8381 PyObject
* obj0
= 0 ;
8383 (char *) "self", NULL
8386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
8387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8391 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
8393 wxPyEndAllowThreads(__tstate
);
8394 if (PyErr_Occurred()) SWIG_fail
;
8396 resultobj
= SWIG_From_int((int)result
);
8403 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8404 PyObject
*resultobj
;
8405 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8408 PyObject
* obj0
= 0 ;
8409 PyObject
* obj1
= 0 ;
8411 (char *) "self",(char *) "rect", NULL
8414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
8415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8419 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8423 (arg1
)->SetRect((wxRect
const &)*arg2
);
8425 wxPyEndAllowThreads(__tstate
);
8426 if (PyErr_Occurred()) SWIG_fail
;
8428 Py_INCREF(Py_None
); resultobj
= Py_None
;
8435 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8436 PyObject
*resultobj
;
8437 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8439 PyObject
* obj0
= 0 ;
8441 (char *) "self", NULL
8444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
8445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8449 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
8451 wxPyEndAllowThreads(__tstate
);
8452 if (PyErr_Occurred()) SWIG_fail
;
8456 resultptr
= new wxRect((wxRect
&) result
);
8457 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
8465 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*, PyObject
*args
) {
8467 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8468 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
8470 return Py_BuildValue((char *)"");
8472 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8473 PyObject
*resultobj
;
8474 wxWindow
*arg1
= (wxWindow
*) 0 ;
8475 int arg2
= (int) -1 ;
8476 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8477 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8478 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8479 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8480 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8481 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
8482 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8483 wxSashLayoutWindow
*result
;
8486 bool temp6
= false ;
8487 PyObject
* obj0
= 0 ;
8488 PyObject
* obj1
= 0 ;
8489 PyObject
* obj2
= 0 ;
8490 PyObject
* obj3
= 0 ;
8491 PyObject
* obj4
= 0 ;
8492 PyObject
* obj5
= 0 ;
8494 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8501 arg2
= (int)SWIG_As_int(obj1
);
8502 if (PyErr_Occurred()) SWIG_fail
;
8507 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8513 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8517 arg5
= (long)SWIG_As_long(obj4
);
8518 if (PyErr_Occurred()) SWIG_fail
;
8522 arg6
= wxString_in_helper(obj5
);
8523 if (arg6
== NULL
) SWIG_fail
;
8528 if (!wxPyCheckForApp()) SWIG_fail
;
8529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8530 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8532 wxPyEndAllowThreads(__tstate
);
8533 if (PyErr_Occurred()) SWIG_fail
;
8535 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8550 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8551 PyObject
*resultobj
;
8552 wxSashLayoutWindow
*result
;
8557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
8559 if (!wxPyCheckForApp()) SWIG_fail
;
8560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8561 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
8563 wxPyEndAllowThreads(__tstate
);
8564 if (PyErr_Occurred()) SWIG_fail
;
8566 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8573 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8574 PyObject
*resultobj
;
8575 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8576 wxWindow
*arg2
= (wxWindow
*) 0 ;
8577 int arg3
= (int) -1 ;
8578 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8579 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8580 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8581 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8582 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8583 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
8584 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8588 bool temp7
= false ;
8589 PyObject
* obj0
= 0 ;
8590 PyObject
* obj1
= 0 ;
8591 PyObject
* obj2
= 0 ;
8592 PyObject
* obj3
= 0 ;
8593 PyObject
* obj4
= 0 ;
8594 PyObject
* obj5
= 0 ;
8595 PyObject
* obj6
= 0 ;
8597 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8603 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8606 arg3
= (int)SWIG_As_int(obj2
);
8607 if (PyErr_Occurred()) SWIG_fail
;
8612 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8618 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8622 arg6
= (long)SWIG_As_long(obj5
);
8623 if (PyErr_Occurred()) SWIG_fail
;
8627 arg7
= wxString_in_helper(obj6
);
8628 if (arg7
== NULL
) SWIG_fail
;
8633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8634 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8636 wxPyEndAllowThreads(__tstate
);
8637 if (PyErr_Occurred()) SWIG_fail
;
8640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8656 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8657 PyObject
*resultobj
;
8658 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8660 PyObject
* obj0
= 0 ;
8662 (char *) "self", NULL
8665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
8666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8670 result
= (int)(arg1
)->GetAlignment();
8672 wxPyEndAllowThreads(__tstate
);
8673 if (PyErr_Occurred()) SWIG_fail
;
8675 resultobj
= SWIG_From_int((int)result
);
8682 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8683 PyObject
*resultobj
;
8684 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8686 PyObject
* obj0
= 0 ;
8688 (char *) "self", NULL
8691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
8692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8696 result
= (int)(arg1
)->GetOrientation();
8698 wxPyEndAllowThreads(__tstate
);
8699 if (PyErr_Occurred()) SWIG_fail
;
8701 resultobj
= SWIG_From_int((int)result
);
8708 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8709 PyObject
*resultobj
;
8710 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8712 PyObject
* obj0
= 0 ;
8713 PyObject
* obj1
= 0 ;
8715 (char *) "self",(char *) "alignment", NULL
8718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8721 arg2
= (int)SWIG_As_int(obj1
);
8722 if (PyErr_Occurred()) SWIG_fail
;
8724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8725 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8727 wxPyEndAllowThreads(__tstate
);
8728 if (PyErr_Occurred()) SWIG_fail
;
8730 Py_INCREF(Py_None
); resultobj
= Py_None
;
8737 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8738 PyObject
*resultobj
;
8739 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8742 PyObject
* obj0
= 0 ;
8743 PyObject
* obj1
= 0 ;
8745 (char *) "self",(char *) "size", NULL
8748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8753 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8757 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
8759 wxPyEndAllowThreads(__tstate
);
8760 if (PyErr_Occurred()) SWIG_fail
;
8762 Py_INCREF(Py_None
); resultobj
= Py_None
;
8769 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8770 PyObject
*resultobj
;
8771 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8773 PyObject
* obj0
= 0 ;
8774 PyObject
* obj1
= 0 ;
8776 (char *) "self",(char *) "orientation", NULL
8779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8782 arg2
= (int)SWIG_As_int(obj1
);
8783 if (PyErr_Occurred()) SWIG_fail
;
8785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8786 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8788 wxPyEndAllowThreads(__tstate
);
8789 if (PyErr_Occurred()) SWIG_fail
;
8791 Py_INCREF(Py_None
); resultobj
= Py_None
;
8798 static PyObject
* SashLayoutWindow_swigregister(PyObject
*, PyObject
*args
) {
8800 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8801 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
8803 return Py_BuildValue((char *)"");
8805 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8806 PyObject
*resultobj
;
8807 wxLayoutAlgorithm
*result
;
8812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
8814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8815 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
8817 wxPyEndAllowThreads(__tstate
);
8818 if (PyErr_Occurred()) SWIG_fail
;
8820 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
8827 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8828 PyObject
*resultobj
;
8829 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8830 PyObject
* obj0
= 0 ;
8832 (char *) "self", NULL
8835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
8836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8842 wxPyEndAllowThreads(__tstate
);
8843 if (PyErr_Occurred()) SWIG_fail
;
8845 Py_INCREF(Py_None
); resultobj
= Py_None
;
8852 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8853 PyObject
*resultobj
;
8854 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8855 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
8856 wxRect
*arg3
= (wxRect
*) NULL
;
8858 PyObject
* obj0
= 0 ;
8859 PyObject
* obj1
= 0 ;
8860 PyObject
* obj2
= 0 ;
8862 (char *) "self",(char *) "frame",(char *) "rect", NULL
8865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8868 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
8869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8871 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
8872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8876 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
8878 wxPyEndAllowThreads(__tstate
);
8879 if (PyErr_Occurred()) SWIG_fail
;
8882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8890 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8891 PyObject
*resultobj
;
8892 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8893 wxFrame
*arg2
= (wxFrame
*) 0 ;
8894 wxWindow
*arg3
= (wxWindow
*) NULL
;
8896 PyObject
* obj0
= 0 ;
8897 PyObject
* obj1
= 0 ;
8898 PyObject
* obj2
= 0 ;
8900 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8906 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
8907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8909 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8914 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
8916 wxPyEndAllowThreads(__tstate
);
8917 if (PyErr_Occurred()) SWIG_fail
;
8920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8928 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8929 PyObject
*resultobj
;
8930 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8931 wxWindow
*arg2
= (wxWindow
*) 0 ;
8932 wxWindow
*arg3
= (wxWindow
*) NULL
;
8934 PyObject
* obj0
= 0 ;
8935 PyObject
* obj1
= 0 ;
8936 PyObject
* obj2
= 0 ;
8938 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8944 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8947 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8952 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
8954 wxPyEndAllowThreads(__tstate
);
8955 if (PyErr_Occurred()) SWIG_fail
;
8958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8966 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*, PyObject
*args
) {
8968 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8969 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
8971 return Py_BuildValue((char *)"");
8973 static PyObject
*_wrap_new_PopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8974 PyObject
*resultobj
;
8975 wxWindow
*arg1
= (wxWindow
*) 0 ;
8976 int arg2
= (int) wxBORDER_NONE
;
8977 wxPopupWindow
*result
;
8978 PyObject
* obj0
= 0 ;
8979 PyObject
* obj1
= 0 ;
8981 (char *) "parent",(char *) "flags", NULL
8984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8988 arg2
= (int)SWIG_As_int(obj1
);
8989 if (PyErr_Occurred()) SWIG_fail
;
8992 if (!wxPyCheckForApp()) SWIG_fail
;
8993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8994 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
8996 wxPyEndAllowThreads(__tstate
);
8997 if (PyErr_Occurred()) SWIG_fail
;
8999 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
9006 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9007 PyObject
*resultobj
;
9008 wxPopupWindow
*result
;
9013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
9015 if (!wxPyCheckForApp()) SWIG_fail
;
9016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9017 result
= (wxPopupWindow
*)new wxPopupWindow();
9019 wxPyEndAllowThreads(__tstate
);
9020 if (PyErr_Occurred()) SWIG_fail
;
9022 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
9029 static PyObject
*_wrap_PopupWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9030 PyObject
*resultobj
;
9031 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
9032 wxWindow
*arg2
= (wxWindow
*) 0 ;
9033 int arg3
= (int) wxBORDER_NONE
;
9035 PyObject
* obj0
= 0 ;
9036 PyObject
* obj1
= 0 ;
9037 PyObject
* obj2
= 0 ;
9039 (char *) "self",(char *) "parent",(char *) "flags", NULL
9042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPopupWindow
,
9044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9045 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9048 arg3
= (int)SWIG_As_int(obj2
);
9049 if (PyErr_Occurred()) SWIG_fail
;
9052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9053 result
= (bool)(arg1
)->Create(arg2
,arg3
);
9055 wxPyEndAllowThreads(__tstate
);
9056 if (PyErr_Occurred()) SWIG_fail
;
9059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9067 static PyObject
*_wrap_PopupWindow_Position(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9068 PyObject
*resultobj
;
9069 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
9074 PyObject
* obj0
= 0 ;
9075 PyObject
* obj1
= 0 ;
9076 PyObject
* obj2
= 0 ;
9078 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
9081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPopupWindow
,
9083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9086 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9090 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
9093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9094 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
9096 wxPyEndAllowThreads(__tstate
);
9097 if (PyErr_Occurred()) SWIG_fail
;
9099 Py_INCREF(Py_None
); resultobj
= Py_None
;
9106 static PyObject
* PopupWindow_swigregister(PyObject
*, PyObject
*args
) {
9108 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9109 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
9111 return Py_BuildValue((char *)"");
9113 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9114 PyObject
*resultobj
;
9115 wxWindow
*arg1
= (wxWindow
*) 0 ;
9116 int arg2
= (int) wxBORDER_NONE
;
9117 wxPyPopupTransientWindow
*result
;
9118 PyObject
* obj0
= 0 ;
9119 PyObject
* obj1
= 0 ;
9121 (char *) "parent",(char *) "style", NULL
9124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
9125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9128 arg2
= (int)SWIG_As_int(obj1
);
9129 if (PyErr_Occurred()) SWIG_fail
;
9132 if (!wxPyCheckForApp()) SWIG_fail
;
9133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9134 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
9136 wxPyEndAllowThreads(__tstate
);
9137 if (PyErr_Occurred()) SWIG_fail
;
9139 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
9146 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9147 PyObject
*resultobj
;
9148 wxPyPopupTransientWindow
*result
;
9153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
9155 if (!wxPyCheckForApp()) SWIG_fail
;
9156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9157 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
9159 wxPyEndAllowThreads(__tstate
);
9160 if (PyErr_Occurred()) SWIG_fail
;
9162 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
9169 static PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9170 PyObject
*resultobj
;
9171 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
9172 PyObject
*arg2
= (PyObject
*) 0 ;
9173 PyObject
*arg3
= (PyObject
*) 0 ;
9174 PyObject
* obj0
= 0 ;
9175 PyObject
* obj1
= 0 ;
9176 PyObject
* obj2
= 0 ;
9178 (char *) "self",(char *) "self",(char *) "_class", NULL
9181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
9183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9188 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9190 wxPyEndAllowThreads(__tstate
);
9191 if (PyErr_Occurred()) SWIG_fail
;
9193 Py_INCREF(Py_None
); resultobj
= Py_None
;
9200 static PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9201 PyObject
*resultobj
;
9202 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
9203 wxWindow
*arg2
= (wxWindow
*) NULL
;
9204 PyObject
* obj0
= 0 ;
9205 PyObject
* obj1
= 0 ;
9207 (char *) "self",(char *) "focus", NULL
9210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) goto fail
;
9211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
9212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9214 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9219 (arg1
)->Popup(arg2
);
9221 wxPyEndAllowThreads(__tstate
);
9222 if (PyErr_Occurred()) SWIG_fail
;
9224 Py_INCREF(Py_None
); resultobj
= Py_None
;
9231 static PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9232 PyObject
*resultobj
;
9233 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
9234 PyObject
* obj0
= 0 ;
9236 (char *) "self", NULL
9239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PopupTransientWindow_Dismiss",kwnames
,&obj0
)) goto fail
;
9240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
9241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9246 wxPyEndAllowThreads(__tstate
);
9247 if (PyErr_Occurred()) SWIG_fail
;
9249 Py_INCREF(Py_None
); resultobj
= Py_None
;
9256 static PyObject
* PopupTransientWindow_swigregister(PyObject
*, PyObject
*args
) {
9258 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9259 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
9261 return Py_BuildValue((char *)"");
9263 static PyObject
*_wrap_new_TipWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9264 PyObject
*resultobj
;
9265 wxWindow
*arg1
= (wxWindow
*) 0 ;
9266 wxString
*arg2
= 0 ;
9267 int arg3
= (int) 100 ;
9268 wxRect
*arg4
= (wxRect
*) NULL
;
9269 wxTipWindow
*result
;
9270 bool temp2
= false ;
9271 PyObject
* obj0
= 0 ;
9272 PyObject
* obj1
= 0 ;
9273 PyObject
* obj2
= 0 ;
9274 PyObject
* obj3
= 0 ;
9276 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
9279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9283 arg2
= wxString_in_helper(obj1
);
9284 if (arg2
== NULL
) SWIG_fail
;
9288 arg3
= (int)SWIG_As_int(obj2
);
9289 if (PyErr_Occurred()) SWIG_fail
;
9292 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
9293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9296 if (!wxPyCheckForApp()) SWIG_fail
;
9297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9298 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9300 wxPyEndAllowThreads(__tstate
);
9301 if (PyErr_Occurred()) SWIG_fail
;
9303 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
9318 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9319 PyObject
*resultobj
;
9320 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
9323 PyObject
* obj0
= 0 ;
9324 PyObject
* obj1
= 0 ;
9326 (char *) "self",(char *) "rectBound", NULL
9329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
9330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
9331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9334 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9338 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
9340 wxPyEndAllowThreads(__tstate
);
9341 if (PyErr_Occurred()) SWIG_fail
;
9343 Py_INCREF(Py_None
); resultobj
= Py_None
;
9350 static PyObject
*_wrap_TipWindow_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9351 PyObject
*resultobj
;
9352 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
9353 PyObject
* obj0
= 0 ;
9355 (char *) "self", NULL
9358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
9359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
9360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9365 wxPyEndAllowThreads(__tstate
);
9366 if (PyErr_Occurred()) SWIG_fail
;
9368 Py_INCREF(Py_None
); resultobj
= Py_None
;
9375 static PyObject
* TipWindow_swigregister(PyObject
*, PyObject
*args
) {
9377 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9378 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
9380 return Py_BuildValue((char *)"");
9382 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9383 PyObject
*resultobj
;
9384 wxWindow
*arg1
= (wxWindow
*) 0 ;
9385 int arg2
= (int) wxID_ANY
;
9386 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9387 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9388 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9389 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9390 long arg5
= (long) 0 ;
9391 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
9392 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9393 wxPyVScrolledWindow
*result
;
9396 bool temp6
= false ;
9397 PyObject
* obj0
= 0 ;
9398 PyObject
* obj1
= 0 ;
9399 PyObject
* obj2
= 0 ;
9400 PyObject
* obj3
= 0 ;
9401 PyObject
* obj4
= 0 ;
9402 PyObject
* obj5
= 0 ;
9404 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9411 arg2
= (int)SWIG_As_int(obj1
);
9412 if (PyErr_Occurred()) SWIG_fail
;
9417 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9423 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9427 arg5
= (long)SWIG_As_long(obj4
);
9428 if (PyErr_Occurred()) SWIG_fail
;
9432 arg6
= wxString_in_helper(obj5
);
9433 if (arg6
== NULL
) SWIG_fail
;
9438 if (!wxPyCheckForApp()) SWIG_fail
;
9439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9440 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9442 wxPyEndAllowThreads(__tstate
);
9443 if (PyErr_Occurred()) SWIG_fail
;
9445 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
9460 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9461 PyObject
*resultobj
;
9462 wxPyVScrolledWindow
*result
;
9467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
9469 if (!wxPyCheckForApp()) SWIG_fail
;
9470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9471 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
9473 wxPyEndAllowThreads(__tstate
);
9474 if (PyErr_Occurred()) SWIG_fail
;
9476 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
9483 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9484 PyObject
*resultobj
;
9485 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9486 PyObject
*arg2
= (PyObject
*) 0 ;
9487 PyObject
*arg3
= (PyObject
*) 0 ;
9488 PyObject
* obj0
= 0 ;
9489 PyObject
* obj1
= 0 ;
9490 PyObject
* obj2
= 0 ;
9492 (char *) "self",(char *) "self",(char *) "_class", NULL
9495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9502 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9504 wxPyEndAllowThreads(__tstate
);
9505 if (PyErr_Occurred()) SWIG_fail
;
9507 Py_INCREF(Py_None
); resultobj
= Py_None
;
9514 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9515 PyObject
*resultobj
;
9516 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9517 wxWindow
*arg2
= (wxWindow
*) 0 ;
9518 int arg3
= (int) wxID_ANY
;
9519 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9520 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9521 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9522 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9523 long arg6
= (long) 0 ;
9524 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
9525 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9529 bool temp7
= false ;
9530 PyObject
* obj0
= 0 ;
9531 PyObject
* obj1
= 0 ;
9532 PyObject
* obj2
= 0 ;
9533 PyObject
* obj3
= 0 ;
9534 PyObject
* obj4
= 0 ;
9535 PyObject
* obj5
= 0 ;
9536 PyObject
* obj6
= 0 ;
9538 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9544 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9547 arg3
= (int)SWIG_As_int(obj2
);
9548 if (PyErr_Occurred()) SWIG_fail
;
9553 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9559 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9563 arg6
= (long)SWIG_As_long(obj5
);
9564 if (PyErr_Occurred()) SWIG_fail
;
9568 arg7
= wxString_in_helper(obj6
);
9569 if (arg7
== NULL
) SWIG_fail
;
9574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9575 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9577 wxPyEndAllowThreads(__tstate
);
9578 if (PyErr_Occurred()) SWIG_fail
;
9581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9597 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9598 PyObject
*resultobj
;
9599 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9601 PyObject
* obj0
= 0 ;
9602 PyObject
* obj1
= 0 ;
9604 (char *) "self",(char *) "count", NULL
9607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",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
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9611 if (PyErr_Occurred()) SWIG_fail
;
9613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9614 (arg1
)->SetLineCount(arg2
);
9616 wxPyEndAllowThreads(__tstate
);
9617 if (PyErr_Occurred()) SWIG_fail
;
9619 Py_INCREF(Py_None
); resultobj
= Py_None
;
9626 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9627 PyObject
*resultobj
;
9628 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9631 PyObject
* obj0
= 0 ;
9632 PyObject
* obj1
= 0 ;
9634 (char *) "self",(char *) "line", NULL
9637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9640 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9641 if (PyErr_Occurred()) SWIG_fail
;
9643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9644 result
= (bool)(arg1
)->ScrollToLine(arg2
);
9646 wxPyEndAllowThreads(__tstate
);
9647 if (PyErr_Occurred()) SWIG_fail
;
9650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9658 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9659 PyObject
*resultobj
;
9660 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9663 PyObject
* obj0
= 0 ;
9664 PyObject
* obj1
= 0 ;
9666 (char *) "self",(char *) "lines", NULL
9669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
9670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9672 arg2
= (int)SWIG_As_int(obj1
);
9673 if (PyErr_Occurred()) SWIG_fail
;
9675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9676 result
= (bool)(arg1
)->ScrollLines(arg2
);
9678 wxPyEndAllowThreads(__tstate
);
9679 if (PyErr_Occurred()) SWIG_fail
;
9682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9690 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9691 PyObject
*resultobj
;
9692 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9695 PyObject
* obj0
= 0 ;
9696 PyObject
* obj1
= 0 ;
9698 (char *) "self",(char *) "pages", NULL
9701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
9702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9704 arg2
= (int)SWIG_As_int(obj1
);
9705 if (PyErr_Occurred()) SWIG_fail
;
9707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9708 result
= (bool)(arg1
)->ScrollPages(arg2
);
9710 wxPyEndAllowThreads(__tstate
);
9711 if (PyErr_Occurred()) SWIG_fail
;
9714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9722 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9723 PyObject
*resultobj
;
9724 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9726 PyObject
* obj0
= 0 ;
9727 PyObject
* obj1
= 0 ;
9729 (char *) "self",(char *) "line", NULL
9732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9735 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9736 if (PyErr_Occurred()) SWIG_fail
;
9738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9739 (arg1
)->RefreshLine(arg2
);
9741 wxPyEndAllowThreads(__tstate
);
9742 if (PyErr_Occurred()) SWIG_fail
;
9744 Py_INCREF(Py_None
); resultobj
= Py_None
;
9751 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9752 PyObject
*resultobj
;
9753 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9756 PyObject
* obj0
= 0 ;
9757 PyObject
* obj1
= 0 ;
9758 PyObject
* obj2
= 0 ;
9760 (char *) "self",(char *) "from",(char *) "to", NULL
9763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9766 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9767 if (PyErr_Occurred()) SWIG_fail
;
9768 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
9769 if (PyErr_Occurred()) SWIG_fail
;
9771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9772 (arg1
)->RefreshLines(arg2
,arg3
);
9774 wxPyEndAllowThreads(__tstate
);
9775 if (PyErr_Occurred()) SWIG_fail
;
9777 Py_INCREF(Py_None
); resultobj
= Py_None
;
9784 static PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9785 PyObject
*resultobj
;
9786 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9790 PyObject
* obj0
= 0 ;
9791 PyObject
* obj1
= 0 ;
9792 PyObject
* obj2
= 0 ;
9794 (char *) "self",(char *) "x",(char *) "y", NULL
9797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9800 arg2
= (int)SWIG_As_int(obj1
);
9801 if (PyErr_Occurred()) SWIG_fail
;
9802 arg3
= (int)SWIG_As_int(obj2
);
9803 if (PyErr_Occurred()) SWIG_fail
;
9805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9806 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
9808 wxPyEndAllowThreads(__tstate
);
9809 if (PyErr_Occurred()) SWIG_fail
;
9811 resultobj
= SWIG_From_int((int)result
);
9818 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9819 PyObject
*resultobj
;
9820 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9824 PyObject
* obj0
= 0 ;
9825 PyObject
* obj1
= 0 ;
9827 (char *) "self",(char *) "pt", NULL
9830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9835 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9839 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9841 wxPyEndAllowThreads(__tstate
);
9842 if (PyErr_Occurred()) SWIG_fail
;
9844 resultobj
= SWIG_From_int((int)result
);
9851 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9852 PyObject
*resultobj
;
9853 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9854 PyObject
* obj0
= 0 ;
9856 (char *) "self", NULL
9859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
9860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9864 (arg1
)->RefreshAll();
9866 wxPyEndAllowThreads(__tstate
);
9867 if (PyErr_Occurred()) SWIG_fail
;
9869 Py_INCREF(Py_None
); resultobj
= Py_None
;
9876 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9877 PyObject
*resultobj
;
9878 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9880 PyObject
* obj0
= 0 ;
9882 (char *) "self", NULL
9885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
9886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9890 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
9892 wxPyEndAllowThreads(__tstate
);
9893 if (PyErr_Occurred()) SWIG_fail
;
9895 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
9902 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9903 PyObject
*resultobj
;
9904 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9906 PyObject
* obj0
= 0 ;
9908 (char *) "self", NULL
9911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
9912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9916 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
9918 wxPyEndAllowThreads(__tstate
);
9919 if (PyErr_Occurred()) SWIG_fail
;
9921 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
9928 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9929 PyObject
*resultobj
;
9930 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9932 PyObject
* obj0
= 0 ;
9934 (char *) "self", NULL
9937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
9938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9942 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
9944 wxPyEndAllowThreads(__tstate
);
9945 if (PyErr_Occurred()) SWIG_fail
;
9947 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
9954 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9955 PyObject
*resultobj
;
9956 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9959 PyObject
* obj0
= 0 ;
9960 PyObject
* obj1
= 0 ;
9962 (char *) "self",(char *) "line", NULL
9965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
9966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9968 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9969 if (PyErr_Occurred()) SWIG_fail
;
9971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9972 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
9974 wxPyEndAllowThreads(__tstate
);
9975 if (PyErr_Occurred()) SWIG_fail
;
9978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9986 static PyObject
* VScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
9988 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9989 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
9991 return Py_BuildValue((char *)"");
9993 static int _wrap_VListBoxNameStr_set(PyObject
*) {
9994 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
9999 static PyObject
*_wrap_VListBoxNameStr_get() {
10004 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
10006 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
10013 static PyObject
*_wrap_new_VListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10014 PyObject
*resultobj
;
10015 wxWindow
*arg1
= (wxWindow
*) 0 ;
10016 int arg2
= (int) wxID_ANY
;
10017 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10018 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10019 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10020 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10021 long arg5
= (long) 0 ;
10022 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
10023 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10024 wxPyVListBox
*result
;
10027 bool temp6
= false ;
10028 PyObject
* obj0
= 0 ;
10029 PyObject
* obj1
= 0 ;
10030 PyObject
* obj2
= 0 ;
10031 PyObject
* obj3
= 0 ;
10032 PyObject
* obj4
= 0 ;
10033 PyObject
* obj5
= 0 ;
10034 char *kwnames
[] = {
10035 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10042 arg2
= (int)SWIG_As_int(obj1
);
10043 if (PyErr_Occurred()) SWIG_fail
;
10048 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10054 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10058 arg5
= (long)SWIG_As_long(obj4
);
10059 if (PyErr_Occurred()) SWIG_fail
;
10063 arg6
= wxString_in_helper(obj5
);
10064 if (arg6
== NULL
) SWIG_fail
;
10069 if (!wxPyCheckForApp()) SWIG_fail
;
10070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10071 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10073 wxPyEndAllowThreads(__tstate
);
10074 if (PyErr_Occurred()) SWIG_fail
;
10076 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
10091 static PyObject
*_wrap_new_PreVListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10092 PyObject
*resultobj
;
10093 wxPyVListBox
*result
;
10094 char *kwnames
[] = {
10098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
10100 if (!wxPyCheckForApp()) SWIG_fail
;
10101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10102 result
= (wxPyVListBox
*)new wxPyVListBox();
10104 wxPyEndAllowThreads(__tstate
);
10105 if (PyErr_Occurred()) SWIG_fail
;
10107 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
10114 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10115 PyObject
*resultobj
;
10116 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10117 PyObject
*arg2
= (PyObject
*) 0 ;
10118 PyObject
*arg3
= (PyObject
*) 0 ;
10119 PyObject
* obj0
= 0 ;
10120 PyObject
* obj1
= 0 ;
10121 PyObject
* obj2
= 0 ;
10122 char *kwnames
[] = {
10123 (char *) "self",(char *) "self",(char *) "_class", NULL
10126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10133 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10135 wxPyEndAllowThreads(__tstate
);
10136 if (PyErr_Occurred()) SWIG_fail
;
10138 Py_INCREF(Py_None
); resultobj
= Py_None
;
10145 static PyObject
*_wrap_VListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10146 PyObject
*resultobj
;
10147 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10148 wxWindow
*arg2
= (wxWindow
*) 0 ;
10149 int arg3
= (int) wxID_ANY
;
10150 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10151 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10152 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10153 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10154 long arg6
= (long) 0 ;
10155 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
10156 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10160 bool temp7
= false ;
10161 PyObject
* obj0
= 0 ;
10162 PyObject
* obj1
= 0 ;
10163 PyObject
* obj2
= 0 ;
10164 PyObject
* obj3
= 0 ;
10165 PyObject
* obj4
= 0 ;
10166 PyObject
* obj5
= 0 ;
10167 PyObject
* obj6
= 0 ;
10168 char *kwnames
[] = {
10169 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10175 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10178 arg3
= (int)SWIG_As_int(obj2
);
10179 if (PyErr_Occurred()) SWIG_fail
;
10184 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10190 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10194 arg6
= (long)SWIG_As_long(obj5
);
10195 if (PyErr_Occurred()) SWIG_fail
;
10199 arg7
= wxString_in_helper(obj6
);
10200 if (arg7
== NULL
) SWIG_fail
;
10205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10206 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10208 wxPyEndAllowThreads(__tstate
);
10209 if (PyErr_Occurred()) SWIG_fail
;
10212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10228 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10229 PyObject
*resultobj
;
10230 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10232 PyObject
* obj0
= 0 ;
10233 char *kwnames
[] = {
10234 (char *) "self", NULL
10237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
10238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10242 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
10244 wxPyEndAllowThreads(__tstate
);
10245 if (PyErr_Occurred()) SWIG_fail
;
10247 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
10254 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10255 PyObject
*resultobj
;
10256 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10258 PyObject
* obj0
= 0 ;
10259 char *kwnames
[] = {
10260 (char *) "self", NULL
10263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
10264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10268 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
10270 wxPyEndAllowThreads(__tstate
);
10271 if (PyErr_Occurred()) SWIG_fail
;
10274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10282 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10283 PyObject
*resultobj
;
10284 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10286 PyObject
* obj0
= 0 ;
10287 char *kwnames
[] = {
10288 (char *) "self", NULL
10291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
10292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10296 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
10298 wxPyEndAllowThreads(__tstate
);
10299 if (PyErr_Occurred()) SWIG_fail
;
10301 resultobj
= SWIG_From_int((int)result
);
10308 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10309 PyObject
*resultobj
;
10310 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10313 PyObject
* obj0
= 0 ;
10314 PyObject
* obj1
= 0 ;
10315 char *kwnames
[] = {
10316 (char *) "self",(char *) "item", NULL
10319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
10320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10322 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10323 if (PyErr_Occurred()) SWIG_fail
;
10325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10326 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
10328 wxPyEndAllowThreads(__tstate
);
10329 if (PyErr_Occurred()) SWIG_fail
;
10332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10340 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10341 PyObject
*resultobj
;
10342 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10345 PyObject
* obj0
= 0 ;
10346 PyObject
* obj1
= 0 ;
10347 char *kwnames
[] = {
10348 (char *) "self",(char *) "item", NULL
10351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
10352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10354 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10355 if (PyErr_Occurred()) SWIG_fail
;
10357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10358 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
10360 wxPyEndAllowThreads(__tstate
);
10361 if (PyErr_Occurred()) SWIG_fail
;
10364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10372 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10373 PyObject
*resultobj
;
10374 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10376 PyObject
* obj0
= 0 ;
10377 char *kwnames
[] = {
10378 (char *) "self", NULL
10381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
10382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10386 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
10388 wxPyEndAllowThreads(__tstate
);
10389 if (PyErr_Occurred()) SWIG_fail
;
10391 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
10398 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10399 PyObject
*resultobj
;
10400 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10402 PyObject
* obj0
= 0 ;
10403 char *kwnames
[] = {
10404 (char *) "self", NULL
10407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
10408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10412 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
10414 wxPyEndAllowThreads(__tstate
);
10415 if (PyErr_Occurred()) SWIG_fail
;
10417 resultobj
= result
;
10424 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10425 PyObject
*resultobj
;
10426 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10427 unsigned long arg2
;
10429 PyObject
* obj0
= 0 ;
10430 PyObject
* obj1
= 0 ;
10431 char *kwnames
[] = {
10432 (char *) "self",(char *) "cookie", NULL
10435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
10436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10438 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
10439 if (PyErr_Occurred()) SWIG_fail
;
10441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10442 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
10444 wxPyEndAllowThreads(__tstate
);
10445 if (PyErr_Occurred()) SWIG_fail
;
10447 resultobj
= result
;
10454 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10455 PyObject
*resultobj
;
10456 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10458 PyObject
* obj0
= 0 ;
10459 char *kwnames
[] = {
10460 (char *) "self", NULL
10463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
10464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10468 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
10470 wxPyEndAllowThreads(__tstate
);
10471 if (PyErr_Occurred()) SWIG_fail
;
10474 wxPoint
* resultptr
;
10475 resultptr
= new wxPoint((wxPoint
&) result
);
10476 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
10484 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10485 PyObject
*resultobj
;
10486 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10488 PyObject
* obj0
= 0 ;
10489 char *kwnames
[] = {
10490 (char *) "self", NULL
10493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
10494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10499 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
10500 result
= (wxColour
*) &_result_ref
;
10503 wxPyEndAllowThreads(__tstate
);
10504 if (PyErr_Occurred()) SWIG_fail
;
10506 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
10513 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10514 PyObject
*resultobj
;
10515 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10517 PyObject
* obj0
= 0 ;
10518 PyObject
* obj1
= 0 ;
10519 char *kwnames
[] = {
10520 (char *) "self",(char *) "count", NULL
10523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10526 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10527 if (PyErr_Occurred()) SWIG_fail
;
10529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10530 (arg1
)->SetItemCount(arg2
);
10532 wxPyEndAllowThreads(__tstate
);
10533 if (PyErr_Occurred()) SWIG_fail
;
10535 Py_INCREF(Py_None
); resultobj
= Py_None
;
10542 static PyObject
*_wrap_VListBox_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10543 PyObject
*resultobj
;
10544 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10545 PyObject
* obj0
= 0 ;
10546 char *kwnames
[] = {
10547 (char *) "self", NULL
10550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
10551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10557 wxPyEndAllowThreads(__tstate
);
10558 if (PyErr_Occurred()) SWIG_fail
;
10560 Py_INCREF(Py_None
); resultobj
= Py_None
;
10567 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10568 PyObject
*resultobj
;
10569 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10571 PyObject
* obj0
= 0 ;
10572 PyObject
* obj1
= 0 ;
10573 char *kwnames
[] = {
10574 (char *) "self",(char *) "selection", NULL
10577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
10578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10580 arg2
= (int)SWIG_As_int(obj1
);
10581 if (PyErr_Occurred()) SWIG_fail
;
10583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10584 (arg1
)->SetSelection(arg2
);
10586 wxPyEndAllowThreads(__tstate
);
10587 if (PyErr_Occurred()) SWIG_fail
;
10589 Py_INCREF(Py_None
); resultobj
= Py_None
;
10596 static PyObject
*_wrap_VListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10597 PyObject
*resultobj
;
10598 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10600 bool arg3
= (bool) true ;
10602 PyObject
* obj0
= 0 ;
10603 PyObject
* obj1
= 0 ;
10604 PyObject
* obj2
= 0 ;
10605 char *kwnames
[] = {
10606 (char *) "self",(char *) "item",(char *) "select", NULL
10609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10612 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10613 if (PyErr_Occurred()) SWIG_fail
;
10615 arg3
= (bool)SWIG_As_bool(obj2
);
10616 if (PyErr_Occurred()) SWIG_fail
;
10619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10620 result
= (bool)(arg1
)->Select(arg2
,arg3
);
10622 wxPyEndAllowThreads(__tstate
);
10623 if (PyErr_Occurred()) SWIG_fail
;
10626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10634 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10635 PyObject
*resultobj
;
10636 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10640 PyObject
* obj0
= 0 ;
10641 PyObject
* obj1
= 0 ;
10642 PyObject
* obj2
= 0 ;
10643 char *kwnames
[] = {
10644 (char *) "self",(char *) "from",(char *) "to", NULL
10647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10650 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10651 if (PyErr_Occurred()) SWIG_fail
;
10652 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
10653 if (PyErr_Occurred()) SWIG_fail
;
10655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10656 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
10658 wxPyEndAllowThreads(__tstate
);
10659 if (PyErr_Occurred()) SWIG_fail
;
10662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10670 static PyObject
*_wrap_VListBox_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10671 PyObject
*resultobj
;
10672 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10674 PyObject
* obj0
= 0 ;
10675 PyObject
* obj1
= 0 ;
10676 char *kwnames
[] = {
10677 (char *) "self",(char *) "item", NULL
10680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
10681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10683 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10684 if (PyErr_Occurred()) SWIG_fail
;
10686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10687 (arg1
)->Toggle(arg2
);
10689 wxPyEndAllowThreads(__tstate
);
10690 if (PyErr_Occurred()) SWIG_fail
;
10692 Py_INCREF(Py_None
); resultobj
= Py_None
;
10699 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10700 PyObject
*resultobj
;
10701 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10703 PyObject
* obj0
= 0 ;
10704 char *kwnames
[] = {
10705 (char *) "self", NULL
10708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
10709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10713 result
= (bool)(arg1
)->SelectAll();
10715 wxPyEndAllowThreads(__tstate
);
10716 if (PyErr_Occurred()) SWIG_fail
;
10719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10727 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10728 PyObject
*resultobj
;
10729 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10731 PyObject
* obj0
= 0 ;
10732 char *kwnames
[] = {
10733 (char *) "self", NULL
10736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
10737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10741 result
= (bool)(arg1
)->DeselectAll();
10743 wxPyEndAllowThreads(__tstate
);
10744 if (PyErr_Occurred()) SWIG_fail
;
10747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10755 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10756 PyObject
*resultobj
;
10757 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10758 wxPoint
*arg2
= 0 ;
10760 PyObject
* obj0
= 0 ;
10761 PyObject
* obj1
= 0 ;
10762 char *kwnames
[] = {
10763 (char *) "self",(char *) "pt", NULL
10766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
10767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10771 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10775 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
10777 wxPyEndAllowThreads(__tstate
);
10778 if (PyErr_Occurred()) SWIG_fail
;
10780 Py_INCREF(Py_None
); resultobj
= Py_None
;
10787 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10788 PyObject
*resultobj
;
10789 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10792 PyObject
* obj0
= 0 ;
10793 PyObject
* obj1
= 0 ;
10794 PyObject
* obj2
= 0 ;
10795 char *kwnames
[] = {
10796 (char *) "self",(char *) "x",(char *) "y", NULL
10799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10802 arg2
= (int)SWIG_As_int(obj1
);
10803 if (PyErr_Occurred()) SWIG_fail
;
10804 arg3
= (int)SWIG_As_int(obj2
);
10805 if (PyErr_Occurred()) SWIG_fail
;
10807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10808 (arg1
)->SetMargins(arg2
,arg3
);
10810 wxPyEndAllowThreads(__tstate
);
10811 if (PyErr_Occurred()) SWIG_fail
;
10813 Py_INCREF(Py_None
); resultobj
= Py_None
;
10820 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10821 PyObject
*resultobj
;
10822 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10823 wxColour
*arg2
= 0 ;
10825 PyObject
* obj0
= 0 ;
10826 PyObject
* obj1
= 0 ;
10827 char *kwnames
[] = {
10828 (char *) "self",(char *) "col", NULL
10831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
10832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10836 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10840 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
10842 wxPyEndAllowThreads(__tstate
);
10843 if (PyErr_Occurred()) SWIG_fail
;
10845 Py_INCREF(Py_None
); resultobj
= Py_None
;
10852 static PyObject
* VListBox_swigregister(PyObject
*, PyObject
*args
) {
10854 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10855 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
10857 return Py_BuildValue((char *)"");
10859 static PyObject
*_wrap_new_HtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10860 PyObject
*resultobj
;
10861 wxWindow
*arg1
= (wxWindow
*) 0 ;
10862 int arg2
= (int) wxID_ANY
;
10863 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10864 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10865 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10866 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10867 long arg5
= (long) 0 ;
10868 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
10869 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10870 wxPyHtmlListBox
*result
;
10873 bool temp6
= false ;
10874 PyObject
* obj0
= 0 ;
10875 PyObject
* obj1
= 0 ;
10876 PyObject
* obj2
= 0 ;
10877 PyObject
* obj3
= 0 ;
10878 PyObject
* obj4
= 0 ;
10879 PyObject
* obj5
= 0 ;
10880 char *kwnames
[] = {
10881 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10888 arg2
= (int)SWIG_As_int(obj1
);
10889 if (PyErr_Occurred()) SWIG_fail
;
10894 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10900 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10904 arg5
= (long)SWIG_As_long(obj4
);
10905 if (PyErr_Occurred()) SWIG_fail
;
10909 arg6
= wxString_in_helper(obj5
);
10910 if (arg6
== NULL
) SWIG_fail
;
10915 if (!wxPyCheckForApp()) SWIG_fail
;
10916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10917 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10919 wxPyEndAllowThreads(__tstate
);
10920 if (PyErr_Occurred()) SWIG_fail
;
10922 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10937 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10938 PyObject
*resultobj
;
10939 wxPyHtmlListBox
*result
;
10940 char *kwnames
[] = {
10944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
10946 if (!wxPyCheckForApp()) SWIG_fail
;
10947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10948 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
10950 wxPyEndAllowThreads(__tstate
);
10951 if (PyErr_Occurred()) SWIG_fail
;
10953 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10960 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10961 PyObject
*resultobj
;
10962 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10963 PyObject
*arg2
= (PyObject
*) 0 ;
10964 PyObject
*arg3
= (PyObject
*) 0 ;
10965 PyObject
* obj0
= 0 ;
10966 PyObject
* obj1
= 0 ;
10967 PyObject
* obj2
= 0 ;
10968 char *kwnames
[] = {
10969 (char *) "self",(char *) "self",(char *) "_class", NULL
10972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10979 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10981 wxPyEndAllowThreads(__tstate
);
10982 if (PyErr_Occurred()) SWIG_fail
;
10984 Py_INCREF(Py_None
); resultobj
= Py_None
;
10991 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10992 PyObject
*resultobj
;
10993 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10994 wxWindow
*arg2
= (wxWindow
*) 0 ;
10995 int arg3
= (int) wxID_ANY
;
10996 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10997 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10998 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10999 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11000 long arg6
= (long) 0 ;
11001 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
11002 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11006 bool temp7
= false ;
11007 PyObject
* obj0
= 0 ;
11008 PyObject
* obj1
= 0 ;
11009 PyObject
* obj2
= 0 ;
11010 PyObject
* obj3
= 0 ;
11011 PyObject
* obj4
= 0 ;
11012 PyObject
* obj5
= 0 ;
11013 PyObject
* obj6
= 0 ;
11014 char *kwnames
[] = {
11015 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
11020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11021 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11024 arg3
= (int)SWIG_As_int(obj2
);
11025 if (PyErr_Occurred()) SWIG_fail
;
11030 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11036 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11040 arg6
= (long)SWIG_As_long(obj5
);
11041 if (PyErr_Occurred()) SWIG_fail
;
11045 arg7
= wxString_in_helper(obj6
);
11046 if (arg7
== NULL
) SWIG_fail
;
11051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11052 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11054 wxPyEndAllowThreads(__tstate
);
11055 if (PyErr_Occurred()) SWIG_fail
;
11058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11074 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11075 PyObject
*resultobj
;
11076 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
11077 PyObject
* obj0
= 0 ;
11078 char *kwnames
[] = {
11079 (char *) "self", NULL
11082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
11083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
11084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11087 (arg1
)->RefreshAll();
11089 wxPyEndAllowThreads(__tstate
);
11090 if (PyErr_Occurred()) SWIG_fail
;
11092 Py_INCREF(Py_None
); resultobj
= Py_None
;
11099 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11100 PyObject
*resultobj
;
11101 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
11103 PyObject
* obj0
= 0 ;
11104 PyObject
* obj1
= 0 ;
11105 char *kwnames
[] = {
11106 (char *) "self",(char *) "count", NULL
11109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
11110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
11111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11112 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
11113 if (PyErr_Occurred()) SWIG_fail
;
11115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11116 (arg1
)->SetItemCount(arg2
);
11118 wxPyEndAllowThreads(__tstate
);
11119 if (PyErr_Occurred()) SWIG_fail
;
11121 Py_INCREF(Py_None
); resultobj
= Py_None
;
11128 static PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11129 PyObject
*resultobj
;
11130 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
11131 wxFileSystem
*result
;
11132 PyObject
* obj0
= 0 ;
11133 char *kwnames
[] = {
11134 (char *) "self", NULL
11137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_GetFileSystem",kwnames
,&obj0
)) goto fail
;
11138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
11139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11143 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
11144 result
= (wxFileSystem
*) &_result_ref
;
11147 wxPyEndAllowThreads(__tstate
);
11148 if (PyErr_Occurred()) SWIG_fail
;
11150 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileSystem
, 0);
11157 static PyObject
* HtmlListBox_swigregister(PyObject
*, PyObject
*args
) {
11159 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11160 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
11162 return Py_BuildValue((char *)"");
11164 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11165 PyObject
*resultobj
;
11166 wxPyTaskBarIcon
*result
;
11167 char *kwnames
[] = {
11171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
11173 if (!wxPyCheckForApp()) SWIG_fail
;
11174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11175 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
11177 wxPyEndAllowThreads(__tstate
);
11178 if (PyErr_Occurred()) SWIG_fail
;
11180 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTaskBarIcon
, 1);
11187 static PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11188 PyObject
*resultobj
;
11189 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
11190 PyObject
*arg2
= (PyObject
*) 0 ;
11191 PyObject
*arg3
= (PyObject
*) 0 ;
11193 PyObject
* obj0
= 0 ;
11194 PyObject
* obj1
= 0 ;
11195 PyObject
* obj2
= 0 ;
11196 PyObject
* obj3
= 0 ;
11197 char *kwnames
[] = {
11198 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
11201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTaskBarIcon
,
11203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11206 arg4
= (int)SWIG_As_int(obj3
);
11207 if (PyErr_Occurred()) SWIG_fail
;
11209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11210 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
11212 wxPyEndAllowThreads(__tstate
);
11213 if (PyErr_Occurred()) SWIG_fail
;
11215 Py_INCREF(Py_None
); resultobj
= Py_None
;
11222 static PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11223 PyObject
*resultobj
;
11224 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
11225 PyObject
* obj0
= 0 ;
11226 char *kwnames
[] = {
11227 (char *) "self", NULL
11230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_Destroy",kwnames
,&obj0
)) goto fail
;
11231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTaskBarIcon
,
11232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11235 wxPyTaskBarIcon_Destroy(arg1
);
11237 wxPyEndAllowThreads(__tstate
);
11238 if (PyErr_Occurred()) SWIG_fail
;
11240 Py_INCREF(Py_None
); resultobj
= Py_None
;
11247 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11248 PyObject
*resultobj
;
11249 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
11251 PyObject
* obj0
= 0 ;
11252 char *kwnames
[] = {
11253 (char *) "self", NULL
11256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
11257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTaskBarIcon
,
11258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11261 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
11263 wxPyEndAllowThreads(__tstate
);
11264 if (PyErr_Occurred()) SWIG_fail
;
11267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11275 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11276 PyObject
*resultobj
;
11277 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
11279 PyObject
* obj0
= 0 ;
11280 char *kwnames
[] = {
11281 (char *) "self", NULL
11284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
11285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTaskBarIcon
,
11286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11289 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
11291 wxPyEndAllowThreads(__tstate
);
11292 if (PyErr_Occurred()) SWIG_fail
;
11295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11303 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11304 PyObject
*resultobj
;
11305 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
11307 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11308 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11310 bool temp3
= false ;
11311 PyObject
* obj0
= 0 ;
11312 PyObject
* obj1
= 0 ;
11313 PyObject
* obj2
= 0 ;
11314 char *kwnames
[] = {
11315 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
11318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTaskBarIcon
,
11320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11321 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11322 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11324 if (arg2
== NULL
) {
11325 PyErr_SetString(PyExc_TypeError
,"null reference");
11330 arg3
= wxString_in_helper(obj2
);
11331 if (arg3
== NULL
) SWIG_fail
;
11336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11337 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
11339 wxPyEndAllowThreads(__tstate
);
11340 if (PyErr_Occurred()) SWIG_fail
;
11343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11359 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11360 PyObject
*resultobj
;
11361 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
11363 PyObject
* obj0
= 0 ;
11364 char *kwnames
[] = {
11365 (char *) "self", NULL
11368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
11369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTaskBarIcon
,
11370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11373 result
= (bool)(arg1
)->RemoveIcon();
11375 wxPyEndAllowThreads(__tstate
);
11376 if (PyErr_Occurred()) SWIG_fail
;
11379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11387 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11388 PyObject
*resultobj
;
11389 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
11390 wxMenu
*arg2
= (wxMenu
*) 0 ;
11392 PyObject
* obj0
= 0 ;
11393 PyObject
* obj1
= 0 ;
11394 char *kwnames
[] = {
11395 (char *) "self",(char *) "menu", NULL
11398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
11399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTaskBarIcon
,
11400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11401 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
11402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11405 result
= (bool)(arg1
)->PopupMenu(arg2
);
11407 wxPyEndAllowThreads(__tstate
);
11408 if (PyErr_Occurred()) SWIG_fail
;
11411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11419 static PyObject
* TaskBarIcon_swigregister(PyObject
*, PyObject
*args
) {
11421 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11422 SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon
, obj
);
11424 return Py_BuildValue((char *)"");
11426 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11427 PyObject
*resultobj
;
11429 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
11430 wxTaskBarIconEvent
*result
;
11431 PyObject
* obj0
= 0 ;
11432 PyObject
* obj1
= 0 ;
11433 char *kwnames
[] = {
11434 (char *) "evtType",(char *) "tbIcon", NULL
11437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11438 arg1
= (wxEventType
)SWIG_As_int(obj0
);
11439 if (PyErr_Occurred()) SWIG_fail
;
11440 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTaskBarIcon
,
11441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11444 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
11446 wxPyEndAllowThreads(__tstate
);
11447 if (PyErr_Occurred()) SWIG_fail
;
11449 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
11456 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*, PyObject
*args
) {
11458 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11459 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
11461 return Py_BuildValue((char *)"");
11463 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
11464 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
11469 static PyObject
*_wrap_FileSelectorPromptStr_get() {
11474 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
11476 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
11483 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
11484 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
11489 static PyObject
*_wrap_DirSelectorPromptStr_get() {
11494 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
11496 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
11503 static int _wrap_DirDialogNameStr_set(PyObject
*) {
11504 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
11509 static PyObject
*_wrap_DirDialogNameStr_get() {
11514 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
11516 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
11523 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
11524 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
11529 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
11534 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
11536 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
11543 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*) {
11544 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
11549 static PyObject
*_wrap_GetTextFromUserPromptStr_get() {
11554 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
11556 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
11563 static int _wrap_MessageBoxCaptionStr_set(PyObject
*) {
11564 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
11569 static PyObject
*_wrap_MessageBoxCaptionStr_get() {
11574 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
11576 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
11583 static PyObject
*_wrap_new_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11584 PyObject
*resultobj
;
11585 wxColourData
*result
;
11586 char *kwnames
[] = {
11590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
11592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11593 result
= (wxColourData
*)new wxColourData();
11595 wxPyEndAllowThreads(__tstate
);
11596 if (PyErr_Occurred()) SWIG_fail
;
11598 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
11605 static PyObject
*_wrap_delete_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11606 PyObject
*resultobj
;
11607 wxColourData
*arg1
= (wxColourData
*) 0 ;
11608 PyObject
* obj0
= 0 ;
11609 char *kwnames
[] = {
11610 (char *) "self", NULL
11613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
11614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11620 wxPyEndAllowThreads(__tstate
);
11621 if (PyErr_Occurred()) SWIG_fail
;
11623 Py_INCREF(Py_None
); resultobj
= Py_None
;
11630 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11631 PyObject
*resultobj
;
11632 wxColourData
*arg1
= (wxColourData
*) 0 ;
11634 PyObject
* obj0
= 0 ;
11635 char *kwnames
[] = {
11636 (char *) "self", NULL
11639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
11640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11644 result
= (bool)(arg1
)->GetChooseFull();
11646 wxPyEndAllowThreads(__tstate
);
11647 if (PyErr_Occurred()) SWIG_fail
;
11650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11658 static PyObject
*_wrap_ColourData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11659 PyObject
*resultobj
;
11660 wxColourData
*arg1
= (wxColourData
*) 0 ;
11662 PyObject
* obj0
= 0 ;
11663 char *kwnames
[] = {
11664 (char *) "self", NULL
11667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
11668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11672 result
= (arg1
)->GetColour();
11674 wxPyEndAllowThreads(__tstate
);
11675 if (PyErr_Occurred()) SWIG_fail
;
11678 wxColour
* resultptr
;
11679 resultptr
= new wxColour((wxColour
&) result
);
11680 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11688 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11689 PyObject
*resultobj
;
11690 wxColourData
*arg1
= (wxColourData
*) 0 ;
11693 PyObject
* obj0
= 0 ;
11694 PyObject
* obj1
= 0 ;
11695 char *kwnames
[] = {
11696 (char *) "self",(char *) "i", NULL
11699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11702 arg2
= (int)SWIG_As_int(obj1
);
11703 if (PyErr_Occurred()) SWIG_fail
;
11705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11706 result
= (arg1
)->GetCustomColour(arg2
);
11708 wxPyEndAllowThreads(__tstate
);
11709 if (PyErr_Occurred()) SWIG_fail
;
11712 wxColour
* resultptr
;
11713 resultptr
= new wxColour((wxColour
&) result
);
11714 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11722 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11723 PyObject
*resultobj
;
11724 wxColourData
*arg1
= (wxColourData
*) 0 ;
11726 PyObject
* obj0
= 0 ;
11727 PyObject
* obj1
= 0 ;
11728 char *kwnames
[] = {
11729 (char *) "self",(char *) "flag", NULL
11732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
11733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11735 arg2
= (int)SWIG_As_int(obj1
);
11736 if (PyErr_Occurred()) SWIG_fail
;
11738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11739 (arg1
)->SetChooseFull(arg2
);
11741 wxPyEndAllowThreads(__tstate
);
11742 if (PyErr_Occurred()) SWIG_fail
;
11744 Py_INCREF(Py_None
); resultobj
= Py_None
;
11751 static PyObject
*_wrap_ColourData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11752 PyObject
*resultobj
;
11753 wxColourData
*arg1
= (wxColourData
*) 0 ;
11754 wxColour
*arg2
= 0 ;
11756 PyObject
* obj0
= 0 ;
11757 PyObject
* obj1
= 0 ;
11758 char *kwnames
[] = {
11759 (char *) "self",(char *) "colour", NULL
11762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11767 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11771 (arg1
)->SetColour((wxColour
const &)*arg2
);
11773 wxPyEndAllowThreads(__tstate
);
11774 if (PyErr_Occurred()) SWIG_fail
;
11776 Py_INCREF(Py_None
); resultobj
= Py_None
;
11783 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11784 PyObject
*resultobj
;
11785 wxColourData
*arg1
= (wxColourData
*) 0 ;
11787 wxColour
*arg3
= 0 ;
11789 PyObject
* obj0
= 0 ;
11790 PyObject
* obj1
= 0 ;
11791 PyObject
* obj2
= 0 ;
11792 char *kwnames
[] = {
11793 (char *) "self",(char *) "i",(char *) "colour", NULL
11796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11799 arg2
= (int)SWIG_As_int(obj1
);
11800 if (PyErr_Occurred()) SWIG_fail
;
11803 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11807 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
11809 wxPyEndAllowThreads(__tstate
);
11810 if (PyErr_Occurred()) SWIG_fail
;
11812 Py_INCREF(Py_None
); resultobj
= Py_None
;
11819 static PyObject
* ColourData_swigregister(PyObject
*, PyObject
*args
) {
11821 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11822 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
11824 return Py_BuildValue((char *)"");
11826 static PyObject
*_wrap_new_ColourDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11827 PyObject
*resultobj
;
11828 wxWindow
*arg1
= (wxWindow
*) 0 ;
11829 wxColourData
*arg2
= (wxColourData
*) NULL
;
11830 wxColourDialog
*result
;
11831 PyObject
* obj0
= 0 ;
11832 PyObject
* obj1
= 0 ;
11833 char *kwnames
[] = {
11834 (char *) "parent",(char *) "data", NULL
11837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
11838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11841 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColourData
,
11842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11845 if (!wxPyCheckForApp()) SWIG_fail
;
11846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11847 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
11849 wxPyEndAllowThreads(__tstate
);
11850 if (PyErr_Occurred()) SWIG_fail
;
11852 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
11859 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11860 PyObject
*resultobj
;
11861 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
11862 wxColourData
*result
;
11863 PyObject
* obj0
= 0 ;
11864 char *kwnames
[] = {
11865 (char *) "self", NULL
11868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
11869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDialog
,
11870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11874 wxColourData
&_result_ref
= (arg1
)->GetColourData();
11875 result
= (wxColourData
*) &_result_ref
;
11878 wxPyEndAllowThreads(__tstate
);
11879 if (PyErr_Occurred()) SWIG_fail
;
11881 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
11888 static PyObject
* ColourDialog_swigregister(PyObject
*, PyObject
*args
) {
11890 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11891 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
11893 return Py_BuildValue((char *)"");
11895 static PyObject
*_wrap_new_DirDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11896 PyObject
*resultobj
;
11897 wxWindow
*arg1
= (wxWindow
*) 0 ;
11898 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
11899 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11900 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11901 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11902 long arg4
= (long) 0 ;
11903 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11904 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11905 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11906 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11907 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
11908 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11909 wxDirDialog
*result
;
11910 bool temp2
= false ;
11911 bool temp3
= false ;
11914 bool temp7
= false ;
11915 PyObject
* obj0
= 0 ;
11916 PyObject
* obj1
= 0 ;
11917 PyObject
* obj2
= 0 ;
11918 PyObject
* obj3
= 0 ;
11919 PyObject
* obj4
= 0 ;
11920 PyObject
* obj5
= 0 ;
11921 PyObject
* obj6
= 0 ;
11922 char *kwnames
[] = {
11923 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11931 arg2
= wxString_in_helper(obj1
);
11932 if (arg2
== NULL
) SWIG_fail
;
11938 arg3
= wxString_in_helper(obj2
);
11939 if (arg3
== NULL
) SWIG_fail
;
11944 arg4
= (long)SWIG_As_long(obj3
);
11945 if (PyErr_Occurred()) SWIG_fail
;
11950 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11956 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11961 arg7
= wxString_in_helper(obj6
);
11962 if (arg7
== NULL
) SWIG_fail
;
11967 if (!wxPyCheckForApp()) SWIG_fail
;
11968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11969 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
11971 wxPyEndAllowThreads(__tstate
);
11972 if (PyErr_Occurred()) SWIG_fail
;
11974 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
12005 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12006 PyObject
*resultobj
;
12007 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
12009 PyObject
* obj0
= 0 ;
12010 char *kwnames
[] = {
12011 (char *) "self", NULL
12014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
12015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
12016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12019 result
= (arg1
)->GetPath();
12021 wxPyEndAllowThreads(__tstate
);
12022 if (PyErr_Occurred()) SWIG_fail
;
12026 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12028 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12037 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12038 PyObject
*resultobj
;
12039 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
12041 PyObject
* obj0
= 0 ;
12042 char *kwnames
[] = {
12043 (char *) "self", NULL
12046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
12047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
12048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12051 result
= (arg1
)->GetMessage();
12053 wxPyEndAllowThreads(__tstate
);
12054 if (PyErr_Occurred()) SWIG_fail
;
12058 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12060 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12069 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12070 PyObject
*resultobj
;
12071 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
12073 PyObject
* obj0
= 0 ;
12074 char *kwnames
[] = {
12075 (char *) "self", NULL
12078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
12079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
12080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12083 result
= (long)(arg1
)->GetStyle();
12085 wxPyEndAllowThreads(__tstate
);
12086 if (PyErr_Occurred()) SWIG_fail
;
12088 resultobj
= SWIG_From_long((long)result
);
12095 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12096 PyObject
*resultobj
;
12097 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
12098 wxString
*arg2
= 0 ;
12099 bool temp2
= false ;
12100 PyObject
* obj0
= 0 ;
12101 PyObject
* obj1
= 0 ;
12102 char *kwnames
[] = {
12103 (char *) "self",(char *) "message", NULL
12106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
12107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
12108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12110 arg2
= wxString_in_helper(obj1
);
12111 if (arg2
== NULL
) SWIG_fail
;
12115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12116 (arg1
)->SetMessage((wxString
const &)*arg2
);
12118 wxPyEndAllowThreads(__tstate
);
12119 if (PyErr_Occurred()) SWIG_fail
;
12121 Py_INCREF(Py_None
); resultobj
= Py_None
;
12136 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12137 PyObject
*resultobj
;
12138 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
12139 wxString
*arg2
= 0 ;
12140 bool temp2
= false ;
12141 PyObject
* obj0
= 0 ;
12142 PyObject
* obj1
= 0 ;
12143 char *kwnames
[] = {
12144 (char *) "self",(char *) "path", NULL
12147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
12148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
12149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12151 arg2
= wxString_in_helper(obj1
);
12152 if (arg2
== NULL
) SWIG_fail
;
12156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12157 (arg1
)->SetPath((wxString
const &)*arg2
);
12159 wxPyEndAllowThreads(__tstate
);
12160 if (PyErr_Occurred()) SWIG_fail
;
12162 Py_INCREF(Py_None
); resultobj
= Py_None
;
12177 static PyObject
* DirDialog_swigregister(PyObject
*, PyObject
*args
) {
12179 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12180 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
12182 return Py_BuildValue((char *)"");
12184 static PyObject
*_wrap_new_FileDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12185 PyObject
*resultobj
;
12186 wxWindow
*arg1
= (wxWindow
*) 0 ;
12187 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
12188 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12189 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12190 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12191 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12192 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12193 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
12194 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
12195 long arg6
= (long) 0 ;
12196 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12197 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12198 wxFileDialog
*result
;
12199 bool temp2
= false ;
12200 bool temp3
= false ;
12201 bool temp4
= false ;
12202 bool temp5
= false ;
12204 PyObject
* obj0
= 0 ;
12205 PyObject
* obj1
= 0 ;
12206 PyObject
* obj2
= 0 ;
12207 PyObject
* obj3
= 0 ;
12208 PyObject
* obj4
= 0 ;
12209 PyObject
* obj5
= 0 ;
12210 PyObject
* obj6
= 0 ;
12211 char *kwnames
[] = {
12212 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
12215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12220 arg2
= wxString_in_helper(obj1
);
12221 if (arg2
== NULL
) SWIG_fail
;
12227 arg3
= wxString_in_helper(obj2
);
12228 if (arg3
== NULL
) SWIG_fail
;
12234 arg4
= wxString_in_helper(obj3
);
12235 if (arg4
== NULL
) SWIG_fail
;
12241 arg5
= wxString_in_helper(obj4
);
12242 if (arg5
== NULL
) SWIG_fail
;
12247 arg6
= (long)SWIG_As_long(obj5
);
12248 if (PyErr_Occurred()) SWIG_fail
;
12253 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
12257 if (!wxPyCheckForApp()) SWIG_fail
;
12258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12259 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
12261 wxPyEndAllowThreads(__tstate
);
12262 if (PyErr_Occurred()) SWIG_fail
;
12264 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
12303 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12304 PyObject
*resultobj
;
12305 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12306 wxString
*arg2
= 0 ;
12307 bool temp2
= false ;
12308 PyObject
* obj0
= 0 ;
12309 PyObject
* obj1
= 0 ;
12310 char *kwnames
[] = {
12311 (char *) "self",(char *) "message", NULL
12314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
12315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12318 arg2
= wxString_in_helper(obj1
);
12319 if (arg2
== NULL
) SWIG_fail
;
12323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12324 (arg1
)->SetMessage((wxString
const &)*arg2
);
12326 wxPyEndAllowThreads(__tstate
);
12327 if (PyErr_Occurred()) SWIG_fail
;
12329 Py_INCREF(Py_None
); resultobj
= Py_None
;
12344 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12345 PyObject
*resultobj
;
12346 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12347 wxString
*arg2
= 0 ;
12348 bool temp2
= false ;
12349 PyObject
* obj0
= 0 ;
12350 PyObject
* obj1
= 0 ;
12351 char *kwnames
[] = {
12352 (char *) "self",(char *) "path", NULL
12355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
12356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12359 arg2
= wxString_in_helper(obj1
);
12360 if (arg2
== NULL
) SWIG_fail
;
12364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12365 (arg1
)->SetPath((wxString
const &)*arg2
);
12367 wxPyEndAllowThreads(__tstate
);
12368 if (PyErr_Occurred()) SWIG_fail
;
12370 Py_INCREF(Py_None
); resultobj
= Py_None
;
12385 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12386 PyObject
*resultobj
;
12387 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12388 wxString
*arg2
= 0 ;
12389 bool temp2
= false ;
12390 PyObject
* obj0
= 0 ;
12391 PyObject
* obj1
= 0 ;
12392 char *kwnames
[] = {
12393 (char *) "self",(char *) "dir", NULL
12396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
12397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12400 arg2
= wxString_in_helper(obj1
);
12401 if (arg2
== NULL
) SWIG_fail
;
12405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12406 (arg1
)->SetDirectory((wxString
const &)*arg2
);
12408 wxPyEndAllowThreads(__tstate
);
12409 if (PyErr_Occurred()) SWIG_fail
;
12411 Py_INCREF(Py_None
); resultobj
= Py_None
;
12426 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12427 PyObject
*resultobj
;
12428 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12429 wxString
*arg2
= 0 ;
12430 bool temp2
= false ;
12431 PyObject
* obj0
= 0 ;
12432 PyObject
* obj1
= 0 ;
12433 char *kwnames
[] = {
12434 (char *) "self",(char *) "name", NULL
12437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
12438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12441 arg2
= wxString_in_helper(obj1
);
12442 if (arg2
== NULL
) SWIG_fail
;
12446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12447 (arg1
)->SetFilename((wxString
const &)*arg2
);
12449 wxPyEndAllowThreads(__tstate
);
12450 if (PyErr_Occurred()) SWIG_fail
;
12452 Py_INCREF(Py_None
); resultobj
= Py_None
;
12467 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12468 PyObject
*resultobj
;
12469 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12470 wxString
*arg2
= 0 ;
12471 bool temp2
= false ;
12472 PyObject
* obj0
= 0 ;
12473 PyObject
* obj1
= 0 ;
12474 char *kwnames
[] = {
12475 (char *) "self",(char *) "wildCard", NULL
12478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
12479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12482 arg2
= wxString_in_helper(obj1
);
12483 if (arg2
== NULL
) SWIG_fail
;
12487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12488 (arg1
)->SetWildcard((wxString
const &)*arg2
);
12490 wxPyEndAllowThreads(__tstate
);
12491 if (PyErr_Occurred()) SWIG_fail
;
12493 Py_INCREF(Py_None
); resultobj
= Py_None
;
12508 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12509 PyObject
*resultobj
;
12510 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12512 PyObject
* obj0
= 0 ;
12513 PyObject
* obj1
= 0 ;
12514 char *kwnames
[] = {
12515 (char *) "self",(char *) "style", NULL
12518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
12519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12521 arg2
= (long)SWIG_As_long(obj1
);
12522 if (PyErr_Occurred()) SWIG_fail
;
12524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12525 (arg1
)->SetStyle(arg2
);
12527 wxPyEndAllowThreads(__tstate
);
12528 if (PyErr_Occurred()) SWIG_fail
;
12530 Py_INCREF(Py_None
); resultobj
= Py_None
;
12537 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12538 PyObject
*resultobj
;
12539 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12541 PyObject
* obj0
= 0 ;
12542 PyObject
* obj1
= 0 ;
12543 char *kwnames
[] = {
12544 (char *) "self",(char *) "filterIndex", NULL
12547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
12548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12550 arg2
= (int)SWIG_As_int(obj1
);
12551 if (PyErr_Occurred()) SWIG_fail
;
12553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12554 (arg1
)->SetFilterIndex(arg2
);
12556 wxPyEndAllowThreads(__tstate
);
12557 if (PyErr_Occurred()) SWIG_fail
;
12559 Py_INCREF(Py_None
); resultobj
= Py_None
;
12566 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12567 PyObject
*resultobj
;
12568 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12570 PyObject
* obj0
= 0 ;
12571 char *kwnames
[] = {
12572 (char *) "self", NULL
12575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
12576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12580 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
12582 wxPyEndAllowThreads(__tstate
);
12583 if (PyErr_Occurred()) SWIG_fail
;
12587 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12589 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12598 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12599 PyObject
*resultobj
;
12600 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12602 PyObject
* obj0
= 0 ;
12603 char *kwnames
[] = {
12604 (char *) "self", NULL
12607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
12608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12612 result
= ((wxFileDialog
const *)arg1
)->GetPath();
12614 wxPyEndAllowThreads(__tstate
);
12615 if (PyErr_Occurred()) SWIG_fail
;
12619 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12621 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12630 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12631 PyObject
*resultobj
;
12632 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12634 PyObject
* obj0
= 0 ;
12635 char *kwnames
[] = {
12636 (char *) "self", NULL
12639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
12640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12644 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
12646 wxPyEndAllowThreads(__tstate
);
12647 if (PyErr_Occurred()) SWIG_fail
;
12651 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12653 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12662 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12663 PyObject
*resultobj
;
12664 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12666 PyObject
* obj0
= 0 ;
12667 char *kwnames
[] = {
12668 (char *) "self", NULL
12671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
12672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12676 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
12678 wxPyEndAllowThreads(__tstate
);
12679 if (PyErr_Occurred()) SWIG_fail
;
12683 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12685 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12694 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12695 PyObject
*resultobj
;
12696 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12698 PyObject
* obj0
= 0 ;
12699 char *kwnames
[] = {
12700 (char *) "self", NULL
12703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
12704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12708 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
12710 wxPyEndAllowThreads(__tstate
);
12711 if (PyErr_Occurred()) SWIG_fail
;
12715 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12717 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12726 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12727 PyObject
*resultobj
;
12728 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12730 PyObject
* obj0
= 0 ;
12731 char *kwnames
[] = {
12732 (char *) "self", NULL
12735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
12736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12740 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
12742 wxPyEndAllowThreads(__tstate
);
12743 if (PyErr_Occurred()) SWIG_fail
;
12745 resultobj
= SWIG_From_long((long)result
);
12752 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12753 PyObject
*resultobj
;
12754 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12756 PyObject
* obj0
= 0 ;
12757 char *kwnames
[] = {
12758 (char *) "self", NULL
12761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
12762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12766 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
12768 wxPyEndAllowThreads(__tstate
);
12769 if (PyErr_Occurred()) SWIG_fail
;
12771 resultobj
= SWIG_From_int((int)result
);
12778 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12779 PyObject
*resultobj
;
12780 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12782 PyObject
* obj0
= 0 ;
12783 char *kwnames
[] = {
12784 (char *) "self", NULL
12787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
12788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12792 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
12794 wxPyEndAllowThreads(__tstate
);
12795 if (PyErr_Occurred()) SWIG_fail
;
12797 resultobj
= result
;
12804 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12805 PyObject
*resultobj
;
12806 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12808 PyObject
* obj0
= 0 ;
12809 char *kwnames
[] = {
12810 (char *) "self", NULL
12813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
12814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12818 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
12820 wxPyEndAllowThreads(__tstate
);
12821 if (PyErr_Occurred()) SWIG_fail
;
12823 resultobj
= result
;
12830 static PyObject
* FileDialog_swigregister(PyObject
*, PyObject
*args
) {
12832 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12833 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
12835 return Py_BuildValue((char *)"");
12837 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12838 PyObject
*resultobj
;
12839 wxWindow
*arg1
= (wxWindow
*) 0 ;
12840 wxString
*arg2
= 0 ;
12841 wxString
*arg3
= 0 ;
12842 int arg4
= (int) 0 ;
12843 wxString
*arg5
= (wxString
*) NULL
;
12844 long arg6
= (long) wxCHOICEDLG_STYLE
;
12845 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12846 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12847 wxMultiChoiceDialog
*result
;
12848 bool temp2
= false ;
12849 bool temp3
= false ;
12851 PyObject
* obj0
= 0 ;
12852 PyObject
* obj1
= 0 ;
12853 PyObject
* obj2
= 0 ;
12854 PyObject
* obj3
= 0 ;
12855 PyObject
* obj4
= 0 ;
12856 PyObject
* obj5
= 0 ;
12857 char *kwnames
[] = {
12858 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12865 arg2
= wxString_in_helper(obj1
);
12866 if (arg2
== NULL
) SWIG_fail
;
12870 arg3
= wxString_in_helper(obj2
);
12871 if (arg3
== NULL
) SWIG_fail
;
12876 arg4
= PyList_Size(obj3
);
12877 arg5
= wxString_LIST_helper(obj3
);
12878 if (arg5
== NULL
) SWIG_fail
;
12882 arg6
= (long)SWIG_As_long(obj4
);
12883 if (PyErr_Occurred()) SWIG_fail
;
12888 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12892 if (!wxPyCheckForApp()) SWIG_fail
;
12893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12894 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12896 wxPyEndAllowThreads(__tstate
);
12897 if (PyErr_Occurred()) SWIG_fail
;
12899 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
12909 if (arg5
) delete [] arg5
;
12922 if (arg5
) delete [] arg5
;
12928 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12929 PyObject
*resultobj
;
12930 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12931 wxArrayInt
*arg2
= 0 ;
12932 bool temp2
= false ;
12933 PyObject
* obj0
= 0 ;
12934 PyObject
* obj1
= 0 ;
12935 char *kwnames
[] = {
12936 (char *) "self",(char *) "selections", NULL
12939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
12940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12943 if (! PySequence_Check(obj1
)) {
12944 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
12947 arg2
= new wxArrayInt
;
12949 int i
, len
=PySequence_Length(obj1
);
12950 for (i
=0; i
<len
; i
++) {
12951 PyObject
* item
= PySequence_GetItem(obj1
, i
);
12952 PyObject
* number
= PyNumber_Int(item
);
12953 arg2
->Add(PyInt_AS_LONG(number
));
12959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12960 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
12962 wxPyEndAllowThreads(__tstate
);
12963 if (PyErr_Occurred()) SWIG_fail
;
12965 Py_INCREF(Py_None
); resultobj
= Py_None
;
12967 if (temp2
) delete arg2
;
12972 if (temp2
) delete arg2
;
12978 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12979 PyObject
*resultobj
;
12980 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12982 PyObject
* obj0
= 0 ;
12983 char *kwnames
[] = {
12984 (char *) "self", NULL
12987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
12988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12992 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
12994 wxPyEndAllowThreads(__tstate
);
12995 if (PyErr_Occurred()) SWIG_fail
;
12997 resultobj
= result
;
13004 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
13006 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13007 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
13009 return Py_BuildValue((char *)"");
13011 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13012 PyObject
*resultobj
;
13013 wxWindow
*arg1
= (wxWindow
*) 0 ;
13014 wxString
*arg2
= 0 ;
13015 wxString
*arg3
= 0 ;
13017 wxString
*arg5
= (wxString
*) 0 ;
13018 long arg6
= (long) wxCHOICEDLG_STYLE
;
13019 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
13020 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
13021 wxSingleChoiceDialog
*result
;
13022 bool temp2
= false ;
13023 bool temp3
= false ;
13025 PyObject
* obj0
= 0 ;
13026 PyObject
* obj1
= 0 ;
13027 PyObject
* obj2
= 0 ;
13028 PyObject
* obj3
= 0 ;
13029 PyObject
* obj4
= 0 ;
13030 PyObject
* obj5
= 0 ;
13031 char *kwnames
[] = {
13032 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
13035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13039 arg2
= wxString_in_helper(obj1
);
13040 if (arg2
== NULL
) SWIG_fail
;
13044 arg3
= wxString_in_helper(obj2
);
13045 if (arg3
== NULL
) SWIG_fail
;
13049 arg4
= PyList_Size(obj3
);
13050 arg5
= wxString_LIST_helper(obj3
);
13051 if (arg5
== NULL
) SWIG_fail
;
13054 arg6
= (long)SWIG_As_long(obj4
);
13055 if (PyErr_Occurred()) SWIG_fail
;
13060 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
13064 if (!wxPyCheckForApp()) SWIG_fail
;
13065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13066 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
13068 wxPyEndAllowThreads(__tstate
);
13069 if (PyErr_Occurred()) SWIG_fail
;
13071 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
13081 if (arg5
) delete [] arg5
;
13094 if (arg5
) delete [] arg5
;
13100 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13101 PyObject
*resultobj
;
13102 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
13104 PyObject
* obj0
= 0 ;
13105 char *kwnames
[] = {
13106 (char *) "self", NULL
13109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
13110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
13111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13114 result
= (int)(arg1
)->GetSelection();
13116 wxPyEndAllowThreads(__tstate
);
13117 if (PyErr_Occurred()) SWIG_fail
;
13119 resultobj
= SWIG_From_int((int)result
);
13126 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13127 PyObject
*resultobj
;
13128 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
13130 PyObject
* obj0
= 0 ;
13131 char *kwnames
[] = {
13132 (char *) "self", NULL
13135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
13136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
13137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13140 result
= (arg1
)->GetStringSelection();
13142 wxPyEndAllowThreads(__tstate
);
13143 if (PyErr_Occurred()) SWIG_fail
;
13147 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13149 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13158 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13159 PyObject
*resultobj
;
13160 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
13162 PyObject
* obj0
= 0 ;
13163 PyObject
* obj1
= 0 ;
13164 char *kwnames
[] = {
13165 (char *) "self",(char *) "sel", NULL
13168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
13170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13171 arg2
= (int)SWIG_As_int(obj1
);
13172 if (PyErr_Occurred()) SWIG_fail
;
13174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13175 (arg1
)->SetSelection(arg2
);
13177 wxPyEndAllowThreads(__tstate
);
13178 if (PyErr_Occurred()) SWIG_fail
;
13180 Py_INCREF(Py_None
); resultobj
= Py_None
;
13187 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
13189 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13190 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
13192 return Py_BuildValue((char *)"");
13194 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13195 PyObject
*resultobj
;
13196 wxWindow
*arg1
= (wxWindow
*) 0 ;
13197 wxString
*arg2
= 0 ;
13198 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
13199 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13200 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13201 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13202 long arg5
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
13203 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
13204 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
13205 wxTextEntryDialog
*result
;
13206 bool temp2
= false ;
13207 bool temp3
= false ;
13208 bool temp4
= false ;
13210 PyObject
* obj0
= 0 ;
13211 PyObject
* obj1
= 0 ;
13212 PyObject
* obj2
= 0 ;
13213 PyObject
* obj3
= 0 ;
13214 PyObject
* obj4
= 0 ;
13215 PyObject
* obj5
= 0 ;
13216 char *kwnames
[] = {
13217 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
13220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13224 arg2
= wxString_in_helper(obj1
);
13225 if (arg2
== NULL
) SWIG_fail
;
13230 arg3
= wxString_in_helper(obj2
);
13231 if (arg3
== NULL
) SWIG_fail
;
13237 arg4
= wxString_in_helper(obj3
);
13238 if (arg4
== NULL
) SWIG_fail
;
13243 arg5
= (long)SWIG_As_long(obj4
);
13244 if (PyErr_Occurred()) SWIG_fail
;
13249 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
13253 if (!wxPyCheckForApp()) SWIG_fail
;
13254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13255 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
13257 wxPyEndAllowThreads(__tstate
);
13258 if (PyErr_Occurred()) SWIG_fail
;
13260 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
13291 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13292 PyObject
*resultobj
;
13293 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
13295 PyObject
* obj0
= 0 ;
13296 char *kwnames
[] = {
13297 (char *) "self", NULL
13300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
13301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
13302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13305 result
= (arg1
)->GetValue();
13307 wxPyEndAllowThreads(__tstate
);
13308 if (PyErr_Occurred()) SWIG_fail
;
13312 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13314 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13323 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13324 PyObject
*resultobj
;
13325 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
13326 wxString
*arg2
= 0 ;
13327 bool temp2
= false ;
13328 PyObject
* obj0
= 0 ;
13329 PyObject
* obj1
= 0 ;
13330 char *kwnames
[] = {
13331 (char *) "self",(char *) "value", NULL
13334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
13336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13338 arg2
= wxString_in_helper(obj1
);
13339 if (arg2
== NULL
) SWIG_fail
;
13343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13344 (arg1
)->SetValue((wxString
const &)*arg2
);
13346 wxPyEndAllowThreads(__tstate
);
13347 if (PyErr_Occurred()) SWIG_fail
;
13349 Py_INCREF(Py_None
); resultobj
= Py_None
;
13364 static PyObject
* TextEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
13366 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13367 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
13369 return Py_BuildValue((char *)"");
13371 static PyObject
*_wrap_new_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13372 PyObject
*resultobj
;
13373 wxFontData
*result
;
13374 char *kwnames
[] = {
13378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
13380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13381 result
= (wxFontData
*)new wxFontData();
13383 wxPyEndAllowThreads(__tstate
);
13384 if (PyErr_Occurred()) SWIG_fail
;
13386 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
13393 static PyObject
*_wrap_delete_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13394 PyObject
*resultobj
;
13395 wxFontData
*arg1
= (wxFontData
*) 0 ;
13396 PyObject
* obj0
= 0 ;
13397 char *kwnames
[] = {
13398 (char *) "self", NULL
13401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
13402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13408 wxPyEndAllowThreads(__tstate
);
13409 if (PyErr_Occurred()) SWIG_fail
;
13411 Py_INCREF(Py_None
); resultobj
= Py_None
;
13418 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13419 PyObject
*resultobj
;
13420 wxFontData
*arg1
= (wxFontData
*) 0 ;
13422 PyObject
* obj0
= 0 ;
13423 PyObject
* obj1
= 0 ;
13424 char *kwnames
[] = {
13425 (char *) "self",(char *) "enable", NULL
13428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
13429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13431 arg2
= (bool)SWIG_As_bool(obj1
);
13432 if (PyErr_Occurred()) SWIG_fail
;
13434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13435 (arg1
)->EnableEffects(arg2
);
13437 wxPyEndAllowThreads(__tstate
);
13438 if (PyErr_Occurred()) SWIG_fail
;
13440 Py_INCREF(Py_None
); resultobj
= Py_None
;
13447 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13448 PyObject
*resultobj
;
13449 wxFontData
*arg1
= (wxFontData
*) 0 ;
13451 PyObject
* obj0
= 0 ;
13452 char *kwnames
[] = {
13453 (char *) "self", NULL
13456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
13457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13461 result
= (bool)(arg1
)->GetAllowSymbols();
13463 wxPyEndAllowThreads(__tstate
);
13464 if (PyErr_Occurred()) SWIG_fail
;
13467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13475 static PyObject
*_wrap_FontData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13476 PyObject
*resultobj
;
13477 wxFontData
*arg1
= (wxFontData
*) 0 ;
13479 PyObject
* obj0
= 0 ;
13480 char *kwnames
[] = {
13481 (char *) "self", NULL
13484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
13485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13489 result
= (arg1
)->GetColour();
13491 wxPyEndAllowThreads(__tstate
);
13492 if (PyErr_Occurred()) SWIG_fail
;
13495 wxColour
* resultptr
;
13496 resultptr
= new wxColour((wxColour
&) result
);
13497 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13505 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13506 PyObject
*resultobj
;
13507 wxFontData
*arg1
= (wxFontData
*) 0 ;
13509 PyObject
* obj0
= 0 ;
13510 char *kwnames
[] = {
13511 (char *) "self", NULL
13514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
13515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13519 result
= (arg1
)->GetChosenFont();
13521 wxPyEndAllowThreads(__tstate
);
13522 if (PyErr_Occurred()) SWIG_fail
;
13525 wxFont
* resultptr
;
13526 resultptr
= new wxFont((wxFont
&) result
);
13527 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13535 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13536 PyObject
*resultobj
;
13537 wxFontData
*arg1
= (wxFontData
*) 0 ;
13539 PyObject
* obj0
= 0 ;
13540 char *kwnames
[] = {
13541 (char *) "self", NULL
13544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
13545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13549 result
= (bool)(arg1
)->GetEnableEffects();
13551 wxPyEndAllowThreads(__tstate
);
13552 if (PyErr_Occurred()) SWIG_fail
;
13555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13563 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13564 PyObject
*resultobj
;
13565 wxFontData
*arg1
= (wxFontData
*) 0 ;
13567 PyObject
* obj0
= 0 ;
13568 char *kwnames
[] = {
13569 (char *) "self", NULL
13572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
13573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13577 result
= (arg1
)->GetInitialFont();
13579 wxPyEndAllowThreads(__tstate
);
13580 if (PyErr_Occurred()) SWIG_fail
;
13583 wxFont
* resultptr
;
13584 resultptr
= new wxFont((wxFont
&) result
);
13585 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13593 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13594 PyObject
*resultobj
;
13595 wxFontData
*arg1
= (wxFontData
*) 0 ;
13597 PyObject
* obj0
= 0 ;
13598 char *kwnames
[] = {
13599 (char *) "self", NULL
13602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
13603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13607 result
= (bool)(arg1
)->GetShowHelp();
13609 wxPyEndAllowThreads(__tstate
);
13610 if (PyErr_Occurred()) SWIG_fail
;
13613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13621 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13622 PyObject
*resultobj
;
13623 wxFontData
*arg1
= (wxFontData
*) 0 ;
13625 PyObject
* obj0
= 0 ;
13626 PyObject
* obj1
= 0 ;
13627 char *kwnames
[] = {
13628 (char *) "self",(char *) "allowSymbols", NULL
13631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
13632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13634 arg2
= (bool)SWIG_As_bool(obj1
);
13635 if (PyErr_Occurred()) SWIG_fail
;
13637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13638 (arg1
)->SetAllowSymbols(arg2
);
13640 wxPyEndAllowThreads(__tstate
);
13641 if (PyErr_Occurred()) SWIG_fail
;
13643 Py_INCREF(Py_None
); resultobj
= Py_None
;
13650 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13651 PyObject
*resultobj
;
13652 wxFontData
*arg1
= (wxFontData
*) 0 ;
13654 PyObject
* obj0
= 0 ;
13655 PyObject
* obj1
= 0 ;
13656 char *kwnames
[] = {
13657 (char *) "self",(char *) "font", NULL
13660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13663 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13664 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13666 if (arg2
== NULL
) {
13667 PyErr_SetString(PyExc_TypeError
,"null reference");
13671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13672 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
13674 wxPyEndAllowThreads(__tstate
);
13675 if (PyErr_Occurred()) SWIG_fail
;
13677 Py_INCREF(Py_None
); resultobj
= Py_None
;
13684 static PyObject
*_wrap_FontData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13685 PyObject
*resultobj
;
13686 wxFontData
*arg1
= (wxFontData
*) 0 ;
13687 wxColour
*arg2
= 0 ;
13689 PyObject
* obj0
= 0 ;
13690 PyObject
* obj1
= 0 ;
13691 char *kwnames
[] = {
13692 (char *) "self",(char *) "colour", NULL
13695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13700 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13704 (arg1
)->SetColour((wxColour
const &)*arg2
);
13706 wxPyEndAllowThreads(__tstate
);
13707 if (PyErr_Occurred()) SWIG_fail
;
13709 Py_INCREF(Py_None
); resultobj
= Py_None
;
13716 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13717 PyObject
*resultobj
;
13718 wxFontData
*arg1
= (wxFontData
*) 0 ;
13720 PyObject
* obj0
= 0 ;
13721 PyObject
* obj1
= 0 ;
13722 char *kwnames
[] = {
13723 (char *) "self",(char *) "font", NULL
13726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13729 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13730 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13732 if (arg2
== NULL
) {
13733 PyErr_SetString(PyExc_TypeError
,"null reference");
13737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13738 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
13740 wxPyEndAllowThreads(__tstate
);
13741 if (PyErr_Occurred()) SWIG_fail
;
13743 Py_INCREF(Py_None
); resultobj
= Py_None
;
13750 static PyObject
*_wrap_FontData_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13751 PyObject
*resultobj
;
13752 wxFontData
*arg1
= (wxFontData
*) 0 ;
13755 PyObject
* obj0
= 0 ;
13756 PyObject
* obj1
= 0 ;
13757 PyObject
* obj2
= 0 ;
13758 char *kwnames
[] = {
13759 (char *) "self",(char *) "min",(char *) "max", NULL
13762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13765 arg2
= (int)SWIG_As_int(obj1
);
13766 if (PyErr_Occurred()) SWIG_fail
;
13767 arg3
= (int)SWIG_As_int(obj2
);
13768 if (PyErr_Occurred()) SWIG_fail
;
13770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13771 (arg1
)->SetRange(arg2
,arg3
);
13773 wxPyEndAllowThreads(__tstate
);
13774 if (PyErr_Occurred()) SWIG_fail
;
13776 Py_INCREF(Py_None
); resultobj
= Py_None
;
13783 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13784 PyObject
*resultobj
;
13785 wxFontData
*arg1
= (wxFontData
*) 0 ;
13787 PyObject
* obj0
= 0 ;
13788 PyObject
* obj1
= 0 ;
13789 char *kwnames
[] = {
13790 (char *) "self",(char *) "showHelp", NULL
13793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
13794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13796 arg2
= (bool)SWIG_As_bool(obj1
);
13797 if (PyErr_Occurred()) SWIG_fail
;
13799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13800 (arg1
)->SetShowHelp(arg2
);
13802 wxPyEndAllowThreads(__tstate
);
13803 if (PyErr_Occurred()) SWIG_fail
;
13805 Py_INCREF(Py_None
); resultobj
= Py_None
;
13812 static PyObject
* FontData_swigregister(PyObject
*, PyObject
*args
) {
13814 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13815 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
13817 return Py_BuildValue((char *)"");
13819 static PyObject
*_wrap_new_FontDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13820 PyObject
*resultobj
;
13821 wxWindow
*arg1
= (wxWindow
*) 0 ;
13822 wxFontData
*arg2
= 0 ;
13823 wxFontDialog
*result
;
13824 PyObject
* obj0
= 0 ;
13825 PyObject
* obj1
= 0 ;
13826 char *kwnames
[] = {
13827 (char *) "parent",(char *) "data", NULL
13830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
13831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13833 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFontData
,
13834 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13836 if (arg2
== NULL
) {
13837 PyErr_SetString(PyExc_TypeError
,"null reference");
13841 if (!wxPyCheckForApp()) SWIG_fail
;
13842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13843 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
13845 wxPyEndAllowThreads(__tstate
);
13846 if (PyErr_Occurred()) SWIG_fail
;
13848 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
13855 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13856 PyObject
*resultobj
;
13857 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
13858 wxFontData
*result
;
13859 PyObject
* obj0
= 0 ;
13860 char *kwnames
[] = {
13861 (char *) "self", NULL
13864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
13865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontDialog
,
13866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13870 wxFontData
&_result_ref
= (arg1
)->GetFontData();
13871 result
= (wxFontData
*) &_result_ref
;
13874 wxPyEndAllowThreads(__tstate
);
13875 if (PyErr_Occurred()) SWIG_fail
;
13877 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
13884 static PyObject
* FontDialog_swigregister(PyObject
*, PyObject
*args
) {
13886 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13887 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
13889 return Py_BuildValue((char *)"");
13891 static PyObject
*_wrap_new_MessageDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13892 PyObject
*resultobj
;
13893 wxWindow
*arg1
= (wxWindow
*) 0 ;
13894 wxString
*arg2
= 0 ;
13895 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
13896 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13897 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
13898 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13899 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13900 wxMessageDialog
*result
;
13901 bool temp2
= false ;
13902 bool temp3
= false ;
13904 PyObject
* obj0
= 0 ;
13905 PyObject
* obj1
= 0 ;
13906 PyObject
* obj2
= 0 ;
13907 PyObject
* obj3
= 0 ;
13908 PyObject
* obj4
= 0 ;
13909 char *kwnames
[] = {
13910 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13917 arg2
= wxString_in_helper(obj1
);
13918 if (arg2
== NULL
) SWIG_fail
;
13923 arg3
= wxString_in_helper(obj2
);
13924 if (arg3
== NULL
) SWIG_fail
;
13929 arg4
= (long)SWIG_As_long(obj3
);
13930 if (PyErr_Occurred()) SWIG_fail
;
13935 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13939 if (!wxPyCheckForApp()) SWIG_fail
;
13940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13941 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
13943 wxPyEndAllowThreads(__tstate
);
13944 if (PyErr_Occurred()) SWIG_fail
;
13946 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
13969 static PyObject
* MessageDialog_swigregister(PyObject
*, PyObject
*args
) {
13971 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13972 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
13974 return Py_BuildValue((char *)"");
13976 static PyObject
*_wrap_new_ProgressDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13977 PyObject
*resultobj
;
13978 wxString
*arg1
= 0 ;
13979 wxString
*arg2
= 0 ;
13980 int arg3
= (int) 100 ;
13981 wxWindow
*arg4
= (wxWindow
*) NULL
;
13982 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
13983 wxProgressDialog
*result
;
13984 bool temp1
= false ;
13985 bool temp2
= false ;
13986 PyObject
* obj0
= 0 ;
13987 PyObject
* obj1
= 0 ;
13988 PyObject
* obj2
= 0 ;
13989 PyObject
* obj3
= 0 ;
13990 PyObject
* obj4
= 0 ;
13991 char *kwnames
[] = {
13992 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13997 arg1
= wxString_in_helper(obj0
);
13998 if (arg1
== NULL
) SWIG_fail
;
14002 arg2
= wxString_in_helper(obj1
);
14003 if (arg2
== NULL
) SWIG_fail
;
14007 arg3
= (int)SWIG_As_int(obj2
);
14008 if (PyErr_Occurred()) SWIG_fail
;
14011 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
14012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14015 arg5
= (int)SWIG_As_int(obj4
);
14016 if (PyErr_Occurred()) SWIG_fail
;
14019 if (!wxPyCheckForApp()) SWIG_fail
;
14020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14021 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
14023 wxPyEndAllowThreads(__tstate
);
14024 if (PyErr_Occurred()) SWIG_fail
;
14026 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
14049 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14050 PyObject
*resultobj
;
14051 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
14053 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14054 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14056 bool temp3
= false ;
14057 PyObject
* obj0
= 0 ;
14058 PyObject
* obj1
= 0 ;
14059 PyObject
* obj2
= 0 ;
14060 char *kwnames
[] = {
14061 (char *) "self",(char *) "value",(char *) "newmsg", NULL
14064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
14066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14067 arg2
= (int)SWIG_As_int(obj1
);
14068 if (PyErr_Occurred()) SWIG_fail
;
14071 arg3
= wxString_in_helper(obj2
);
14072 if (arg3
== NULL
) SWIG_fail
;
14077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14078 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
14080 wxPyEndAllowThreads(__tstate
);
14081 if (PyErr_Occurred()) SWIG_fail
;
14084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14100 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14101 PyObject
*resultobj
;
14102 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
14103 PyObject
* obj0
= 0 ;
14104 char *kwnames
[] = {
14105 (char *) "self", NULL
14108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
14109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
14110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14115 wxPyEndAllowThreads(__tstate
);
14116 if (PyErr_Occurred()) SWIG_fail
;
14118 Py_INCREF(Py_None
); resultobj
= Py_None
;
14125 static PyObject
* ProgressDialog_swigregister(PyObject
*, PyObject
*args
) {
14127 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14128 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
14130 return Py_BuildValue((char *)"");
14132 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14133 PyObject
*resultobj
;
14134 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14135 int arg2
= (int) 0 ;
14136 wxFindDialogEvent
*result
;
14137 PyObject
* obj0
= 0 ;
14138 PyObject
* obj1
= 0 ;
14139 char *kwnames
[] = {
14140 (char *) "commandType",(char *) "id", NULL
14143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14145 arg1
= (wxEventType
)SWIG_As_int(obj0
);
14146 if (PyErr_Occurred()) SWIG_fail
;
14149 arg2
= (int)SWIG_As_int(obj1
);
14150 if (PyErr_Occurred()) SWIG_fail
;
14153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14154 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
14156 wxPyEndAllowThreads(__tstate
);
14157 if (PyErr_Occurred()) SWIG_fail
;
14159 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
14166 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14167 PyObject
*resultobj
;
14168 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14170 PyObject
* obj0
= 0 ;
14171 char *kwnames
[] = {
14172 (char *) "self", NULL
14175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
14176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14180 result
= (int)(arg1
)->GetFlags();
14182 wxPyEndAllowThreads(__tstate
);
14183 if (PyErr_Occurred()) SWIG_fail
;
14185 resultobj
= SWIG_From_int((int)result
);
14192 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14193 PyObject
*resultobj
;
14194 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14196 PyObject
* obj0
= 0 ;
14197 char *kwnames
[] = {
14198 (char *) "self", NULL
14201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
14202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14207 wxString
const &_result_ref
= (arg1
)->GetFindString();
14208 result
= (wxString
*) &_result_ref
;
14211 wxPyEndAllowThreads(__tstate
);
14212 if (PyErr_Occurred()) SWIG_fail
;
14216 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14218 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14227 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14228 PyObject
*resultobj
;
14229 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14231 PyObject
* obj0
= 0 ;
14232 char *kwnames
[] = {
14233 (char *) "self", NULL
14236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
14237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14242 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
14243 result
= (wxString
*) &_result_ref
;
14246 wxPyEndAllowThreads(__tstate
);
14247 if (PyErr_Occurred()) SWIG_fail
;
14251 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14253 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14262 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14263 PyObject
*resultobj
;
14264 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14265 wxFindReplaceDialog
*result
;
14266 PyObject
* obj0
= 0 ;
14267 char *kwnames
[] = {
14268 (char *) "self", NULL
14271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
14272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14276 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
14278 wxPyEndAllowThreads(__tstate
);
14279 if (PyErr_Occurred()) SWIG_fail
;
14281 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
14288 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14289 PyObject
*resultobj
;
14290 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14292 PyObject
* obj0
= 0 ;
14293 PyObject
* obj1
= 0 ;
14294 char *kwnames
[] = {
14295 (char *) "self",(char *) "flags", NULL
14298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
14299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14301 arg2
= (int)SWIG_As_int(obj1
);
14302 if (PyErr_Occurred()) SWIG_fail
;
14304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14305 (arg1
)->SetFlags(arg2
);
14307 wxPyEndAllowThreads(__tstate
);
14308 if (PyErr_Occurred()) SWIG_fail
;
14310 Py_INCREF(Py_None
); resultobj
= Py_None
;
14317 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14318 PyObject
*resultobj
;
14319 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14320 wxString
*arg2
= 0 ;
14321 bool temp2
= false ;
14322 PyObject
* obj0
= 0 ;
14323 PyObject
* obj1
= 0 ;
14324 char *kwnames
[] = {
14325 (char *) "self",(char *) "str", NULL
14328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
14329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14332 arg2
= wxString_in_helper(obj1
);
14333 if (arg2
== NULL
) SWIG_fail
;
14337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14338 (arg1
)->SetFindString((wxString
const &)*arg2
);
14340 wxPyEndAllowThreads(__tstate
);
14341 if (PyErr_Occurred()) SWIG_fail
;
14343 Py_INCREF(Py_None
); resultobj
= Py_None
;
14358 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14359 PyObject
*resultobj
;
14360 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14361 wxString
*arg2
= 0 ;
14362 bool temp2
= false ;
14363 PyObject
* obj0
= 0 ;
14364 PyObject
* obj1
= 0 ;
14365 char *kwnames
[] = {
14366 (char *) "self",(char *) "str", NULL
14369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
14370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14373 arg2
= wxString_in_helper(obj1
);
14374 if (arg2
== NULL
) SWIG_fail
;
14378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14379 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
14381 wxPyEndAllowThreads(__tstate
);
14382 if (PyErr_Occurred()) SWIG_fail
;
14384 Py_INCREF(Py_None
); resultobj
= Py_None
;
14399 static PyObject
* FindDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
14401 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14402 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
14404 return Py_BuildValue((char *)"");
14406 static PyObject
*_wrap_new_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14407 PyObject
*resultobj
;
14408 int arg1
= (int) 0 ;
14409 wxFindReplaceData
*result
;
14410 PyObject
* obj0
= 0 ;
14411 char *kwnames
[] = {
14412 (char *) "flags", NULL
14415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
14417 arg1
= (int)SWIG_As_int(obj0
);
14418 if (PyErr_Occurred()) SWIG_fail
;
14421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14422 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
14424 wxPyEndAllowThreads(__tstate
);
14425 if (PyErr_Occurred()) SWIG_fail
;
14427 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
14434 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14435 PyObject
*resultobj
;
14436 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14437 PyObject
* obj0
= 0 ;
14438 char *kwnames
[] = {
14439 (char *) "self", NULL
14442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
14443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14449 wxPyEndAllowThreads(__tstate
);
14450 if (PyErr_Occurred()) SWIG_fail
;
14452 Py_INCREF(Py_None
); resultobj
= Py_None
;
14459 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14460 PyObject
*resultobj
;
14461 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14463 PyObject
* obj0
= 0 ;
14464 char *kwnames
[] = {
14465 (char *) "self", NULL
14468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
14469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14474 wxString
const &_result_ref
= (arg1
)->GetFindString();
14475 result
= (wxString
*) &_result_ref
;
14478 wxPyEndAllowThreads(__tstate
);
14479 if (PyErr_Occurred()) SWIG_fail
;
14483 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14485 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14494 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14495 PyObject
*resultobj
;
14496 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14498 PyObject
* obj0
= 0 ;
14499 char *kwnames
[] = {
14500 (char *) "self", NULL
14503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
14504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14509 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
14510 result
= (wxString
*) &_result_ref
;
14513 wxPyEndAllowThreads(__tstate
);
14514 if (PyErr_Occurred()) SWIG_fail
;
14518 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14520 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14529 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14530 PyObject
*resultobj
;
14531 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14533 PyObject
* obj0
= 0 ;
14534 char *kwnames
[] = {
14535 (char *) "self", NULL
14538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
14539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14543 result
= (int)(arg1
)->GetFlags();
14545 wxPyEndAllowThreads(__tstate
);
14546 if (PyErr_Occurred()) SWIG_fail
;
14548 resultobj
= SWIG_From_int((int)result
);
14555 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14556 PyObject
*resultobj
;
14557 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14559 PyObject
* obj0
= 0 ;
14560 PyObject
* obj1
= 0 ;
14561 char *kwnames
[] = {
14562 (char *) "self",(char *) "flags", NULL
14565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
14566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14568 arg2
= (int)SWIG_As_int(obj1
);
14569 if (PyErr_Occurred()) SWIG_fail
;
14571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14572 (arg1
)->SetFlags(arg2
);
14574 wxPyEndAllowThreads(__tstate
);
14575 if (PyErr_Occurred()) SWIG_fail
;
14577 Py_INCREF(Py_None
); resultobj
= Py_None
;
14584 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14585 PyObject
*resultobj
;
14586 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14587 wxString
*arg2
= 0 ;
14588 bool temp2
= false ;
14589 PyObject
* obj0
= 0 ;
14590 PyObject
* obj1
= 0 ;
14591 char *kwnames
[] = {
14592 (char *) "self",(char *) "str", NULL
14595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
14596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14599 arg2
= wxString_in_helper(obj1
);
14600 if (arg2
== NULL
) SWIG_fail
;
14604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14605 (arg1
)->SetFindString((wxString
const &)*arg2
);
14607 wxPyEndAllowThreads(__tstate
);
14608 if (PyErr_Occurred()) SWIG_fail
;
14610 Py_INCREF(Py_None
); resultobj
= Py_None
;
14625 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14626 PyObject
*resultobj
;
14627 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14628 wxString
*arg2
= 0 ;
14629 bool temp2
= false ;
14630 PyObject
* obj0
= 0 ;
14631 PyObject
* obj1
= 0 ;
14632 char *kwnames
[] = {
14633 (char *) "self",(char *) "str", NULL
14636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
14637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14640 arg2
= wxString_in_helper(obj1
);
14641 if (arg2
== NULL
) SWIG_fail
;
14645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14646 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
14648 wxPyEndAllowThreads(__tstate
);
14649 if (PyErr_Occurred()) SWIG_fail
;
14651 Py_INCREF(Py_None
); resultobj
= Py_None
;
14666 static PyObject
* FindReplaceData_swigregister(PyObject
*, PyObject
*args
) {
14668 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14669 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
14671 return Py_BuildValue((char *)"");
14673 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14674 PyObject
*resultobj
;
14675 wxWindow
*arg1
= (wxWindow
*) 0 ;
14676 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14677 wxString
*arg3
= 0 ;
14678 int arg4
= (int) 0 ;
14679 wxFindReplaceDialog
*result
;
14680 bool temp3
= false ;
14681 PyObject
* obj0
= 0 ;
14682 PyObject
* obj1
= 0 ;
14683 PyObject
* obj2
= 0 ;
14684 PyObject
* obj3
= 0 ;
14685 char *kwnames
[] = {
14686 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14692 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14695 arg3
= wxString_in_helper(obj2
);
14696 if (arg3
== NULL
) SWIG_fail
;
14700 arg4
= (int)SWIG_As_int(obj3
);
14701 if (PyErr_Occurred()) SWIG_fail
;
14704 if (!wxPyCheckForApp()) SWIG_fail
;
14705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14706 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
14708 wxPyEndAllowThreads(__tstate
);
14709 if (PyErr_Occurred()) SWIG_fail
;
14711 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14726 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14727 PyObject
*resultobj
;
14728 wxFindReplaceDialog
*result
;
14729 char *kwnames
[] = {
14733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
14735 if (!wxPyCheckForApp()) SWIG_fail
;
14736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14737 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
14739 wxPyEndAllowThreads(__tstate
);
14740 if (PyErr_Occurred()) SWIG_fail
;
14742 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14749 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14750 PyObject
*resultobj
;
14751 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14752 wxWindow
*arg2
= (wxWindow
*) 0 ;
14753 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
14754 wxString
*arg4
= 0 ;
14755 int arg5
= (int) 0 ;
14757 bool temp4
= false ;
14758 PyObject
* obj0
= 0 ;
14759 PyObject
* obj1
= 0 ;
14760 PyObject
* obj2
= 0 ;
14761 PyObject
* obj3
= 0 ;
14762 PyObject
* obj4
= 0 ;
14763 char *kwnames
[] = {
14764 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14770 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14772 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFindReplaceData
,
14773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14775 arg4
= wxString_in_helper(obj3
);
14776 if (arg4
== NULL
) SWIG_fail
;
14780 arg5
= (int)SWIG_As_int(obj4
);
14781 if (PyErr_Occurred()) SWIG_fail
;
14784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14785 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14787 wxPyEndAllowThreads(__tstate
);
14788 if (PyErr_Occurred()) SWIG_fail
;
14791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14807 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14808 PyObject
*resultobj
;
14809 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14810 wxFindReplaceData
*result
;
14811 PyObject
* obj0
= 0 ;
14812 char *kwnames
[] = {
14813 (char *) "self", NULL
14816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
14817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14821 result
= (wxFindReplaceData
*)(arg1
)->GetData();
14823 wxPyEndAllowThreads(__tstate
);
14824 if (PyErr_Occurred()) SWIG_fail
;
14826 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
14833 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14834 PyObject
*resultobj
;
14835 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14836 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14837 PyObject
* obj0
= 0 ;
14838 PyObject
* obj1
= 0 ;
14839 char *kwnames
[] = {
14840 (char *) "self",(char *) "data", NULL
14843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
14844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14846 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14850 (arg1
)->SetData(arg2
);
14852 wxPyEndAllowThreads(__tstate
);
14853 if (PyErr_Occurred()) SWIG_fail
;
14855 Py_INCREF(Py_None
); resultobj
= Py_None
;
14862 static PyObject
* FindReplaceDialog_swigregister(PyObject
*, PyObject
*args
) {
14864 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14865 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
14867 return Py_BuildValue((char *)"");
14869 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14870 PyObject
*resultobj
;
14871 wxWindow
*arg1
= (wxWindow
*) 0 ;
14872 int arg2
= (int) (int)-1 ;
14873 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14874 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14875 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14876 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14877 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14878 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14879 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14880 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14881 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14882 wxMDIParentFrame
*result
;
14883 bool temp3
= false ;
14886 bool temp7
= false ;
14887 PyObject
* obj0
= 0 ;
14888 PyObject
* obj1
= 0 ;
14889 PyObject
* obj2
= 0 ;
14890 PyObject
* obj3
= 0 ;
14891 PyObject
* obj4
= 0 ;
14892 PyObject
* obj5
= 0 ;
14893 PyObject
* obj6
= 0 ;
14894 char *kwnames
[] = {
14895 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14902 arg2
= (int)SWIG_As_int(obj1
);
14903 if (PyErr_Occurred()) SWIG_fail
;
14907 arg3
= wxString_in_helper(obj2
);
14908 if (arg3
== NULL
) SWIG_fail
;
14915 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14921 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14925 arg6
= (long)SWIG_As_long(obj5
);
14926 if (PyErr_Occurred()) SWIG_fail
;
14930 arg7
= wxString_in_helper(obj6
);
14931 if (arg7
== NULL
) SWIG_fail
;
14936 if (!wxPyCheckForApp()) SWIG_fail
;
14937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14938 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14940 wxPyEndAllowThreads(__tstate
);
14941 if (PyErr_Occurred()) SWIG_fail
;
14943 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14966 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14967 PyObject
*resultobj
;
14968 wxMDIParentFrame
*result
;
14969 char *kwnames
[] = {
14973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
14975 if (!wxPyCheckForApp()) SWIG_fail
;
14976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14977 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
14979 wxPyEndAllowThreads(__tstate
);
14980 if (PyErr_Occurred()) SWIG_fail
;
14982 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14989 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14990 PyObject
*resultobj
;
14991 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14992 wxWindow
*arg2
= (wxWindow
*) 0 ;
14993 int arg3
= (int) (int)-1 ;
14994 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14995 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14996 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14997 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14998 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14999 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15000 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
15001 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
15002 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15004 bool temp4
= false ;
15007 bool temp8
= false ;
15008 PyObject
* obj0
= 0 ;
15009 PyObject
* obj1
= 0 ;
15010 PyObject
* obj2
= 0 ;
15011 PyObject
* obj3
= 0 ;
15012 PyObject
* obj4
= 0 ;
15013 PyObject
* obj5
= 0 ;
15014 PyObject
* obj6
= 0 ;
15015 PyObject
* obj7
= 0 ;
15016 char *kwnames
[] = {
15017 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
15021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15023 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15026 arg3
= (int)SWIG_As_int(obj2
);
15027 if (PyErr_Occurred()) SWIG_fail
;
15031 arg4
= wxString_in_helper(obj3
);
15032 if (arg4
== NULL
) SWIG_fail
;
15039 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15045 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15049 arg7
= (long)SWIG_As_long(obj6
);
15050 if (PyErr_Occurred()) SWIG_fail
;
15054 arg8
= wxString_in_helper(obj7
);
15055 if (arg8
== NULL
) SWIG_fail
;
15060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15061 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
15063 wxPyEndAllowThreads(__tstate
);
15064 if (PyErr_Occurred()) SWIG_fail
;
15067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15091 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15092 PyObject
*resultobj
;
15093 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15094 PyObject
* obj0
= 0 ;
15095 char *kwnames
[] = {
15096 (char *) "self", NULL
15099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
15100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15104 (arg1
)->ActivateNext();
15106 wxPyEndAllowThreads(__tstate
);
15107 if (PyErr_Occurred()) SWIG_fail
;
15109 Py_INCREF(Py_None
); resultobj
= Py_None
;
15116 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15117 PyObject
*resultobj
;
15118 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15119 PyObject
* obj0
= 0 ;
15120 char *kwnames
[] = {
15121 (char *) "self", NULL
15124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
15125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15129 (arg1
)->ActivatePrevious();
15131 wxPyEndAllowThreads(__tstate
);
15132 if (PyErr_Occurred()) SWIG_fail
;
15134 Py_INCREF(Py_None
); resultobj
= Py_None
;
15141 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15142 PyObject
*resultobj
;
15143 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15144 PyObject
* obj0
= 0 ;
15145 char *kwnames
[] = {
15146 (char *) "self", NULL
15149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
15150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15154 (arg1
)->ArrangeIcons();
15156 wxPyEndAllowThreads(__tstate
);
15157 if (PyErr_Occurred()) SWIG_fail
;
15159 Py_INCREF(Py_None
); resultobj
= Py_None
;
15166 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15167 PyObject
*resultobj
;
15168 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15169 PyObject
* obj0
= 0 ;
15170 char *kwnames
[] = {
15171 (char *) "self", NULL
15174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
15175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15181 wxPyEndAllowThreads(__tstate
);
15182 if (PyErr_Occurred()) SWIG_fail
;
15184 Py_INCREF(Py_None
); resultobj
= Py_None
;
15191 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15192 PyObject
*resultobj
;
15193 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15194 wxMDIChildFrame
*result
;
15195 PyObject
* obj0
= 0 ;
15196 char *kwnames
[] = {
15197 (char *) "self", NULL
15200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
15201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15205 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
15207 wxPyEndAllowThreads(__tstate
);
15208 if (PyErr_Occurred()) SWIG_fail
;
15211 resultobj
= wxPyMake_wxObject(result
, 0);
15219 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15220 PyObject
*resultobj
;
15221 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15222 wxMDIClientWindow
*result
;
15223 PyObject
* obj0
= 0 ;
15224 char *kwnames
[] = {
15225 (char *) "self", NULL
15228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
15229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15233 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
15235 wxPyEndAllowThreads(__tstate
);
15236 if (PyErr_Occurred()) SWIG_fail
;
15239 resultobj
= wxPyMake_wxObject(result
, 0);
15247 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15248 PyObject
*resultobj
;
15249 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15251 PyObject
* obj0
= 0 ;
15252 char *kwnames
[] = {
15253 (char *) "self", NULL
15256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
15257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15261 result
= (wxWindow
*)(arg1
)->GetToolBar();
15263 wxPyEndAllowThreads(__tstate
);
15264 if (PyErr_Occurred()) SWIG_fail
;
15267 resultobj
= wxPyMake_wxObject(result
, 0);
15275 static PyObject
*_wrap_MDIParentFrame_GetWindowMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15276 PyObject
*resultobj
;
15277 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15279 PyObject
* obj0
= 0 ;
15280 char *kwnames
[] = {
15281 (char *) "self", NULL
15284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetWindowMenu",kwnames
,&obj0
)) goto fail
;
15285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15289 result
= (wxMenu
*)(arg1
)->GetWindowMenu();
15291 wxPyEndAllowThreads(__tstate
);
15292 if (PyErr_Occurred()) SWIG_fail
;
15295 resultobj
= wxPyMake_wxObject(result
, 0);
15303 static PyObject
*_wrap_MDIParentFrame_SetWindowMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15304 PyObject
*resultobj
;
15305 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15306 wxMenu
*arg2
= (wxMenu
*) 0 ;
15307 PyObject
* obj0
= 0 ;
15308 PyObject
* obj1
= 0 ;
15309 char *kwnames
[] = {
15310 (char *) "self",(char *) "menu", NULL
15313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
15314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15316 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
15317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15320 (arg1
)->SetWindowMenu(arg2
);
15322 wxPyEndAllowThreads(__tstate
);
15323 if (PyErr_Occurred()) SWIG_fail
;
15325 Py_INCREF(Py_None
); resultobj
= Py_None
;
15332 static PyObject
*_wrap_MDIParentFrame_SetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15333 PyObject
*resultobj
;
15334 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15335 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
15336 PyObject
* obj0
= 0 ;
15337 PyObject
* obj1
= 0 ;
15338 char *kwnames
[] = {
15339 (char *) "self",(char *) "toolbar", NULL
15342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
15343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15345 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBar
,
15346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15349 (arg1
)->SetToolBar(arg2
);
15351 wxPyEndAllowThreads(__tstate
);
15352 if (PyErr_Occurred()) SWIG_fail
;
15354 Py_INCREF(Py_None
); resultobj
= Py_None
;
15361 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15362 PyObject
*resultobj
;
15363 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15364 PyObject
* obj0
= 0 ;
15365 char *kwnames
[] = {
15366 (char *) "self", NULL
15369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
15370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15376 wxPyEndAllowThreads(__tstate
);
15377 if (PyErr_Occurred()) SWIG_fail
;
15379 Py_INCREF(Py_None
); resultobj
= Py_None
;
15386 static PyObject
* MDIParentFrame_swigregister(PyObject
*, PyObject
*args
) {
15388 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15389 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
15391 return Py_BuildValue((char *)"");
15393 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15394 PyObject
*resultobj
;
15395 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15396 int arg2
= (int) (int)-1 ;
15397 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15398 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15399 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15400 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15401 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15402 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15403 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
15404 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
15405 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15406 wxMDIChildFrame
*result
;
15407 bool temp3
= false ;
15410 bool temp7
= false ;
15411 PyObject
* obj0
= 0 ;
15412 PyObject
* obj1
= 0 ;
15413 PyObject
* obj2
= 0 ;
15414 PyObject
* obj3
= 0 ;
15415 PyObject
* obj4
= 0 ;
15416 PyObject
* obj5
= 0 ;
15417 PyObject
* obj6
= 0 ;
15418 char *kwnames
[] = {
15419 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15426 arg2
= (int)SWIG_As_int(obj1
);
15427 if (PyErr_Occurred()) SWIG_fail
;
15431 arg3
= wxString_in_helper(obj2
);
15432 if (arg3
== NULL
) SWIG_fail
;
15439 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15445 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15449 arg6
= (long)SWIG_As_long(obj5
);
15450 if (PyErr_Occurred()) SWIG_fail
;
15454 arg7
= wxString_in_helper(obj6
);
15455 if (arg7
== NULL
) SWIG_fail
;
15460 if (!wxPyCheckForApp()) SWIG_fail
;
15461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15462 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15464 wxPyEndAllowThreads(__tstate
);
15465 if (PyErr_Occurred()) SWIG_fail
;
15467 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
15490 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15491 PyObject
*resultobj
;
15492 wxMDIChildFrame
*result
;
15493 char *kwnames
[] = {
15497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
15499 if (!wxPyCheckForApp()) SWIG_fail
;
15500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15501 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
15503 wxPyEndAllowThreads(__tstate
);
15504 if (PyErr_Occurred()) SWIG_fail
;
15506 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
15513 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15514 PyObject
*resultobj
;
15515 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15516 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
15517 int arg3
= (int) (int)-1 ;
15518 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15519 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15520 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15521 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15522 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15523 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15524 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
15525 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
15526 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15528 bool temp4
= false ;
15531 bool temp8
= false ;
15532 PyObject
* obj0
= 0 ;
15533 PyObject
* obj1
= 0 ;
15534 PyObject
* obj2
= 0 ;
15535 PyObject
* obj3
= 0 ;
15536 PyObject
* obj4
= 0 ;
15537 PyObject
* obj5
= 0 ;
15538 PyObject
* obj6
= 0 ;
15539 PyObject
* obj7
= 0 ;
15540 char *kwnames
[] = {
15541 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
15545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15547 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
15548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15550 arg3
= (int)SWIG_As_int(obj2
);
15551 if (PyErr_Occurred()) SWIG_fail
;
15555 arg4
= wxString_in_helper(obj3
);
15556 if (arg4
== NULL
) SWIG_fail
;
15563 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15569 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15573 arg7
= (long)SWIG_As_long(obj6
);
15574 if (PyErr_Occurred()) SWIG_fail
;
15578 arg8
= wxString_in_helper(obj7
);
15579 if (arg8
== NULL
) SWIG_fail
;
15584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15585 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
15587 wxPyEndAllowThreads(__tstate
);
15588 if (PyErr_Occurred()) SWIG_fail
;
15591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15615 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15616 PyObject
*resultobj
;
15617 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15618 PyObject
* obj0
= 0 ;
15619 char *kwnames
[] = {
15620 (char *) "self", NULL
15623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
15624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15628 (arg1
)->Activate();
15630 wxPyEndAllowThreads(__tstate
);
15631 if (PyErr_Occurred()) SWIG_fail
;
15633 Py_INCREF(Py_None
); resultobj
= Py_None
;
15640 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15641 PyObject
*resultobj
;
15642 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15644 PyObject
* obj0
= 0 ;
15645 PyObject
* obj1
= 0 ;
15646 char *kwnames
[] = {
15647 (char *) "self",(char *) "maximize", NULL
15650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
15651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15653 arg2
= (bool)SWIG_As_bool(obj1
);
15654 if (PyErr_Occurred()) SWIG_fail
;
15656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15657 (arg1
)->Maximize(arg2
);
15659 wxPyEndAllowThreads(__tstate
);
15660 if (PyErr_Occurred()) SWIG_fail
;
15662 Py_INCREF(Py_None
); resultobj
= Py_None
;
15669 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15670 PyObject
*resultobj
;
15671 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15672 PyObject
* obj0
= 0 ;
15673 char *kwnames
[] = {
15674 (char *) "self", NULL
15677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
15678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15684 wxPyEndAllowThreads(__tstate
);
15685 if (PyErr_Occurred()) SWIG_fail
;
15687 Py_INCREF(Py_None
); resultobj
= Py_None
;
15694 static PyObject
* MDIChildFrame_swigregister(PyObject
*, PyObject
*args
) {
15696 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15697 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
15699 return Py_BuildValue((char *)"");
15701 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15702 PyObject
*resultobj
;
15703 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15704 long arg2
= (long) 0 ;
15705 wxMDIClientWindow
*result
;
15706 PyObject
* obj0
= 0 ;
15707 PyObject
* obj1
= 0 ;
15708 char *kwnames
[] = {
15709 (char *) "parent",(char *) "style", NULL
15712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
15713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15716 arg2
= (long)SWIG_As_long(obj1
);
15717 if (PyErr_Occurred()) SWIG_fail
;
15720 if (!wxPyCheckForApp()) SWIG_fail
;
15721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15722 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
15724 wxPyEndAllowThreads(__tstate
);
15725 if (PyErr_Occurred()) SWIG_fail
;
15727 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
15734 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15735 PyObject
*resultobj
;
15736 wxMDIClientWindow
*result
;
15737 char *kwnames
[] = {
15741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
15743 if (!wxPyCheckForApp()) SWIG_fail
;
15744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15745 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
15747 wxPyEndAllowThreads(__tstate
);
15748 if (PyErr_Occurred()) SWIG_fail
;
15750 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
15757 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15758 PyObject
*resultobj
;
15759 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
15760 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
15761 long arg3
= (long) 0 ;
15763 PyObject
* obj0
= 0 ;
15764 PyObject
* obj1
= 0 ;
15765 PyObject
* obj2
= 0 ;
15766 char *kwnames
[] = {
15767 (char *) "self",(char *) "parent",(char *) "style", NULL
15770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIClientWindow
,
15772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15773 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
15774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15776 arg3
= (long)SWIG_As_long(obj2
);
15777 if (PyErr_Occurred()) SWIG_fail
;
15780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15781 result
= (bool)(arg1
)->Create(arg2
,arg3
);
15783 wxPyEndAllowThreads(__tstate
);
15784 if (PyErr_Occurred()) SWIG_fail
;
15787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15795 static PyObject
* MDIClientWindow_swigregister(PyObject
*, PyObject
*args
) {
15797 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15798 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
15800 return Py_BuildValue((char *)"");
15802 static PyObject
*_wrap_new_PyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15803 PyObject
*resultobj
;
15804 wxWindow
*arg1
= (wxWindow
*) 0 ;
15805 int arg2
= (int) (int)-1 ;
15806 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15807 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15808 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15809 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15810 long arg5
= (long) 0 ;
15811 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15812 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15813 wxPyWindow
*result
;
15816 bool temp6
= false ;
15817 PyObject
* obj0
= 0 ;
15818 PyObject
* obj1
= 0 ;
15819 PyObject
* obj2
= 0 ;
15820 PyObject
* obj3
= 0 ;
15821 PyObject
* obj4
= 0 ;
15822 PyObject
* obj5
= 0 ;
15823 char *kwnames
[] = {
15824 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15831 arg2
= (int)SWIG_As_int(obj1
);
15832 if (PyErr_Occurred()) SWIG_fail
;
15837 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15843 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15847 arg5
= (long)SWIG_As_long(obj4
);
15848 if (PyErr_Occurred()) SWIG_fail
;
15852 arg6
= wxString_in_helper(obj5
);
15853 if (arg6
== NULL
) SWIG_fail
;
15858 if (!wxPyCheckForApp()) SWIG_fail
;
15859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15860 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15862 wxPyEndAllowThreads(__tstate
);
15863 if (PyErr_Occurred()) SWIG_fail
;
15865 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15880 static PyObject
*_wrap_new_PrePyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15881 PyObject
*resultobj
;
15882 wxPyWindow
*result
;
15883 char *kwnames
[] = {
15887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyWindow",kwnames
)) goto fail
;
15889 if (!wxPyCheckForApp()) SWIG_fail
;
15890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15891 result
= (wxPyWindow
*)new wxPyWindow();
15893 wxPyEndAllowThreads(__tstate
);
15894 if (PyErr_Occurred()) SWIG_fail
;
15896 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15903 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15904 PyObject
*resultobj
;
15905 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15906 PyObject
*arg2
= (PyObject
*) 0 ;
15907 PyObject
*arg3
= (PyObject
*) 0 ;
15908 PyObject
* obj0
= 0 ;
15909 PyObject
* obj1
= 0 ;
15910 PyObject
* obj2
= 0 ;
15911 char *kwnames
[] = {
15912 (char *) "self",(char *) "self",(char *) "_class", NULL
15915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15922 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15924 wxPyEndAllowThreads(__tstate
);
15925 if (PyErr_Occurred()) SWIG_fail
;
15927 Py_INCREF(Py_None
); resultobj
= Py_None
;
15934 static PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15935 PyObject
*resultobj
;
15936 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15939 PyObject
* obj0
= 0 ;
15940 PyObject
* obj1
= 0 ;
15941 char *kwnames
[] = {
15942 (char *) "self",(char *) "size", NULL
15945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15950 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15954 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
15956 wxPyEndAllowThreads(__tstate
);
15957 if (PyErr_Occurred()) SWIG_fail
;
15959 Py_INCREF(Py_None
); resultobj
= Py_None
;
15966 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15967 PyObject
*resultobj
;
15968 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15973 PyObject
* obj0
= 0 ;
15974 PyObject
* obj1
= 0 ;
15975 PyObject
* obj2
= 0 ;
15976 PyObject
* obj3
= 0 ;
15977 PyObject
* obj4
= 0 ;
15978 char *kwnames
[] = {
15979 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15985 arg2
= (int)SWIG_As_int(obj1
);
15986 if (PyErr_Occurred()) SWIG_fail
;
15987 arg3
= (int)SWIG_As_int(obj2
);
15988 if (PyErr_Occurred()) SWIG_fail
;
15989 arg4
= (int)SWIG_As_int(obj3
);
15990 if (PyErr_Occurred()) SWIG_fail
;
15991 arg5
= (int)SWIG_As_int(obj4
);
15992 if (PyErr_Occurred()) SWIG_fail
;
15994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15995 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
15997 wxPyEndAllowThreads(__tstate
);
15998 if (PyErr_Occurred()) SWIG_fail
;
16000 Py_INCREF(Py_None
); resultobj
= Py_None
;
16007 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16008 PyObject
*resultobj
;
16009 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16014 int arg6
= (int) wxSIZE_AUTO
;
16015 PyObject
* obj0
= 0 ;
16016 PyObject
* obj1
= 0 ;
16017 PyObject
* obj2
= 0 ;
16018 PyObject
* obj3
= 0 ;
16019 PyObject
* obj4
= 0 ;
16020 PyObject
* obj5
= 0 ;
16021 char *kwnames
[] = {
16022 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16028 arg2
= (int)SWIG_As_int(obj1
);
16029 if (PyErr_Occurred()) SWIG_fail
;
16030 arg3
= (int)SWIG_As_int(obj2
);
16031 if (PyErr_Occurred()) SWIG_fail
;
16032 arg4
= (int)SWIG_As_int(obj3
);
16033 if (PyErr_Occurred()) SWIG_fail
;
16034 arg5
= (int)SWIG_As_int(obj4
);
16035 if (PyErr_Occurred()) SWIG_fail
;
16037 arg6
= (int)SWIG_As_int(obj5
);
16038 if (PyErr_Occurred()) SWIG_fail
;
16041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16042 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
16044 wxPyEndAllowThreads(__tstate
);
16045 if (PyErr_Occurred()) SWIG_fail
;
16047 Py_INCREF(Py_None
); resultobj
= Py_None
;
16054 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16055 PyObject
*resultobj
;
16056 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16059 PyObject
* obj0
= 0 ;
16060 PyObject
* obj1
= 0 ;
16061 PyObject
* obj2
= 0 ;
16062 char *kwnames
[] = {
16063 (char *) "self",(char *) "width",(char *) "height", NULL
16066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16069 arg2
= (int)SWIG_As_int(obj1
);
16070 if (PyErr_Occurred()) SWIG_fail
;
16071 arg3
= (int)SWIG_As_int(obj2
);
16072 if (PyErr_Occurred()) SWIG_fail
;
16074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16075 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
16077 wxPyEndAllowThreads(__tstate
);
16078 if (PyErr_Occurred()) SWIG_fail
;
16080 Py_INCREF(Py_None
); resultobj
= Py_None
;
16087 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16088 PyObject
*resultobj
;
16089 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16092 PyObject
* obj0
= 0 ;
16093 PyObject
* obj1
= 0 ;
16094 PyObject
* obj2
= 0 ;
16095 char *kwnames
[] = {
16096 (char *) "self",(char *) "x",(char *) "y", NULL
16099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16102 arg2
= (int)SWIG_As_int(obj1
);
16103 if (PyErr_Occurred()) SWIG_fail
;
16104 arg3
= (int)SWIG_As_int(obj2
);
16105 if (PyErr_Occurred()) SWIG_fail
;
16107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16108 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
16110 wxPyEndAllowThreads(__tstate
);
16111 if (PyErr_Occurred()) SWIG_fail
;
16113 Py_INCREF(Py_None
); resultobj
= Py_None
;
16120 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16121 PyObject
*resultobj
;
16122 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16123 int *arg2
= (int *) 0 ;
16124 int *arg3
= (int *) 0 ;
16129 PyObject
* obj0
= 0 ;
16130 char *kwnames
[] = {
16131 (char *) "self", NULL
16134 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16135 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
16137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16141 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
16143 wxPyEndAllowThreads(__tstate
);
16144 if (PyErr_Occurred()) SWIG_fail
;
16146 Py_INCREF(Py_None
); resultobj
= Py_None
;
16147 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16148 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16149 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16150 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16157 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16158 PyObject
*resultobj
;
16159 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16160 int *arg2
= (int *) 0 ;
16161 int *arg3
= (int *) 0 ;
16166 PyObject
* obj0
= 0 ;
16167 char *kwnames
[] = {
16168 (char *) "self", NULL
16171 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16172 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
16174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16178 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
16180 wxPyEndAllowThreads(__tstate
);
16181 if (PyErr_Occurred()) SWIG_fail
;
16183 Py_INCREF(Py_None
); resultobj
= Py_None
;
16184 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16185 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16186 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16187 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16194 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16195 PyObject
*resultobj
;
16196 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16197 int *arg2
= (int *) 0 ;
16198 int *arg3
= (int *) 0 ;
16203 PyObject
* obj0
= 0 ;
16204 char *kwnames
[] = {
16205 (char *) "self", NULL
16208 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16209 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
16211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16215 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
16217 wxPyEndAllowThreads(__tstate
);
16218 if (PyErr_Occurred()) SWIG_fail
;
16220 Py_INCREF(Py_None
); resultobj
= Py_None
;
16221 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16222 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16223 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16224 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16231 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16232 PyObject
*resultobj
;
16233 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16235 PyObject
* obj0
= 0 ;
16236 char *kwnames
[] = {
16237 (char *) "self", NULL
16240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
16241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16245 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
16247 wxPyEndAllowThreads(__tstate
);
16248 if (PyErr_Occurred()) SWIG_fail
;
16251 wxSize
* resultptr
;
16252 resultptr
= new wxSize((wxSize
&) result
);
16253 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16261 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16262 PyObject
*resultobj
;
16263 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16265 PyObject
* obj0
= 0 ;
16266 char *kwnames
[] = {
16267 (char *) "self", NULL
16270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
16271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16275 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
16277 wxPyEndAllowThreads(__tstate
);
16278 if (PyErr_Occurred()) SWIG_fail
;
16281 wxSize
* resultptr
;
16282 resultptr
= new wxSize((wxSize
&) result
);
16283 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16291 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16292 PyObject
*resultobj
;
16293 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16294 PyObject
* obj0
= 0 ;
16295 char *kwnames
[] = {
16296 (char *) "self", NULL
16299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
16300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16304 (arg1
)->base_InitDialog();
16306 wxPyEndAllowThreads(__tstate
);
16307 if (PyErr_Occurred()) SWIG_fail
;
16309 Py_INCREF(Py_None
); resultobj
= Py_None
;
16316 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16317 PyObject
*resultobj
;
16318 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16320 PyObject
* obj0
= 0 ;
16321 char *kwnames
[] = {
16322 (char *) "self", NULL
16325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
16326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16330 result
= (bool)(arg1
)->base_TransferDataToWindow();
16332 wxPyEndAllowThreads(__tstate
);
16333 if (PyErr_Occurred()) SWIG_fail
;
16336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16344 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16345 PyObject
*resultobj
;
16346 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16348 PyObject
* obj0
= 0 ;
16349 char *kwnames
[] = {
16350 (char *) "self", NULL
16353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
16354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16358 result
= (bool)(arg1
)->base_TransferDataFromWindow();
16360 wxPyEndAllowThreads(__tstate
);
16361 if (PyErr_Occurred()) SWIG_fail
;
16364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16372 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16373 PyObject
*resultobj
;
16374 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16376 PyObject
* obj0
= 0 ;
16377 char *kwnames
[] = {
16378 (char *) "self", NULL
16381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
16382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16386 result
= (bool)(arg1
)->base_Validate();
16388 wxPyEndAllowThreads(__tstate
);
16389 if (PyErr_Occurred()) SWIG_fail
;
16392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16400 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16401 PyObject
*resultobj
;
16402 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16404 PyObject
* obj0
= 0 ;
16405 char *kwnames
[] = {
16406 (char *) "self", NULL
16409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
16410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16414 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
16416 wxPyEndAllowThreads(__tstate
);
16417 if (PyErr_Occurred()) SWIG_fail
;
16420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16428 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16429 PyObject
*resultobj
;
16430 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16432 PyObject
* obj0
= 0 ;
16433 char *kwnames
[] = {
16434 (char *) "self", NULL
16437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
16438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16442 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
16444 wxPyEndAllowThreads(__tstate
);
16445 if (PyErr_Occurred()) SWIG_fail
;
16448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16456 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16457 PyObject
*resultobj
;
16458 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16460 PyObject
* obj0
= 0 ;
16461 char *kwnames
[] = {
16462 (char *) "self", NULL
16465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",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
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
16472 wxPyEndAllowThreads(__tstate
);
16473 if (PyErr_Occurred()) SWIG_fail
;
16476 wxSize
* resultptr
;
16477 resultptr
= new wxSize((wxSize
&) result
);
16478 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16486 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16487 PyObject
*resultobj
;
16488 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16489 wxWindow
*arg2
= (wxWindow
*) 0 ;
16490 PyObject
* obj0
= 0 ;
16491 PyObject
* obj1
= 0 ;
16492 char *kwnames
[] = {
16493 (char *) "self",(char *) "child", NULL
16496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16499 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16503 (arg1
)->base_AddChild(arg2
);
16505 wxPyEndAllowThreads(__tstate
);
16506 if (PyErr_Occurred()) SWIG_fail
;
16508 Py_INCREF(Py_None
); resultobj
= Py_None
;
16515 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16516 PyObject
*resultobj
;
16517 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16518 wxWindow
*arg2
= (wxWindow
*) 0 ;
16519 PyObject
* obj0
= 0 ;
16520 PyObject
* obj1
= 0 ;
16521 char *kwnames
[] = {
16522 (char *) "self",(char *) "child", NULL
16525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16528 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16532 (arg1
)->base_RemoveChild(arg2
);
16534 wxPyEndAllowThreads(__tstate
);
16535 if (PyErr_Occurred()) SWIG_fail
;
16537 Py_INCREF(Py_None
); resultobj
= Py_None
;
16544 static PyObject
*_wrap_PyWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16545 PyObject
*resultobj
;
16546 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16548 PyObject
* obj0
= 0 ;
16549 char *kwnames
[] = {
16550 (char *) "self", NULL
16553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
16554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16558 result
= (bool)((wxPyWindow
const *)arg1
)->base_ShouldInheritColours();
16560 wxPyEndAllowThreads(__tstate
);
16561 if (PyErr_Occurred()) SWIG_fail
;
16564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16572 static PyObject
*_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16573 PyObject
*resultobj
;
16574 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16575 wxColour
*arg2
= 0 ;
16577 PyObject
* obj0
= 0 ;
16578 PyObject
* obj1
= 0 ;
16579 char *kwnames
[] = {
16580 (char *) "self",(char *) "c", NULL
16583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
16584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16588 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16592 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
16594 wxPyEndAllowThreads(__tstate
);
16595 if (PyErr_Occurred()) SWIG_fail
;
16597 Py_INCREF(Py_None
); resultobj
= Py_None
;
16604 static PyObject
*_wrap_PyWindow_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16605 PyObject
*resultobj
;
16606 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16607 wxVisualAttributes result
;
16608 PyObject
* obj0
= 0 ;
16609 char *kwnames
[] = {
16610 (char *) "self", NULL
16613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16618 result
= (arg1
)->base_GetDefaultAttributes();
16620 wxPyEndAllowThreads(__tstate
);
16621 if (PyErr_Occurred()) SWIG_fail
;
16624 wxVisualAttributes
* resultptr
;
16625 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
16626 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16634 static PyObject
* PyWindow_swigregister(PyObject
*, PyObject
*args
) {
16636 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16637 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
16639 return Py_BuildValue((char *)"");
16641 static PyObject
*_wrap_new_PyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16642 PyObject
*resultobj
;
16643 wxWindow
*arg1
= (wxWindow
*) 0 ;
16644 int arg2
= (int) (int)-1 ;
16645 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16646 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16647 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16648 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16649 long arg5
= (long) 0 ;
16650 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
16651 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
16655 bool temp6
= false ;
16656 PyObject
* obj0
= 0 ;
16657 PyObject
* obj1
= 0 ;
16658 PyObject
* obj2
= 0 ;
16659 PyObject
* obj3
= 0 ;
16660 PyObject
* obj4
= 0 ;
16661 PyObject
* obj5
= 0 ;
16662 char *kwnames
[] = {
16663 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16670 arg2
= (int)SWIG_As_int(obj1
);
16671 if (PyErr_Occurred()) SWIG_fail
;
16676 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16682 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16686 arg5
= (long)SWIG_As_long(obj4
);
16687 if (PyErr_Occurred()) SWIG_fail
;
16691 arg6
= wxString_in_helper(obj5
);
16692 if (arg6
== NULL
) SWIG_fail
;
16697 if (!wxPyCheckForApp()) SWIG_fail
;
16698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16699 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
16701 wxPyEndAllowThreads(__tstate
);
16702 if (PyErr_Occurred()) SWIG_fail
;
16704 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
16719 static PyObject
*_wrap_new_PrePyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16720 PyObject
*resultobj
;
16722 char *kwnames
[] = {
16726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyPanel",kwnames
)) goto fail
;
16728 if (!wxPyCheckForApp()) SWIG_fail
;
16729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16730 result
= (wxPyPanel
*)new wxPyPanel();
16732 wxPyEndAllowThreads(__tstate
);
16733 if (PyErr_Occurred()) SWIG_fail
;
16735 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
16742 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16743 PyObject
*resultobj
;
16744 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16745 PyObject
*arg2
= (PyObject
*) 0 ;
16746 PyObject
*arg3
= (PyObject
*) 0 ;
16747 PyObject
* obj0
= 0 ;
16748 PyObject
* obj1
= 0 ;
16749 PyObject
* obj2
= 0 ;
16750 char *kwnames
[] = {
16751 (char *) "self",(char *) "self",(char *) "_class", NULL
16754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16761 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16763 wxPyEndAllowThreads(__tstate
);
16764 if (PyErr_Occurred()) SWIG_fail
;
16766 Py_INCREF(Py_None
); resultobj
= Py_None
;
16773 static PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16774 PyObject
*resultobj
;
16775 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16778 PyObject
* obj0
= 0 ;
16779 PyObject
* obj1
= 0 ;
16780 char *kwnames
[] = {
16781 (char *) "self",(char *) "size", NULL
16784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16789 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16793 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
16795 wxPyEndAllowThreads(__tstate
);
16796 if (PyErr_Occurred()) SWIG_fail
;
16798 Py_INCREF(Py_None
); resultobj
= Py_None
;
16805 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16806 PyObject
*resultobj
;
16807 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16812 PyObject
* obj0
= 0 ;
16813 PyObject
* obj1
= 0 ;
16814 PyObject
* obj2
= 0 ;
16815 PyObject
* obj3
= 0 ;
16816 PyObject
* obj4
= 0 ;
16817 char *kwnames
[] = {
16818 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16824 arg2
= (int)SWIG_As_int(obj1
);
16825 if (PyErr_Occurred()) SWIG_fail
;
16826 arg3
= (int)SWIG_As_int(obj2
);
16827 if (PyErr_Occurred()) SWIG_fail
;
16828 arg4
= (int)SWIG_As_int(obj3
);
16829 if (PyErr_Occurred()) SWIG_fail
;
16830 arg5
= (int)SWIG_As_int(obj4
);
16831 if (PyErr_Occurred()) SWIG_fail
;
16833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16834 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
16836 wxPyEndAllowThreads(__tstate
);
16837 if (PyErr_Occurred()) SWIG_fail
;
16839 Py_INCREF(Py_None
); resultobj
= Py_None
;
16846 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16847 PyObject
*resultobj
;
16848 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16853 int arg6
= (int) wxSIZE_AUTO
;
16854 PyObject
* obj0
= 0 ;
16855 PyObject
* obj1
= 0 ;
16856 PyObject
* obj2
= 0 ;
16857 PyObject
* obj3
= 0 ;
16858 PyObject
* obj4
= 0 ;
16859 PyObject
* obj5
= 0 ;
16860 char *kwnames
[] = {
16861 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16867 arg2
= (int)SWIG_As_int(obj1
);
16868 if (PyErr_Occurred()) SWIG_fail
;
16869 arg3
= (int)SWIG_As_int(obj2
);
16870 if (PyErr_Occurred()) SWIG_fail
;
16871 arg4
= (int)SWIG_As_int(obj3
);
16872 if (PyErr_Occurred()) SWIG_fail
;
16873 arg5
= (int)SWIG_As_int(obj4
);
16874 if (PyErr_Occurred()) SWIG_fail
;
16876 arg6
= (int)SWIG_As_int(obj5
);
16877 if (PyErr_Occurred()) SWIG_fail
;
16880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16881 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
16883 wxPyEndAllowThreads(__tstate
);
16884 if (PyErr_Occurred()) SWIG_fail
;
16886 Py_INCREF(Py_None
); resultobj
= Py_None
;
16893 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16894 PyObject
*resultobj
;
16895 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16898 PyObject
* obj0
= 0 ;
16899 PyObject
* obj1
= 0 ;
16900 PyObject
* obj2
= 0 ;
16901 char *kwnames
[] = {
16902 (char *) "self",(char *) "width",(char *) "height", NULL
16905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16908 arg2
= (int)SWIG_As_int(obj1
);
16909 if (PyErr_Occurred()) SWIG_fail
;
16910 arg3
= (int)SWIG_As_int(obj2
);
16911 if (PyErr_Occurred()) SWIG_fail
;
16913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16914 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
16916 wxPyEndAllowThreads(__tstate
);
16917 if (PyErr_Occurred()) SWIG_fail
;
16919 Py_INCREF(Py_None
); resultobj
= Py_None
;
16926 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16927 PyObject
*resultobj
;
16928 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16931 PyObject
* obj0
= 0 ;
16932 PyObject
* obj1
= 0 ;
16933 PyObject
* obj2
= 0 ;
16934 char *kwnames
[] = {
16935 (char *) "self",(char *) "x",(char *) "y", NULL
16938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16941 arg2
= (int)SWIG_As_int(obj1
);
16942 if (PyErr_Occurred()) SWIG_fail
;
16943 arg3
= (int)SWIG_As_int(obj2
);
16944 if (PyErr_Occurred()) SWIG_fail
;
16946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16947 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
16949 wxPyEndAllowThreads(__tstate
);
16950 if (PyErr_Occurred()) SWIG_fail
;
16952 Py_INCREF(Py_None
); resultobj
= Py_None
;
16959 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16960 PyObject
*resultobj
;
16961 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16962 int *arg2
= (int *) 0 ;
16963 int *arg3
= (int *) 0 ;
16968 PyObject
* obj0
= 0 ;
16969 char *kwnames
[] = {
16970 (char *) "self", NULL
16973 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16974 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
16976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16980 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
16982 wxPyEndAllowThreads(__tstate
);
16983 if (PyErr_Occurred()) SWIG_fail
;
16985 Py_INCREF(Py_None
); resultobj
= Py_None
;
16986 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16987 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16988 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16989 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16996 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16997 PyObject
*resultobj
;
16998 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16999 int *arg2
= (int *) 0 ;
17000 int *arg3
= (int *) 0 ;
17005 PyObject
* obj0
= 0 ;
17006 char *kwnames
[] = {
17007 (char *) "self", NULL
17010 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17011 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
17013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17017 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
17019 wxPyEndAllowThreads(__tstate
);
17020 if (PyErr_Occurred()) SWIG_fail
;
17022 Py_INCREF(Py_None
); resultobj
= Py_None
;
17023 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17024 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17025 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17026 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17033 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17034 PyObject
*resultobj
;
17035 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17036 int *arg2
= (int *) 0 ;
17037 int *arg3
= (int *) 0 ;
17042 PyObject
* obj0
= 0 ;
17043 char *kwnames
[] = {
17044 (char *) "self", NULL
17047 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17048 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
17050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17054 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
17056 wxPyEndAllowThreads(__tstate
);
17057 if (PyErr_Occurred()) SWIG_fail
;
17059 Py_INCREF(Py_None
); resultobj
= Py_None
;
17060 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17061 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17062 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17063 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17070 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17071 PyObject
*resultobj
;
17072 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17074 PyObject
* obj0
= 0 ;
17075 char *kwnames
[] = {
17076 (char *) "self", NULL
17079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
17080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17084 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
17086 wxPyEndAllowThreads(__tstate
);
17087 if (PyErr_Occurred()) SWIG_fail
;
17090 wxSize
* resultptr
;
17091 resultptr
= new wxSize((wxSize
&) result
);
17092 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17100 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17101 PyObject
*resultobj
;
17102 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17104 PyObject
* obj0
= 0 ;
17105 char *kwnames
[] = {
17106 (char *) "self", NULL
17109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
17110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17114 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
17116 wxPyEndAllowThreads(__tstate
);
17117 if (PyErr_Occurred()) SWIG_fail
;
17120 wxSize
* resultptr
;
17121 resultptr
= new wxSize((wxSize
&) result
);
17122 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17130 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17131 PyObject
*resultobj
;
17132 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17133 PyObject
* obj0
= 0 ;
17134 char *kwnames
[] = {
17135 (char *) "self", NULL
17138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
17139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17143 (arg1
)->base_InitDialog();
17145 wxPyEndAllowThreads(__tstate
);
17146 if (PyErr_Occurred()) SWIG_fail
;
17148 Py_INCREF(Py_None
); resultobj
= Py_None
;
17155 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17156 PyObject
*resultobj
;
17157 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17159 PyObject
* obj0
= 0 ;
17160 char *kwnames
[] = {
17161 (char *) "self", NULL
17164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
17165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17169 result
= (bool)(arg1
)->base_TransferDataToWindow();
17171 wxPyEndAllowThreads(__tstate
);
17172 if (PyErr_Occurred()) SWIG_fail
;
17175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17183 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17184 PyObject
*resultobj
;
17185 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17187 PyObject
* obj0
= 0 ;
17188 char *kwnames
[] = {
17189 (char *) "self", NULL
17192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
17193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17197 result
= (bool)(arg1
)->base_TransferDataFromWindow();
17199 wxPyEndAllowThreads(__tstate
);
17200 if (PyErr_Occurred()) SWIG_fail
;
17203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17211 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17212 PyObject
*resultobj
;
17213 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17215 PyObject
* obj0
= 0 ;
17216 char *kwnames
[] = {
17217 (char *) "self", NULL
17220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
17221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17225 result
= (bool)(arg1
)->base_Validate();
17227 wxPyEndAllowThreads(__tstate
);
17228 if (PyErr_Occurred()) SWIG_fail
;
17231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17239 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17240 PyObject
*resultobj
;
17241 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17243 PyObject
* obj0
= 0 ;
17244 char *kwnames
[] = {
17245 (char *) "self", NULL
17248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
17249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17253 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
17255 wxPyEndAllowThreads(__tstate
);
17256 if (PyErr_Occurred()) SWIG_fail
;
17259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17267 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17268 PyObject
*resultobj
;
17269 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17271 PyObject
* obj0
= 0 ;
17272 char *kwnames
[] = {
17273 (char *) "self", NULL
17276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
17277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17281 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
17283 wxPyEndAllowThreads(__tstate
);
17284 if (PyErr_Occurred()) SWIG_fail
;
17287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17295 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17296 PyObject
*resultobj
;
17297 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17299 PyObject
* obj0
= 0 ;
17300 char *kwnames
[] = {
17301 (char *) "self", NULL
17304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",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
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
17311 wxPyEndAllowThreads(__tstate
);
17312 if (PyErr_Occurred()) SWIG_fail
;
17315 wxSize
* resultptr
;
17316 resultptr
= new wxSize((wxSize
&) result
);
17317 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17325 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17326 PyObject
*resultobj
;
17327 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17328 wxWindow
*arg2
= (wxWindow
*) 0 ;
17329 PyObject
* obj0
= 0 ;
17330 PyObject
* obj1
= 0 ;
17331 char *kwnames
[] = {
17332 (char *) "self",(char *) "child", NULL
17335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17338 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17342 (arg1
)->base_AddChild(arg2
);
17344 wxPyEndAllowThreads(__tstate
);
17345 if (PyErr_Occurred()) SWIG_fail
;
17347 Py_INCREF(Py_None
); resultobj
= Py_None
;
17354 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17355 PyObject
*resultobj
;
17356 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17357 wxWindow
*arg2
= (wxWindow
*) 0 ;
17358 PyObject
* obj0
= 0 ;
17359 PyObject
* obj1
= 0 ;
17360 char *kwnames
[] = {
17361 (char *) "self",(char *) "child", NULL
17364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17367 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17371 (arg1
)->base_RemoveChild(arg2
);
17373 wxPyEndAllowThreads(__tstate
);
17374 if (PyErr_Occurred()) SWIG_fail
;
17376 Py_INCREF(Py_None
); resultobj
= Py_None
;
17383 static PyObject
*_wrap_PyPanel_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17384 PyObject
*resultobj
;
17385 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17387 PyObject
* obj0
= 0 ;
17388 char *kwnames
[] = {
17389 (char *) "self", NULL
17392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
17393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17397 result
= (bool)((wxPyPanel
const *)arg1
)->base_ShouldInheritColours();
17399 wxPyEndAllowThreads(__tstate
);
17400 if (PyErr_Occurred()) SWIG_fail
;
17403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17411 static PyObject
*_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17412 PyObject
*resultobj
;
17413 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17414 wxColour
*arg2
= 0 ;
17416 PyObject
* obj0
= 0 ;
17417 PyObject
* obj1
= 0 ;
17418 char *kwnames
[] = {
17419 (char *) "self",(char *) "c", NULL
17422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
17423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17427 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17431 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
17433 wxPyEndAllowThreads(__tstate
);
17434 if (PyErr_Occurred()) SWIG_fail
;
17436 Py_INCREF(Py_None
); resultobj
= Py_None
;
17443 static PyObject
*_wrap_PyPanel_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17444 PyObject
*resultobj
;
17445 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17446 wxVisualAttributes result
;
17447 PyObject
* obj0
= 0 ;
17448 char *kwnames
[] = {
17449 (char *) "self", NULL
17452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17457 result
= (arg1
)->base_GetDefaultAttributes();
17459 wxPyEndAllowThreads(__tstate
);
17460 if (PyErr_Occurred()) SWIG_fail
;
17463 wxVisualAttributes
* resultptr
;
17464 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
17465 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17473 static PyObject
* PyPanel_swigregister(PyObject
*, PyObject
*args
) {
17475 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17476 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
17478 return Py_BuildValue((char *)"");
17480 static PyObject
*_wrap_new_PyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17481 PyObject
*resultobj
;
17482 wxWindow
*arg1
= (wxWindow
*) 0 ;
17483 int arg2
= (int) (int)-1 ;
17484 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17485 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17486 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17487 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17488 long arg5
= (long) 0 ;
17489 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
17490 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17491 wxPyScrolledWindow
*result
;
17494 bool temp6
= false ;
17495 PyObject
* obj0
= 0 ;
17496 PyObject
* obj1
= 0 ;
17497 PyObject
* obj2
= 0 ;
17498 PyObject
* obj3
= 0 ;
17499 PyObject
* obj4
= 0 ;
17500 PyObject
* obj5
= 0 ;
17501 char *kwnames
[] = {
17502 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17509 arg2
= (int)SWIG_As_int(obj1
);
17510 if (PyErr_Occurred()) SWIG_fail
;
17515 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17521 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17525 arg5
= (long)SWIG_As_long(obj4
);
17526 if (PyErr_Occurred()) SWIG_fail
;
17530 arg6
= wxString_in_helper(obj5
);
17531 if (arg6
== NULL
) SWIG_fail
;
17536 if (!wxPyCheckForApp()) SWIG_fail
;
17537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17538 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17540 wxPyEndAllowThreads(__tstate
);
17541 if (PyErr_Occurred()) SWIG_fail
;
17543 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
17558 static PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17559 PyObject
*resultobj
;
17560 wxPyScrolledWindow
*result
;
17561 char *kwnames
[] = {
17565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyScrolledWindow",kwnames
)) goto fail
;
17567 if (!wxPyCheckForApp()) SWIG_fail
;
17568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17569 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
17571 wxPyEndAllowThreads(__tstate
);
17572 if (PyErr_Occurred()) SWIG_fail
;
17574 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
17581 static PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17582 PyObject
*resultobj
;
17583 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17584 PyObject
*arg2
= (PyObject
*) 0 ;
17585 PyObject
*arg3
= (PyObject
*) 0 ;
17586 PyObject
* obj0
= 0 ;
17587 PyObject
* obj1
= 0 ;
17588 PyObject
* obj2
= 0 ;
17589 char *kwnames
[] = {
17590 (char *) "self",(char *) "self",(char *) "_class", NULL
17593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17600 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17602 wxPyEndAllowThreads(__tstate
);
17603 if (PyErr_Occurred()) SWIG_fail
;
17605 Py_INCREF(Py_None
); resultobj
= Py_None
;
17612 static PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17613 PyObject
*resultobj
;
17614 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17617 PyObject
* obj0
= 0 ;
17618 PyObject
* obj1
= 0 ;
17619 char *kwnames
[] = {
17620 (char *) "self",(char *) "size", NULL
17623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17628 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17632 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
17634 wxPyEndAllowThreads(__tstate
);
17635 if (PyErr_Occurred()) SWIG_fail
;
17637 Py_INCREF(Py_None
); resultobj
= Py_None
;
17644 static PyObject
*_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17645 PyObject
*resultobj
;
17646 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17651 PyObject
* obj0
= 0 ;
17652 PyObject
* obj1
= 0 ;
17653 PyObject
* obj2
= 0 ;
17654 PyObject
* obj3
= 0 ;
17655 PyObject
* obj4
= 0 ;
17656 char *kwnames
[] = {
17657 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17663 arg2
= (int)SWIG_As_int(obj1
);
17664 if (PyErr_Occurred()) SWIG_fail
;
17665 arg3
= (int)SWIG_As_int(obj2
);
17666 if (PyErr_Occurred()) SWIG_fail
;
17667 arg4
= (int)SWIG_As_int(obj3
);
17668 if (PyErr_Occurred()) SWIG_fail
;
17669 arg5
= (int)SWIG_As_int(obj4
);
17670 if (PyErr_Occurred()) SWIG_fail
;
17672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17673 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
17675 wxPyEndAllowThreads(__tstate
);
17676 if (PyErr_Occurred()) SWIG_fail
;
17678 Py_INCREF(Py_None
); resultobj
= Py_None
;
17685 static PyObject
*_wrap_PyScrolledWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17686 PyObject
*resultobj
;
17687 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17692 int arg6
= (int) wxSIZE_AUTO
;
17693 PyObject
* obj0
= 0 ;
17694 PyObject
* obj1
= 0 ;
17695 PyObject
* obj2
= 0 ;
17696 PyObject
* obj3
= 0 ;
17697 PyObject
* obj4
= 0 ;
17698 PyObject
* obj5
= 0 ;
17699 char *kwnames
[] = {
17700 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17706 arg2
= (int)SWIG_As_int(obj1
);
17707 if (PyErr_Occurred()) SWIG_fail
;
17708 arg3
= (int)SWIG_As_int(obj2
);
17709 if (PyErr_Occurred()) SWIG_fail
;
17710 arg4
= (int)SWIG_As_int(obj3
);
17711 if (PyErr_Occurred()) SWIG_fail
;
17712 arg5
= (int)SWIG_As_int(obj4
);
17713 if (PyErr_Occurred()) SWIG_fail
;
17715 arg6
= (int)SWIG_As_int(obj5
);
17716 if (PyErr_Occurred()) SWIG_fail
;
17719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17720 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
17722 wxPyEndAllowThreads(__tstate
);
17723 if (PyErr_Occurred()) SWIG_fail
;
17725 Py_INCREF(Py_None
); resultobj
= Py_None
;
17732 static PyObject
*_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17733 PyObject
*resultobj
;
17734 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17737 PyObject
* obj0
= 0 ;
17738 PyObject
* obj1
= 0 ;
17739 PyObject
* obj2
= 0 ;
17740 char *kwnames
[] = {
17741 (char *) "self",(char *) "width",(char *) "height", NULL
17744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17747 arg2
= (int)SWIG_As_int(obj1
);
17748 if (PyErr_Occurred()) SWIG_fail
;
17749 arg3
= (int)SWIG_As_int(obj2
);
17750 if (PyErr_Occurred()) SWIG_fail
;
17752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17753 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
17755 wxPyEndAllowThreads(__tstate
);
17756 if (PyErr_Occurred()) SWIG_fail
;
17758 Py_INCREF(Py_None
); resultobj
= Py_None
;
17765 static PyObject
*_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17766 PyObject
*resultobj
;
17767 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17770 PyObject
* obj0
= 0 ;
17771 PyObject
* obj1
= 0 ;
17772 PyObject
* obj2
= 0 ;
17773 char *kwnames
[] = {
17774 (char *) "self",(char *) "x",(char *) "y", NULL
17777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17780 arg2
= (int)SWIG_As_int(obj1
);
17781 if (PyErr_Occurred()) SWIG_fail
;
17782 arg3
= (int)SWIG_As_int(obj2
);
17783 if (PyErr_Occurred()) SWIG_fail
;
17785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17786 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
17788 wxPyEndAllowThreads(__tstate
);
17789 if (PyErr_Occurred()) SWIG_fail
;
17791 Py_INCREF(Py_None
); resultobj
= Py_None
;
17798 static PyObject
*_wrap_PyScrolledWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17799 PyObject
*resultobj
;
17800 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17801 int *arg2
= (int *) 0 ;
17802 int *arg3
= (int *) 0 ;
17807 PyObject
* obj0
= 0 ;
17808 char *kwnames
[] = {
17809 (char *) "self", NULL
17812 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17813 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
17815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17819 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
17821 wxPyEndAllowThreads(__tstate
);
17822 if (PyErr_Occurred()) SWIG_fail
;
17824 Py_INCREF(Py_None
); resultobj
= Py_None
;
17825 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17826 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17827 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17828 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17835 static PyObject
*_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17836 PyObject
*resultobj
;
17837 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17838 int *arg2
= (int *) 0 ;
17839 int *arg3
= (int *) 0 ;
17844 PyObject
* obj0
= 0 ;
17845 char *kwnames
[] = {
17846 (char *) "self", NULL
17849 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17850 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
17852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17856 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
17858 wxPyEndAllowThreads(__tstate
);
17859 if (PyErr_Occurred()) SWIG_fail
;
17861 Py_INCREF(Py_None
); resultobj
= Py_None
;
17862 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17863 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17864 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17865 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17872 static PyObject
*_wrap_PyScrolledWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17873 PyObject
*resultobj
;
17874 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17875 int *arg2
= (int *) 0 ;
17876 int *arg3
= (int *) 0 ;
17881 PyObject
* obj0
= 0 ;
17882 char *kwnames
[] = {
17883 (char *) "self", NULL
17886 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17887 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
17889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17893 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
17895 wxPyEndAllowThreads(__tstate
);
17896 if (PyErr_Occurred()) SWIG_fail
;
17898 Py_INCREF(Py_None
); resultobj
= Py_None
;
17899 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17900 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17901 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17902 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17909 static PyObject
*_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17910 PyObject
*resultobj
;
17911 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17913 PyObject
* obj0
= 0 ;
17914 char *kwnames
[] = {
17915 (char *) "self", NULL
17918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
17919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17923 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetVirtualSize();
17925 wxPyEndAllowThreads(__tstate
);
17926 if (PyErr_Occurred()) SWIG_fail
;
17929 wxSize
* resultptr
;
17930 resultptr
= new wxSize((wxSize
&) result
);
17931 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17939 static PyObject
*_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17940 PyObject
*resultobj
;
17941 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17943 PyObject
* obj0
= 0 ;
17944 char *kwnames
[] = {
17945 (char *) "self", NULL
17948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
17949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17953 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetBestSize();
17955 wxPyEndAllowThreads(__tstate
);
17956 if (PyErr_Occurred()) SWIG_fail
;
17959 wxSize
* resultptr
;
17960 resultptr
= new wxSize((wxSize
&) result
);
17961 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17969 static PyObject
*_wrap_PyScrolledWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17970 PyObject
*resultobj
;
17971 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17972 PyObject
* obj0
= 0 ;
17973 char *kwnames
[] = {
17974 (char *) "self", NULL
17977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
17978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17982 (arg1
)->base_InitDialog();
17984 wxPyEndAllowThreads(__tstate
);
17985 if (PyErr_Occurred()) SWIG_fail
;
17987 Py_INCREF(Py_None
); resultobj
= Py_None
;
17994 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17995 PyObject
*resultobj
;
17996 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17998 PyObject
* obj0
= 0 ;
17999 char *kwnames
[] = {
18000 (char *) "self", NULL
18003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
18004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18008 result
= (bool)(arg1
)->base_TransferDataToWindow();
18010 wxPyEndAllowThreads(__tstate
);
18011 if (PyErr_Occurred()) SWIG_fail
;
18014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18022 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18023 PyObject
*resultobj
;
18024 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18026 PyObject
* obj0
= 0 ;
18027 char *kwnames
[] = {
18028 (char *) "self", NULL
18031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
18032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18036 result
= (bool)(arg1
)->base_TransferDataFromWindow();
18038 wxPyEndAllowThreads(__tstate
);
18039 if (PyErr_Occurred()) SWIG_fail
;
18042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18050 static PyObject
*_wrap_PyScrolledWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18051 PyObject
*resultobj
;
18052 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18054 PyObject
* obj0
= 0 ;
18055 char *kwnames
[] = {
18056 (char *) "self", NULL
18059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
18060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18064 result
= (bool)(arg1
)->base_Validate();
18066 wxPyEndAllowThreads(__tstate
);
18067 if (PyErr_Occurred()) SWIG_fail
;
18070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18078 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18079 PyObject
*resultobj
;
18080 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18082 PyObject
* obj0
= 0 ;
18083 char *kwnames
[] = {
18084 (char *) "self", NULL
18087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
18088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18092 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocus();
18094 wxPyEndAllowThreads(__tstate
);
18095 if (PyErr_Occurred()) SWIG_fail
;
18098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18106 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18107 PyObject
*resultobj
;
18108 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18110 PyObject
* obj0
= 0 ;
18111 char *kwnames
[] = {
18112 (char *) "self", NULL
18115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
18116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18120 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
18122 wxPyEndAllowThreads(__tstate
);
18123 if (PyErr_Occurred()) SWIG_fail
;
18126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18134 static PyObject
*_wrap_PyScrolledWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18135 PyObject
*resultobj
;
18136 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18138 PyObject
* obj0
= 0 ;
18139 char *kwnames
[] = {
18140 (char *) "self", NULL
18143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetMaxSize",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
= ((wxPyScrolledWindow
const *)arg1
)->base_GetMaxSize();
18150 wxPyEndAllowThreads(__tstate
);
18151 if (PyErr_Occurred()) SWIG_fail
;
18154 wxSize
* resultptr
;
18155 resultptr
= new wxSize((wxSize
&) result
);
18156 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18164 static PyObject
*_wrap_PyScrolledWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18165 PyObject
*resultobj
;
18166 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18167 wxWindow
*arg2
= (wxWindow
*) 0 ;
18168 PyObject
* obj0
= 0 ;
18169 PyObject
* obj1
= 0 ;
18170 char *kwnames
[] = {
18171 (char *) "self",(char *) "child", NULL
18174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
18175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18177 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18181 (arg1
)->base_AddChild(arg2
);
18183 wxPyEndAllowThreads(__tstate
);
18184 if (PyErr_Occurred()) SWIG_fail
;
18186 Py_INCREF(Py_None
); resultobj
= Py_None
;
18193 static PyObject
*_wrap_PyScrolledWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18194 PyObject
*resultobj
;
18195 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18196 wxWindow
*arg2
= (wxWindow
*) 0 ;
18197 PyObject
* obj0
= 0 ;
18198 PyObject
* obj1
= 0 ;
18199 char *kwnames
[] = {
18200 (char *) "self",(char *) "child", NULL
18203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
18204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18206 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18210 (arg1
)->base_RemoveChild(arg2
);
18212 wxPyEndAllowThreads(__tstate
);
18213 if (PyErr_Occurred()) SWIG_fail
;
18215 Py_INCREF(Py_None
); resultobj
= Py_None
;
18222 static PyObject
*_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18223 PyObject
*resultobj
;
18224 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18226 PyObject
* obj0
= 0 ;
18227 char *kwnames
[] = {
18228 (char *) "self", NULL
18231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
18232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18236 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_ShouldInheritColours();
18238 wxPyEndAllowThreads(__tstate
);
18239 if (PyErr_Occurred()) SWIG_fail
;
18242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18250 static PyObject
*_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18251 PyObject
*resultobj
;
18252 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18253 wxColour
*arg2
= 0 ;
18255 PyObject
* obj0
= 0 ;
18256 PyObject
* obj1
= 0 ;
18257 char *kwnames
[] = {
18258 (char *) "self",(char *) "c", NULL
18261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
18262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18266 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18270 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
18272 wxPyEndAllowThreads(__tstate
);
18273 if (PyErr_Occurred()) SWIG_fail
;
18275 Py_INCREF(Py_None
); resultobj
= Py_None
;
18282 static PyObject
*_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18283 PyObject
*resultobj
;
18284 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18285 wxVisualAttributes result
;
18286 PyObject
* obj0
= 0 ;
18287 char *kwnames
[] = {
18288 (char *) "self", NULL
18291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
18292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18296 result
= (arg1
)->base_GetDefaultAttributes();
18298 wxPyEndAllowThreads(__tstate
);
18299 if (PyErr_Occurred()) SWIG_fail
;
18302 wxVisualAttributes
* resultptr
;
18303 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
18304 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
18312 static PyObject
* PyScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
18314 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18315 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow
, obj
);
18317 return Py_BuildValue((char *)"");
18319 static int _wrap_PrintoutTitleStr_set(PyObject
*) {
18320 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
18325 static PyObject
*_wrap_PrintoutTitleStr_get() {
18330 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
18332 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
18339 static int _wrap_PreviewCanvasNameStr_set(PyObject
*) {
18340 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
18345 static PyObject
*_wrap_PreviewCanvasNameStr_get() {
18350 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
18352 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
18359 static PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*, PyObject
*args
) {
18360 PyObject
*resultobj
;
18361 wxPrintData
*result
;
18363 if(!PyArg_ParseTuple(args
,(char *)":new_PrintData")) goto fail
;
18365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18366 result
= (wxPrintData
*)new wxPrintData();
18368 wxPyEndAllowThreads(__tstate
);
18369 if (PyErr_Occurred()) SWIG_fail
;
18371 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
18378 static PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*, PyObject
*args
) {
18379 PyObject
*resultobj
;
18380 wxPrintData
*arg1
= 0 ;
18381 wxPrintData
*result
;
18382 PyObject
* obj0
= 0 ;
18384 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintData",&obj0
)) goto fail
;
18385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18386 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18388 if (arg1
== NULL
) {
18389 PyErr_SetString(PyExc_TypeError
,"null reference");
18393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18394 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
18396 wxPyEndAllowThreads(__tstate
);
18397 if (PyErr_Occurred()) SWIG_fail
;
18399 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
18406 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
18411 argc
= PyObject_Length(args
);
18412 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
18413 argv
[ii
] = PyTuple_GetItem(args
,ii
);
18416 return _wrap_new_PrintData__SWIG_0(self
,args
);
18422 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
18430 return _wrap_new_PrintData__SWIG_1(self
,args
);
18434 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintData'");
18439 static PyObject
*_wrap_delete_PrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18440 PyObject
*resultobj
;
18441 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18442 PyObject
* obj0
= 0 ;
18443 char *kwnames
[] = {
18444 (char *) "self", NULL
18447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
18448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18454 wxPyEndAllowThreads(__tstate
);
18455 if (PyErr_Occurred()) SWIG_fail
;
18457 Py_INCREF(Py_None
); resultobj
= Py_None
;
18464 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18465 PyObject
*resultobj
;
18466 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18468 PyObject
* obj0
= 0 ;
18469 char *kwnames
[] = {
18470 (char *) "self", NULL
18473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
18474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18478 result
= (int)(arg1
)->GetNoCopies();
18480 wxPyEndAllowThreads(__tstate
);
18481 if (PyErr_Occurred()) SWIG_fail
;
18483 resultobj
= SWIG_From_int((int)result
);
18490 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18491 PyObject
*resultobj
;
18492 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18494 PyObject
* obj0
= 0 ;
18495 char *kwnames
[] = {
18496 (char *) "self", NULL
18499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
18500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18504 result
= (bool)(arg1
)->GetCollate();
18506 wxPyEndAllowThreads(__tstate
);
18507 if (PyErr_Occurred()) SWIG_fail
;
18510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18518 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18519 PyObject
*resultobj
;
18520 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18522 PyObject
* obj0
= 0 ;
18523 char *kwnames
[] = {
18524 (char *) "self", NULL
18527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
18528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18532 result
= (int)(arg1
)->GetOrientation();
18534 wxPyEndAllowThreads(__tstate
);
18535 if (PyErr_Occurred()) SWIG_fail
;
18537 resultobj
= SWIG_From_int((int)result
);
18544 static PyObject
*_wrap_PrintData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18545 PyObject
*resultobj
;
18546 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18548 PyObject
* obj0
= 0 ;
18549 char *kwnames
[] = {
18550 (char *) "self", NULL
18553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
18554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18558 result
= (bool)(arg1
)->Ok();
18560 wxPyEndAllowThreads(__tstate
);
18561 if (PyErr_Occurred()) SWIG_fail
;
18564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18572 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18573 PyObject
*resultobj
;
18574 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18576 PyObject
* obj0
= 0 ;
18577 char *kwnames
[] = {
18578 (char *) "self", NULL
18581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
18582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18587 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
18588 result
= (wxString
*) &_result_ref
;
18591 wxPyEndAllowThreads(__tstate
);
18592 if (PyErr_Occurred()) SWIG_fail
;
18596 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18598 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18607 static PyObject
*_wrap_PrintData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18608 PyObject
*resultobj
;
18609 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18611 PyObject
* obj0
= 0 ;
18612 char *kwnames
[] = {
18613 (char *) "self", NULL
18616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
18617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18621 result
= (bool)(arg1
)->GetColour();
18623 wxPyEndAllowThreads(__tstate
);
18624 if (PyErr_Occurred()) SWIG_fail
;
18627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18635 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18636 PyObject
*resultobj
;
18637 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18639 PyObject
* obj0
= 0 ;
18640 char *kwnames
[] = {
18641 (char *) "self", NULL
18644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
18645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18649 result
= (int)(arg1
)->GetDuplex();
18651 wxPyEndAllowThreads(__tstate
);
18652 if (PyErr_Occurred()) SWIG_fail
;
18654 resultobj
= SWIG_From_int((int)result
);
18661 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18662 PyObject
*resultobj
;
18663 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18665 PyObject
* obj0
= 0 ;
18666 char *kwnames
[] = {
18667 (char *) "self", NULL
18670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
18671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18675 result
= (int)(arg1
)->GetPaperId();
18677 wxPyEndAllowThreads(__tstate
);
18678 if (PyErr_Occurred()) SWIG_fail
;
18680 resultobj
= SWIG_From_int((int)result
);
18687 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18688 PyObject
*resultobj
;
18689 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18691 PyObject
* obj0
= 0 ;
18692 char *kwnames
[] = {
18693 (char *) "self", NULL
18696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
18697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18702 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
18703 result
= (wxSize
*) &_result_ref
;
18706 wxPyEndAllowThreads(__tstate
);
18707 if (PyErr_Occurred()) SWIG_fail
;
18709 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
18716 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18717 PyObject
*resultobj
;
18718 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18720 PyObject
* obj0
= 0 ;
18721 char *kwnames
[] = {
18722 (char *) "self", NULL
18725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
18726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18730 result
= (int)(arg1
)->GetQuality();
18732 wxPyEndAllowThreads(__tstate
);
18733 if (PyErr_Occurred()) SWIG_fail
;
18735 resultobj
= SWIG_From_int((int)result
);
18742 static PyObject
*_wrap_PrintData_GetBin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18743 PyObject
*resultobj
;
18744 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18746 PyObject
* obj0
= 0 ;
18747 char *kwnames
[] = {
18748 (char *) "self", NULL
18751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetBin",kwnames
,&obj0
)) goto fail
;
18752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18756 result
= (int)(arg1
)->GetBin();
18758 wxPyEndAllowThreads(__tstate
);
18759 if (PyErr_Occurred()) SWIG_fail
;
18761 resultobj
= SWIG_From_int((int)result
);
18768 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18769 PyObject
*resultobj
;
18770 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18772 PyObject
* obj0
= 0 ;
18773 PyObject
* obj1
= 0 ;
18774 char *kwnames
[] = {
18775 (char *) "self",(char *) "v", NULL
18778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
18779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18781 arg2
= (int)SWIG_As_int(obj1
);
18782 if (PyErr_Occurred()) SWIG_fail
;
18784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18785 (arg1
)->SetNoCopies(arg2
);
18787 wxPyEndAllowThreads(__tstate
);
18788 if (PyErr_Occurred()) SWIG_fail
;
18790 Py_INCREF(Py_None
); resultobj
= Py_None
;
18797 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18798 PyObject
*resultobj
;
18799 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18801 PyObject
* obj0
= 0 ;
18802 PyObject
* obj1
= 0 ;
18803 char *kwnames
[] = {
18804 (char *) "self",(char *) "flag", NULL
18807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
18808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18810 arg2
= (bool)SWIG_As_bool(obj1
);
18811 if (PyErr_Occurred()) SWIG_fail
;
18813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18814 (arg1
)->SetCollate(arg2
);
18816 wxPyEndAllowThreads(__tstate
);
18817 if (PyErr_Occurred()) SWIG_fail
;
18819 Py_INCREF(Py_None
); resultobj
= Py_None
;
18826 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18827 PyObject
*resultobj
;
18828 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18830 PyObject
* obj0
= 0 ;
18831 PyObject
* obj1
= 0 ;
18832 char *kwnames
[] = {
18833 (char *) "self",(char *) "orient", NULL
18836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
18837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18839 arg2
= (int)SWIG_As_int(obj1
);
18840 if (PyErr_Occurred()) SWIG_fail
;
18842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18843 (arg1
)->SetOrientation(arg2
);
18845 wxPyEndAllowThreads(__tstate
);
18846 if (PyErr_Occurred()) SWIG_fail
;
18848 Py_INCREF(Py_None
); resultobj
= Py_None
;
18855 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18856 PyObject
*resultobj
;
18857 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18858 wxString
*arg2
= 0 ;
18859 bool temp2
= false ;
18860 PyObject
* obj0
= 0 ;
18861 PyObject
* obj1
= 0 ;
18862 char *kwnames
[] = {
18863 (char *) "self",(char *) "name", NULL
18866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
18867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18870 arg2
= wxString_in_helper(obj1
);
18871 if (arg2
== NULL
) SWIG_fail
;
18875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18876 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
18878 wxPyEndAllowThreads(__tstate
);
18879 if (PyErr_Occurred()) SWIG_fail
;
18881 Py_INCREF(Py_None
); resultobj
= Py_None
;
18896 static PyObject
*_wrap_PrintData_SetColour(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 *) "colour", NULL
18906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",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
= (bool)SWIG_As_bool(obj1
);
18910 if (PyErr_Occurred()) SWIG_fail
;
18912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18913 (arg1
)->SetColour(arg2
);
18915 wxPyEndAllowThreads(__tstate
);
18916 if (PyErr_Occurred()) SWIG_fail
;
18918 Py_INCREF(Py_None
); resultobj
= Py_None
;
18925 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18926 PyObject
*resultobj
;
18927 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18929 PyObject
* obj0
= 0 ;
18930 PyObject
* obj1
= 0 ;
18931 char *kwnames
[] = {
18932 (char *) "self",(char *) "duplex", NULL
18935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
18936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18938 arg2
= (int)SWIG_As_int(obj1
);
18939 if (PyErr_Occurred()) SWIG_fail
;
18941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18942 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
18944 wxPyEndAllowThreads(__tstate
);
18945 if (PyErr_Occurred()) SWIG_fail
;
18947 Py_INCREF(Py_None
); resultobj
= Py_None
;
18954 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18955 PyObject
*resultobj
;
18956 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18958 PyObject
* obj0
= 0 ;
18959 PyObject
* obj1
= 0 ;
18960 char *kwnames
[] = {
18961 (char *) "self",(char *) "sizeId", NULL
18964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
18965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18967 arg2
= (int)SWIG_As_int(obj1
);
18968 if (PyErr_Occurred()) SWIG_fail
;
18970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18971 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
18973 wxPyEndAllowThreads(__tstate
);
18974 if (PyErr_Occurred()) SWIG_fail
;
18976 Py_INCREF(Py_None
); resultobj
= Py_None
;
18983 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18984 PyObject
*resultobj
;
18985 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18988 PyObject
* obj0
= 0 ;
18989 PyObject
* obj1
= 0 ;
18990 char *kwnames
[] = {
18991 (char *) "self",(char *) "sz", NULL
18994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18999 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19003 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
19005 wxPyEndAllowThreads(__tstate
);
19006 if (PyErr_Occurred()) SWIG_fail
;
19008 Py_INCREF(Py_None
); resultobj
= Py_None
;
19015 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19016 PyObject
*resultobj
;
19017 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19019 PyObject
* obj0
= 0 ;
19020 PyObject
* obj1
= 0 ;
19021 char *kwnames
[] = {
19022 (char *) "self",(char *) "quality", NULL
19025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
19026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19028 arg2
= (int)SWIG_As_int(obj1
);
19029 if (PyErr_Occurred()) SWIG_fail
;
19031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19032 (arg1
)->SetQuality(arg2
);
19034 wxPyEndAllowThreads(__tstate
);
19035 if (PyErr_Occurred()) SWIG_fail
;
19037 Py_INCREF(Py_None
); resultobj
= Py_None
;
19044 static PyObject
*_wrap_PrintData_SetBin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19045 PyObject
*resultobj
;
19046 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19048 PyObject
* obj0
= 0 ;
19049 PyObject
* obj1
= 0 ;
19050 char *kwnames
[] = {
19051 (char *) "self",(char *) "bin", NULL
19054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) goto fail
;
19055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19057 arg2
= (int)SWIG_As_int(obj1
);
19058 if (PyErr_Occurred()) SWIG_fail
;
19060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19061 (arg1
)->SetBin((wxPrintBin
)arg2
);
19063 wxPyEndAllowThreads(__tstate
);
19064 if (PyErr_Occurred()) SWIG_fail
;
19066 Py_INCREF(Py_None
); resultobj
= Py_None
;
19073 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19074 PyObject
*resultobj
;
19075 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19077 PyObject
* obj0
= 0 ;
19078 char *kwnames
[] = {
19079 (char *) "self", NULL
19082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
19083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19088 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
19089 result
= (wxString
*) &_result_ref
;
19092 wxPyEndAllowThreads(__tstate
);
19093 if (PyErr_Occurred()) SWIG_fail
;
19097 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19099 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19108 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19109 PyObject
*resultobj
;
19110 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19112 PyObject
* obj0
= 0 ;
19113 char *kwnames
[] = {
19114 (char *) "self", NULL
19117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
19118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19123 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
19124 result
= (wxString
*) &_result_ref
;
19127 wxPyEndAllowThreads(__tstate
);
19128 if (PyErr_Occurred()) SWIG_fail
;
19132 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19134 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19143 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19144 PyObject
*resultobj
;
19145 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19147 PyObject
* obj0
= 0 ;
19148 char *kwnames
[] = {
19149 (char *) "self", NULL
19152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
19153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19158 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
19159 result
= (wxString
*) &_result_ref
;
19162 wxPyEndAllowThreads(__tstate
);
19163 if (PyErr_Occurred()) SWIG_fail
;
19167 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19169 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19178 static PyObject
*_wrap_PrintData_GetFilename(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_GetFilename",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();
19193 wxString
const &_result_ref
= (arg1
)->GetFilename();
19194 result
= (wxString
*) &_result_ref
;
19197 wxPyEndAllowThreads(__tstate
);
19198 if (PyErr_Occurred()) SWIG_fail
;
19202 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19204 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19213 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19214 PyObject
*resultobj
;
19215 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19217 PyObject
* obj0
= 0 ;
19218 char *kwnames
[] = {
19219 (char *) "self", NULL
19222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
19223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19228 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
19229 result
= (wxString
*) &_result_ref
;
19232 wxPyEndAllowThreads(__tstate
);
19233 if (PyErr_Occurred()) SWIG_fail
;
19237 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19239 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19248 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19249 PyObject
*resultobj
;
19250 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19252 PyObject
* obj0
= 0 ;
19253 char *kwnames
[] = {
19254 (char *) "self", NULL
19257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
19258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19262 result
= (double)(arg1
)->GetPrinterScaleX();
19264 wxPyEndAllowThreads(__tstate
);
19265 if (PyErr_Occurred()) SWIG_fail
;
19267 resultobj
= SWIG_From_double((double)result
);
19274 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19275 PyObject
*resultobj
;
19276 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19278 PyObject
* obj0
= 0 ;
19279 char *kwnames
[] = {
19280 (char *) "self", NULL
19283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
19284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19288 result
= (double)(arg1
)->GetPrinterScaleY();
19290 wxPyEndAllowThreads(__tstate
);
19291 if (PyErr_Occurred()) SWIG_fail
;
19293 resultobj
= SWIG_From_double((double)result
);
19300 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19301 PyObject
*resultobj
;
19302 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19304 PyObject
* obj0
= 0 ;
19305 char *kwnames
[] = {
19306 (char *) "self", NULL
19309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
19310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19314 result
= (long)(arg1
)->GetPrinterTranslateX();
19316 wxPyEndAllowThreads(__tstate
);
19317 if (PyErr_Occurred()) SWIG_fail
;
19319 resultobj
= SWIG_From_long((long)result
);
19326 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19327 PyObject
*resultobj
;
19328 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19330 PyObject
* obj0
= 0 ;
19331 char *kwnames
[] = {
19332 (char *) "self", NULL
19335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
19336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19340 result
= (long)(arg1
)->GetPrinterTranslateY();
19342 wxPyEndAllowThreads(__tstate
);
19343 if (PyErr_Occurred()) SWIG_fail
;
19345 resultobj
= SWIG_From_long((long)result
);
19352 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19353 PyObject
*resultobj
;
19354 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19356 PyObject
* obj0
= 0 ;
19357 char *kwnames
[] = {
19358 (char *) "self", NULL
19361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
19362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19366 result
= (int)(arg1
)->GetPrintMode();
19368 wxPyEndAllowThreads(__tstate
);
19369 if (PyErr_Occurred()) SWIG_fail
;
19371 resultobj
= SWIG_From_int((int)result
);
19378 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19379 PyObject
*resultobj
;
19380 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19381 wxString
*arg2
= 0 ;
19382 bool temp2
= false ;
19383 PyObject
* obj0
= 0 ;
19384 PyObject
* obj1
= 0 ;
19385 char *kwnames
[] = {
19386 (char *) "self",(char *) "command", NULL
19389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
19390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19393 arg2
= wxString_in_helper(obj1
);
19394 if (arg2
== NULL
) SWIG_fail
;
19398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19399 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
19401 wxPyEndAllowThreads(__tstate
);
19402 if (PyErr_Occurred()) SWIG_fail
;
19404 Py_INCREF(Py_None
); resultobj
= Py_None
;
19419 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19420 PyObject
*resultobj
;
19421 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19422 wxString
*arg2
= 0 ;
19423 bool temp2
= false ;
19424 PyObject
* obj0
= 0 ;
19425 PyObject
* obj1
= 0 ;
19426 char *kwnames
[] = {
19427 (char *) "self",(char *) "options", NULL
19430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
19431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19434 arg2
= wxString_in_helper(obj1
);
19435 if (arg2
== NULL
) SWIG_fail
;
19439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19440 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
19442 wxPyEndAllowThreads(__tstate
);
19443 if (PyErr_Occurred()) SWIG_fail
;
19445 Py_INCREF(Py_None
); resultobj
= Py_None
;
19460 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19461 PyObject
*resultobj
;
19462 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19463 wxString
*arg2
= 0 ;
19464 bool temp2
= false ;
19465 PyObject
* obj0
= 0 ;
19466 PyObject
* obj1
= 0 ;
19467 char *kwnames
[] = {
19468 (char *) "self",(char *) "command", NULL
19471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
19472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19475 arg2
= wxString_in_helper(obj1
);
19476 if (arg2
== NULL
) SWIG_fail
;
19480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19481 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
19483 wxPyEndAllowThreads(__tstate
);
19484 if (PyErr_Occurred()) SWIG_fail
;
19486 Py_INCREF(Py_None
); resultobj
= Py_None
;
19501 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19502 PyObject
*resultobj
;
19503 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19504 wxString
*arg2
= 0 ;
19505 bool temp2
= false ;
19506 PyObject
* obj0
= 0 ;
19507 PyObject
* obj1
= 0 ;
19508 char *kwnames
[] = {
19509 (char *) "self",(char *) "filename", NULL
19512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
19513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19516 arg2
= wxString_in_helper(obj1
);
19517 if (arg2
== NULL
) SWIG_fail
;
19521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19522 (arg1
)->SetFilename((wxString
const &)*arg2
);
19524 wxPyEndAllowThreads(__tstate
);
19525 if (PyErr_Occurred()) SWIG_fail
;
19527 Py_INCREF(Py_None
); resultobj
= Py_None
;
19542 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19543 PyObject
*resultobj
;
19544 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19545 wxString
*arg2
= 0 ;
19546 bool temp2
= false ;
19547 PyObject
* obj0
= 0 ;
19548 PyObject
* obj1
= 0 ;
19549 char *kwnames
[] = {
19550 (char *) "self",(char *) "path", NULL
19553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
19554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19557 arg2
= wxString_in_helper(obj1
);
19558 if (arg2
== NULL
) SWIG_fail
;
19562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19563 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
19565 wxPyEndAllowThreads(__tstate
);
19566 if (PyErr_Occurred()) SWIG_fail
;
19568 Py_INCREF(Py_None
); resultobj
= Py_None
;
19583 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19584 PyObject
*resultobj
;
19585 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19587 PyObject
* obj0
= 0 ;
19588 PyObject
* obj1
= 0 ;
19589 char *kwnames
[] = {
19590 (char *) "self",(char *) "x", NULL
19593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
19594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19596 arg2
= (double)SWIG_As_double(obj1
);
19597 if (PyErr_Occurred()) SWIG_fail
;
19599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19600 (arg1
)->SetPrinterScaleX(arg2
);
19602 wxPyEndAllowThreads(__tstate
);
19603 if (PyErr_Occurred()) SWIG_fail
;
19605 Py_INCREF(Py_None
); resultobj
= Py_None
;
19612 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19613 PyObject
*resultobj
;
19614 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19616 PyObject
* obj0
= 0 ;
19617 PyObject
* obj1
= 0 ;
19618 char *kwnames
[] = {
19619 (char *) "self",(char *) "y", NULL
19622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
19623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19625 arg2
= (double)SWIG_As_double(obj1
);
19626 if (PyErr_Occurred()) SWIG_fail
;
19628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19629 (arg1
)->SetPrinterScaleY(arg2
);
19631 wxPyEndAllowThreads(__tstate
);
19632 if (PyErr_Occurred()) SWIG_fail
;
19634 Py_INCREF(Py_None
); resultobj
= Py_None
;
19641 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19642 PyObject
*resultobj
;
19643 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19646 PyObject
* obj0
= 0 ;
19647 PyObject
* obj1
= 0 ;
19648 PyObject
* obj2
= 0 ;
19649 char *kwnames
[] = {
19650 (char *) "self",(char *) "x",(char *) "y", NULL
19653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19656 arg2
= (double)SWIG_As_double(obj1
);
19657 if (PyErr_Occurred()) SWIG_fail
;
19658 arg3
= (double)SWIG_As_double(obj2
);
19659 if (PyErr_Occurred()) SWIG_fail
;
19661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19662 (arg1
)->SetPrinterScaling(arg2
,arg3
);
19664 wxPyEndAllowThreads(__tstate
);
19665 if (PyErr_Occurred()) SWIG_fail
;
19667 Py_INCREF(Py_None
); resultobj
= Py_None
;
19674 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19675 PyObject
*resultobj
;
19676 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19678 PyObject
* obj0
= 0 ;
19679 PyObject
* obj1
= 0 ;
19680 char *kwnames
[] = {
19681 (char *) "self",(char *) "x", NULL
19684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
19685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19687 arg2
= (long)SWIG_As_long(obj1
);
19688 if (PyErr_Occurred()) SWIG_fail
;
19690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19691 (arg1
)->SetPrinterTranslateX(arg2
);
19693 wxPyEndAllowThreads(__tstate
);
19694 if (PyErr_Occurred()) SWIG_fail
;
19696 Py_INCREF(Py_None
); resultobj
= Py_None
;
19703 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19704 PyObject
*resultobj
;
19705 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19707 PyObject
* obj0
= 0 ;
19708 PyObject
* obj1
= 0 ;
19709 char *kwnames
[] = {
19710 (char *) "self",(char *) "y", NULL
19713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
19714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19716 arg2
= (long)SWIG_As_long(obj1
);
19717 if (PyErr_Occurred()) SWIG_fail
;
19719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19720 (arg1
)->SetPrinterTranslateY(arg2
);
19722 wxPyEndAllowThreads(__tstate
);
19723 if (PyErr_Occurred()) SWIG_fail
;
19725 Py_INCREF(Py_None
); resultobj
= Py_None
;
19732 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19733 PyObject
*resultobj
;
19734 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19737 PyObject
* obj0
= 0 ;
19738 PyObject
* obj1
= 0 ;
19739 PyObject
* obj2
= 0 ;
19740 char *kwnames
[] = {
19741 (char *) "self",(char *) "x",(char *) "y", NULL
19744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19747 arg2
= (long)SWIG_As_long(obj1
);
19748 if (PyErr_Occurred()) SWIG_fail
;
19749 arg3
= (long)SWIG_As_long(obj2
);
19750 if (PyErr_Occurred()) SWIG_fail
;
19752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19753 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
19755 wxPyEndAllowThreads(__tstate
);
19756 if (PyErr_Occurred()) SWIG_fail
;
19758 Py_INCREF(Py_None
); resultobj
= Py_None
;
19765 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19766 PyObject
*resultobj
;
19767 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19769 PyObject
* obj0
= 0 ;
19770 PyObject
* obj1
= 0 ;
19771 char *kwnames
[] = {
19772 (char *) "self",(char *) "printMode", NULL
19775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
19776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19778 arg2
= (int)SWIG_As_int(obj1
);
19779 if (PyErr_Occurred()) SWIG_fail
;
19781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19782 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
19784 wxPyEndAllowThreads(__tstate
);
19785 if (PyErr_Occurred()) SWIG_fail
;
19787 Py_INCREF(Py_None
); resultobj
= Py_None
;
19794 static PyObject
*_wrap_PrintData_GetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19795 PyObject
*resultobj
;
19796 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19797 wxOutputStream
*result
;
19798 PyObject
* obj0
= 0 ;
19799 char *kwnames
[] = {
19800 (char *) "self", NULL
19803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOutputStream",kwnames
,&obj0
)) goto fail
;
19804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19808 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
19810 wxPyEndAllowThreads(__tstate
);
19811 if (PyErr_Occurred()) SWIG_fail
;
19813 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
19820 static PyObject
*_wrap_PrintData_SetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19821 PyObject
*resultobj
;
19822 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19823 wxOutputStream
*arg2
= (wxOutputStream
*) 0 ;
19824 PyObject
* obj0
= 0 ;
19825 PyObject
* obj1
= 0 ;
19826 char *kwnames
[] = {
19827 (char *) "self",(char *) "outputstream", NULL
19830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOutputStream",kwnames
,&obj0
,&obj1
)) goto fail
;
19831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19833 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxOutputStream
,
19834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19837 (arg1
)->SetOutputStream(arg2
);
19839 wxPyEndAllowThreads(__tstate
);
19840 if (PyErr_Occurred()) SWIG_fail
;
19842 Py_INCREF(Py_None
); resultobj
= Py_None
;
19849 static PyObject
* PrintData_swigregister(PyObject
*, PyObject
*args
) {
19851 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19852 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
19854 return Py_BuildValue((char *)"");
19856 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
19857 PyObject
*resultobj
;
19858 wxPageSetupDialogData
*result
;
19860 if(!PyArg_ParseTuple(args
,(char *)":new_PageSetupDialogData")) goto fail
;
19862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19863 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
19865 wxPyEndAllowThreads(__tstate
);
19866 if (PyErr_Occurred()) SWIG_fail
;
19868 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
19875 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
19876 PyObject
*resultobj
;
19877 wxPageSetupDialogData
*arg1
= 0 ;
19878 wxPageSetupDialogData
*result
;
19879 PyObject
* obj0
= 0 ;
19881 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
19882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19883 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19885 if (arg1
== NULL
) {
19886 PyErr_SetString(PyExc_TypeError
,"null reference");
19890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19891 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
19893 wxPyEndAllowThreads(__tstate
);
19894 if (PyErr_Occurred()) SWIG_fail
;
19896 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
19903 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
19908 argc
= PyObject_Length(args
);
19909 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
19910 argv
[ii
] = PyTuple_GetItem(args
,ii
);
19913 return _wrap_new_PageSetupDialogData__SWIG_0(self
,args
);
19919 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPageSetupDialogData
, 0) == -1) {
19927 return _wrap_new_PageSetupDialogData__SWIG_1(self
,args
);
19931 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PageSetupDialogData'");
19936 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19937 PyObject
*resultobj
;
19938 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19939 PyObject
* obj0
= 0 ;
19940 char *kwnames
[] = {
19941 (char *) "self", NULL
19944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
19945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19951 wxPyEndAllowThreads(__tstate
);
19952 if (PyErr_Occurred()) SWIG_fail
;
19954 Py_INCREF(Py_None
); resultobj
= Py_None
;
19961 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19962 PyObject
*resultobj
;
19963 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19965 PyObject
* obj0
= 0 ;
19966 PyObject
* obj1
= 0 ;
19967 char *kwnames
[] = {
19968 (char *) "self",(char *) "flag", NULL
19971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19974 arg2
= (bool)SWIG_As_bool(obj1
);
19975 if (PyErr_Occurred()) SWIG_fail
;
19977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19978 (arg1
)->EnableHelp(arg2
);
19980 wxPyEndAllowThreads(__tstate
);
19981 if (PyErr_Occurred()) SWIG_fail
;
19983 Py_INCREF(Py_None
); resultobj
= Py_None
;
19990 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19991 PyObject
*resultobj
;
19992 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19994 PyObject
* obj0
= 0 ;
19995 PyObject
* obj1
= 0 ;
19996 char *kwnames
[] = {
19997 (char *) "self",(char *) "flag", NULL
20000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
20001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20003 arg2
= (bool)SWIG_As_bool(obj1
);
20004 if (PyErr_Occurred()) SWIG_fail
;
20006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20007 (arg1
)->EnableMargins(arg2
);
20009 wxPyEndAllowThreads(__tstate
);
20010 if (PyErr_Occurred()) SWIG_fail
;
20012 Py_INCREF(Py_None
); resultobj
= Py_None
;
20019 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20020 PyObject
*resultobj
;
20021 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20023 PyObject
* obj0
= 0 ;
20024 PyObject
* obj1
= 0 ;
20025 char *kwnames
[] = {
20026 (char *) "self",(char *) "flag", NULL
20029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
20030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20032 arg2
= (bool)SWIG_As_bool(obj1
);
20033 if (PyErr_Occurred()) SWIG_fail
;
20035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20036 (arg1
)->EnableOrientation(arg2
);
20038 wxPyEndAllowThreads(__tstate
);
20039 if (PyErr_Occurred()) SWIG_fail
;
20041 Py_INCREF(Py_None
); resultobj
= Py_None
;
20048 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20049 PyObject
*resultobj
;
20050 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20052 PyObject
* obj0
= 0 ;
20053 PyObject
* obj1
= 0 ;
20054 char *kwnames
[] = {
20055 (char *) "self",(char *) "flag", NULL
20058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
20059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20061 arg2
= (bool)SWIG_As_bool(obj1
);
20062 if (PyErr_Occurred()) SWIG_fail
;
20064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20065 (arg1
)->EnablePaper(arg2
);
20067 wxPyEndAllowThreads(__tstate
);
20068 if (PyErr_Occurred()) SWIG_fail
;
20070 Py_INCREF(Py_None
); resultobj
= Py_None
;
20077 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20078 PyObject
*resultobj
;
20079 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20081 PyObject
* obj0
= 0 ;
20082 PyObject
* obj1
= 0 ;
20083 char *kwnames
[] = {
20084 (char *) "self",(char *) "flag", NULL
20087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
20088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20090 arg2
= (bool)SWIG_As_bool(obj1
);
20091 if (PyErr_Occurred()) SWIG_fail
;
20093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20094 (arg1
)->EnablePrinter(arg2
);
20096 wxPyEndAllowThreads(__tstate
);
20097 if (PyErr_Occurred()) SWIG_fail
;
20099 Py_INCREF(Py_None
); resultobj
= Py_None
;
20106 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20107 PyObject
*resultobj
;
20108 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20110 PyObject
* obj0
= 0 ;
20111 char *kwnames
[] = {
20112 (char *) "self", NULL
20115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
20116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20120 result
= (bool)(arg1
)->GetDefaultMinMargins();
20122 wxPyEndAllowThreads(__tstate
);
20123 if (PyErr_Occurred()) SWIG_fail
;
20126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20134 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20135 PyObject
*resultobj
;
20136 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20138 PyObject
* obj0
= 0 ;
20139 char *kwnames
[] = {
20140 (char *) "self", NULL
20143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
20144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20148 result
= (bool)(arg1
)->GetEnableMargins();
20150 wxPyEndAllowThreads(__tstate
);
20151 if (PyErr_Occurred()) SWIG_fail
;
20154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20162 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20163 PyObject
*resultobj
;
20164 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20166 PyObject
* obj0
= 0 ;
20167 char *kwnames
[] = {
20168 (char *) "self", NULL
20171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
20172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20176 result
= (bool)(arg1
)->GetEnableOrientation();
20178 wxPyEndAllowThreads(__tstate
);
20179 if (PyErr_Occurred()) SWIG_fail
;
20182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20190 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20191 PyObject
*resultobj
;
20192 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20194 PyObject
* obj0
= 0 ;
20195 char *kwnames
[] = {
20196 (char *) "self", NULL
20199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
20200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20204 result
= (bool)(arg1
)->GetEnablePaper();
20206 wxPyEndAllowThreads(__tstate
);
20207 if (PyErr_Occurred()) SWIG_fail
;
20210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20218 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20219 PyObject
*resultobj
;
20220 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20222 PyObject
* obj0
= 0 ;
20223 char *kwnames
[] = {
20224 (char *) "self", NULL
20227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
20228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20232 result
= (bool)(arg1
)->GetEnablePrinter();
20234 wxPyEndAllowThreads(__tstate
);
20235 if (PyErr_Occurred()) SWIG_fail
;
20238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20246 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20247 PyObject
*resultobj
;
20248 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20250 PyObject
* obj0
= 0 ;
20251 char *kwnames
[] = {
20252 (char *) "self", NULL
20255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
20256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20260 result
= (bool)(arg1
)->GetEnableHelp();
20262 wxPyEndAllowThreads(__tstate
);
20263 if (PyErr_Occurred()) SWIG_fail
;
20266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20274 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(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_GetDefaultInfo",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
= (bool)(arg1
)->GetDefaultInfo();
20290 wxPyEndAllowThreads(__tstate
);
20291 if (PyErr_Occurred()) SWIG_fail
;
20294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20302 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20303 PyObject
*resultobj
;
20304 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20306 PyObject
* obj0
= 0 ;
20307 char *kwnames
[] = {
20308 (char *) "self", NULL
20311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
20312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20316 result
= (arg1
)->GetMarginTopLeft();
20318 wxPyEndAllowThreads(__tstate
);
20319 if (PyErr_Occurred()) SWIG_fail
;
20322 wxPoint
* resultptr
;
20323 resultptr
= new wxPoint((wxPoint
&) result
);
20324 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20332 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20333 PyObject
*resultobj
;
20334 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20336 PyObject
* obj0
= 0 ;
20337 char *kwnames
[] = {
20338 (char *) "self", NULL
20341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
20342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20346 result
= (arg1
)->GetMarginBottomRight();
20348 wxPyEndAllowThreads(__tstate
);
20349 if (PyErr_Occurred()) SWIG_fail
;
20352 wxPoint
* resultptr
;
20353 resultptr
= new wxPoint((wxPoint
&) result
);
20354 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20362 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20363 PyObject
*resultobj
;
20364 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20366 PyObject
* obj0
= 0 ;
20367 char *kwnames
[] = {
20368 (char *) "self", NULL
20371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
20372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20376 result
= (arg1
)->GetMinMarginTopLeft();
20378 wxPyEndAllowThreads(__tstate
);
20379 if (PyErr_Occurred()) SWIG_fail
;
20382 wxPoint
* resultptr
;
20383 resultptr
= new wxPoint((wxPoint
&) result
);
20384 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20392 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20393 PyObject
*resultobj
;
20394 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20396 PyObject
* obj0
= 0 ;
20397 char *kwnames
[] = {
20398 (char *) "self", NULL
20401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
20402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20406 result
= (arg1
)->GetMinMarginBottomRight();
20408 wxPyEndAllowThreads(__tstate
);
20409 if (PyErr_Occurred()) SWIG_fail
;
20412 wxPoint
* resultptr
;
20413 resultptr
= new wxPoint((wxPoint
&) result
);
20414 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20422 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20423 PyObject
*resultobj
;
20424 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20426 PyObject
* obj0
= 0 ;
20427 char *kwnames
[] = {
20428 (char *) "self", NULL
20431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
20432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20436 result
= (int)(arg1
)->GetPaperId();
20438 wxPyEndAllowThreads(__tstate
);
20439 if (PyErr_Occurred()) SWIG_fail
;
20441 resultobj
= SWIG_From_int((int)result
);
20448 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20449 PyObject
*resultobj
;
20450 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20452 PyObject
* obj0
= 0 ;
20453 char *kwnames
[] = {
20454 (char *) "self", NULL
20457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
20458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20462 result
= (arg1
)->GetPaperSize();
20464 wxPyEndAllowThreads(__tstate
);
20465 if (PyErr_Occurred()) SWIG_fail
;
20468 wxSize
* resultptr
;
20469 resultptr
= new wxSize((wxSize
&) result
);
20470 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20478 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20479 PyObject
*resultobj
;
20480 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20481 wxPrintData
*result
;
20482 PyObject
* obj0
= 0 ;
20483 char *kwnames
[] = {
20484 (char *) "self", NULL
20487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
20488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20493 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
20494 result
= (wxPrintData
*) &_result_ref
;
20497 wxPyEndAllowThreads(__tstate
);
20498 if (PyErr_Occurred()) SWIG_fail
;
20500 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
20507 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20508 PyObject
*resultobj
;
20509 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20511 PyObject
* obj0
= 0 ;
20512 char *kwnames
[] = {
20513 (char *) "self", NULL
20516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
20517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20521 result
= (bool)(arg1
)->Ok();
20523 wxPyEndAllowThreads(__tstate
);
20524 if (PyErr_Occurred()) SWIG_fail
;
20527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20535 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20536 PyObject
*resultobj
;
20537 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20539 PyObject
* obj0
= 0 ;
20540 PyObject
* obj1
= 0 ;
20541 char *kwnames
[] = {
20542 (char *) "self",(char *) "flag", NULL
20545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
20546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20548 arg2
= (bool)SWIG_As_bool(obj1
);
20549 if (PyErr_Occurred()) SWIG_fail
;
20551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20552 (arg1
)->SetDefaultInfo(arg2
);
20554 wxPyEndAllowThreads(__tstate
);
20555 if (PyErr_Occurred()) SWIG_fail
;
20557 Py_INCREF(Py_None
); resultobj
= Py_None
;
20564 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20565 PyObject
*resultobj
;
20566 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20568 PyObject
* obj0
= 0 ;
20569 PyObject
* obj1
= 0 ;
20570 char *kwnames
[] = {
20571 (char *) "self",(char *) "flag", NULL
20574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
20575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20577 arg2
= (bool)SWIG_As_bool(obj1
);
20578 if (PyErr_Occurred()) SWIG_fail
;
20580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20581 (arg1
)->SetDefaultMinMargins(arg2
);
20583 wxPyEndAllowThreads(__tstate
);
20584 if (PyErr_Occurred()) SWIG_fail
;
20586 Py_INCREF(Py_None
); resultobj
= Py_None
;
20593 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20594 PyObject
*resultobj
;
20595 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20596 wxPoint
*arg2
= 0 ;
20598 PyObject
* obj0
= 0 ;
20599 PyObject
* obj1
= 0 ;
20600 char *kwnames
[] = {
20601 (char *) "self",(char *) "pt", NULL
20604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
20605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20609 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20613 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
20615 wxPyEndAllowThreads(__tstate
);
20616 if (PyErr_Occurred()) SWIG_fail
;
20618 Py_INCREF(Py_None
); resultobj
= Py_None
;
20625 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20626 PyObject
*resultobj
;
20627 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20628 wxPoint
*arg2
= 0 ;
20630 PyObject
* obj0
= 0 ;
20631 PyObject
* obj1
= 0 ;
20632 char *kwnames
[] = {
20633 (char *) "self",(char *) "pt", NULL
20636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
20637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20641 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20645 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
20647 wxPyEndAllowThreads(__tstate
);
20648 if (PyErr_Occurred()) SWIG_fail
;
20650 Py_INCREF(Py_None
); resultobj
= Py_None
;
20657 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20658 PyObject
*resultobj
;
20659 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20660 wxPoint
*arg2
= 0 ;
20662 PyObject
* obj0
= 0 ;
20663 PyObject
* obj1
= 0 ;
20664 char *kwnames
[] = {
20665 (char *) "self",(char *) "pt", NULL
20668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
20669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20673 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20677 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
20679 wxPyEndAllowThreads(__tstate
);
20680 if (PyErr_Occurred()) SWIG_fail
;
20682 Py_INCREF(Py_None
); resultobj
= Py_None
;
20689 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20690 PyObject
*resultobj
;
20691 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20692 wxPoint
*arg2
= 0 ;
20694 PyObject
* obj0
= 0 ;
20695 PyObject
* obj1
= 0 ;
20696 char *kwnames
[] = {
20697 (char *) "self",(char *) "pt", NULL
20700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
20701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20705 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20709 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
20711 wxPyEndAllowThreads(__tstate
);
20712 if (PyErr_Occurred()) SWIG_fail
;
20714 Py_INCREF(Py_None
); resultobj
= Py_None
;
20721 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20722 PyObject
*resultobj
;
20723 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20725 PyObject
* obj0
= 0 ;
20726 PyObject
* obj1
= 0 ;
20727 char *kwnames
[] = {
20728 (char *) "self",(char *) "id", NULL
20731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
20732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20734 arg2
= (int)SWIG_As_int(obj1
);
20735 if (PyErr_Occurred()) SWIG_fail
;
20737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20738 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
20740 wxPyEndAllowThreads(__tstate
);
20741 if (PyErr_Occurred()) SWIG_fail
;
20743 Py_INCREF(Py_None
); resultobj
= Py_None
;
20750 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20751 PyObject
*resultobj
;
20752 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20755 PyObject
* obj0
= 0 ;
20756 PyObject
* obj1
= 0 ;
20757 char *kwnames
[] = {
20758 (char *) "self",(char *) "size", NULL
20761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20766 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20770 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
20772 wxPyEndAllowThreads(__tstate
);
20773 if (PyErr_Occurred()) SWIG_fail
;
20775 Py_INCREF(Py_None
); resultobj
= Py_None
;
20782 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20783 PyObject
*resultobj
;
20784 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20785 wxPrintData
*arg2
= 0 ;
20786 PyObject
* obj0
= 0 ;
20787 PyObject
* obj1
= 0 ;
20788 char *kwnames
[] = {
20789 (char *) "self",(char *) "printData", NULL
20792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
20793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20795 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
20796 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20798 if (arg2
== NULL
) {
20799 PyErr_SetString(PyExc_TypeError
,"null reference");
20803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20804 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
20806 wxPyEndAllowThreads(__tstate
);
20807 if (PyErr_Occurred()) SWIG_fail
;
20809 Py_INCREF(Py_None
); resultobj
= Py_None
;
20816 static PyObject
* PageSetupDialogData_swigregister(PyObject
*, PyObject
*args
) {
20818 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20819 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
20821 return Py_BuildValue((char *)"");
20823 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20824 PyObject
*resultobj
;
20825 wxWindow
*arg1
= (wxWindow
*) 0 ;
20826 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
20827 wxPageSetupDialog
*result
;
20828 PyObject
* obj0
= 0 ;
20829 PyObject
* obj1
= 0 ;
20830 char *kwnames
[] = {
20831 (char *) "parent",(char *) "data", NULL
20834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
20835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20838 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPageSetupDialogData
,
20839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20842 if (!wxPyCheckForApp()) SWIG_fail
;
20843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20844 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
20846 wxPyEndAllowThreads(__tstate
);
20847 if (PyErr_Occurred()) SWIG_fail
;
20849 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
20856 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20857 PyObject
*resultobj
;
20858 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
20859 wxPageSetupDialogData
*result
;
20860 PyObject
* obj0
= 0 ;
20861 char *kwnames
[] = {
20862 (char *) "self", NULL
20865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
20866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
20867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20871 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
20872 result
= (wxPageSetupDialogData
*) &_result_ref
;
20875 wxPyEndAllowThreads(__tstate
);
20876 if (PyErr_Occurred()) SWIG_fail
;
20878 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
20885 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20886 PyObject
*resultobj
;
20887 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
20889 PyObject
* obj0
= 0 ;
20890 char *kwnames
[] = {
20891 (char *) "self", NULL
20894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
20895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
20896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20899 result
= (int)(arg1
)->ShowModal();
20901 wxPyEndAllowThreads(__tstate
);
20902 if (PyErr_Occurred()) SWIG_fail
;
20904 resultobj
= SWIG_From_int((int)result
);
20911 static PyObject
* PageSetupDialog_swigregister(PyObject
*, PyObject
*args
) {
20913 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20914 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
20916 return Py_BuildValue((char *)"");
20918 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
20919 PyObject
*resultobj
;
20920 wxPrintDialogData
*result
;
20922 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
20924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20925 result
= (wxPrintDialogData
*)new wxPrintDialogData();
20927 wxPyEndAllowThreads(__tstate
);
20928 if (PyErr_Occurred()) SWIG_fail
;
20930 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
20937 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
20938 PyObject
*resultobj
;
20939 wxPrintData
*arg1
= 0 ;
20940 wxPrintDialogData
*result
;
20941 PyObject
* obj0
= 0 ;
20943 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
20944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
20945 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20947 if (arg1
== NULL
) {
20948 PyErr_SetString(PyExc_TypeError
,"null reference");
20952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20953 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
20955 wxPyEndAllowThreads(__tstate
);
20956 if (PyErr_Occurred()) SWIG_fail
;
20958 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
20965 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
20970 argc
= PyObject_Length(args
);
20971 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
20972 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20975 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
20981 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
20989 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
20993 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintDialogData'");
20998 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20999 PyObject
*resultobj
;
21000 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21001 PyObject
* obj0
= 0 ;
21002 char *kwnames
[] = {
21003 (char *) "self", NULL
21006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
21007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21013 wxPyEndAllowThreads(__tstate
);
21014 if (PyErr_Occurred()) SWIG_fail
;
21016 Py_INCREF(Py_None
); resultobj
= Py_None
;
21023 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21024 PyObject
*resultobj
;
21025 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21027 PyObject
* obj0
= 0 ;
21028 char *kwnames
[] = {
21029 (char *) "self", NULL
21032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
21033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21037 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
21039 wxPyEndAllowThreads(__tstate
);
21040 if (PyErr_Occurred()) SWIG_fail
;
21042 resultobj
= SWIG_From_int((int)result
);
21049 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21050 PyObject
*resultobj
;
21051 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21053 PyObject
* obj0
= 0 ;
21054 char *kwnames
[] = {
21055 (char *) "self", NULL
21058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
21059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21063 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
21065 wxPyEndAllowThreads(__tstate
);
21066 if (PyErr_Occurred()) SWIG_fail
;
21068 resultobj
= SWIG_From_int((int)result
);
21075 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21076 PyObject
*resultobj
;
21077 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21079 PyObject
* obj0
= 0 ;
21080 char *kwnames
[] = {
21081 (char *) "self", NULL
21084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
21085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21089 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
21091 wxPyEndAllowThreads(__tstate
);
21092 if (PyErr_Occurred()) SWIG_fail
;
21094 resultobj
= SWIG_From_int((int)result
);
21101 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21102 PyObject
*resultobj
;
21103 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21105 PyObject
* obj0
= 0 ;
21106 char *kwnames
[] = {
21107 (char *) "self", NULL
21110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
21111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21115 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
21117 wxPyEndAllowThreads(__tstate
);
21118 if (PyErr_Occurred()) SWIG_fail
;
21120 resultobj
= SWIG_From_int((int)result
);
21127 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21128 PyObject
*resultobj
;
21129 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21131 PyObject
* obj0
= 0 ;
21132 char *kwnames
[] = {
21133 (char *) "self", NULL
21136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
21137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21141 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
21143 wxPyEndAllowThreads(__tstate
);
21144 if (PyErr_Occurred()) SWIG_fail
;
21146 resultobj
= SWIG_From_int((int)result
);
21153 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21154 PyObject
*resultobj
;
21155 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21157 PyObject
* obj0
= 0 ;
21158 char *kwnames
[] = {
21159 (char *) "self", NULL
21162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
21163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21167 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
21169 wxPyEndAllowThreads(__tstate
);
21170 if (PyErr_Occurred()) SWIG_fail
;
21173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21181 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21182 PyObject
*resultobj
;
21183 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21185 PyObject
* obj0
= 0 ;
21186 char *kwnames
[] = {
21187 (char *) "self", NULL
21190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
21191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21195 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
21197 wxPyEndAllowThreads(__tstate
);
21198 if (PyErr_Occurred()) SWIG_fail
;
21201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21209 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21210 PyObject
*resultobj
;
21211 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21213 PyObject
* obj0
= 0 ;
21214 char *kwnames
[] = {
21215 (char *) "self", NULL
21218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
21219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21223 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
21225 wxPyEndAllowThreads(__tstate
);
21226 if (PyErr_Occurred()) SWIG_fail
;
21229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21237 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21238 PyObject
*resultobj
;
21239 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21241 PyObject
* obj0
= 0 ;
21242 char *kwnames
[] = {
21243 (char *) "self", NULL
21246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
21247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21251 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
21253 wxPyEndAllowThreads(__tstate
);
21254 if (PyErr_Occurred()) SWIG_fail
;
21257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21265 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21266 PyObject
*resultobj
;
21267 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21269 PyObject
* obj0
= 0 ;
21270 char *kwnames
[] = {
21271 (char *) "self", NULL
21274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
21275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21279 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
21281 wxPyEndAllowThreads(__tstate
);
21282 if (PyErr_Occurred()) SWIG_fail
;
21285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21293 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21294 PyObject
*resultobj
;
21295 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21297 PyObject
* obj0
= 0 ;
21298 PyObject
* obj1
= 0 ;
21299 char *kwnames
[] = {
21300 (char *) "self",(char *) "v", NULL
21303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21306 arg2
= (int)SWIG_As_int(obj1
);
21307 if (PyErr_Occurred()) SWIG_fail
;
21309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21310 (arg1
)->SetFromPage(arg2
);
21312 wxPyEndAllowThreads(__tstate
);
21313 if (PyErr_Occurred()) SWIG_fail
;
21315 Py_INCREF(Py_None
); resultobj
= Py_None
;
21322 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21323 PyObject
*resultobj
;
21324 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21326 PyObject
* obj0
= 0 ;
21327 PyObject
* obj1
= 0 ;
21328 char *kwnames
[] = {
21329 (char *) "self",(char *) "v", NULL
21332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21335 arg2
= (int)SWIG_As_int(obj1
);
21336 if (PyErr_Occurred()) SWIG_fail
;
21338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21339 (arg1
)->SetToPage(arg2
);
21341 wxPyEndAllowThreads(__tstate
);
21342 if (PyErr_Occurred()) SWIG_fail
;
21344 Py_INCREF(Py_None
); resultobj
= Py_None
;
21351 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21352 PyObject
*resultobj
;
21353 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21355 PyObject
* obj0
= 0 ;
21356 PyObject
* obj1
= 0 ;
21357 char *kwnames
[] = {
21358 (char *) "self",(char *) "v", NULL
21361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21364 arg2
= (int)SWIG_As_int(obj1
);
21365 if (PyErr_Occurred()) SWIG_fail
;
21367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21368 (arg1
)->SetMinPage(arg2
);
21370 wxPyEndAllowThreads(__tstate
);
21371 if (PyErr_Occurred()) SWIG_fail
;
21373 Py_INCREF(Py_None
); resultobj
= Py_None
;
21380 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21381 PyObject
*resultobj
;
21382 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21384 PyObject
* obj0
= 0 ;
21385 PyObject
* obj1
= 0 ;
21386 char *kwnames
[] = {
21387 (char *) "self",(char *) "v", NULL
21390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21393 arg2
= (int)SWIG_As_int(obj1
);
21394 if (PyErr_Occurred()) SWIG_fail
;
21396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21397 (arg1
)->SetMaxPage(arg2
);
21399 wxPyEndAllowThreads(__tstate
);
21400 if (PyErr_Occurred()) SWIG_fail
;
21402 Py_INCREF(Py_None
); resultobj
= Py_None
;
21409 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21410 PyObject
*resultobj
;
21411 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21413 PyObject
* obj0
= 0 ;
21414 PyObject
* obj1
= 0 ;
21415 char *kwnames
[] = {
21416 (char *) "self",(char *) "v", NULL
21419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
21420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21422 arg2
= (int)SWIG_As_int(obj1
);
21423 if (PyErr_Occurred()) SWIG_fail
;
21425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21426 (arg1
)->SetNoCopies(arg2
);
21428 wxPyEndAllowThreads(__tstate
);
21429 if (PyErr_Occurred()) SWIG_fail
;
21431 Py_INCREF(Py_None
); resultobj
= Py_None
;
21438 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21439 PyObject
*resultobj
;
21440 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21442 PyObject
* obj0
= 0 ;
21443 PyObject
* obj1
= 0 ;
21444 char *kwnames
[] = {
21445 (char *) "self",(char *) "flag", NULL
21448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
21449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21451 arg2
= (bool)SWIG_As_bool(obj1
);
21452 if (PyErr_Occurred()) SWIG_fail
;
21454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21455 (arg1
)->SetAllPages(arg2
);
21457 wxPyEndAllowThreads(__tstate
);
21458 if (PyErr_Occurred()) SWIG_fail
;
21460 Py_INCREF(Py_None
); resultobj
= Py_None
;
21467 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21468 PyObject
*resultobj
;
21469 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21471 PyObject
* obj0
= 0 ;
21472 PyObject
* obj1
= 0 ;
21473 char *kwnames
[] = {
21474 (char *) "self",(char *) "flag", NULL
21477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
21478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21480 arg2
= (bool)SWIG_As_bool(obj1
);
21481 if (PyErr_Occurred()) SWIG_fail
;
21483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21484 (arg1
)->SetSelection(arg2
);
21486 wxPyEndAllowThreads(__tstate
);
21487 if (PyErr_Occurred()) SWIG_fail
;
21489 Py_INCREF(Py_None
); resultobj
= Py_None
;
21496 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21497 PyObject
*resultobj
;
21498 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21500 PyObject
* obj0
= 0 ;
21501 PyObject
* obj1
= 0 ;
21502 char *kwnames
[] = {
21503 (char *) "self",(char *) "flag", NULL
21506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
21507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21509 arg2
= (bool)SWIG_As_bool(obj1
);
21510 if (PyErr_Occurred()) SWIG_fail
;
21512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21513 (arg1
)->SetCollate(arg2
);
21515 wxPyEndAllowThreads(__tstate
);
21516 if (PyErr_Occurred()) SWIG_fail
;
21518 Py_INCREF(Py_None
); resultobj
= Py_None
;
21525 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21526 PyObject
*resultobj
;
21527 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21529 PyObject
* obj0
= 0 ;
21530 PyObject
* obj1
= 0 ;
21531 char *kwnames
[] = {
21532 (char *) "self",(char *) "flag", NULL
21535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
21536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21538 arg2
= (bool)SWIG_As_bool(obj1
);
21539 if (PyErr_Occurred()) SWIG_fail
;
21541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21542 (arg1
)->SetPrintToFile(arg2
);
21544 wxPyEndAllowThreads(__tstate
);
21545 if (PyErr_Occurred()) SWIG_fail
;
21547 Py_INCREF(Py_None
); resultobj
= Py_None
;
21554 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21555 PyObject
*resultobj
;
21556 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21558 PyObject
* obj0
= 0 ;
21559 PyObject
* obj1
= 0 ;
21560 char *kwnames
[] = {
21561 (char *) "self",(char *) "flag", NULL
21564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21567 arg2
= (bool)SWIG_As_bool(obj1
);
21568 if (PyErr_Occurred()) SWIG_fail
;
21570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21571 (arg1
)->SetSetupDialog(arg2
);
21573 wxPyEndAllowThreads(__tstate
);
21574 if (PyErr_Occurred()) SWIG_fail
;
21576 Py_INCREF(Py_None
); resultobj
= Py_None
;
21583 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21584 PyObject
*resultobj
;
21585 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21587 PyObject
* obj0
= 0 ;
21588 PyObject
* obj1
= 0 ;
21589 char *kwnames
[] = {
21590 (char *) "self",(char *) "flag", NULL
21593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
21594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21596 arg2
= (bool)SWIG_As_bool(obj1
);
21597 if (PyErr_Occurred()) SWIG_fail
;
21599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21600 (arg1
)->EnablePrintToFile(arg2
);
21602 wxPyEndAllowThreads(__tstate
);
21603 if (PyErr_Occurred()) SWIG_fail
;
21605 Py_INCREF(Py_None
); resultobj
= Py_None
;
21612 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21613 PyObject
*resultobj
;
21614 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21616 PyObject
* obj0
= 0 ;
21617 PyObject
* obj1
= 0 ;
21618 char *kwnames
[] = {
21619 (char *) "self",(char *) "flag", NULL
21622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
21623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21625 arg2
= (bool)SWIG_As_bool(obj1
);
21626 if (PyErr_Occurred()) SWIG_fail
;
21628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21629 (arg1
)->EnableSelection(arg2
);
21631 wxPyEndAllowThreads(__tstate
);
21632 if (PyErr_Occurred()) SWIG_fail
;
21634 Py_INCREF(Py_None
); resultobj
= Py_None
;
21641 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21642 PyObject
*resultobj
;
21643 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21645 PyObject
* obj0
= 0 ;
21646 PyObject
* obj1
= 0 ;
21647 char *kwnames
[] = {
21648 (char *) "self",(char *) "flag", NULL
21651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
21652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21654 arg2
= (bool)SWIG_As_bool(obj1
);
21655 if (PyErr_Occurred()) SWIG_fail
;
21657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21658 (arg1
)->EnablePageNumbers(arg2
);
21660 wxPyEndAllowThreads(__tstate
);
21661 if (PyErr_Occurred()) SWIG_fail
;
21663 Py_INCREF(Py_None
); resultobj
= Py_None
;
21670 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21671 PyObject
*resultobj
;
21672 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21674 PyObject
* obj0
= 0 ;
21675 PyObject
* obj1
= 0 ;
21676 char *kwnames
[] = {
21677 (char *) "self",(char *) "flag", NULL
21680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
21681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21683 arg2
= (bool)SWIG_As_bool(obj1
);
21684 if (PyErr_Occurred()) SWIG_fail
;
21686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21687 (arg1
)->EnableHelp(arg2
);
21689 wxPyEndAllowThreads(__tstate
);
21690 if (PyErr_Occurred()) SWIG_fail
;
21692 Py_INCREF(Py_None
); resultobj
= Py_None
;
21699 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21700 PyObject
*resultobj
;
21701 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21703 PyObject
* obj0
= 0 ;
21704 char *kwnames
[] = {
21705 (char *) "self", NULL
21708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
21709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21713 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
21715 wxPyEndAllowThreads(__tstate
);
21716 if (PyErr_Occurred()) SWIG_fail
;
21719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21727 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21728 PyObject
*resultobj
;
21729 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21731 PyObject
* obj0
= 0 ;
21732 char *kwnames
[] = {
21733 (char *) "self", NULL
21736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
21737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21741 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
21743 wxPyEndAllowThreads(__tstate
);
21744 if (PyErr_Occurred()) SWIG_fail
;
21747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21755 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21756 PyObject
*resultobj
;
21757 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21759 PyObject
* obj0
= 0 ;
21760 char *kwnames
[] = {
21761 (char *) "self", NULL
21764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
21765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21769 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
21771 wxPyEndAllowThreads(__tstate
);
21772 if (PyErr_Occurred()) SWIG_fail
;
21775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21783 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21784 PyObject
*resultobj
;
21785 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21787 PyObject
* obj0
= 0 ;
21788 char *kwnames
[] = {
21789 (char *) "self", NULL
21792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
21793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21797 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
21799 wxPyEndAllowThreads(__tstate
);
21800 if (PyErr_Occurred()) SWIG_fail
;
21803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21811 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21812 PyObject
*resultobj
;
21813 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21815 PyObject
* obj0
= 0 ;
21816 char *kwnames
[] = {
21817 (char *) "self", NULL
21820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
21821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21825 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
21827 wxPyEndAllowThreads(__tstate
);
21828 if (PyErr_Occurred()) SWIG_fail
;
21831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21839 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21840 PyObject
*resultobj
;
21841 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21842 wxPrintData
*result
;
21843 PyObject
* obj0
= 0 ;
21844 char *kwnames
[] = {
21845 (char *) "self", NULL
21848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
21849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21854 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
21855 result
= (wxPrintData
*) &_result_ref
;
21858 wxPyEndAllowThreads(__tstate
);
21859 if (PyErr_Occurred()) SWIG_fail
;
21861 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
21868 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21869 PyObject
*resultobj
;
21870 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21871 wxPrintData
*arg2
= 0 ;
21872 PyObject
* obj0
= 0 ;
21873 PyObject
* obj1
= 0 ;
21874 char *kwnames
[] = {
21875 (char *) "self",(char *) "printData", NULL
21878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
21879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21881 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
21882 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21884 if (arg2
== NULL
) {
21885 PyErr_SetString(PyExc_TypeError
,"null reference");
21889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21890 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
21892 wxPyEndAllowThreads(__tstate
);
21893 if (PyErr_Occurred()) SWIG_fail
;
21895 Py_INCREF(Py_None
); resultobj
= Py_None
;
21902 static PyObject
* PrintDialogData_swigregister(PyObject
*, PyObject
*args
) {
21904 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21905 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
21907 return Py_BuildValue((char *)"");
21909 static PyObject
*_wrap_new_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21910 PyObject
*resultobj
;
21911 wxWindow
*arg1
= (wxWindow
*) 0 ;
21912 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
21913 wxPrintDialog
*result
;
21914 PyObject
* obj0
= 0 ;
21915 PyObject
* obj1
= 0 ;
21916 char *kwnames
[] = {
21917 (char *) "parent",(char *) "data", NULL
21920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21924 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintDialogData
,
21925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21928 if (!wxPyCheckForApp()) SWIG_fail
;
21929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21930 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
21932 wxPyEndAllowThreads(__tstate
);
21933 if (PyErr_Occurred()) SWIG_fail
;
21935 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
21942 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21943 PyObject
*resultobj
;
21944 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21945 wxPrintDialogData
*result
;
21946 PyObject
* obj0
= 0 ;
21947 char *kwnames
[] = {
21948 (char *) "self", NULL
21951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21957 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21958 result
= (wxPrintDialogData
*) &_result_ref
;
21961 wxPyEndAllowThreads(__tstate
);
21962 if (PyErr_Occurred()) SWIG_fail
;
21964 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
21971 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21972 PyObject
*resultobj
;
21973 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21975 PyObject
* obj0
= 0 ;
21976 char *kwnames
[] = {
21977 (char *) "self", NULL
21980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
21981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21985 result
= (wxDC
*)(arg1
)->GetPrintDC();
21987 wxPyEndAllowThreads(__tstate
);
21988 if (PyErr_Occurred()) SWIG_fail
;
21991 resultobj
= wxPyMake_wxObject(result
, 1);
21999 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22000 PyObject
*resultobj
;
22001 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
22003 PyObject
* obj0
= 0 ;
22004 char *kwnames
[] = {
22005 (char *) "self", NULL
22008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
22009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
22010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22013 result
= (int)(arg1
)->ShowModal();
22015 wxPyEndAllowThreads(__tstate
);
22016 if (PyErr_Occurred()) SWIG_fail
;
22018 resultobj
= SWIG_From_int((int)result
);
22025 static PyObject
* PrintDialog_swigregister(PyObject
*, PyObject
*args
) {
22027 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22028 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
22030 return Py_BuildValue((char *)"");
22032 static PyObject
*_wrap_new_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22033 PyObject
*resultobj
;
22034 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
22036 PyObject
* obj0
= 0 ;
22037 char *kwnames
[] = {
22038 (char *) "data", NULL
22041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
22043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
22044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22047 if (!wxPyCheckForApp()) SWIG_fail
;
22048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22049 result
= (wxPrinter
*)new wxPrinter(arg1
);
22051 wxPyEndAllowThreads(__tstate
);
22052 if (PyErr_Occurred()) SWIG_fail
;
22054 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
22061 static PyObject
*_wrap_delete_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22062 PyObject
*resultobj
;
22063 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22064 PyObject
* obj0
= 0 ;
22065 char *kwnames
[] = {
22066 (char *) "self", NULL
22069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
22070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22076 wxPyEndAllowThreads(__tstate
);
22077 if (PyErr_Occurred()) SWIG_fail
;
22079 Py_INCREF(Py_None
); resultobj
= Py_None
;
22086 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22087 PyObject
*resultobj
;
22088 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22089 wxWindow
*arg2
= (wxWindow
*) 0 ;
22090 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
22091 PyObject
* obj0
= 0 ;
22092 PyObject
* obj1
= 0 ;
22093 PyObject
* obj2
= 0 ;
22094 char *kwnames
[] = {
22095 (char *) "self",(char *) "parent",(char *) "printout", NULL
22098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22101 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22103 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
22104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22107 (arg1
)->CreateAbortWindow(arg2
,arg3
);
22109 wxPyEndAllowThreads(__tstate
);
22110 if (PyErr_Occurred()) SWIG_fail
;
22112 Py_INCREF(Py_None
); resultobj
= Py_None
;
22119 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22120 PyObject
*resultobj
;
22121 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22122 wxPrintDialogData
*result
;
22123 PyObject
* obj0
= 0 ;
22124 char *kwnames
[] = {
22125 (char *) "self", NULL
22128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
22129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22134 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
22135 result
= (wxPrintDialogData
*) &_result_ref
;
22138 wxPyEndAllowThreads(__tstate
);
22139 if (PyErr_Occurred()) SWIG_fail
;
22141 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
22148 static PyObject
*_wrap_Printer_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22149 PyObject
*resultobj
;
22150 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22151 wxWindow
*arg2
= (wxWindow
*) 0 ;
22152 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
22153 int arg4
= (int) true ;
22155 PyObject
* obj0
= 0 ;
22156 PyObject
* obj1
= 0 ;
22157 PyObject
* obj2
= 0 ;
22158 PyObject
* obj3
= 0 ;
22159 char *kwnames
[] = {
22160 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
22163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22166 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22168 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
22169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22171 arg4
= (int)SWIG_As_int(obj3
);
22172 if (PyErr_Occurred()) SWIG_fail
;
22175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22176 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
22178 wxPyEndAllowThreads(__tstate
);
22179 if (PyErr_Occurred()) SWIG_fail
;
22182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22190 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22191 PyObject
*resultobj
;
22192 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22193 wxWindow
*arg2
= (wxWindow
*) 0 ;
22195 PyObject
* obj0
= 0 ;
22196 PyObject
* obj1
= 0 ;
22197 char *kwnames
[] = {
22198 (char *) "self",(char *) "parent", NULL
22201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
22202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22204 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22208 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
22210 wxPyEndAllowThreads(__tstate
);
22211 if (PyErr_Occurred()) SWIG_fail
;
22214 resultobj
= wxPyMake_wxObject(result
, 0);
22222 static PyObject
*_wrap_Printer_ReportError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22223 PyObject
*resultobj
;
22224 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22225 wxWindow
*arg2
= (wxWindow
*) 0 ;
22226 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
22227 wxString
*arg4
= 0 ;
22228 bool temp4
= false ;
22229 PyObject
* obj0
= 0 ;
22230 PyObject
* obj1
= 0 ;
22231 PyObject
* obj2
= 0 ;
22232 PyObject
* obj3
= 0 ;
22233 char *kwnames
[] = {
22234 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
22237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22240 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22242 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
22243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22245 arg4
= wxString_in_helper(obj3
);
22246 if (arg4
== NULL
) SWIG_fail
;
22250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22251 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
22253 wxPyEndAllowThreads(__tstate
);
22254 if (PyErr_Occurred()) SWIG_fail
;
22256 Py_INCREF(Py_None
); resultobj
= Py_None
;
22271 static PyObject
*_wrap_Printer_Setup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22272 PyObject
*resultobj
;
22273 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22274 wxWindow
*arg2
= (wxWindow
*) 0 ;
22276 PyObject
* obj0
= 0 ;
22277 PyObject
* obj1
= 0 ;
22278 char *kwnames
[] = {
22279 (char *) "self",(char *) "parent", NULL
22282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
22283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22285 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22289 result
= (bool)(arg1
)->Setup(arg2
);
22291 wxPyEndAllowThreads(__tstate
);
22292 if (PyErr_Occurred()) SWIG_fail
;
22295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22303 static PyObject
*_wrap_Printer_GetAbort(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22304 PyObject
*resultobj
;
22305 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22307 PyObject
* obj0
= 0 ;
22308 char *kwnames
[] = {
22309 (char *) "self", NULL
22312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
22313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22317 result
= (bool)(arg1
)->GetAbort();
22319 wxPyEndAllowThreads(__tstate
);
22320 if (PyErr_Occurred()) SWIG_fail
;
22323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22331 static PyObject
*_wrap_Printer_GetLastError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22332 PyObject
*resultobj
;
22334 char *kwnames
[] = {
22338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
22340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22341 result
= (int)wxPrinter::GetLastError();
22343 wxPyEndAllowThreads(__tstate
);
22344 if (PyErr_Occurred()) SWIG_fail
;
22346 resultobj
= SWIG_From_int((int)result
);
22353 static PyObject
* Printer_swigregister(PyObject
*, PyObject
*args
) {
22355 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22356 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
22358 return Py_BuildValue((char *)"");
22360 static PyObject
*_wrap_new_Printout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22361 PyObject
*resultobj
;
22362 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
22363 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
22364 wxPyPrintout
*result
;
22365 bool temp1
= false ;
22366 PyObject
* obj0
= 0 ;
22367 char *kwnames
[] = {
22368 (char *) "title", NULL
22371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
22374 arg1
= wxString_in_helper(obj0
);
22375 if (arg1
== NULL
) SWIG_fail
;
22380 if (!wxPyCheckForApp()) SWIG_fail
;
22381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22382 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
22384 wxPyEndAllowThreads(__tstate
);
22385 if (PyErr_Occurred()) SWIG_fail
;
22388 resultobj
= wxPyMake_wxObject(result
, 1);
22404 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22405 PyObject
*resultobj
;
22406 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22407 PyObject
*arg2
= (PyObject
*) 0 ;
22408 PyObject
*arg3
= (PyObject
*) 0 ;
22409 PyObject
* obj0
= 0 ;
22410 PyObject
* obj1
= 0 ;
22411 PyObject
* obj2
= 0 ;
22412 char *kwnames
[] = {
22413 (char *) "self",(char *) "self",(char *) "_class", NULL
22416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22423 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22425 wxPyEndAllowThreads(__tstate
);
22426 if (PyErr_Occurred()) SWIG_fail
;
22428 Py_INCREF(Py_None
); resultobj
= Py_None
;
22435 static PyObject
*_wrap_Printout_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22436 PyObject
*resultobj
;
22437 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22439 PyObject
* obj0
= 0 ;
22440 char *kwnames
[] = {
22441 (char *) "self", NULL
22444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
22445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22449 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
22451 wxPyEndAllowThreads(__tstate
);
22452 if (PyErr_Occurred()) SWIG_fail
;
22456 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22458 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22467 static PyObject
*_wrap_Printout_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22468 PyObject
*resultobj
;
22469 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22471 PyObject
* obj0
= 0 ;
22472 char *kwnames
[] = {
22473 (char *) "self", NULL
22476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
22477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22481 result
= (wxDC
*)(arg1
)->GetDC();
22483 wxPyEndAllowThreads(__tstate
);
22484 if (PyErr_Occurred()) SWIG_fail
;
22487 resultobj
= wxPyMake_wxObject(result
, 0);
22495 static PyObject
*_wrap_Printout_SetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22496 PyObject
*resultobj
;
22497 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22498 wxDC
*arg2
= (wxDC
*) 0 ;
22499 PyObject
* obj0
= 0 ;
22500 PyObject
* obj1
= 0 ;
22501 char *kwnames
[] = {
22502 (char *) "self",(char *) "dc", NULL
22505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
22506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22508 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22512 (arg1
)->SetDC(arg2
);
22514 wxPyEndAllowThreads(__tstate
);
22515 if (PyErr_Occurred()) SWIG_fail
;
22517 Py_INCREF(Py_None
); resultobj
= Py_None
;
22524 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22525 PyObject
*resultobj
;
22526 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22529 PyObject
* obj0
= 0 ;
22530 PyObject
* obj1
= 0 ;
22531 PyObject
* obj2
= 0 ;
22532 char *kwnames
[] = {
22533 (char *) "self",(char *) "w",(char *) "h", NULL
22536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22539 arg2
= (int)SWIG_As_int(obj1
);
22540 if (PyErr_Occurred()) SWIG_fail
;
22541 arg3
= (int)SWIG_As_int(obj2
);
22542 if (PyErr_Occurred()) SWIG_fail
;
22544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22545 (arg1
)->SetPageSizePixels(arg2
,arg3
);
22547 wxPyEndAllowThreads(__tstate
);
22548 if (PyErr_Occurred()) SWIG_fail
;
22550 Py_INCREF(Py_None
); resultobj
= Py_None
;
22557 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22558 PyObject
*resultobj
;
22559 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22560 int *arg2
= (int *) 0 ;
22561 int *arg3
= (int *) 0 ;
22566 PyObject
* obj0
= 0 ;
22567 char *kwnames
[] = {
22568 (char *) "self", NULL
22571 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22572 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
22574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22578 (arg1
)->GetPageSizePixels(arg2
,arg3
);
22580 wxPyEndAllowThreads(__tstate
);
22581 if (PyErr_Occurred()) SWIG_fail
;
22583 Py_INCREF(Py_None
); resultobj
= Py_None
;
22584 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22585 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22586 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22587 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22594 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22595 PyObject
*resultobj
;
22596 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22599 PyObject
* obj0
= 0 ;
22600 PyObject
* obj1
= 0 ;
22601 PyObject
* obj2
= 0 ;
22602 char *kwnames
[] = {
22603 (char *) "self",(char *) "w",(char *) "h", NULL
22606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22609 arg2
= (int)SWIG_As_int(obj1
);
22610 if (PyErr_Occurred()) SWIG_fail
;
22611 arg3
= (int)SWIG_As_int(obj2
);
22612 if (PyErr_Occurred()) SWIG_fail
;
22614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22615 (arg1
)->SetPageSizeMM(arg2
,arg3
);
22617 wxPyEndAllowThreads(__tstate
);
22618 if (PyErr_Occurred()) SWIG_fail
;
22620 Py_INCREF(Py_None
); resultobj
= Py_None
;
22627 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22628 PyObject
*resultobj
;
22629 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22630 int *arg2
= (int *) 0 ;
22631 int *arg3
= (int *) 0 ;
22636 PyObject
* obj0
= 0 ;
22637 char *kwnames
[] = {
22638 (char *) "self", NULL
22641 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22642 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
22644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22648 (arg1
)->GetPageSizeMM(arg2
,arg3
);
22650 wxPyEndAllowThreads(__tstate
);
22651 if (PyErr_Occurred()) SWIG_fail
;
22653 Py_INCREF(Py_None
); resultobj
= Py_None
;
22654 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22655 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22656 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22657 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22664 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22665 PyObject
*resultobj
;
22666 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22669 PyObject
* obj0
= 0 ;
22670 PyObject
* obj1
= 0 ;
22671 PyObject
* obj2
= 0 ;
22672 char *kwnames
[] = {
22673 (char *) "self",(char *) "x",(char *) "y", NULL
22676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22679 arg2
= (int)SWIG_As_int(obj1
);
22680 if (PyErr_Occurred()) SWIG_fail
;
22681 arg3
= (int)SWIG_As_int(obj2
);
22682 if (PyErr_Occurred()) SWIG_fail
;
22684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22685 (arg1
)->SetPPIScreen(arg2
,arg3
);
22687 wxPyEndAllowThreads(__tstate
);
22688 if (PyErr_Occurred()) SWIG_fail
;
22690 Py_INCREF(Py_None
); resultobj
= Py_None
;
22697 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22698 PyObject
*resultobj
;
22699 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22700 int *arg2
= (int *) 0 ;
22701 int *arg3
= (int *) 0 ;
22706 PyObject
* obj0
= 0 ;
22707 char *kwnames
[] = {
22708 (char *) "self", NULL
22711 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22712 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
22714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22718 (arg1
)->GetPPIScreen(arg2
,arg3
);
22720 wxPyEndAllowThreads(__tstate
);
22721 if (PyErr_Occurred()) SWIG_fail
;
22723 Py_INCREF(Py_None
); resultobj
= Py_None
;
22724 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22725 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22726 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22727 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22734 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22735 PyObject
*resultobj
;
22736 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22739 PyObject
* obj0
= 0 ;
22740 PyObject
* obj1
= 0 ;
22741 PyObject
* obj2
= 0 ;
22742 char *kwnames
[] = {
22743 (char *) "self",(char *) "x",(char *) "y", NULL
22746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22749 arg2
= (int)SWIG_As_int(obj1
);
22750 if (PyErr_Occurred()) SWIG_fail
;
22751 arg3
= (int)SWIG_As_int(obj2
);
22752 if (PyErr_Occurred()) SWIG_fail
;
22754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22755 (arg1
)->SetPPIPrinter(arg2
,arg3
);
22757 wxPyEndAllowThreads(__tstate
);
22758 if (PyErr_Occurred()) SWIG_fail
;
22760 Py_INCREF(Py_None
); resultobj
= Py_None
;
22767 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22768 PyObject
*resultobj
;
22769 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22770 int *arg2
= (int *) 0 ;
22771 int *arg3
= (int *) 0 ;
22776 PyObject
* obj0
= 0 ;
22777 char *kwnames
[] = {
22778 (char *) "self", NULL
22781 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22782 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
22784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22788 (arg1
)->GetPPIPrinter(arg2
,arg3
);
22790 wxPyEndAllowThreads(__tstate
);
22791 if (PyErr_Occurred()) SWIG_fail
;
22793 Py_INCREF(Py_None
); resultobj
= Py_None
;
22794 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22795 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22796 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22797 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22804 static PyObject
*_wrap_Printout_IsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22805 PyObject
*resultobj
;
22806 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22808 PyObject
* obj0
= 0 ;
22809 char *kwnames
[] = {
22810 (char *) "self", NULL
22813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
22814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22818 result
= (bool)(arg1
)->IsPreview();
22820 wxPyEndAllowThreads(__tstate
);
22821 if (PyErr_Occurred()) SWIG_fail
;
22824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22832 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22833 PyObject
*resultobj
;
22834 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22836 PyObject
* obj0
= 0 ;
22837 PyObject
* obj1
= 0 ;
22838 char *kwnames
[] = {
22839 (char *) "self",(char *) "p", NULL
22842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
22843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22845 arg2
= (bool)SWIG_As_bool(obj1
);
22846 if (PyErr_Occurred()) SWIG_fail
;
22848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22849 (arg1
)->SetIsPreview(arg2
);
22851 wxPyEndAllowThreads(__tstate
);
22852 if (PyErr_Occurred()) SWIG_fail
;
22854 Py_INCREF(Py_None
); resultobj
= Py_None
;
22861 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22862 PyObject
*resultobj
;
22863 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22867 PyObject
* obj0
= 0 ;
22868 PyObject
* obj1
= 0 ;
22869 PyObject
* obj2
= 0 ;
22870 char *kwnames
[] = {
22871 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
22874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22877 arg2
= (int)SWIG_As_int(obj1
);
22878 if (PyErr_Occurred()) SWIG_fail
;
22879 arg3
= (int)SWIG_As_int(obj2
);
22880 if (PyErr_Occurred()) SWIG_fail
;
22882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22883 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
22885 wxPyEndAllowThreads(__tstate
);
22886 if (PyErr_Occurred()) SWIG_fail
;
22889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22897 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22898 PyObject
*resultobj
;
22899 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22900 PyObject
* obj0
= 0 ;
22901 char *kwnames
[] = {
22902 (char *) "self", NULL
22905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",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_OnEndDocument();
22912 wxPyEndAllowThreads(__tstate
);
22913 if (PyErr_Occurred()) SWIG_fail
;
22915 Py_INCREF(Py_None
); resultobj
= Py_None
;
22922 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22923 PyObject
*resultobj
;
22924 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22925 PyObject
* obj0
= 0 ;
22926 char *kwnames
[] = {
22927 (char *) "self", NULL
22930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
22931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22935 (arg1
)->base_OnBeginPrinting();
22937 wxPyEndAllowThreads(__tstate
);
22938 if (PyErr_Occurred()) SWIG_fail
;
22940 Py_INCREF(Py_None
); resultobj
= Py_None
;
22947 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22948 PyObject
*resultobj
;
22949 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22950 PyObject
* obj0
= 0 ;
22951 char *kwnames
[] = {
22952 (char *) "self", NULL
22955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
22956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22960 (arg1
)->base_OnEndPrinting();
22962 wxPyEndAllowThreads(__tstate
);
22963 if (PyErr_Occurred()) SWIG_fail
;
22965 Py_INCREF(Py_None
); resultobj
= Py_None
;
22972 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22973 PyObject
*resultobj
;
22974 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22975 PyObject
* obj0
= 0 ;
22976 char *kwnames
[] = {
22977 (char *) "self", NULL
22980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
22981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22985 (arg1
)->base_OnPreparePrinting();
22987 wxPyEndAllowThreads(__tstate
);
22988 if (PyErr_Occurred()) SWIG_fail
;
22990 Py_INCREF(Py_None
); resultobj
= Py_None
;
22997 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22998 PyObject
*resultobj
;
22999 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23002 PyObject
* obj0
= 0 ;
23003 PyObject
* obj1
= 0 ;
23004 char *kwnames
[] = {
23005 (char *) "self",(char *) "page", NULL
23008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23011 arg2
= (int)SWIG_As_int(obj1
);
23012 if (PyErr_Occurred()) SWIG_fail
;
23014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23015 result
= (bool)(arg1
)->base_HasPage(arg2
);
23017 wxPyEndAllowThreads(__tstate
);
23018 if (PyErr_Occurred()) SWIG_fail
;
23021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23029 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23030 PyObject
*resultobj
;
23031 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23032 int *arg2
= (int *) 0 ;
23033 int *arg3
= (int *) 0 ;
23034 int *arg4
= (int *) 0 ;
23035 int *arg5
= (int *) 0 ;
23044 PyObject
* obj0
= 0 ;
23045 char *kwnames
[] = {
23046 (char *) "self", NULL
23049 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
23050 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23051 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
23052 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
23053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
23054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23058 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
23060 wxPyEndAllowThreads(__tstate
);
23061 if (PyErr_Occurred()) SWIG_fail
;
23063 Py_INCREF(Py_None
); resultobj
= Py_None
;
23064 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
23065 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
23066 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23067 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23068 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
23069 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
23070 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
23071 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
23078 static PyObject
* Printout_swigregister(PyObject
*, PyObject
*args
) {
23080 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23081 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
23083 return Py_BuildValue((char *)"");
23085 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23086 PyObject
*resultobj
;
23087 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23088 wxWindow
*arg2
= (wxWindow
*) 0 ;
23089 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23090 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23091 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23092 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23093 long arg5
= (long) 0 ;
23094 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
23095 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
23096 wxPreviewCanvas
*result
;
23099 bool temp6
= false ;
23100 PyObject
* obj0
= 0 ;
23101 PyObject
* obj1
= 0 ;
23102 PyObject
* obj2
= 0 ;
23103 PyObject
* obj3
= 0 ;
23104 PyObject
* obj4
= 0 ;
23105 PyObject
* obj5
= 0 ;
23106 char *kwnames
[] = {
23107 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
23111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23113 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23118 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23124 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23128 arg5
= (long)SWIG_As_long(obj4
);
23129 if (PyErr_Occurred()) SWIG_fail
;
23133 arg6
= wxString_in_helper(obj5
);
23134 if (arg6
== NULL
) SWIG_fail
;
23139 if (!wxPyCheckForApp()) SWIG_fail
;
23140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23141 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
23143 wxPyEndAllowThreads(__tstate
);
23144 if (PyErr_Occurred()) SWIG_fail
;
23146 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
23161 static PyObject
* PreviewCanvas_swigregister(PyObject
*, PyObject
*args
) {
23163 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23164 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
23166 return Py_BuildValue((char *)"");
23168 static PyObject
*_wrap_new_PreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23169 PyObject
*resultobj
;
23170 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23171 wxFrame
*arg2
= (wxFrame
*) 0 ;
23172 wxString
*arg3
= 0 ;
23173 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23174 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23175 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23176 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23177 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
23178 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
23179 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23180 wxPreviewFrame
*result
;
23181 bool temp3
= false ;
23184 bool temp7
= false ;
23185 PyObject
* obj0
= 0 ;
23186 PyObject
* obj1
= 0 ;
23187 PyObject
* obj2
= 0 ;
23188 PyObject
* obj3
= 0 ;
23189 PyObject
* obj4
= 0 ;
23190 PyObject
* obj5
= 0 ;
23191 PyObject
* obj6
= 0 ;
23192 char *kwnames
[] = {
23193 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23199 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
23200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23202 arg3
= wxString_in_helper(obj2
);
23203 if (arg3
== NULL
) SWIG_fail
;
23209 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23215 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23219 arg6
= (long)SWIG_As_long(obj5
);
23220 if (PyErr_Occurred()) SWIG_fail
;
23224 arg7
= wxString_in_helper(obj6
);
23225 if (arg7
== NULL
) SWIG_fail
;
23230 if (!wxPyCheckForApp()) SWIG_fail
;
23231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23232 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
23234 wxPyEndAllowThreads(__tstate
);
23235 if (PyErr_Occurred()) SWIG_fail
;
23237 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
23260 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23261 PyObject
*resultobj
;
23262 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
23263 PyObject
* obj0
= 0 ;
23264 char *kwnames
[] = {
23265 (char *) "self", NULL
23268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
23269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
23270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23273 (arg1
)->Initialize();
23275 wxPyEndAllowThreads(__tstate
);
23276 if (PyErr_Occurred()) SWIG_fail
;
23278 Py_INCREF(Py_None
); resultobj
= Py_None
;
23285 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23286 PyObject
*resultobj
;
23287 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
23288 PyObject
* obj0
= 0 ;
23289 char *kwnames
[] = {
23290 (char *) "self", NULL
23293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
23294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
23295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23298 (arg1
)->CreateControlBar();
23300 wxPyEndAllowThreads(__tstate
);
23301 if (PyErr_Occurred()) SWIG_fail
;
23303 Py_INCREF(Py_None
); resultobj
= Py_None
;
23310 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23311 PyObject
*resultobj
;
23312 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
23313 PyObject
* obj0
= 0 ;
23314 char *kwnames
[] = {
23315 (char *) "self", NULL
23318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
23319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
23320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23323 (arg1
)->CreateCanvas();
23325 wxPyEndAllowThreads(__tstate
);
23326 if (PyErr_Occurred()) SWIG_fail
;
23328 Py_INCREF(Py_None
); resultobj
= Py_None
;
23335 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23336 PyObject
*resultobj
;
23337 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
23338 wxPreviewControlBar
*result
;
23339 PyObject
* obj0
= 0 ;
23340 char *kwnames
[] = {
23341 (char *) "self", NULL
23344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
23345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
23346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23349 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
23351 wxPyEndAllowThreads(__tstate
);
23352 if (PyErr_Occurred()) SWIG_fail
;
23354 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
23361 static PyObject
* PreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
23363 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23364 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
23366 return Py_BuildValue((char *)"");
23368 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23369 PyObject
*resultobj
;
23370 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23372 wxWindow
*arg3
= (wxWindow
*) 0 ;
23373 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23374 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23375 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23376 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23377 long arg6
= (long) wxTAB_TRAVERSAL
;
23378 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
23379 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23380 wxPreviewControlBar
*result
;
23383 bool temp7
= false ;
23384 PyObject
* obj0
= 0 ;
23385 PyObject
* obj1
= 0 ;
23386 PyObject
* obj2
= 0 ;
23387 PyObject
* obj3
= 0 ;
23388 PyObject
* obj4
= 0 ;
23389 PyObject
* obj5
= 0 ;
23390 PyObject
* obj6
= 0 ;
23391 char *kwnames
[] = {
23392 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23398 arg2
= (long)SWIG_As_long(obj1
);
23399 if (PyErr_Occurred()) SWIG_fail
;
23400 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
23401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23405 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23411 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23415 arg6
= (long)SWIG_As_long(obj5
);
23416 if (PyErr_Occurred()) SWIG_fail
;
23420 arg7
= wxString_in_helper(obj6
);
23421 if (arg7
== NULL
) SWIG_fail
;
23426 if (!wxPyCheckForApp()) SWIG_fail
;
23427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23428 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
23430 wxPyEndAllowThreads(__tstate
);
23431 if (PyErr_Occurred()) SWIG_fail
;
23433 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
23448 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23449 PyObject
*resultobj
;
23450 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23452 PyObject
* obj0
= 0 ;
23453 char *kwnames
[] = {
23454 (char *) "self", NULL
23457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
23458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23462 result
= (int)(arg1
)->GetZoomControl();
23464 wxPyEndAllowThreads(__tstate
);
23465 if (PyErr_Occurred()) SWIG_fail
;
23467 resultobj
= SWIG_From_int((int)result
);
23474 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23475 PyObject
*resultobj
;
23476 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23478 PyObject
* obj0
= 0 ;
23479 PyObject
* obj1
= 0 ;
23480 char *kwnames
[] = {
23481 (char *) "self",(char *) "zoom", NULL
23484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
23485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23487 arg2
= (int)SWIG_As_int(obj1
);
23488 if (PyErr_Occurred()) SWIG_fail
;
23490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23491 (arg1
)->SetZoomControl(arg2
);
23493 wxPyEndAllowThreads(__tstate
);
23494 if (PyErr_Occurred()) SWIG_fail
;
23496 Py_INCREF(Py_None
); resultobj
= Py_None
;
23503 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23504 PyObject
*resultobj
;
23505 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23506 wxPrintPreview
*result
;
23507 PyObject
* obj0
= 0 ;
23508 char *kwnames
[] = {
23509 (char *) "self", NULL
23512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
23513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23517 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
23519 wxPyEndAllowThreads(__tstate
);
23520 if (PyErr_Occurred()) SWIG_fail
;
23522 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
23529 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23530 PyObject
*resultobj
;
23531 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23532 PyObject
* obj0
= 0 ;
23533 char *kwnames
[] = {
23534 (char *) "self", NULL
23537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
23538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23544 wxPyEndAllowThreads(__tstate
);
23545 if (PyErr_Occurred()) SWIG_fail
;
23547 Py_INCREF(Py_None
); resultobj
= Py_None
;
23554 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23555 PyObject
*resultobj
;
23556 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23557 PyObject
* obj0
= 0 ;
23558 char *kwnames
[] = {
23559 (char *) "self", NULL
23562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
23563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23567 (arg1
)->OnPrevious();
23569 wxPyEndAllowThreads(__tstate
);
23570 if (PyErr_Occurred()) SWIG_fail
;
23572 Py_INCREF(Py_None
); resultobj
= Py_None
;
23579 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23580 PyObject
*resultobj
;
23581 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23582 PyObject
* obj0
= 0 ;
23583 char *kwnames
[] = {
23584 (char *) "self", NULL
23587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
23588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23594 wxPyEndAllowThreads(__tstate
);
23595 if (PyErr_Occurred()) SWIG_fail
;
23597 Py_INCREF(Py_None
); resultobj
= Py_None
;
23604 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23605 PyObject
*resultobj
;
23606 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23607 PyObject
* obj0
= 0 ;
23608 char *kwnames
[] = {
23609 (char *) "self", NULL
23612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
23613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23619 wxPyEndAllowThreads(__tstate
);
23620 if (PyErr_Occurred()) SWIG_fail
;
23622 Py_INCREF(Py_None
); resultobj
= Py_None
;
23629 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23630 PyObject
*resultobj
;
23631 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23632 PyObject
* obj0
= 0 ;
23633 char *kwnames
[] = {
23634 (char *) "self", NULL
23637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
23638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23644 wxPyEndAllowThreads(__tstate
);
23645 if (PyErr_Occurred()) SWIG_fail
;
23647 Py_INCREF(Py_None
); resultobj
= Py_None
;
23654 static PyObject
* PreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
23656 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23657 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
23659 return Py_BuildValue((char *)"");
23661 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
23662 PyObject
*resultobj
;
23663 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23664 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23665 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
23666 wxPrintPreview
*result
;
23667 PyObject
* obj0
= 0 ;
23668 PyObject
* obj1
= 0 ;
23669 PyObject
* obj2
= 0 ;
23671 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23674 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23677 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
23678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23681 if (!wxPyCheckForApp()) SWIG_fail
;
23682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23683 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
23685 wxPyEndAllowThreads(__tstate
);
23686 if (PyErr_Occurred()) SWIG_fail
;
23688 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
23695 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
23696 PyObject
*resultobj
;
23697 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23698 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23699 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
23700 wxPrintPreview
*result
;
23701 PyObject
* obj0
= 0 ;
23702 PyObject
* obj1
= 0 ;
23703 PyObject
* obj2
= 0 ;
23705 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23708 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23710 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
23711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23713 if (!wxPyCheckForApp()) SWIG_fail
;
23714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23715 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
23717 wxPyEndAllowThreads(__tstate
);
23718 if (PyErr_Occurred()) SWIG_fail
;
23720 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
23727 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
23732 argc
= PyObject_Length(args
);
23733 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
23734 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23736 if ((argc
>= 2) && (argc
<= 3)) {
23740 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23750 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23759 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
23763 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
23771 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
23780 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23790 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23800 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
23808 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
23814 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintPreview'");
23819 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23820 PyObject
*resultobj
;
23821 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23824 PyObject
* obj0
= 0 ;
23825 PyObject
* obj1
= 0 ;
23826 char *kwnames
[] = {
23827 (char *) "self",(char *) "pageNum", NULL
23830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23833 arg2
= (int)SWIG_As_int(obj1
);
23834 if (PyErr_Occurred()) SWIG_fail
;
23836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23837 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
23839 wxPyEndAllowThreads(__tstate
);
23840 if (PyErr_Occurred()) SWIG_fail
;
23843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23851 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23852 PyObject
*resultobj
;
23853 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23855 PyObject
* obj0
= 0 ;
23856 char *kwnames
[] = {
23857 (char *) "self", NULL
23860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
23861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23865 result
= (int)(arg1
)->GetCurrentPage();
23867 wxPyEndAllowThreads(__tstate
);
23868 if (PyErr_Occurred()) SWIG_fail
;
23870 resultobj
= SWIG_From_int((int)result
);
23877 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23878 PyObject
*resultobj
;
23879 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23880 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23881 PyObject
* obj0
= 0 ;
23882 PyObject
* obj1
= 0 ;
23883 char *kwnames
[] = {
23884 (char *) "self",(char *) "printout", NULL
23887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
23888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23890 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23894 (arg1
)->SetPrintout(arg2
);
23896 wxPyEndAllowThreads(__tstate
);
23897 if (PyErr_Occurred()) SWIG_fail
;
23899 Py_INCREF(Py_None
); resultobj
= Py_None
;
23906 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23907 PyObject
*resultobj
;
23908 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23909 wxPyPrintout
*result
;
23910 PyObject
* obj0
= 0 ;
23911 char *kwnames
[] = {
23912 (char *) "self", NULL
23915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
23916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23920 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
23922 wxPyEndAllowThreads(__tstate
);
23923 if (PyErr_Occurred()) SWIG_fail
;
23926 resultobj
= wxPyMake_wxObject(result
, 0);
23934 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23935 PyObject
*resultobj
;
23936 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23937 wxPyPrintout
*result
;
23938 PyObject
* obj0
= 0 ;
23939 char *kwnames
[] = {
23940 (char *) "self", NULL
23943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
23944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23948 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
23950 wxPyEndAllowThreads(__tstate
);
23951 if (PyErr_Occurred()) SWIG_fail
;
23954 resultobj
= wxPyMake_wxObject(result
, 0);
23962 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23963 PyObject
*resultobj
;
23964 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23965 wxFrame
*arg2
= (wxFrame
*) 0 ;
23966 PyObject
* obj0
= 0 ;
23967 PyObject
* obj1
= 0 ;
23968 char *kwnames
[] = {
23969 (char *) "self",(char *) "frame", NULL
23972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
23973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23975 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
23976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23979 (arg1
)->SetFrame(arg2
);
23981 wxPyEndAllowThreads(__tstate
);
23982 if (PyErr_Occurred()) SWIG_fail
;
23984 Py_INCREF(Py_None
); resultobj
= Py_None
;
23991 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23992 PyObject
*resultobj
;
23993 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23994 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23995 PyObject
* obj0
= 0 ;
23996 PyObject
* obj1
= 0 ;
23997 char *kwnames
[] = {
23998 (char *) "self",(char *) "canvas", NULL
24001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
24002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24004 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24008 (arg1
)->SetCanvas(arg2
);
24010 wxPyEndAllowThreads(__tstate
);
24011 if (PyErr_Occurred()) SWIG_fail
;
24013 Py_INCREF(Py_None
); resultobj
= Py_None
;
24020 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24021 PyObject
*resultobj
;
24022 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24024 PyObject
* obj0
= 0 ;
24025 char *kwnames
[] = {
24026 (char *) "self", NULL
24029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
24030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24034 result
= (wxFrame
*)(arg1
)->GetFrame();
24036 wxPyEndAllowThreads(__tstate
);
24037 if (PyErr_Occurred()) SWIG_fail
;
24040 resultobj
= wxPyMake_wxObject(result
, 0);
24048 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24049 PyObject
*resultobj
;
24050 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24051 wxPreviewCanvas
*result
;
24052 PyObject
* obj0
= 0 ;
24053 char *kwnames
[] = {
24054 (char *) "self", NULL
24057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
24058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24062 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
24064 wxPyEndAllowThreads(__tstate
);
24065 if (PyErr_Occurred()) SWIG_fail
;
24067 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
24074 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24075 PyObject
*resultobj
;
24076 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24077 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24080 PyObject
* obj0
= 0 ;
24081 PyObject
* obj1
= 0 ;
24082 PyObject
* obj2
= 0 ;
24083 char *kwnames
[] = {
24084 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24090 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24092 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24093 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24095 if (arg3
== NULL
) {
24096 PyErr_SetString(PyExc_TypeError
,"null reference");
24100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24101 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
24103 wxPyEndAllowThreads(__tstate
);
24104 if (PyErr_Occurred()) SWIG_fail
;
24107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24115 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24116 PyObject
*resultobj
;
24117 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24118 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24121 PyObject
* obj0
= 0 ;
24122 PyObject
* obj1
= 0 ;
24123 PyObject
* obj2
= 0 ;
24124 char *kwnames
[] = {
24125 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24131 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24133 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24134 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24136 if (arg3
== NULL
) {
24137 PyErr_SetString(PyExc_TypeError
,"null reference");
24141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24142 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
24144 wxPyEndAllowThreads(__tstate
);
24145 if (PyErr_Occurred()) SWIG_fail
;
24148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24156 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24157 PyObject
*resultobj
;
24158 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24161 PyObject
* obj0
= 0 ;
24162 PyObject
* obj1
= 0 ;
24163 char *kwnames
[] = {
24164 (char *) "self",(char *) "pageNum", NULL
24167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24170 arg2
= (int)SWIG_As_int(obj1
);
24171 if (PyErr_Occurred()) SWIG_fail
;
24173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24174 result
= (bool)(arg1
)->RenderPage(arg2
);
24176 wxPyEndAllowThreads(__tstate
);
24177 if (PyErr_Occurred()) SWIG_fail
;
24180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24188 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24189 PyObject
*resultobj
;
24190 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24191 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24192 PyObject
* obj0
= 0 ;
24193 PyObject
* obj1
= 0 ;
24194 char *kwnames
[] = {
24195 (char *) "self",(char *) "canvas", NULL
24198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
24199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24201 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24205 (arg1
)->AdjustScrollbars(arg2
);
24207 wxPyEndAllowThreads(__tstate
);
24208 if (PyErr_Occurred()) SWIG_fail
;
24210 Py_INCREF(Py_None
); resultobj
= Py_None
;
24217 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24218 PyObject
*resultobj
;
24219 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24220 wxPrintDialogData
*result
;
24221 PyObject
* obj0
= 0 ;
24222 char *kwnames
[] = {
24223 (char *) "self", NULL
24226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
24227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24232 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
24233 result
= (wxPrintDialogData
*) &_result_ref
;
24236 wxPyEndAllowThreads(__tstate
);
24237 if (PyErr_Occurred()) SWIG_fail
;
24239 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
24246 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24247 PyObject
*resultobj
;
24248 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24250 PyObject
* obj0
= 0 ;
24251 PyObject
* obj1
= 0 ;
24252 char *kwnames
[] = {
24253 (char *) "self",(char *) "percent", NULL
24256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
24257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24259 arg2
= (int)SWIG_As_int(obj1
);
24260 if (PyErr_Occurred()) SWIG_fail
;
24262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24263 (arg1
)->SetZoom(arg2
);
24265 wxPyEndAllowThreads(__tstate
);
24266 if (PyErr_Occurred()) SWIG_fail
;
24268 Py_INCREF(Py_None
); resultobj
= Py_None
;
24275 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24276 PyObject
*resultobj
;
24277 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24279 PyObject
* obj0
= 0 ;
24280 char *kwnames
[] = {
24281 (char *) "self", NULL
24284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
24285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24289 result
= (int)(arg1
)->GetZoom();
24291 wxPyEndAllowThreads(__tstate
);
24292 if (PyErr_Occurred()) SWIG_fail
;
24294 resultobj
= SWIG_From_int((int)result
);
24301 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24302 PyObject
*resultobj
;
24303 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24305 PyObject
* obj0
= 0 ;
24306 char *kwnames
[] = {
24307 (char *) "self", NULL
24310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
24311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24315 result
= (int)(arg1
)->GetMaxPage();
24317 wxPyEndAllowThreads(__tstate
);
24318 if (PyErr_Occurred()) SWIG_fail
;
24320 resultobj
= SWIG_From_int((int)result
);
24327 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24328 PyObject
*resultobj
;
24329 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24331 PyObject
* obj0
= 0 ;
24332 char *kwnames
[] = {
24333 (char *) "self", NULL
24336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
24337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24341 result
= (int)(arg1
)->GetMinPage();
24343 wxPyEndAllowThreads(__tstate
);
24344 if (PyErr_Occurred()) SWIG_fail
;
24346 resultobj
= SWIG_From_int((int)result
);
24353 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24354 PyObject
*resultobj
;
24355 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24357 PyObject
* obj0
= 0 ;
24358 char *kwnames
[] = {
24359 (char *) "self", NULL
24362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
24363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24367 result
= (bool)(arg1
)->Ok();
24369 wxPyEndAllowThreads(__tstate
);
24370 if (PyErr_Occurred()) SWIG_fail
;
24373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24381 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24382 PyObject
*resultobj
;
24383 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24385 PyObject
* obj0
= 0 ;
24386 PyObject
* obj1
= 0 ;
24387 char *kwnames
[] = {
24388 (char *) "self",(char *) "ok", NULL
24391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
24392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24394 arg2
= (bool)SWIG_As_bool(obj1
);
24395 if (PyErr_Occurred()) SWIG_fail
;
24397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24398 (arg1
)->SetOk(arg2
);
24400 wxPyEndAllowThreads(__tstate
);
24401 if (PyErr_Occurred()) SWIG_fail
;
24403 Py_INCREF(Py_None
); resultobj
= Py_None
;
24410 static PyObject
*_wrap_PrintPreview_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24411 PyObject
*resultobj
;
24412 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24415 PyObject
* obj0
= 0 ;
24416 PyObject
* obj1
= 0 ;
24417 char *kwnames
[] = {
24418 (char *) "self",(char *) "interactive", NULL
24421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
24422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24424 arg2
= (bool)SWIG_As_bool(obj1
);
24425 if (PyErr_Occurred()) SWIG_fail
;
24427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24428 result
= (bool)(arg1
)->Print(arg2
);
24430 wxPyEndAllowThreads(__tstate
);
24431 if (PyErr_Occurred()) SWIG_fail
;
24434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24442 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24443 PyObject
*resultobj
;
24444 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24445 PyObject
* obj0
= 0 ;
24446 char *kwnames
[] = {
24447 (char *) "self", NULL
24450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
24451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24455 (arg1
)->DetermineScaling();
24457 wxPyEndAllowThreads(__tstate
);
24458 if (PyErr_Occurred()) SWIG_fail
;
24460 Py_INCREF(Py_None
); resultobj
= Py_None
;
24467 static PyObject
* PrintPreview_swigregister(PyObject
*, PyObject
*args
) {
24469 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24470 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
24472 return Py_BuildValue((char *)"");
24474 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
24475 PyObject
*resultobj
;
24476 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24477 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
24478 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
24479 wxPyPrintPreview
*result
;
24480 PyObject
* obj0
= 0 ;
24481 PyObject
* obj1
= 0 ;
24482 PyObject
* obj2
= 0 ;
24484 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
24485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
24486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24487 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
24488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24490 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
24491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24494 if (!wxPyCheckForApp()) SWIG_fail
;
24495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24496 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
24498 wxPyEndAllowThreads(__tstate
);
24499 if (PyErr_Occurred()) SWIG_fail
;
24501 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
24508 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
24509 PyObject
*resultobj
;
24510 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24511 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
24512 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
24513 wxPyPrintPreview
*result
;
24514 PyObject
* obj0
= 0 ;
24515 PyObject
* obj1
= 0 ;
24516 PyObject
* obj2
= 0 ;
24518 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
24519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
24520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24521 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
24522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24523 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
24524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24526 if (!wxPyCheckForApp()) SWIG_fail
;
24527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24528 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
24530 wxPyEndAllowThreads(__tstate
);
24531 if (PyErr_Occurred()) SWIG_fail
;
24533 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
24540 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
24545 argc
= PyObject_Length(args
);
24546 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
24547 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24549 if ((argc
>= 2) && (argc
<= 3)) {
24553 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24563 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24572 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
24576 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
24584 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
24593 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24603 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24613 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
24621 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
24627 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PyPrintPreview'");
24632 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24633 PyObject
*resultobj
;
24634 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24635 PyObject
*arg2
= (PyObject
*) 0 ;
24636 PyObject
*arg3
= (PyObject
*) 0 ;
24637 PyObject
* obj0
= 0 ;
24638 PyObject
* obj1
= 0 ;
24639 PyObject
* obj2
= 0 ;
24640 char *kwnames
[] = {
24641 (char *) "self",(char *) "self",(char *) "_class", NULL
24644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24651 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24653 wxPyEndAllowThreads(__tstate
);
24654 if (PyErr_Occurred()) SWIG_fail
;
24656 Py_INCREF(Py_None
); resultobj
= Py_None
;
24663 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24664 PyObject
*resultobj
;
24665 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24668 PyObject
* obj0
= 0 ;
24669 PyObject
* obj1
= 0 ;
24670 char *kwnames
[] = {
24671 (char *) "self",(char *) "pageNum", NULL
24674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24677 arg2
= (int)SWIG_As_int(obj1
);
24678 if (PyErr_Occurred()) SWIG_fail
;
24680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24681 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
24683 wxPyEndAllowThreads(__tstate
);
24684 if (PyErr_Occurred()) SWIG_fail
;
24687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24695 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24696 PyObject
*resultobj
;
24697 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24698 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24701 PyObject
* obj0
= 0 ;
24702 PyObject
* obj1
= 0 ;
24703 PyObject
* obj2
= 0 ;
24704 char *kwnames
[] = {
24705 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24711 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24713 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24714 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24716 if (arg3
== NULL
) {
24717 PyErr_SetString(PyExc_TypeError
,"null reference");
24721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24722 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
24724 wxPyEndAllowThreads(__tstate
);
24725 if (PyErr_Occurred()) SWIG_fail
;
24728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24736 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24737 PyObject
*resultobj
;
24738 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24739 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24742 PyObject
* obj0
= 0 ;
24743 PyObject
* obj1
= 0 ;
24744 PyObject
* obj2
= 0 ;
24745 char *kwnames
[] = {
24746 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24752 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24754 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24755 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24757 if (arg3
== NULL
) {
24758 PyErr_SetString(PyExc_TypeError
,"null reference");
24762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24763 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
24765 wxPyEndAllowThreads(__tstate
);
24766 if (PyErr_Occurred()) SWIG_fail
;
24769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24777 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24778 PyObject
*resultobj
;
24779 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24782 PyObject
* obj0
= 0 ;
24783 PyObject
* obj1
= 0 ;
24784 char *kwnames
[] = {
24785 (char *) "self",(char *) "pageNum", NULL
24788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24791 arg2
= (int)SWIG_As_int(obj1
);
24792 if (PyErr_Occurred()) SWIG_fail
;
24794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24795 result
= (bool)(arg1
)->base_RenderPage(arg2
);
24797 wxPyEndAllowThreads(__tstate
);
24798 if (PyErr_Occurred()) SWIG_fail
;
24801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24809 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24810 PyObject
*resultobj
;
24811 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24813 PyObject
* obj0
= 0 ;
24814 PyObject
* obj1
= 0 ;
24815 char *kwnames
[] = {
24816 (char *) "self",(char *) "percent", NULL
24819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
24820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24822 arg2
= (int)SWIG_As_int(obj1
);
24823 if (PyErr_Occurred()) SWIG_fail
;
24825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24826 (arg1
)->base_SetZoom(arg2
);
24828 wxPyEndAllowThreads(__tstate
);
24829 if (PyErr_Occurred()) SWIG_fail
;
24831 Py_INCREF(Py_None
); resultobj
= Py_None
;
24838 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24839 PyObject
*resultobj
;
24840 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24843 PyObject
* obj0
= 0 ;
24844 PyObject
* obj1
= 0 ;
24845 char *kwnames
[] = {
24846 (char *) "self",(char *) "interactive", NULL
24849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
24850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24852 arg2
= (bool)SWIG_As_bool(obj1
);
24853 if (PyErr_Occurred()) SWIG_fail
;
24855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24856 result
= (bool)(arg1
)->base_Print(arg2
);
24858 wxPyEndAllowThreads(__tstate
);
24859 if (PyErr_Occurred()) SWIG_fail
;
24862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24870 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24871 PyObject
*resultobj
;
24872 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24873 PyObject
* obj0
= 0 ;
24874 char *kwnames
[] = {
24875 (char *) "self", NULL
24878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
24879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24883 (arg1
)->base_DetermineScaling();
24885 wxPyEndAllowThreads(__tstate
);
24886 if (PyErr_Occurred()) SWIG_fail
;
24888 Py_INCREF(Py_None
); resultobj
= Py_None
;
24895 static PyObject
* PyPrintPreview_swigregister(PyObject
*, PyObject
*args
) {
24897 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24898 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
24900 return Py_BuildValue((char *)"");
24902 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24903 PyObject
*resultobj
;
24904 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24905 wxFrame
*arg2
= (wxFrame
*) 0 ;
24906 wxString
*arg3
= 0 ;
24907 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24908 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24909 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24910 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24911 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
24912 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
24913 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24914 wxPyPreviewFrame
*result
;
24915 bool temp3
= false ;
24918 bool temp7
= false ;
24919 PyObject
* obj0
= 0 ;
24920 PyObject
* obj1
= 0 ;
24921 PyObject
* obj2
= 0 ;
24922 PyObject
* obj3
= 0 ;
24923 PyObject
* obj4
= 0 ;
24924 PyObject
* obj5
= 0 ;
24925 PyObject
* obj6
= 0 ;
24926 char *kwnames
[] = {
24927 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24933 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
24934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24936 arg3
= wxString_in_helper(obj2
);
24937 if (arg3
== NULL
) SWIG_fail
;
24943 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24949 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24953 arg6
= (long)SWIG_As_long(obj5
);
24954 if (PyErr_Occurred()) SWIG_fail
;
24958 arg7
= wxString_in_helper(obj6
);
24959 if (arg7
== NULL
) SWIG_fail
;
24964 if (!wxPyCheckForApp()) SWIG_fail
;
24965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24966 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24968 wxPyEndAllowThreads(__tstate
);
24969 if (PyErr_Occurred()) SWIG_fail
;
24971 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
24994 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24995 PyObject
*resultobj
;
24996 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24997 PyObject
*arg2
= (PyObject
*) 0 ;
24998 PyObject
*arg3
= (PyObject
*) 0 ;
24999 PyObject
* obj0
= 0 ;
25000 PyObject
* obj1
= 0 ;
25001 PyObject
* obj2
= 0 ;
25002 char *kwnames
[] = {
25003 (char *) "self",(char *) "self",(char *) "_class", NULL
25006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
25008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25013 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25015 wxPyEndAllowThreads(__tstate
);
25016 if (PyErr_Occurred()) SWIG_fail
;
25018 Py_INCREF(Py_None
); resultobj
= Py_None
;
25025 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25026 PyObject
*resultobj
;
25027 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
25028 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
25029 PyObject
* obj0
= 0 ;
25030 PyObject
* obj1
= 0 ;
25031 char *kwnames
[] = {
25032 (char *) "self",(char *) "canvas", NULL
25035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
25036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
25037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25038 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
25039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25042 (arg1
)->SetPreviewCanvas(arg2
);
25044 wxPyEndAllowThreads(__tstate
);
25045 if (PyErr_Occurred()) SWIG_fail
;
25047 Py_INCREF(Py_None
); resultobj
= Py_None
;
25054 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25055 PyObject
*resultobj
;
25056 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
25057 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
25058 PyObject
* obj0
= 0 ;
25059 PyObject
* obj1
= 0 ;
25060 char *kwnames
[] = {
25061 (char *) "self",(char *) "bar", NULL
25064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
25065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
25066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25067 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewControlBar
,
25068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25071 (arg1
)->SetControlBar(arg2
);
25073 wxPyEndAllowThreads(__tstate
);
25074 if (PyErr_Occurred()) SWIG_fail
;
25076 Py_INCREF(Py_None
); resultobj
= Py_None
;
25083 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25084 PyObject
*resultobj
;
25085 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
25086 PyObject
* obj0
= 0 ;
25087 char *kwnames
[] = {
25088 (char *) "self", NULL
25091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
25092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
25093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25096 (arg1
)->base_Initialize();
25098 wxPyEndAllowThreads(__tstate
);
25099 if (PyErr_Occurred()) SWIG_fail
;
25101 Py_INCREF(Py_None
); resultobj
= Py_None
;
25108 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25109 PyObject
*resultobj
;
25110 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
25111 PyObject
* obj0
= 0 ;
25112 char *kwnames
[] = {
25113 (char *) "self", NULL
25116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
25117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
25118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25121 (arg1
)->base_CreateCanvas();
25123 wxPyEndAllowThreads(__tstate
);
25124 if (PyErr_Occurred()) SWIG_fail
;
25126 Py_INCREF(Py_None
); resultobj
= Py_None
;
25133 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25134 PyObject
*resultobj
;
25135 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
25136 PyObject
* obj0
= 0 ;
25137 char *kwnames
[] = {
25138 (char *) "self", NULL
25141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
25142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
25143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25146 (arg1
)->base_CreateControlBar();
25148 wxPyEndAllowThreads(__tstate
);
25149 if (PyErr_Occurred()) SWIG_fail
;
25151 Py_INCREF(Py_None
); resultobj
= Py_None
;
25158 static PyObject
* PyPreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
25160 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25161 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
25163 return Py_BuildValue((char *)"");
25165 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25166 PyObject
*resultobj
;
25167 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25169 wxWindow
*arg3
= (wxWindow
*) 0 ;
25170 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25171 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25172 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25173 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25174 long arg6
= (long) 0 ;
25175 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
25176 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25177 wxPyPreviewControlBar
*result
;
25180 bool temp7
= false ;
25181 PyObject
* obj0
= 0 ;
25182 PyObject
* obj1
= 0 ;
25183 PyObject
* obj2
= 0 ;
25184 PyObject
* obj3
= 0 ;
25185 PyObject
* obj4
= 0 ;
25186 PyObject
* obj5
= 0 ;
25187 PyObject
* obj6
= 0 ;
25188 char *kwnames
[] = {
25189 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
25194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25195 arg2
= (long)SWIG_As_long(obj1
);
25196 if (PyErr_Occurred()) SWIG_fail
;
25197 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
25198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25202 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25208 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25212 arg6
= (long)SWIG_As_long(obj5
);
25213 if (PyErr_Occurred()) SWIG_fail
;
25217 arg7
= wxString_in_helper(obj6
);
25218 if (arg7
== NULL
) SWIG_fail
;
25223 if (!wxPyCheckForApp()) SWIG_fail
;
25224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25225 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25227 wxPyEndAllowThreads(__tstate
);
25228 if (PyErr_Occurred()) SWIG_fail
;
25230 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
25245 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25246 PyObject
*resultobj
;
25247 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
25248 PyObject
*arg2
= (PyObject
*) 0 ;
25249 PyObject
*arg3
= (PyObject
*) 0 ;
25250 PyObject
* obj0
= 0 ;
25251 PyObject
* obj1
= 0 ;
25252 PyObject
* obj2
= 0 ;
25253 char *kwnames
[] = {
25254 (char *) "self",(char *) "self",(char *) "_class", NULL
25257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
25259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25264 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25266 wxPyEndAllowThreads(__tstate
);
25267 if (PyErr_Occurred()) SWIG_fail
;
25269 Py_INCREF(Py_None
); resultobj
= Py_None
;
25276 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25277 PyObject
*resultobj
;
25278 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
25279 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
25280 PyObject
* obj0
= 0 ;
25281 PyObject
* obj1
= 0 ;
25282 char *kwnames
[] = {
25283 (char *) "self",(char *) "preview", NULL
25286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
25287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
25288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25289 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintPreview
,
25290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25293 (arg1
)->SetPrintPreview(arg2
);
25295 wxPyEndAllowThreads(__tstate
);
25296 if (PyErr_Occurred()) SWIG_fail
;
25298 Py_INCREF(Py_None
); resultobj
= Py_None
;
25305 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25306 PyObject
*resultobj
;
25307 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
25308 PyObject
* obj0
= 0 ;
25309 char *kwnames
[] = {
25310 (char *) "self", NULL
25313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
25314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
25315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25318 (arg1
)->base_CreateButtons();
25320 wxPyEndAllowThreads(__tstate
);
25321 if (PyErr_Occurred()) SWIG_fail
;
25323 Py_INCREF(Py_None
); resultobj
= Py_None
;
25330 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25331 PyObject
*resultobj
;
25332 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
25334 PyObject
* obj0
= 0 ;
25335 PyObject
* obj1
= 0 ;
25336 char *kwnames
[] = {
25337 (char *) "self",(char *) "zoom", NULL
25340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
25341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
25342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25343 arg2
= (int)SWIG_As_int(obj1
);
25344 if (PyErr_Occurred()) SWIG_fail
;
25346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25347 (arg1
)->base_SetZoomControl(arg2
);
25349 wxPyEndAllowThreads(__tstate
);
25350 if (PyErr_Occurred()) SWIG_fail
;
25352 Py_INCREF(Py_None
); resultobj
= Py_None
;
25359 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
25361 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25362 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
25364 return Py_BuildValue((char *)"");
25366 static PyMethodDef SwigMethods
[] = {
25367 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25368 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25369 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25370 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25371 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25372 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
25373 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25374 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25375 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25376 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25377 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25378 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25379 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25380 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25381 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25382 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25383 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25384 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25385 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25386 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25387 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
25388 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
25389 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25390 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25391 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25392 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25393 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25394 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_GetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25395 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25396 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25397 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
25398 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25399 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25400 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25401 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25402 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25403 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25404 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25405 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25406 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25407 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25408 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25409 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25410 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25411 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25412 { (char *)"TopLevelWindow_IsActive", (PyCFunction
) _wrap_TopLevelWindow_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25413 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
25414 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25415 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25416 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25417 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25418 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25419 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25420 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25421 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25422 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25423 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25424 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25425 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25426 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25427 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25428 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25429 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25430 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25431 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25432 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25433 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25434 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25435 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25436 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25437 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
25438 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25439 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25440 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25441 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25442 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25443 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25444 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25445 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25446 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25447 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25448 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25449 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
25450 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25451 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25452 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25453 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
25454 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25455 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25456 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25457 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
25458 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25459 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25460 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25461 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25462 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
25463 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25464 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25465 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25466 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25467 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25468 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25469 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25470 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25471 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25472 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25473 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25474 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25475 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25476 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25477 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25478 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25479 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
25480 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25481 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25482 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25483 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25484 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25485 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25486 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25487 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25488 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25489 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25490 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25491 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25492 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25493 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25494 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25495 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25496 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25497 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25498 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25499 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25500 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25501 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25502 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25503 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25504 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25505 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25506 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25507 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
25508 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25509 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25510 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25511 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25512 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25513 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25514 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
25515 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25516 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25517 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25518 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25519 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25520 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25521 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25522 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25523 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25524 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25525 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25526 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25527 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25528 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25529 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25530 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25531 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25532 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25533 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25534 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25535 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25536 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25537 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
25538 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25539 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25540 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25541 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25542 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25543 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25544 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25545 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
25546 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25547 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25548 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25549 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25550 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25551 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25552 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25553 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25554 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25555 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25556 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25557 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
25558 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25559 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25560 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25561 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25562 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25563 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
25564 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25565 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25566 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25567 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25568 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25569 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25570 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25571 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25572 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
25573 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25574 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25575 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25576 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25577 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25578 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
25579 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25580 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25581 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25582 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25583 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
25584 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25585 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25586 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25587 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25588 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
) _wrap_PopupTransientWindow_Dismiss
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25589 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
25590 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25591 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25592 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25593 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
25594 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25595 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25596 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25597 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25598 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25599 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25600 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25601 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25602 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25603 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25604 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25605 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25606 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25607 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25608 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25609 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25610 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25611 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
25612 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25613 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25614 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25615 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25616 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25617 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25618 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25619 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25620 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25621 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25622 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25623 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25624 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25625 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25626 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25627 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25628 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25629 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25630 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25631 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25632 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25633 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25634 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25635 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25636 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25637 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
25638 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25639 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25640 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25641 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25642 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25643 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25644 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
) _wrap_HtmlListBox_GetFileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25645 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
25646 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25647 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25648 { (char *)"TaskBarIcon_Destroy", (PyCFunction
) _wrap_TaskBarIcon_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25649 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25650 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25651 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25652 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25653 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25654 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
25655 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25656 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
25657 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25658 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25659 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25660 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25661 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25662 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25663 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25664 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25665 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
25666 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25667 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25668 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
25669 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25670 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25671 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25672 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25673 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25674 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25675 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
25676 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25677 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25678 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25679 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25680 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25681 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25682 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25683 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25684 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25685 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25686 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25687 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25688 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25689 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25690 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25691 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25692 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25693 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
25694 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25695 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25696 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25697 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
25698 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25699 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25700 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25701 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25702 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
25703 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25704 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25705 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25706 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
25707 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25708 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25709 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25710 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25711 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25712 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25713 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25714 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25715 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25716 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25717 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25718 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25719 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25720 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25721 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25722 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
25723 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25724 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25725 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
25726 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25727 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
25728 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25729 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25730 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25731 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
25732 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25733 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25734 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25735 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25736 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25737 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25738 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25739 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25740 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
25741 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25742 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25743 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25744 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25745 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25746 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25747 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25748 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25749 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
25750 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25751 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25752 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25753 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25754 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25755 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
25756 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25757 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25758 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25759 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25760 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25761 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25762 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25763 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25764 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25765 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25766 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_GetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25767 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_SetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25768 { (char *)"MDIParentFrame_SetToolBar", (PyCFunction
) _wrap_MDIParentFrame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25769 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25770 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
25771 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25772 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25773 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25774 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25775 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25776 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25777 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
25778 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25779 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25780 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25781 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
25782 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25783 { (char *)"new_PrePyWindow", (PyCFunction
) _wrap_new_PrePyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25784 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25785 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25786 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25787 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25788 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25789 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25790 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25791 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25792 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25793 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25794 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25795 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25796 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25797 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25798 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25799 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25800 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25801 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25802 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25803 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25804 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25805 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25806 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25807 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
25808 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25809 { (char *)"new_PrePyPanel", (PyCFunction
) _wrap_new_PrePyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25810 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25811 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25812 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25813 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25814 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25815 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25816 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25817 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25818 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25819 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25820 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25821 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25822 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25823 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25824 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25825 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25826 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25827 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25828 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25829 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25830 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction
) _wrap_PyPanel_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25831 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyPanel_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25832 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyPanel_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25833 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
25834 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25835 { (char *)"new_PrePyScrolledWindow", (PyCFunction
) _wrap_new_PrePyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25836 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25837 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25838 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25839 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25840 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25841 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25842 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25843 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25844 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25845 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25846 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25847 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction
) _wrap_PyScrolledWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25848 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25849 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25850 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction
) _wrap_PyScrolledWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25851 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25852 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25853 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyScrolledWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25854 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction
) _wrap_PyScrolledWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25855 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction
) _wrap_PyScrolledWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25856 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyScrolledWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25857 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25858 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyScrolledWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25859 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
25860 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
25861 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25862 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25863 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25864 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25865 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25866 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25867 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25868 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25869 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25870 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25871 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25872 { (char *)"PrintData_GetBin", (PyCFunction
) _wrap_PrintData_GetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25873 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25874 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25875 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25876 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25877 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25878 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25879 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25880 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25881 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25882 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25883 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25884 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25885 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25886 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25887 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25888 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25889 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25890 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25891 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25892 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25893 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25894 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25895 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25896 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25897 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25898 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25899 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25900 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25901 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25902 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25903 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25904 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25905 { (char *)"PrintData_GetOutputStream", (PyCFunction
) _wrap_PrintData_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25906 { (char *)"PrintData_SetOutputStream", (PyCFunction
) _wrap_PrintData_SetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25907 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
25908 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
25909 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25910 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25911 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25912 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25913 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25914 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25915 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25916 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25917 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25918 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25919 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25920 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25921 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25922 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25923 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25924 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25925 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25926 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25927 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25928 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25929 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25930 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25931 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25932 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25933 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25934 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25935 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25936 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25937 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25938 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25939 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
25940 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25941 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25942 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25943 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
25944 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
25945 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25946 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25947 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25948 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25949 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25950 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25951 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25952 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25953 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25954 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25955 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25956 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25957 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25958 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25959 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25960 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25961 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25962 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25963 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25964 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25965 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25966 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25967 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25968 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25969 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25970 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25971 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25972 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25973 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25974 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25975 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25976 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25977 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
25978 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25979 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25980 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25981 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25982 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
25983 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25984 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25985 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25986 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25987 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25988 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25989 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25990 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25991 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25992 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25993 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
25994 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25995 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25996 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25997 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25998 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25999 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26000 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26001 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26002 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26003 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26004 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26005 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26006 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26007 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26008 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26009 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26010 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26011 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26012 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26013 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26014 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26015 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26016 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
26017 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26018 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
26019 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26020 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26021 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26022 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26023 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26024 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
26025 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26026 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26027 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26028 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26029 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26030 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26031 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26032 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26033 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26034 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
26035 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
26036 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26037 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26038 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26039 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26040 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26041 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26042 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26043 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26044 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26045 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26046 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26047 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26048 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26049 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26050 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26051 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26052 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26053 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26054 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26055 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26056 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26057 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26058 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
26059 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
26060 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26061 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26062 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26063 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26064 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26065 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26066 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26067 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26068 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
26069 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26070 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26071 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26072 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26073 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26074 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26075 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26076 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
26077 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26078 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26079 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26080 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26081 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
26082 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
26083 { NULL
, NULL
, 0, NULL
}
26087 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
26089 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
26090 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26092 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
26093 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26095 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
26096 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
26098 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
26099 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
26101 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
26102 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
26104 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
26105 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
26107 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
26108 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
26110 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
26111 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26113 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
26114 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
26116 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
26117 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
26119 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
26120 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
26122 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
26123 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
26125 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
26126 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26128 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
26129 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
26131 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
26132 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
26134 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
26135 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26137 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
26138 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
26140 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
26141 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
26143 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
26144 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
26146 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
26147 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
26149 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
26150 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
26152 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
26153 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
26155 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
26156 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
26158 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
26159 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
26161 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
26162 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26164 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
26165 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
26167 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
26168 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
26170 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
26171 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
26173 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
26174 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
26176 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
26177 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
26179 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
26180 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
26182 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
26183 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26185 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
26186 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
26188 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
26189 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
26191 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
26192 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
26194 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
26195 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
26197 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
26198 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26200 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
26201 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26203 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
26204 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
26206 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
26207 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
26209 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
26210 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
26212 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
26213 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
26215 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
26216 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26218 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
26219 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
26221 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
26222 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26224 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
26225 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
26227 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
26228 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
26230 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
26231 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
26233 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
26234 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
26236 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
26237 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
26239 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
26240 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
26242 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
26243 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26245 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
26246 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26248 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
26249 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
26251 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
26252 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
26254 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
26255 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26257 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
26258 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26260 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
26261 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
26263 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
26264 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
26266 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
26267 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26269 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
26270 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26272 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
26273 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26275 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
26276 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
26278 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
26279 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26281 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
26282 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
26284 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
26285 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
26287 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
26288 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
26290 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
26291 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
26293 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
26294 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
26296 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
26297 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
26299 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
26300 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
26302 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
26303 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26305 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
26306 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
26308 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
26309 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
26311 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
26312 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26314 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
26315 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26317 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
26318 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
26320 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
26321 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
26323 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
26324 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
26326 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
26327 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26329 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
26330 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26332 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
26333 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26335 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
26336 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
26338 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
26339 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26341 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
26342 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
26344 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
26345 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
26347 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
26348 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26350 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
26351 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26353 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
26354 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26356 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
26357 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
26359 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
26360 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
26362 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
26363 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
26365 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
26366 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26368 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
26369 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26371 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
26372 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
26374 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
26375 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
26377 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
26378 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
26380 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
26381 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26383 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
26384 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
26386 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
26387 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
26389 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
26390 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
26392 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
26393 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
26395 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
26396 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
26398 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
26399 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
26401 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
26402 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26404 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
26405 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
26407 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
26408 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
26410 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
26411 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
26413 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
26414 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
26416 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
26417 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
26419 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
26420 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
26422 static void *_p_wxSizerTo_p_wxObject(void *x
) {
26423 return (void *)((wxObject
*) ((wxSizer
*) x
));
26425 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
26426 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
26428 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
26429 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26431 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
26432 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
26434 static void *_p_wxEventTo_p_wxObject(void *x
) {
26435 return (void *)((wxObject
*) ((wxEvent
*) x
));
26437 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
26438 return (void *)((wxObject
*) ((wxFontData
*) x
));
26440 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
26441 return (void *)((wxObject
*) ((wxPrintData
*) x
));
26443 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
26444 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
26446 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
26447 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
26449 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
26450 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
26452 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
26453 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
26455 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
26456 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
26458 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
26459 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
26461 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
26462 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
26464 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
26465 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
26467 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
26468 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
26470 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
26471 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
26473 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
26474 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
26476 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
26477 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
26479 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
26480 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26482 static void *_p_wxControlTo_p_wxObject(void *x
) {
26483 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
26485 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
26486 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
26488 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
26489 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26491 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
26492 return (void *)((wxObject
*) ((wxFSFile
*) x
));
26494 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
26495 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
26497 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
26498 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
26500 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
26501 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26503 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
26504 return (void *)((wxObject
*) ((wxColourData
*) x
));
26506 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
26507 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
26509 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
26510 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26512 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
26513 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
26515 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
26516 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
26518 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
26519 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
26521 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
26522 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26524 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
26525 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26527 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
26528 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
26530 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
26531 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
26533 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
26534 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26536 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
26537 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26539 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
26540 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
26542 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
26543 return (void *)((wxObject
*) ((wxPrinter
*) x
));
26545 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
26546 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
26548 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
26549 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
26551 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
26552 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26554 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
26555 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
26557 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
26558 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
26560 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
26561 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
26563 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
26564 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
26566 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
26567 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
26569 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
26570 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
26572 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
26573 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
26575 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
26576 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
26578 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
26579 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
26581 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
26582 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
26584 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
26585 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
26587 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
26588 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
26590 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
26591 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
26593 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
26594 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
26596 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
26597 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
26599 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
26600 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
26602 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
26603 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
26605 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
26606 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
26608 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
26609 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
26611 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
26612 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
26614 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
26615 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26617 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
26618 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26620 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
26621 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
26623 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
26624 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26626 static void *_p_wxImageTo_p_wxObject(void *x
) {
26627 return (void *)((wxObject
*) ((wxImage
*) x
));
26629 static void *_p_wxFrameTo_p_wxObject(void *x
) {
26630 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
26632 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
26633 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
26635 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
26636 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
26638 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
26639 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
26641 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
26642 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
26644 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
26645 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26647 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
26648 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26650 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
26651 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
26653 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
26654 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
26656 static void *_p_wxWindowTo_p_wxObject(void *x
) {
26657 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
26659 static void *_p_wxMenuTo_p_wxObject(void *x
) {
26660 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
26662 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
26663 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
26665 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
26666 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
26668 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
26669 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
26671 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
26672 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
26674 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
26675 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
26677 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
26678 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
26680 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
26681 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26683 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
26684 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
26686 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
26687 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26689 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
26690 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26692 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
26693 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26695 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
26696 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
26698 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
26699 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26701 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
26702 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
26704 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
26705 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
26707 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
26708 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
26710 static void *_p_wxPanelTo_p_wxObject(void *x
) {
26711 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
26713 static void *_p_wxDialogTo_p_wxObject(void *x
) {
26714 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
26716 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
26717 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26719 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
26720 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26722 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
26723 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26725 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
26726 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
26728 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
26729 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
26731 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
26732 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
26734 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
26735 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26737 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
26738 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
26740 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
26741 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
26743 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
26744 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
26746 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
26747 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
26749 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
26750 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
26752 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
26753 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26755 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
26756 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
26758 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
26759 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
26761 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
26762 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26764 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
26765 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
26767 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
26768 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
26770 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
26771 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26773 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
26774 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
26776 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
26777 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
26779 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
26780 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
26782 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
26783 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
26785 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
26786 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
26788 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
26789 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26791 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
26792 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26794 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
26795 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26797 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
26798 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26800 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
26801 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26803 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
26804 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26806 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
26807 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
26809 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
26810 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
26812 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
26813 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
26815 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
26816 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
26818 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
26819 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
26821 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
26822 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
26824 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
26825 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
26827 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x
) {
26828 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPrintDialog
*) x
));
26830 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
26831 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
26833 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
26834 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
26836 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
26837 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
26839 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
26840 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
26842 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
26843 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
26845 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
26846 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
26848 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
26849 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
26851 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
26852 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26854 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
26855 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26857 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
26858 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
26860 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
26861 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
26863 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
26864 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26866 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
26867 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
26869 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
26870 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26872 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
26873 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
26875 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
26876 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
26878 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
26879 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26881 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
26882 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26884 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
26885 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
26887 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
26888 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
26890 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
26891 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26893 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
26894 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26896 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
26897 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
26899 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
26900 return (void *)((wxWindow
*) ((wxPanel
*) x
));
26902 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
26903 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
26905 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
26906 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
26908 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
26909 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26911 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
26912 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26914 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
26915 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26917 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
26918 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
26920 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
26921 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26923 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
26924 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
26926 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
26927 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
26929 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
26930 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
26932 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
26933 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
26935 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
26936 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
26938 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
26939 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26941 static void *_p_wxControlTo_p_wxWindow(void *x
) {
26942 return (void *)((wxWindow
*) ((wxControl
*) x
));
26944 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
26945 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
26947 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
26948 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26950 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
26951 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26953 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
26954 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
26956 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
26957 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
26959 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
26960 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26962 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
26963 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26965 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
26966 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26968 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
26969 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
26971 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
26972 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26974 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
26975 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
26977 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
26978 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26980 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
26981 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26983 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
26984 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26986 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
26987 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
26989 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
26990 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
26992 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
26993 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
26995 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
26996 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26998 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
26999 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
27001 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
27002 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
27004 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
27005 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
27007 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
27008 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
27010 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
27011 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
27013 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
27014 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
27016 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x
) {
27017 return (void *)((wxDialog
*) ((wxPageSetupDialog
*) x
));
27019 static void *_p_wxPrintDialogTo_p_wxDialog(void *x
) {
27020 return (void *)((wxDialog
*) ((wxPrintDialog
*) x
));
27022 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
27023 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
27025 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
27026 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
27028 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
27029 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
27031 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
27032 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
27034 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
27035 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
27037 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
27038 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
27040 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
27041 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
27043 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
27044 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
27046 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
27047 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
27049 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
27050 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
27052 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
27053 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
27055 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
27056 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
27058 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
27059 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
27061 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
27062 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
27064 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
27065 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
27067 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
27068 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
27070 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
27071 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
27073 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
27074 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
27076 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
27077 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
27079 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
27080 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
27082 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
27083 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
27085 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
27086 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
27088 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
27089 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
27091 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
27092 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
27094 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
27095 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
27097 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
27098 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
27100 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
27101 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
27103 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}};
27104 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}};
27105 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}};
27106 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}};
27107 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}};
27108 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}};
27109 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}};
27110 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}};
27111 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}};
27112 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}};
27113 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}};
27114 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}};
27115 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}};
27116 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}};
27117 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}};
27118 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}};
27119 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}};
27120 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}};
27121 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}};
27122 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}};
27123 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}};
27124 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}};
27125 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}};
27126 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}};
27127 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}};
27128 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}};
27129 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}};
27130 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}};
27131 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}};
27132 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}};
27133 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}};
27134 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}};
27135 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}};
27136 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}};
27137 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}};
27138 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}};
27139 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}};
27140 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}};
27141 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}};
27142 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}};
27143 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}};
27144 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}};
27145 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}};
27146 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}};
27147 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}};
27148 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}};
27149 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}};
27150 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}};
27151 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}};
27152 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}};
27153 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}};
27154 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}};
27155 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}};
27156 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}};
27157 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}};
27158 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}};
27159 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}};
27160 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}};
27161 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}};
27162 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}};
27163 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}};
27164 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}};
27165 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}};
27166 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}};
27167 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}};
27168 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}};
27169 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}};
27170 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}};
27171 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}};
27172 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}};
27173 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}};
27174 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}};
27175 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}};
27176 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}};
27177 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}};
27178 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}};
27179 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}};
27180 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}};
27181 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}};
27182 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}};
27183 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}};
27184 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}};
27185 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}};
27186 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}};
27187 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}};
27188 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}};
27189 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}};
27191 static swig_type_info
*swig_types_initial
[] = {
27192 _swigt__p_wxQueryLayoutInfoEvent
,
27193 _swigt__p_wxPreviewFrame
,
27194 _swigt__p_wxPyPreviewFrame
,
27195 _swigt__p_wxPyPanel
,
27197 _swigt__p_wxFontData
,
27199 _swigt__p_wxPrintData
,
27200 _swigt__p_wxTaskBarIcon
,
27201 _swigt__p_wxPyTaskBarIcon
,
27202 _swigt__p_wxIconBundle
,
27203 _swigt__p_wxLayoutAlgorithm
,
27204 _swigt__p_wxFindDialogEvent
,
27205 _swigt__p_wxPreviewCanvas
,
27207 _swigt__p_wxSplitterEvent
,
27208 _swigt__p_wxRegion
,
27209 _swigt__p_wxFindReplaceData
,
27214 _swigt__p_wxVisualAttributes
,
27215 _swigt__p_wxMDIChildFrame
,
27216 _swigt__p_wxColourData
,
27217 _swigt__p_wxNotifyEvent
,
27218 _swigt__p_wxPyWindow
,
27219 _swigt__p_wxSplashScreen
,
27220 _swigt__p_wxFindReplaceDialog
,
27221 _swigt__p_wxProgressDialog
,
27222 _swigt__p_wxMessageDialog
,
27223 _swigt__p_wxTextEntryDialog
,
27224 _swigt__p_wxSingleChoiceDialog
,
27225 _swigt__p_wxMultiChoiceDialog
,
27226 _swigt__p_wxFileDialog
,
27227 _swigt__p_wxPrinter
,
27228 _swigt__p_wxArrayInt
,
27229 _swigt__p_wxEvtHandler
,
27230 _swigt__p_wxCalculateLayoutEvent
,
27231 _swigt__p_wxPyHtmlListBox
,
27232 _swigt__p_wxPyVListBox
,
27235 _swigt__p_wxMiniFrame
,
27237 _swigt__p_wxPyPrintout
,
27238 _swigt__p_wxTaskBarIconEvent
,
27239 _swigt__p_wxScrollWinEvent
,
27240 _swigt__p_wxStatusBar
,
27241 _swigt__p_wxMDIParentFrame
,
27243 _swigt__p_wxObject
,
27244 _swigt__p_wxOutputStream
,
27245 _swigt__p_wxMDIClientWindow
,
27246 _swigt__p_wxTipWindow
,
27247 _swigt__p_wxSashLayoutWindow
,
27248 _swigt__p_wxSplitterWindow
,
27249 _swigt__p_wxSplashScreenWindow
,
27250 _swigt__p_wxPyVScrolledWindow
,
27251 _swigt__p_wxPyPopupTransientWindow
,
27252 _swigt__p_wxPopupWindow
,
27253 _swigt__p_wxSashWindow
,
27254 _swigt__p_wxTopLevelWindow
,
27255 _swigt__p_wxWindow
,
27256 _swigt__p_wxScrolledWindow
,
27257 _swigt__p_wxMenuBar
,
27258 _swigt__p_wxPyScrolledWindow
,
27259 _swigt__p_wxPrintPreview
,
27260 _swigt__p_wxSashEvent
,
27261 _swigt__p_wxString
,
27262 _swigt__p_wxPyPrintPreview
,
27263 _swigt__p_wxFontDialog
,
27264 _swigt__p_wxDirDialog
,
27265 _swigt__p_wxColourDialog
,
27266 _swigt__p_wxDialog
,
27268 _swigt__p_wxPageSetupDialog
,
27269 _swigt__p_wxPrintDialog
,
27270 _swigt__p_wxFileSystem
,
27271 _swigt__p_wxBitmap
,
27272 _swigt__p_wxCommandEvent
,
27273 _swigt__p_wxPreviewControlBar
,
27274 _swigt__p_wxPyPreviewControlBar
,
27275 _swigt__p_wxColour
,
27276 _swigt__p_wxToolBar
,
27277 _swigt__p_wxPageSetupDialogData
,
27278 _swigt__p_wxPrintDialogData
,
27283 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
27285 static swig_const_info swig_const_table
[] = {
27286 {0, 0, 0, 0.0, 0, 0}};
27295 SWIGEXPORT(void) SWIG_init(void) {
27296 static PyObject
*SWIG_globals
= 0;
27297 static int typeinit
= 0;
27300 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
27301 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
27302 d
= PyModule_GetDict(m
);
27305 for (i
= 0; swig_types_initial
[i
]; i
++) {
27306 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
27310 SWIG_InstallConstants(d
,swig_const_table
);
27312 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
27313 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
27314 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
27315 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
27316 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
27317 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_From_int((int)wxSTAY_ON_TOP
));
27318 PyDict_SetItemString(d
,"ICONIZE", SWIG_From_int((int)wxICONIZE
));
27319 PyDict_SetItemString(d
,"MINIMIZE", SWIG_From_int((int)wxMINIMIZE
));
27320 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_From_int((int)wxMAXIMIZE
));
27321 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_From_int((int)wxCLOSE_BOX
));
27322 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_From_int((int)wxTHICK_FRAME
));
27323 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_From_int((int)wxSYSTEM_MENU
));
27324 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_From_int((int)wxMINIMIZE_BOX
));
27325 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_From_int((int)wxMAXIMIZE_BOX
));
27326 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_From_int((int)wxTINY_CAPTION_HORIZ
));
27327 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_From_int((int)wxTINY_CAPTION_VERT
));
27328 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_From_int((int)wxRESIZE_BOX
));
27329 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_From_int((int)wxRESIZE_BORDER
));
27330 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_From_int((int)wxDIALOG_NO_PARENT
));
27331 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)wxDEFAULT_FRAME_STYLE
));
27332 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)wxDEFAULT_DIALOG_STYLE
));
27333 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_From_int((int)wxFRAME_TOOL_WINDOW
));
27334 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)wxFRAME_FLOAT_ON_PARENT
));
27335 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)wxFRAME_NO_WINDOW_MENU
));
27336 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_From_int((int)wxFRAME_NO_TASKBAR
));
27337 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_From_int((int)wxFRAME_SHAPED
));
27338 PyDict_SetItemString(d
,"FRAME_DRAWER", SWIG_From_int((int)wxFRAME_DRAWER
));
27339 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_From_int((int)wxDIALOG_MODAL
));
27340 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_From_int((int)wxDIALOG_MODELESS
));
27341 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_From_int((int)wxUSER_COLOURS
));
27342 PyDict_SetItemString(d
,"NO_3D", SWIG_From_int((int)wxNO_3D
));
27343 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)wxFULLSCREEN_NOMENUBAR
));
27344 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)wxFULLSCREEN_NOTOOLBAR
));
27345 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)wxFULLSCREEN_NOSTATUSBAR
));
27346 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_From_int((int)wxFULLSCREEN_NOBORDER
));
27347 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)wxFULLSCREEN_NOCAPTION
));
27348 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_From_int((int)wxFULLSCREEN_ALL
));
27349 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)wxTOPLEVEL_EX_DIALOG
));
27350 PyDict_SetItemString(d
,"USER_ATTENTION_INFO", SWIG_From_int((int)wxUSER_ATTENTION_INFO
));
27351 PyDict_SetItemString(d
,"USER_ATTENTION_ERROR", SWIG_From_int((int)wxUSER_ATTENTION_ERROR
));
27352 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)wxSPLASH_CENTRE_ON_PARENT
));
27353 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)wxSPLASH_CENTRE_ON_SCREEN
));
27354 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_From_int((int)wxSPLASH_NO_CENTRE
));
27355 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_From_int((int)wxSPLASH_TIMEOUT
));
27356 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)wxSPLASH_NO_TIMEOUT
));
27357 PyDict_SetItemString(d
,"SB_NORMAL", SWIG_From_int((int)wxSB_NORMAL
));
27358 PyDict_SetItemString(d
,"SB_FLAT", SWIG_From_int((int)wxSB_FLAT
));
27359 PyDict_SetItemString(d
,"SB_RAISED", SWIG_From_int((int)wxSB_RAISED
));
27360 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
27361 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_From_int((int)wxSP_NOBORDER
));
27362 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_From_int((int)wxSP_NOSASH
));
27363 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)wxSP_PERMIT_UNSPLIT
));
27364 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_From_int((int)wxSP_LIVE_UPDATE
));
27365 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_From_int((int)wxSP_3DSASH
));
27366 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_From_int((int)wxSP_3DBORDER
));
27367 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_From_int((int)wxSP_NO_XP_THEME
));
27368 PyDict_SetItemString(d
,"SP_BORDER", SWIG_From_int((int)wxSP_BORDER
));
27369 PyDict_SetItemString(d
,"SP_3D", SWIG_From_int((int)wxSP_3D
));
27370 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_From_int((int)wxSPLIT_HORIZONTAL
));
27371 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_From_int((int)wxSPLIT_VERTICAL
));
27372 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_From_int((int)wxSPLIT_DRAG_NONE
));
27373 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)wxSPLIT_DRAG_DRAGGING
));
27374 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSPLIT_DRAG_LEFT_DOWN
));
27375 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
27376 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
27377 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
27378 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
27379 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
27380 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
27381 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_From_int((int)wxSASH_DRAG_NONE
));
27382 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_From_int((int)wxSASH_DRAG_DRAGGING
));
27383 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSASH_DRAG_LEFT_DOWN
));
27384 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_From_int((int)wxSW_NOBORDER
));
27385 PyDict_SetItemString(d
,"SW_BORDER", SWIG_From_int((int)wxSW_BORDER
));
27386 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_From_int((int)wxSW_3DSASH
));
27387 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_From_int((int)wxSW_3DBORDER
));
27388 PyDict_SetItemString(d
,"SW_3D", SWIG_From_int((int)wxSW_3D
));
27389 PyDict_SetItemString(d
,"SASH_TOP", SWIG_From_int((int)wxSASH_TOP
));
27390 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_From_int((int)wxSASH_RIGHT
));
27391 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_From_int((int)wxSASH_BOTTOM
));
27392 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_From_int((int)wxSASH_LEFT
));
27393 PyDict_SetItemString(d
,"SASH_NONE", SWIG_From_int((int)wxSASH_NONE
));
27394 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_From_int((int)wxSASH_STATUS_OK
));
27395 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)wxSASH_STATUS_OUT_OF_RANGE
));
27396 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
27397 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_From_int((int)wxLAYOUT_HORIZONTAL
));
27398 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_From_int((int)wxLAYOUT_VERTICAL
));
27399 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_From_int((int)wxLAYOUT_NONE
));
27400 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_From_int((int)wxLAYOUT_TOP
));
27401 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_From_int((int)wxLAYOUT_LEFT
));
27402 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_From_int((int)wxLAYOUT_RIGHT
));
27403 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_From_int((int)wxLAYOUT_BOTTOM
));
27404 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_From_int((int)wxLAYOUT_LENGTH_Y
));
27405 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_From_int((int)wxLAYOUT_LENGTH_X
));
27406 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)wxLAYOUT_MRU_LENGTH
));
27407 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_From_int((int)wxLAYOUT_QUERY
));
27408 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
27409 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
27410 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
27412 // Map renamed classes back to their common name for OOR
27413 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
27414 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
27415 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
27417 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
27418 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
27419 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
27420 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
27421 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
27422 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
27423 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
27424 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
27425 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
27426 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
27427 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
27428 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
27429 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
27430 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_From_int((int)wxCHOICEDLG_STYLE
));
27431 PyDict_SetItemString(d
,"FR_DOWN", SWIG_From_int((int)wxFR_DOWN
));
27432 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_From_int((int)wxFR_WHOLEWORD
));
27433 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_From_int((int)wxFR_MATCHCASE
));
27434 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_From_int((int)wxFR_REPLACEDIALOG
));
27435 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_From_int((int)wxFR_NOUPDOWN
));
27436 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_From_int((int)wxFR_NOMATCHCASE
));
27437 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_From_int((int)wxFR_NOWHOLEWORD
));
27438 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
27439 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
27440 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
27441 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
27442 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
27443 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_From_int((int)4001));
27444 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_From_int((int)4001));
27445 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_From_int((int)4002));
27446 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_From_int((int)4003));
27447 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_From_int((int)4004));
27448 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_From_int((int)4005));
27449 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_From_int((int)4100));
27450 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_From_int((int)4600));
27451 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
27452 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
27453 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_From_int((int)wxPRINT_MODE_NONE
));
27454 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_From_int((int)wxPRINT_MODE_PREVIEW
));
27455 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_From_int((int)wxPRINT_MODE_FILE
));
27456 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_From_int((int)wxPRINT_MODE_PRINTER
));
27457 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_From_int((int)wxPRINT_MODE_STREAM
));
27458 PyDict_SetItemString(d
,"PRINTBIN_DEFAULT", SWIG_From_int((int)wxPRINTBIN_DEFAULT
));
27459 PyDict_SetItemString(d
,"PRINTBIN_ONLYONE", SWIG_From_int((int)wxPRINTBIN_ONLYONE
));
27460 PyDict_SetItemString(d
,"PRINTBIN_LOWER", SWIG_From_int((int)wxPRINTBIN_LOWER
));
27461 PyDict_SetItemString(d
,"PRINTBIN_MIDDLE", SWIG_From_int((int)wxPRINTBIN_MIDDLE
));
27462 PyDict_SetItemString(d
,"PRINTBIN_MANUAL", SWIG_From_int((int)wxPRINTBIN_MANUAL
));
27463 PyDict_SetItemString(d
,"PRINTBIN_ENVELOPE", SWIG_From_int((int)wxPRINTBIN_ENVELOPE
));
27464 PyDict_SetItemString(d
,"PRINTBIN_ENVMANUAL", SWIG_From_int((int)wxPRINTBIN_ENVMANUAL
));
27465 PyDict_SetItemString(d
,"PRINTBIN_AUTO", SWIG_From_int((int)wxPRINTBIN_AUTO
));
27466 PyDict_SetItemString(d
,"PRINTBIN_TRACTOR", SWIG_From_int((int)wxPRINTBIN_TRACTOR
));
27467 PyDict_SetItemString(d
,"PRINTBIN_SMALLFMT", SWIG_From_int((int)wxPRINTBIN_SMALLFMT
));
27468 PyDict_SetItemString(d
,"PRINTBIN_LARGEFMT", SWIG_From_int((int)wxPRINTBIN_LARGEFMT
));
27469 PyDict_SetItemString(d
,"PRINTBIN_LARGECAPACITY", SWIG_From_int((int)wxPRINTBIN_LARGECAPACITY
));
27470 PyDict_SetItemString(d
,"PRINTBIN_CASSETTE", SWIG_From_int((int)wxPRINTBIN_CASSETTE
));
27471 PyDict_SetItemString(d
,"PRINTBIN_FORMSOURCE", SWIG_From_int((int)wxPRINTBIN_FORMSOURCE
));
27472 PyDict_SetItemString(d
,"PRINTBIN_USER", SWIG_From_int((int)wxPRINTBIN_USER
));
27473 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_From_int((int)wxPRINTER_NO_ERROR
));
27474 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_From_int((int)wxPRINTER_CANCELLED
));
27475 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_From_int((int)wxPRINTER_ERROR
));
27476 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_From_int((int)wxPREVIEW_PRINT
));
27477 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_From_int((int)wxPREVIEW_PREVIOUS
));
27478 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_From_int((int)wxPREVIEW_NEXT
));
27479 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_From_int((int)wxPREVIEW_ZOOM
));
27480 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_From_int((int)wxPREVIEW_FIRST
));
27481 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_From_int((int)wxPREVIEW_LAST
));
27482 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_From_int((int)wxPREVIEW_GOTO
));
27483 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_From_int((int)wxPREVIEW_DEFAULT
));
27484 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_From_int((int)wxID_PREVIEW_CLOSE
));
27485 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_From_int((int)wxID_PREVIEW_NEXT
));
27486 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)wxID_PREVIEW_PREVIOUS
));
27487 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_From_int((int)wxID_PREVIEW_PRINT
));
27488 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_From_int((int)wxID_PREVIEW_ZOOM
));
27489 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_From_int((int)wxID_PREVIEW_FIRST
));
27490 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_From_int((int)wxID_PREVIEW_LAST
));
27491 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_From_int((int)wxID_PREVIEW_GOTO
));
27493 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");