1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypePrettyName SWIG_Python_TypePrettyName
47 #define SWIG_TypeQuery SWIG_Python_TypeQuery
48 #define SWIG_TypeClientData SWIG_Python_TypeClientData
49 #define SWIG_PackData SWIG_Python_PackData
50 #define SWIG_UnpackData SWIG_Python_UnpackData
53 /***********************************************************************
54 * common.swg for wxPython
56 * Include only the function prototypes and such from SWIG's common.swg,
57 * but not the runtime functions themselves. This helps keep the
58 * wrapper files clean of unnecessary stuff that is in the libpy.c file
61 ************************************************************************/
65 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
66 # if defined(_MSC_VER) || defined(__GNUC__)
67 # if defined(STATIC_LINKED)
68 # define SWIGEXPORT(a) a
69 # define SWIGIMPORT(a) extern a
71 # define SWIGEXPORT(a) __declspec(dllexport) a
72 # define SWIGIMPORT(a) extern a
75 # if defined(__BORLANDC__)
76 # define SWIGEXPORT(a) a _export
77 # define SWIGIMPORT(a) a _export
79 # define SWIGEXPORT(a) a
80 # define SWIGIMPORT(a) a
84 # define SWIGEXPORT(a) a
85 # define SWIGIMPORT(a) a
89 # define SWIGRUNTIME(a) SWIGEXPORT(a)
91 # define SWIGRUNTIME(a) static a
98 typedef void *(*swig_converter_func
)(void *);
99 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
101 typedef struct swig_type_info
{
103 swig_converter_func converter
;
106 swig_dycast_func dcast
;
107 struct swig_type_info
*next
;
108 struct swig_type_info
*prev
;
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
113 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
114 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
115 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
116 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
117 SWIGIMPORT(const char *) SWIG_TypePrettyName(const swig_type_info
*);
118 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
119 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
120 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
121 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
129 /***********************************************************************
130 * pyrun.swg for wxPython
132 * Include only the function prototypes and such from SWIG's pyrun.swg,
133 * but not the runtime functions themselves. This helps keep the
134 * wrapper files clean of unnecessary stuff that is in the libpy.c file
137 ************************************************************************/
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
149 /* Flags for pointer conversion */
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
157 /* Constant information structure */
158 typedef struct swig_const_info
{
164 swig_type_info
**ptype
;
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
187 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
190 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
192 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
195 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
199 /* Contract support */
201 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
209 /* -------- TYPES TABLE (BEGIN) -------- */
211 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
212 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
213 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
214 #define SWIGTYPE_p_wxPyPanel swig_types[3]
215 #define SWIGTYPE_p_wxMenu swig_types[4]
216 #define SWIGTYPE_p_wxFontData swig_types[5]
217 #define SWIGTYPE_p_wxEvent swig_types[6]
218 #define SWIGTYPE_p_wxPrintData swig_types[7]
219 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
220 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[9]
221 #define SWIGTYPE_p_wxIconBundle swig_types[10]
222 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[11]
223 #define SWIGTYPE_p_wxFindDialogEvent swig_types[12]
224 #define SWIGTYPE_p_wxPreviewCanvas swig_types[13]
225 #define SWIGTYPE_p_wxFont swig_types[14]
226 #define SWIGTYPE_p_wxSplitterEvent swig_types[15]
227 #define SWIGTYPE_p_wxRegion swig_types[16]
228 #define SWIGTYPE_p_wxFindReplaceData swig_types[17]
229 #define SWIGTYPE_p_int swig_types[18]
230 #define SWIGTYPE_p_wxSize swig_types[19]
231 #define SWIGTYPE_p_wxDC swig_types[20]
232 #define SWIGTYPE_p_wxIcon swig_types[21]
233 #define SWIGTYPE_p_wxVisualAttributes swig_types[22]
234 #define SWIGTYPE_p_wxMDIChildFrame swig_types[23]
235 #define SWIGTYPE_p_wxColourData swig_types[24]
236 #define SWIGTYPE_p_wxNotifyEvent swig_types[25]
237 #define SWIGTYPE_p_wxPyWindow swig_types[26]
238 #define SWIGTYPE_p_wxSplashScreen swig_types[27]
239 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[28]
240 #define SWIGTYPE_p_wxProgressDialog swig_types[29]
241 #define SWIGTYPE_p_wxMessageDialog swig_types[30]
242 #define SWIGTYPE_p_wxTextEntryDialog swig_types[31]
243 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[32]
244 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[33]
245 #define SWIGTYPE_p_wxFileDialog swig_types[34]
246 #define SWIGTYPE_p_wxPrinter swig_types[35]
247 #define SWIGTYPE_p_wxArrayInt swig_types[36]
248 #define SWIGTYPE_p_wxEvtHandler swig_types[37]
249 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[38]
250 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[39]
251 #define SWIGTYPE_p_wxPyVListBox swig_types[40]
252 #define SWIGTYPE_p_wxRect swig_types[41]
253 #define SWIGTYPE_p_char swig_types[42]
254 #define SWIGTYPE_p_wxMiniFrame swig_types[43]
255 #define SWIGTYPE_p_wxFrame swig_types[44]
256 #define SWIGTYPE_p_wxPyPrintout swig_types[45]
257 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[46]
258 #define SWIGTYPE_p_wxScrollWinEvent swig_types[47]
259 #define SWIGTYPE_p_wxStatusBar swig_types[48]
260 #define SWIGTYPE_p_wxMDIParentFrame swig_types[49]
261 #define SWIGTYPE_p_wxPoint swig_types[50]
262 #define SWIGTYPE_p_wxObject swig_types[51]
263 #define SWIGTYPE_p_wxOutputStream swig_types[52]
264 #define SWIGTYPE_p_wxMDIClientWindow swig_types[53]
265 #define SWIGTYPE_p_wxTipWindow swig_types[54]
266 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[55]
267 #define SWIGTYPE_p_wxSplitterWindow swig_types[56]
268 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[57]
269 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[58]
270 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[59]
271 #define SWIGTYPE_p_wxPopupWindow swig_types[60]
272 #define SWIGTYPE_p_wxSashWindow swig_types[61]
273 #define SWIGTYPE_p_wxTopLevelWindow swig_types[62]
274 #define SWIGTYPE_p_wxWindow swig_types[63]
275 #define SWIGTYPE_p_wxScrolledWindow swig_types[64]
276 #define SWIGTYPE_p_wxMenuBar swig_types[65]
277 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[66]
278 #define SWIGTYPE_p_wxPrintPreview swig_types[67]
279 #define SWIGTYPE_p_wxSashEvent swig_types[68]
280 #define SWIGTYPE_p_wxString swig_types[69]
281 #define SWIGTYPE_p_wxPyPrintPreview swig_types[70]
282 #define SWIGTYPE_p_wxFontDialog swig_types[71]
283 #define SWIGTYPE_p_wxDirDialog swig_types[72]
284 #define SWIGTYPE_p_wxColourDialog swig_types[73]
285 #define SWIGTYPE_p_wxDialog swig_types[74]
286 #define SWIGTYPE_p_wxPanel swig_types[75]
287 #define SWIGTYPE_p_wxPageSetupDialog swig_types[76]
288 #define SWIGTYPE_p_wxPrintDialog swig_types[77]
289 #define SWIGTYPE_p_wxFileSystem swig_types[78]
290 #define SWIGTYPE_p_wxBitmap swig_types[79]
291 #define SWIGTYPE_p_wxCommandEvent swig_types[80]
292 #define SWIGTYPE_p_wxPreviewControlBar swig_types[81]
293 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[82]
294 #define SWIGTYPE_p_wxColour swig_types[83]
295 #define SWIGTYPE_p_wxToolBar swig_types[84]
296 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[85]
297 #define SWIGTYPE_p_wxPrintDialogData swig_types[86]
298 static swig_type_info
*swig_types
[88];
300 /* -------- TYPES TABLE (END) -------- */
303 /*-----------------------------------------------
304 @(target):= _windows_.so
305 ------------------------------------------------*/
306 #define SWIG_init init_windows_
308 #define SWIG_name "_windows_"
310 /* Auxiliar swig macros that appear in the header */
312 #define SWIG_OLDOBJ 1
313 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
314 #define SWIG_PYSTR SWIG_NEWOBJ + 1
317 #define SWIGSTATICINLINE(a) static inline a
318 #define SWIGSTATIC(a) static a
319 #define swig_new_array(size,Type) (new Type[(size)])
320 #define swig_delete(cptr) delete cptr
321 #define swig_delete_array(cptr) delete[] cptr
322 #define swig_const_cast(a,Type) const_cast<Type >(a)
323 #define swig_static_cast(a,Type) static_cast<Type >(a)
324 #define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a)
325 #define swig_new_copy(ptr,Type) (new Type(*ptr))
326 #define swig_numeric_cast(a,Type) static_cast<Type >(a)
330 #define SWIGSTATICINLINE(a) static a
331 #define SWIGSTATIC(a) static a
332 #define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type)))
333 #define swig_delete(cptr) free((char*)cptr)
334 #define swig_delete_array(cptr) free((char*)cptr)
335 #define swig_const_cast(a,Type) (Type)(a)
336 #define swig_static_cast(a,Type) (Type)(a)
337 #define swig_reinterpret_cast(a,Type) (Type)(a)
338 #define swig_numeric_cast(a,Type) (Type)(a)
339 #define swig_new_copy(ptr,Type) ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type)))
341 #endif /* __cplusplus */
344 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
345 #define SWIG_From_signed_SS_char PyInt_FromLong
347 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
348 #define SWIG_From_unsigned_SS_char PyInt_FromLong
350 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
351 #define SWIG_From_short PyInt_FromLong
353 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
354 #define SWIG_From_unsigned_SS_short PyInt_FromLong
356 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
357 #define SWIG_From_int PyInt_FromLong
359 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
360 #define SWIG_From_long PyInt_FromLong
362 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
363 #define SWIG_From_float PyFloat_FromDouble
365 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
366 #define SWIG_From_double PyFloat_FromDouble
370 #include "wx/wxPython/wxPython.h"
371 #include "wx/wxPython/pyclasses.h"
374 static const wxString
wxPyEmptyString(wxEmptyString
);
375 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
382 SWIGSTATICINLINE(int)
383 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
386 if (value
< min_value
) {
388 PyErr_Format(PyExc_OverflowError
,
389 "value %ld is less than '%s' minimum %ld",
390 value
, errmsg
, min_value
);
393 } else if (value
> max_value
) {
395 PyErr_Format(PyExc_OverflowError
,
396 "value %ld is greater than '%s' maximum %ld",
397 value
, errmsg
, max_value
);
405 // See my_fragments.i
406 SWIGSTATICINLINE(int)
407 SWIG_AsVal_long(PyObject
* obj
, long* val
)
409 if (PyNumber_Check(obj
)) {
410 if (val
) *val
= PyInt_AsLong(obj
);
414 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
415 obj
->ob_type
->tp_name
);
416 PyErr_SetObject(PyExc_TypeError
, errmsg
);
423 #if INT_MAX != LONG_MAX
424 SWIGSTATICINLINE(int)
425 SWIG_AsVal_int(PyObject
*obj
, int *val
)
427 const char* errmsg
= val
? "int" : 0;
429 if (SWIG_AsVal_long(obj
, &v
)) {
430 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
431 if (val
) *val
= swig_numeric_cast(v
, int);
440 PyErr_SetString(PyExc_TypeError
, "an int is expected");
445 SWIGSTATICINLINE(int)
446 SWIG_AsVal_int(PyObject
*obj
, int *val
)
448 return SWIG_AsVal_long(obj
,(long*)val
);
453 SWIGSTATICINLINE(int)
454 SWIG_As_int(PyObject
* obj
)
457 if (!SWIG_AsVal_int(obj
, &v
)) {
459 this is needed to make valgrind/purify happier. the other
460 solution is throw an exception, but since this code should work
463 memset((void*)&v
, 0, sizeof(int));
469 SWIGSTATICINLINE(long)
470 SWIG_As_long(PyObject
* obj
)
473 if (!SWIG_AsVal_long(obj
, &v
)) {
475 this is needed to make valgrind/purify happier. the other
476 solution is throw an exception, but since this code should work
479 memset((void*)&v
, 0, sizeof(long));
485 SWIGSTATICINLINE(int)
486 SWIG_Check_int(PyObject
* obj
)
488 return SWIG_AsVal_int(obj
, (int*)0);
492 SWIGSTATICINLINE(int)
493 SWIG_Check_long(PyObject
* obj
)
495 return SWIG_AsVal_long(obj
, (long*)0);
499 SWIGSTATICINLINE(int)
500 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
502 /* if (val) *val = PyObject_IsTrue(obj); return 1; */
503 if (obj
== Py_True
) {
504 if (val
) *val
= true;
507 if (obj
== Py_False
) {
508 if (val
) *val
= false;
512 if (SWIG_AsVal_int(obj
, &res
)) {
513 if (val
) *val
= (bool)res
;
517 PyErr_SetString(PyExc_TypeError
, "a bool is expected");
523 SWIGSTATICINLINE(bool)
524 SWIG_As_bool(PyObject
* obj
)
527 if (!SWIG_AsVal_bool(obj
, &v
)) {
529 this is needed to make valgrind/purify happier. the other
530 solution is throw an exception, but since this code should work
533 memset((void*)&v
, 0, sizeof(bool));
539 SWIGSTATICINLINE(int)
540 SWIG_Check_bool(PyObject
* obj
)
542 return SWIG_AsVal_bool(obj
, (bool*)0);
546 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
552 } else if (target
== Py_None
) {
556 if (!PyTuple_Check(target
)) {
558 target
= PyTuple_New(1);
559 PyTuple_SetItem(target
, 0, o2
);
562 PyTuple_SetItem(o3
, 0, o
);
565 target
= PySequence_Concat(o2
, o3
);
574 // See my_fragments.i
575 SWIGSTATICINLINE(int)
576 SWIG_AsVal_double(PyObject
*obj
, double* val
)
578 if (PyNumber_Check(obj
)) {
579 if (val
) *val
= PyFloat_AsDouble(obj
);
583 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
584 obj
->ob_type
->tp_name
);
585 PyErr_SetObject(PyExc_TypeError
, errmsg
);
592 SWIGSTATICINLINE(double)
593 SWIG_As_double(PyObject
* obj
)
596 if (!SWIG_AsVal_double(obj
, &v
)) {
598 this is needed to make valgrind/purify happier. the other
599 solution is throw an exception, but since this code should work
602 memset((void*)&v
, 0, sizeof(double));
608 SWIGSTATICINLINE(int)
609 SWIG_Check_double(PyObject
* obj
)
611 return SWIG_AsVal_double(obj
, (double*)0);
614 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
615 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
616 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
617 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
618 void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow
*self
,bool on
){ /*wxPyRaiseNotImplemented();*/ }
619 bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow
const *self
){ /*wxPyRaiseNotImplemented();*/ return false; }
622 wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
624 self
->GetFieldRect(i
, r
);
627 static const wxString
wxPySplitterNameStr(wxT("splitter"));
628 static const wxString
wxPySashNameStr(wxT("sashWindow"));
629 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
631 #include <wx/popupwin.h>
634 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
637 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
638 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
639 : wxPopupTransientWindow(parent
, style
) {}
641 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
642 DEC_PYCALLBACK__(OnDismiss
);
643 DEC_PYCALLBACK_BOOL_(CanDismiss
);
648 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
649 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
650 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
653 #include <wx/tipwin.h>
655 wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
,wxRect
*rectBound
){
656 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
659 #include <wx/tipwin.h>
662 #include <wx/vscroll.h>
665 class wxPyVScrolledWindow
: public wxVScrolledWindow
667 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
);
669 wxPyVScrolledWindow() : wxVScrolledWindow() {}
671 wxPyVScrolledWindow(wxWindow
*parent
,
672 wxWindowID id
= wxID_ANY
,
673 const wxPoint
& pos
= wxDefaultPosition
,
674 const wxSize
& size
= wxDefaultSize
,
676 const wxString
& name
= wxPyPanelNameStr
)
677 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
680 // Overridable virtuals
682 // this function must be overridden in the derived class and it should
683 // return the height of the given line in pixels
684 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
687 // this function doesn't have to be overridden but it may be useful to do
688 // it if calculating the lines heights is a relatively expensive operation
689 // as it gives the user code a possibility to calculate several of them at
692 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
693 // shouldn't rely on the latter being called for all lines in the interval
694 // specified here. It is also possible that OnGetLineHeight() will be
695 // called for the lines outside of this interval, so this is really just a
696 // hint, not a promise.
698 // finally note that lineMin is inclusive, while lineMax is exclusive, as
700 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
703 // when the number of lines changes, we try to estimate the total height
704 // of all lines which is a rather expensive operation in terms of lines
705 // access, so if the user code may estimate the average height
706 // better/faster than we do, it should override this function to implement
709 // this function should return the best guess for the total height it may
711 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
714 // Also expose some other interesting protected methods
717 // find the index of the line we need to show at the top of the window such
718 // that the last (fully or partially) visible line is the given one
719 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
720 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
722 // get the total height of the lines between lineMin (inclusive) and
723 // lineMax (exclusive)
724 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
725 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
731 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
733 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
734 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
735 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
738 // See my_fragments.i
739 SWIGSTATICINLINE(int)
740 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
743 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
744 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
748 *val
= (unsigned long)v
;
753 SWIGSTATICINLINE(unsigned long)
754 SWIG_As_unsigned_SS_long(PyObject
* obj
)
757 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
759 this is needed to make valgrind/purify happier. the other
760 solution is throw an exception, but since this code should work
763 memset((void*)&v
, 0, sizeof(unsigned long));
769 SWIGSTATICINLINE(int)
770 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
772 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
776 SWIGSTATICINLINE(PyObject
* )
777 SWIG_From_unsigned_SS_long(unsigned long value
)
779 return (value
> LONG_MAX
) ?
780 PyLong_FromUnsignedLong(value
)
781 : PyInt_FromLong(swig_numeric_cast(value
,long));
785 #include <wx/vlbox.h>
787 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
789 class wxPyVListBox
: public wxVListBox
791 DECLARE_ABSTRACT_CLASS(wxPyVListBox
);
793 wxPyVListBox() : wxVListBox() {}
795 wxPyVListBox(wxWindow
*parent
,
796 wxWindowID id
= wxID_ANY
,
797 const wxPoint
& pos
= wxDefaultPosition
,
798 const wxSize
& size
= wxDefaultSize
,
800 const wxString
& name
= wxPyVListBoxNameStr
)
801 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
804 // Overridable virtuals
806 // the derived class must implement this function to actually draw the item
807 // with the given index on the provided DC
808 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
809 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
812 // the derived class must implement this method to return the height of the
814 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
815 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
818 // this method may be used to draw separators between the lines; note that
819 // the rectangle may be modified, typically to deflate it a bit before
820 // passing to OnDrawItem()
822 // the base class version doesn't do anything
823 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
824 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
827 // this method is used to draw the items background and, maybe, a border
830 // the base class version implements a reasonable default behaviour which
831 // consists in drawing the selected item with the standard background
832 // colour and drawing a border around the item if it is either selected or
834 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
835 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
841 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
843 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
844 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
845 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
846 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
849 PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
850 unsigned long cookie
= 0;
851 int selected
= self
->GetFirstSelected(cookie
);
852 bool blocked
= wxPyBeginBlockThreads();
853 PyObject
* tup
= PyTuple_New(2);
854 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
855 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
856 wxPyEndBlockThreads(blocked
);
859 PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
860 int selected
= self
->GetNextSelected(cookie
);
861 bool blocked
= wxPyBeginBlockThreads();
862 PyObject
* tup
= PyTuple_New(2);
863 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
864 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
865 wxPyEndBlockThreads(blocked
);
869 #include <wx/htmllbox.h>
872 class wxPyHtmlListBox
: public wxHtmlListBox
874 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
);
876 wxPyHtmlListBox() : wxHtmlListBox() {}
878 wxPyHtmlListBox(wxWindow
*parent
,
879 wxWindowID id
= wxID_ANY
,
880 const wxPoint
& pos
= wxDefaultPosition
,
881 const wxSize
& size
= wxDefaultSize
,
883 const wxString
& name
= wxPyVListBoxNameStr
)
884 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
887 // Overridable virtuals
889 // this method must be implemented in the derived class and should return
890 // the body (i.e. without <html>) of the HTML for the given item
891 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
893 // this function may be overridden to decorate HTML returned by OnGetItem()
894 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
897 // // this method allows to customize the selection appearance: it may be used
898 // // to specify the colour of the text which normally has the given colour
899 // // colFg when it is inside the selection
901 // // by default, the original colour is not used at all and all text has the
902 // // same (default for this system) colour inside selection
903 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
905 // // this is the same as GetSelectedTextColour() but allows to customize the
906 // // background colour -- this is even more rarely used as you can change it
907 // // globally using SetSelectionBackground()
908 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
915 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
917 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
918 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
924 #ifndef wxHAS_TASK_BAR_ICON
925 // implement dummy classes for platforms that don't have it
927 class wxTaskBarIcon
: public wxEvtHandler
930 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
934 class wxTaskBarIconEvent
: public wxEvent
937 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
938 { wxPyRaiseNotImplemented(); }
939 virtual wxEvent
* Clone() const { return NULL
; }
940 bool IsOk() const { return false; }
941 bool IsIconInstalled() const { return false; }
942 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
943 bool RemoveIcon() { return false; }
944 bool PopupMenu(wxMenu
*menu
) { return false; }
948 wxEVT_TASKBAR_MOVE
= 0,
949 wxEVT_TASKBAR_LEFT_DOWN
= 0,
950 wxEVT_TASKBAR_LEFT_UP
= 0,
951 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
952 wxEVT_TASKBAR_RIGHT_UP
= 0,
953 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
954 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
959 // Otherwise make a class that can virtualize CreatePopupMenu
960 class wxPyTaskBarIcon
: public wxTaskBarIcon
962 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
);
964 wxPyTaskBarIcon() : wxTaskBarIcon()
967 wxMenu
* CreatePopupMenu() {
970 bool blocked
= wxPyBeginBlockThreads();
971 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
974 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
976 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
981 wxPyEndBlockThreads(blocked
);
983 rval
= wxTaskBarIcon::CreatePopupMenu();
990 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
994 void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
998 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
999 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
1000 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
1001 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
1002 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
1003 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
1004 PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
1006 self
->GetFilenames(arr
);
1007 return wxArrayString2PyList_helper(arr
);
1009 PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
1011 self
->GetPaths(arr
);
1012 return wxArrayString2PyList_helper(arr
);
1014 PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
1015 return wxArrayInt2PyList_helper(self
->GetSelections());
1017 wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
const &message
,wxString
const &caption
,int choices
,wxString
*choices_array
,long style
,wxPoint
const &pos
){
1018 return new wxSingleChoiceDialog(parent
, message
, caption
,
1019 choices
, choices_array
, NULL
, style
, pos
);
1024 // C++ version of Python aware wxWindow
1025 class wxPyWindow
: public wxWindow
1027 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
1029 wxPyWindow() : wxWindow() {}
1030 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
1031 const wxPoint
& pos
= wxDefaultPosition
,
1032 const wxSize
& size
= wxDefaultSize
,
1034 const wxString
& name
= wxPyPanelNameStr
)
1035 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
1037 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
1039 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1040 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1041 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1042 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1044 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1045 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1046 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1048 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1049 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1051 DEC_PYCALLBACK__(InitDialog
);
1052 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1053 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1054 DEC_PYCALLBACK_BOOL_(Validate
);
1056 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1057 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1058 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1060 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1061 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1063 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
1064 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1065 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
1070 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
1072 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
1073 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
1074 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
1075 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
1077 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
1078 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
1079 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
1081 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
1082 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
1084 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
1085 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
1086 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
1087 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
1089 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
1090 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
1091 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
1093 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
1094 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
1096 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
1097 IMP_PYCALLBACK__COLOUR(wxPyWindow
, wxWindow
, ApplyParentThemeBackground
);
1098 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
1101 // C++ version of Python aware wxPanel
1102 class wxPyPanel
: public wxPanel
1104 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
1106 wxPyPanel() : wxPanel() {}
1107 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
1108 const wxPoint
& pos
= wxDefaultPosition
,
1109 const wxSize
& size
= wxDefaultSize
,
1111 const wxString
& name
= wxPyPanelNameStr
)
1112 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
1114 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
1117 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1118 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1119 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1120 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1122 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1123 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1124 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1126 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1127 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1129 DEC_PYCALLBACK__(InitDialog
);
1130 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1131 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1132 DEC_PYCALLBACK_BOOL_(Validate
);
1134 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1135 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1136 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1138 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1139 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1141 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
1142 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1143 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
1148 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
1150 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
1151 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
1152 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
1153 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
1155 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
1156 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
1157 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
1159 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
1160 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
1162 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
1163 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
1164 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
1165 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
1167 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
1168 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
1169 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
1171 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
1172 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
1174 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
1175 IMP_PYCALLBACK__COLOUR(wxPyPanel
, wxPanel
, ApplyParentThemeBackground
);
1176 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
1179 // C++ version of Python aware wxScrolledWindow
1180 class wxPyScrolledWindow
: public wxScrolledWindow
1182 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
1184 wxPyScrolledWindow() : wxScrolledWindow() {}
1185 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
1186 const wxPoint
& pos
= wxDefaultPosition
,
1187 const wxSize
& size
= wxDefaultSize
,
1189 const wxString
& name
= wxPyPanelNameStr
)
1190 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
1192 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
1194 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1195 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1196 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1197 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1199 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1200 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1201 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1203 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1204 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1206 DEC_PYCALLBACK__(InitDialog
);
1207 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1208 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1209 DEC_PYCALLBACK_BOOL_(Validate
);
1211 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1212 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1213 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1215 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1216 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1218 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
1219 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1220 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
1225 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
1227 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
1228 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
1229 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
1230 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
1232 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
1233 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
1234 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
1236 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
1237 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
1239 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
1240 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
1241 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
1242 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
1244 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
1245 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
1246 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
1248 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
1249 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
1251 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
1252 IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow
, wxScrolledWindow
, ApplyParentThemeBackground
);
1253 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
1257 #include "wx/wxPython/printfw.h"
1260 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
1261 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1265 // Since this one would be tough and ugly to do with the Macros...
1266 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1267 bool hadErr
= false;
1270 bool blocked
= wxPyBeginBlockThreads();
1271 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
1272 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1273 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
1276 val
= PyTuple_GetItem(result
, 0);
1277 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
1280 val
= PyTuple_GetItem(result
, 1);
1281 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
1284 val
= PyTuple_GetItem(result
, 2);
1285 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
1288 val
= PyTuple_GetItem(result
, 3);
1289 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
1296 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
1301 wxPyEndBlockThreads(blocked
);
1303 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1306 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1307 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1311 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
1312 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
1313 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
1314 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
1315 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
1316 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
1317 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
1323 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1324 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1325 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1328 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1329 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1332 bool blocked = wxPyBeginBlockThreads(); \
1333 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1334 PyObject* win = wxPyMake_wxObject(a,false); \
1335 PyObject* dc = wxPyMake_wxObject(&b,false); \
1336 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
1340 wxPyEndBlockThreads(blocked); \
1342 rval = PCLASS::CBNAME(a, b); \
1345 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1346 return PCLASS::CBNAME(a, b); \
1352 class wxPyPrintPreview
: public wxPrintPreview
1354 DECLARE_CLASS(wxPyPrintPreview
)
1356 wxPyPrintPreview(wxPyPrintout
* printout
,
1357 wxPyPrintout
* printoutForPrinting
,
1358 wxPrintDialogData
* data
=NULL
)
1359 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1361 wxPyPrintPreview(wxPyPrintout
* printout
,
1362 wxPyPrintout
* printoutForPrinting
,
1363 wxPrintData
* data
=NULL
)
1364 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1367 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
1368 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
1369 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
1370 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
1371 DEC_PYCALLBACK_VOID_INT(SetZoom
);
1372 DEC_PYCALLBACK_BOOL_BOOL(Print
);
1373 DEC_PYCALLBACK_VOID_(DetermineScaling
);
1378 // Stupid renamed classes... Fix this in 2.5...
1379 #if defined(__WXMSW__)
1380 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
1381 #elif defined(__WXMAC__)
1382 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
1384 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
1387 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
1388 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
1389 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
1390 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
1391 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
1392 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
1393 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
1396 class wxPyPreviewFrame
: public wxPreviewFrame
1398 DECLARE_CLASS(wxPyPreviewFrame
);
1400 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
1401 const wxString
& title
,
1402 const wxPoint
& pos
= wxDefaultPosition
,
1403 const wxSize
& size
= wxDefaultSize
,
1404 long style
= wxDEFAULT_FRAME_STYLE
,
1405 const wxString
& name
= wxPyFrameNameStr
)
1406 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
1409 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
1410 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
1412 DEC_PYCALLBACK_VOID_(Initialize
);
1413 DEC_PYCALLBACK_VOID_(CreateCanvas
);
1414 DEC_PYCALLBACK_VOID_(CreateControlBar
);
1419 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
1421 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
1422 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
1423 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
1426 class wxPyPreviewControlBar
: public wxPreviewControlBar
1428 DECLARE_CLASS(wxPyPreviewControlBar
);
1430 wxPyPreviewControlBar(wxPrintPreview
*preview
,
1433 const wxPoint
& pos
= wxDefaultPosition
,
1434 const wxSize
& size
= wxDefaultSize
,
1436 const wxString
& name
= wxPyPanelNameStr
)
1437 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
1440 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
1442 DEC_PYCALLBACK_VOID_(CreateButtons
);
1443 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
1448 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
1449 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
1450 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
1455 static PyObject
*_wrap_new_Panel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1456 PyObject
*resultobj
;
1457 wxWindow
*arg1
= (wxWindow
*) 0 ;
1458 int arg2
= (int) (int)-1 ;
1459 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1460 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1461 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1462 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1463 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1464 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1465 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1469 bool temp6
= false ;
1470 PyObject
* obj0
= 0 ;
1471 PyObject
* obj1
= 0 ;
1472 PyObject
* obj2
= 0 ;
1473 PyObject
* obj3
= 0 ;
1474 PyObject
* obj4
= 0 ;
1475 PyObject
* obj5
= 0 ;
1477 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1484 arg2
= (int)SWIG_As_int(obj1
);
1485 if (PyErr_Occurred()) SWIG_fail
;
1490 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1496 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1500 arg5
= (long)SWIG_As_long(obj4
);
1501 if (PyErr_Occurred()) SWIG_fail
;
1505 arg6
= wxString_in_helper(obj5
);
1506 if (arg6
== NULL
) SWIG_fail
;
1511 if (!wxPyCheckForApp()) SWIG_fail
;
1512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1513 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1515 wxPyEndAllowThreads(__tstate
);
1516 if (PyErr_Occurred()) SWIG_fail
;
1518 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
1533 static PyObject
*_wrap_new_PrePanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1534 PyObject
*resultobj
;
1540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
1542 if (!wxPyCheckForApp()) SWIG_fail
;
1543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1544 result
= (wxPanel
*)new wxPanel();
1546 wxPyEndAllowThreads(__tstate
);
1547 if (PyErr_Occurred()) SWIG_fail
;
1549 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
1556 static PyObject
*_wrap_Panel_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1557 PyObject
*resultobj
;
1558 wxPanel
*arg1
= (wxPanel
*) 0 ;
1559 wxWindow
*arg2
= (wxWindow
*) 0 ;
1560 int arg3
= (int) (int)-1 ;
1561 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1562 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1563 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1564 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1565 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1566 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1567 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1571 bool temp7
= false ;
1572 PyObject
* obj0
= 0 ;
1573 PyObject
* obj1
= 0 ;
1574 PyObject
* obj2
= 0 ;
1575 PyObject
* obj3
= 0 ;
1576 PyObject
* obj4
= 0 ;
1577 PyObject
* obj5
= 0 ;
1578 PyObject
* obj6
= 0 ;
1580 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1586 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1589 arg3
= (int)SWIG_As_int(obj2
);
1590 if (PyErr_Occurred()) SWIG_fail
;
1595 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1601 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1605 arg6
= (long)SWIG_As_long(obj5
);
1606 if (PyErr_Occurred()) SWIG_fail
;
1610 arg7
= wxString_in_helper(obj6
);
1611 if (arg7
== NULL
) SWIG_fail
;
1616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1617 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1619 wxPyEndAllowThreads(__tstate
);
1620 if (PyErr_Occurred()) SWIG_fail
;
1623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1639 static PyObject
*_wrap_Panel_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1640 PyObject
*resultobj
;
1641 wxPanel
*arg1
= (wxPanel
*) 0 ;
1642 PyObject
* obj0
= 0 ;
1644 (char *) "self", NULL
1647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
1648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1652 (arg1
)->InitDialog();
1654 wxPyEndAllowThreads(__tstate
);
1655 if (PyErr_Occurred()) SWIG_fail
;
1657 Py_INCREF(Py_None
); resultobj
= Py_None
;
1664 static PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1665 PyObject
*resultobj
;
1666 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
1667 wxVisualAttributes result
;
1668 PyObject
* obj0
= 0 ;
1670 (char *) "variant", NULL
1673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
1675 arg1
= (int)SWIG_As_int(obj0
);
1676 if (PyErr_Occurred()) SWIG_fail
;
1679 if (!wxPyCheckForApp()) SWIG_fail
;
1680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1681 result
= wxPanel::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
1683 wxPyEndAllowThreads(__tstate
);
1684 if (PyErr_Occurred()) SWIG_fail
;
1687 wxVisualAttributes
* resultptr
;
1688 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
1689 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
1697 static PyObject
* Panel_swigregister(PyObject
*, PyObject
*args
) {
1699 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1700 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
1702 return Py_BuildValue((char *)"");
1704 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1705 PyObject
*resultobj
;
1706 wxWindow
*arg1
= (wxWindow
*) 0 ;
1707 int arg2
= (int) (int)-1 ;
1708 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1709 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1710 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1711 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1712 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
1713 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1714 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1715 wxScrolledWindow
*result
;
1718 bool temp6
= false ;
1719 PyObject
* obj0
= 0 ;
1720 PyObject
* obj1
= 0 ;
1721 PyObject
* obj2
= 0 ;
1722 PyObject
* obj3
= 0 ;
1723 PyObject
* obj4
= 0 ;
1724 PyObject
* obj5
= 0 ;
1726 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1733 arg2
= (int)SWIG_As_int(obj1
);
1734 if (PyErr_Occurred()) SWIG_fail
;
1739 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1745 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1749 arg5
= (long)SWIG_As_long(obj4
);
1750 if (PyErr_Occurred()) SWIG_fail
;
1754 arg6
= wxString_in_helper(obj5
);
1755 if (arg6
== NULL
) SWIG_fail
;
1760 if (!wxPyCheckForApp()) SWIG_fail
;
1761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1762 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1764 wxPyEndAllowThreads(__tstate
);
1765 if (PyErr_Occurred()) SWIG_fail
;
1767 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1782 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1783 PyObject
*resultobj
;
1784 wxScrolledWindow
*result
;
1789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
1791 if (!wxPyCheckForApp()) SWIG_fail
;
1792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1793 result
= (wxScrolledWindow
*)new wxScrolledWindow();
1795 wxPyEndAllowThreads(__tstate
);
1796 if (PyErr_Occurred()) SWIG_fail
;
1798 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1805 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1806 PyObject
*resultobj
;
1807 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1808 wxWindow
*arg2
= (wxWindow
*) 0 ;
1809 int arg3
= (int) (int)-1 ;
1810 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1811 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1812 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1813 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1814 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
1815 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1816 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1820 bool temp7
= false ;
1821 PyObject
* obj0
= 0 ;
1822 PyObject
* obj1
= 0 ;
1823 PyObject
* obj2
= 0 ;
1824 PyObject
* obj3
= 0 ;
1825 PyObject
* obj4
= 0 ;
1826 PyObject
* obj5
= 0 ;
1827 PyObject
* obj6
= 0 ;
1829 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1835 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1838 arg3
= (int)SWIG_As_int(obj2
);
1839 if (PyErr_Occurred()) SWIG_fail
;
1844 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1850 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1854 arg6
= (long)SWIG_As_long(obj5
);
1855 if (PyErr_Occurred()) SWIG_fail
;
1859 arg7
= wxString_in_helper(obj6
);
1860 if (arg7
== NULL
) SWIG_fail
;
1865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1866 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1868 wxPyEndAllowThreads(__tstate
);
1869 if (PyErr_Occurred()) SWIG_fail
;
1872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1888 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1889 PyObject
*resultobj
;
1890 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1895 int arg6
= (int) 0 ;
1896 int arg7
= (int) 0 ;
1897 bool arg8
= (bool) false ;
1898 PyObject
* obj0
= 0 ;
1899 PyObject
* obj1
= 0 ;
1900 PyObject
* obj2
= 0 ;
1901 PyObject
* obj3
= 0 ;
1902 PyObject
* obj4
= 0 ;
1903 PyObject
* obj5
= 0 ;
1904 PyObject
* obj6
= 0 ;
1905 PyObject
* obj7
= 0 ;
1907 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1913 arg2
= (int)SWIG_As_int(obj1
);
1914 if (PyErr_Occurred()) SWIG_fail
;
1915 arg3
= (int)SWIG_As_int(obj2
);
1916 if (PyErr_Occurred()) SWIG_fail
;
1917 arg4
= (int)SWIG_As_int(obj3
);
1918 if (PyErr_Occurred()) SWIG_fail
;
1919 arg5
= (int)SWIG_As_int(obj4
);
1920 if (PyErr_Occurred()) SWIG_fail
;
1922 arg6
= (int)SWIG_As_int(obj5
);
1923 if (PyErr_Occurred()) SWIG_fail
;
1926 arg7
= (int)SWIG_As_int(obj6
);
1927 if (PyErr_Occurred()) SWIG_fail
;
1930 arg8
= (bool)SWIG_As_bool(obj7
);
1931 if (PyErr_Occurred()) SWIG_fail
;
1934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1935 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
1937 wxPyEndAllowThreads(__tstate
);
1938 if (PyErr_Occurred()) SWIG_fail
;
1940 Py_INCREF(Py_None
); resultobj
= Py_None
;
1947 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1948 PyObject
*resultobj
;
1949 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1952 PyObject
* obj0
= 0 ;
1953 PyObject
* obj1
= 0 ;
1954 PyObject
* obj2
= 0 ;
1956 (char *) "self",(char *) "x",(char *) "y", NULL
1959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1962 arg2
= (int)SWIG_As_int(obj1
);
1963 if (PyErr_Occurred()) SWIG_fail
;
1964 arg3
= (int)SWIG_As_int(obj2
);
1965 if (PyErr_Occurred()) SWIG_fail
;
1967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1968 (arg1
)->Scroll(arg2
,arg3
);
1970 wxPyEndAllowThreads(__tstate
);
1971 if (PyErr_Occurred()) SWIG_fail
;
1973 Py_INCREF(Py_None
); resultobj
= Py_None
;
1980 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1981 PyObject
*resultobj
;
1982 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1985 PyObject
* obj0
= 0 ;
1986 PyObject
* obj1
= 0 ;
1988 (char *) "self",(char *) "orient", NULL
1991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
1992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1994 arg2
= (int)SWIG_As_int(obj1
);
1995 if (PyErr_Occurred()) SWIG_fail
;
1997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1998 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
2000 wxPyEndAllowThreads(__tstate
);
2001 if (PyErr_Occurred()) SWIG_fail
;
2003 resultobj
= SWIG_From_int((int)result
);
2010 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2011 PyObject
*resultobj
;
2012 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2015 PyObject
* obj0
= 0 ;
2016 PyObject
* obj1
= 0 ;
2017 PyObject
* obj2
= 0 ;
2019 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
2022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2025 arg2
= (int)SWIG_As_int(obj1
);
2026 if (PyErr_Occurred()) SWIG_fail
;
2027 arg3
= (int)SWIG_As_int(obj2
);
2028 if (PyErr_Occurred()) SWIG_fail
;
2030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2031 (arg1
)->SetScrollPageSize(arg2
,arg3
);
2033 wxPyEndAllowThreads(__tstate
);
2034 if (PyErr_Occurred()) SWIG_fail
;
2036 Py_INCREF(Py_None
); resultobj
= Py_None
;
2043 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2044 PyObject
*resultobj
;
2045 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2048 PyObject
* obj0
= 0 ;
2049 PyObject
* obj1
= 0 ;
2050 PyObject
* obj2
= 0 ;
2052 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
2055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2058 arg2
= (int)SWIG_As_int(obj1
);
2059 if (PyErr_Occurred()) SWIG_fail
;
2060 arg3
= (int)SWIG_As_int(obj2
);
2061 if (PyErr_Occurred()) SWIG_fail
;
2063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2064 (arg1
)->SetScrollRate(arg2
,arg3
);
2066 wxPyEndAllowThreads(__tstate
);
2067 if (PyErr_Occurred()) SWIG_fail
;
2069 Py_INCREF(Py_None
); resultobj
= Py_None
;
2076 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2077 PyObject
*resultobj
;
2078 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2079 int *arg2
= (int *) 0 ;
2080 int *arg3
= (int *) 0 ;
2085 PyObject
* obj0
= 0 ;
2087 (char *) "self", NULL
2090 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
2091 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
2092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
2093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2097 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
2099 wxPyEndAllowThreads(__tstate
);
2100 if (PyErr_Occurred()) SWIG_fail
;
2102 Py_INCREF(Py_None
); resultobj
= Py_None
;
2103 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
2104 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
2105 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
2106 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
2113 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2114 PyObject
*resultobj
;
2115 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2118 PyObject
* obj0
= 0 ;
2119 PyObject
* obj1
= 0 ;
2120 PyObject
* obj2
= 0 ;
2122 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
2125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2128 arg2
= (bool)SWIG_As_bool(obj1
);
2129 if (PyErr_Occurred()) SWIG_fail
;
2130 arg3
= (bool)SWIG_As_bool(obj2
);
2131 if (PyErr_Occurred()) SWIG_fail
;
2133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2134 (arg1
)->EnableScrolling(arg2
,arg3
);
2136 wxPyEndAllowThreads(__tstate
);
2137 if (PyErr_Occurred()) SWIG_fail
;
2139 Py_INCREF(Py_None
); resultobj
= Py_None
;
2146 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2147 PyObject
*resultobj
;
2148 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2149 int *arg2
= (int *) 0 ;
2150 int *arg3
= (int *) 0 ;
2155 PyObject
* obj0
= 0 ;
2157 (char *) "self", NULL
2160 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
2161 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
2162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
2163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2167 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
2169 wxPyEndAllowThreads(__tstate
);
2170 if (PyErr_Occurred()) SWIG_fail
;
2172 Py_INCREF(Py_None
); resultobj
= Py_None
;
2173 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
2174 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
2175 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
2176 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
2183 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2184 PyObject
*resultobj
;
2185 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2188 PyObject
* obj0
= 0 ;
2189 PyObject
* obj1
= 0 ;
2190 PyObject
* obj2
= 0 ;
2192 (char *) "self",(char *) "xs",(char *) "ys", NULL
2195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2198 arg2
= (double)SWIG_As_double(obj1
);
2199 if (PyErr_Occurred()) SWIG_fail
;
2200 arg3
= (double)SWIG_As_double(obj2
);
2201 if (PyErr_Occurred()) SWIG_fail
;
2203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2204 (arg1
)->SetScale(arg2
,arg3
);
2206 wxPyEndAllowThreads(__tstate
);
2207 if (PyErr_Occurred()) SWIG_fail
;
2209 Py_INCREF(Py_None
); resultobj
= Py_None
;
2216 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2217 PyObject
*resultobj
;
2218 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2220 PyObject
* obj0
= 0 ;
2222 (char *) "self", NULL
2225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
2226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2230 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
2232 wxPyEndAllowThreads(__tstate
);
2233 if (PyErr_Occurred()) SWIG_fail
;
2235 resultobj
= SWIG_From_double((double)result
);
2242 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2243 PyObject
*resultobj
;
2244 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2246 PyObject
* obj0
= 0 ;
2248 (char *) "self", NULL
2251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
2252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2256 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
2258 wxPyEndAllowThreads(__tstate
);
2259 if (PyErr_Occurred()) SWIG_fail
;
2261 resultobj
= SWIG_From_double((double)result
);
2268 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
2269 PyObject
*resultobj
;
2270 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2274 PyObject
* obj0
= 0 ;
2275 PyObject
* obj1
= 0 ;
2277 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
2278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2282 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2286 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
2288 wxPyEndAllowThreads(__tstate
);
2289 if (PyErr_Occurred()) SWIG_fail
;
2292 wxPoint
* resultptr
;
2293 resultptr
= new wxPoint((wxPoint
&) result
);
2294 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2302 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
2303 PyObject
*resultobj
;
2304 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2307 int *arg4
= (int *) 0 ;
2308 int *arg5
= (int *) 0 ;
2313 PyObject
* obj0
= 0 ;
2314 PyObject
* obj1
= 0 ;
2315 PyObject
* obj2
= 0 ;
2317 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
2318 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
2319 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2322 arg2
= (int)SWIG_As_int(obj1
);
2323 if (PyErr_Occurred()) SWIG_fail
;
2324 arg3
= (int)SWIG_As_int(obj2
);
2325 if (PyErr_Occurred()) SWIG_fail
;
2327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2328 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
2330 wxPyEndAllowThreads(__tstate
);
2331 if (PyErr_Occurred()) SWIG_fail
;
2333 Py_INCREF(Py_None
); resultobj
= Py_None
;
2334 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
2335 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
2336 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
2337 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
2344 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
2349 argc
= PyObject_Length(args
);
2350 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2351 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2357 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2366 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2369 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
2377 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2385 _v
= SWIG_Check_int(argv
[1]);
2387 _v
= SWIG_Check_int(argv
[2]);
2389 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
2395 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2400 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
2401 PyObject
*resultobj
;
2402 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2406 PyObject
* obj0
= 0 ;
2407 PyObject
* obj1
= 0 ;
2409 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
2410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2414 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2418 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
2420 wxPyEndAllowThreads(__tstate
);
2421 if (PyErr_Occurred()) SWIG_fail
;
2424 wxPoint
* resultptr
;
2425 resultptr
= new wxPoint((wxPoint
&) result
);
2426 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2434 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
2435 PyObject
*resultobj
;
2436 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2439 int *arg4
= (int *) 0 ;
2440 int *arg5
= (int *) 0 ;
2445 PyObject
* obj0
= 0 ;
2446 PyObject
* obj1
= 0 ;
2447 PyObject
* obj2
= 0 ;
2449 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
2450 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
2451 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2454 arg2
= (int)SWIG_As_int(obj1
);
2455 if (PyErr_Occurred()) SWIG_fail
;
2456 arg3
= (int)SWIG_As_int(obj2
);
2457 if (PyErr_Occurred()) SWIG_fail
;
2459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2460 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
2462 wxPyEndAllowThreads(__tstate
);
2463 if (PyErr_Occurred()) SWIG_fail
;
2465 Py_INCREF(Py_None
); resultobj
= Py_None
;
2466 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
2467 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
2468 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
2469 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
2476 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
2481 argc
= PyObject_Length(args
);
2482 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2483 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2489 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2498 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2501 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
2509 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2517 _v
= SWIG_Check_int(argv
[1]);
2519 _v
= SWIG_Check_int(argv
[2]);
2521 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
2527 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2532 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2533 PyObject
*resultobj
;
2534 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2535 PyObject
* obj0
= 0 ;
2537 (char *) "self", NULL
2540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
2541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2545 (arg1
)->AdjustScrollbars();
2547 wxPyEndAllowThreads(__tstate
);
2548 if (PyErr_Occurred()) SWIG_fail
;
2550 Py_INCREF(Py_None
); resultobj
= Py_None
;
2557 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2558 PyObject
*resultobj
;
2559 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2560 wxScrollWinEvent
*arg2
= 0 ;
2562 PyObject
* obj0
= 0 ;
2563 PyObject
* obj1
= 0 ;
2565 (char *) "self",(char *) "event", NULL
2568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
2569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2571 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxScrollWinEvent
,
2572 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2575 PyErr_SetString(PyExc_TypeError
,"null reference");
2579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2580 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
2582 wxPyEndAllowThreads(__tstate
);
2583 if (PyErr_Occurred()) SWIG_fail
;
2585 resultobj
= SWIG_From_int((int)result
);
2592 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2593 PyObject
*resultobj
;
2594 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2595 wxWindow
*arg2
= (wxWindow
*) 0 ;
2596 PyObject
* obj0
= 0 ;
2597 PyObject
* obj1
= 0 ;
2599 (char *) "self",(char *) "target", NULL
2602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
2603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2605 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2609 (arg1
)->SetTargetWindow(arg2
);
2611 wxPyEndAllowThreads(__tstate
);
2612 if (PyErr_Occurred()) SWIG_fail
;
2614 Py_INCREF(Py_None
); resultobj
= Py_None
;
2621 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2622 PyObject
*resultobj
;
2623 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2625 PyObject
* obj0
= 0 ;
2627 (char *) "self", NULL
2630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
2631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2635 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
2637 wxPyEndAllowThreads(__tstate
);
2638 if (PyErr_Occurred()) SWIG_fail
;
2641 resultobj
= wxPyMake_wxObject(result
, 0);
2649 static PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2650 PyObject
*resultobj
;
2651 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2653 PyObject
* obj0
= 0 ;
2654 PyObject
* obj1
= 0 ;
2656 (char *) "self",(char *) "dc", NULL
2659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
2660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2662 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
2663 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2666 PyErr_SetString(PyExc_TypeError
,"null reference");
2670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2671 (arg1
)->DoPrepareDC(*arg2
);
2673 wxPyEndAllowThreads(__tstate
);
2674 if (PyErr_Occurred()) SWIG_fail
;
2676 Py_INCREF(Py_None
); resultobj
= Py_None
;
2683 static PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2684 PyObject
*resultobj
;
2685 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2686 wxVisualAttributes result
;
2687 PyObject
* obj0
= 0 ;
2689 (char *) "variant", NULL
2692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2694 arg1
= (int)SWIG_As_int(obj0
);
2695 if (PyErr_Occurred()) SWIG_fail
;
2698 if (!wxPyCheckForApp()) SWIG_fail
;
2699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2700 result
= wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2702 wxPyEndAllowThreads(__tstate
);
2703 if (PyErr_Occurred()) SWIG_fail
;
2706 wxVisualAttributes
* resultptr
;
2707 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2708 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2716 static PyObject
* ScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
2718 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2719 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
2721 return Py_BuildValue((char *)"");
2723 static int _wrap_FrameNameStr_set(PyObject
*) {
2724 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
2729 static PyObject
*_wrap_FrameNameStr_get() {
2734 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2736 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2743 static int _wrap_DialogNameStr_set(PyObject
*) {
2744 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
2749 static PyObject
*_wrap_DialogNameStr_get() {
2754 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2756 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2763 static int _wrap_StatusLineNameStr_set(PyObject
*) {
2764 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
2769 static PyObject
*_wrap_StatusLineNameStr_get() {
2774 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2776 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2783 static int _wrap_ToolBarNameStr_set(PyObject
*) {
2784 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
2789 static PyObject
*_wrap_ToolBarNameStr_get() {
2794 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2796 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2803 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2804 PyObject
*resultobj
;
2805 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2806 bool arg2
= (bool) true ;
2807 PyObject
* obj0
= 0 ;
2808 PyObject
* obj1
= 0 ;
2810 (char *) "self",(char *) "maximize", NULL
2813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
2814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2817 arg2
= (bool)SWIG_As_bool(obj1
);
2818 if (PyErr_Occurred()) SWIG_fail
;
2821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2822 (arg1
)->Maximize(arg2
);
2824 wxPyEndAllowThreads(__tstate
);
2825 if (PyErr_Occurred()) SWIG_fail
;
2827 Py_INCREF(Py_None
); resultobj
= Py_None
;
2834 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2835 PyObject
*resultobj
;
2836 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2837 PyObject
* obj0
= 0 ;
2839 (char *) "self", NULL
2842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
2843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2849 wxPyEndAllowThreads(__tstate
);
2850 if (PyErr_Occurred()) SWIG_fail
;
2852 Py_INCREF(Py_None
); resultobj
= Py_None
;
2859 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2860 PyObject
*resultobj
;
2861 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2862 bool arg2
= (bool) true ;
2863 PyObject
* obj0
= 0 ;
2864 PyObject
* obj1
= 0 ;
2866 (char *) "self",(char *) "iconize", NULL
2869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
2870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2873 arg2
= (bool)SWIG_As_bool(obj1
);
2874 if (PyErr_Occurred()) SWIG_fail
;
2877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2878 (arg1
)->Iconize(arg2
);
2880 wxPyEndAllowThreads(__tstate
);
2881 if (PyErr_Occurred()) SWIG_fail
;
2883 Py_INCREF(Py_None
); resultobj
= Py_None
;
2890 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2891 PyObject
*resultobj
;
2892 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2894 PyObject
* obj0
= 0 ;
2896 (char *) "self", NULL
2899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
2900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2904 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
2906 wxPyEndAllowThreads(__tstate
);
2907 if (PyErr_Occurred()) SWIG_fail
;
2910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2918 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2919 PyObject
*resultobj
;
2920 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2922 PyObject
* obj0
= 0 ;
2924 (char *) "self", NULL
2927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
2928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2932 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
2934 wxPyEndAllowThreads(__tstate
);
2935 if (PyErr_Occurred()) SWIG_fail
;
2938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2946 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2947 PyObject
*resultobj
;
2948 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2950 PyObject
* obj0
= 0 ;
2952 (char *) "self", NULL
2955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
2956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2960 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
2962 wxPyEndAllowThreads(__tstate
);
2963 if (PyErr_Occurred()) SWIG_fail
;
2967 resultptr
= new wxIcon((wxIcon
&) result
);
2968 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
2976 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2977 PyObject
*resultobj
;
2978 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2980 PyObject
* obj0
= 0 ;
2981 PyObject
* obj1
= 0 ;
2983 (char *) "self",(char *) "icon", NULL
2986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
2987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2989 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
2990 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2993 PyErr_SetString(PyExc_TypeError
,"null reference");
2997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2998 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
3000 wxPyEndAllowThreads(__tstate
);
3001 if (PyErr_Occurred()) SWIG_fail
;
3003 Py_INCREF(Py_None
); resultobj
= Py_None
;
3010 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3011 PyObject
*resultobj
;
3012 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3013 wxIconBundle
*arg2
= 0 ;
3014 PyObject
* obj0
= 0 ;
3015 PyObject
* obj1
= 0 ;
3017 (char *) "self",(char *) "icons", NULL
3020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
3021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3023 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIconBundle
,
3024 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3027 PyErr_SetString(PyExc_TypeError
,"null reference");
3031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3032 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
3034 wxPyEndAllowThreads(__tstate
);
3035 if (PyErr_Occurred()) SWIG_fail
;
3037 Py_INCREF(Py_None
); resultobj
= Py_None
;
3044 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3045 PyObject
*resultobj
;
3046 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3048 long arg3
= (long) wxFULLSCREEN_ALL
;
3050 PyObject
* obj0
= 0 ;
3051 PyObject
* obj1
= 0 ;
3052 PyObject
* obj2
= 0 ;
3054 (char *) "self",(char *) "show",(char *) "style", NULL
3057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3060 arg2
= (bool)SWIG_As_bool(obj1
);
3061 if (PyErr_Occurred()) SWIG_fail
;
3063 arg3
= (long)SWIG_As_long(obj2
);
3064 if (PyErr_Occurred()) SWIG_fail
;
3067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3068 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
3070 wxPyEndAllowThreads(__tstate
);
3071 if (PyErr_Occurred()) SWIG_fail
;
3074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3082 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3083 PyObject
*resultobj
;
3084 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3086 PyObject
* obj0
= 0 ;
3088 (char *) "self", NULL
3091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
3092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3096 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
3098 wxPyEndAllowThreads(__tstate
);
3099 if (PyErr_Occurred()) SWIG_fail
;
3102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3110 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3111 PyObject
*resultobj
;
3112 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3113 wxString
*arg2
= 0 ;
3114 bool temp2
= false ;
3115 PyObject
* obj0
= 0 ;
3116 PyObject
* obj1
= 0 ;
3118 (char *) "self",(char *) "title", NULL
3121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
3122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3125 arg2
= wxString_in_helper(obj1
);
3126 if (arg2
== NULL
) SWIG_fail
;
3130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3131 (arg1
)->SetTitle((wxString
const &)*arg2
);
3133 wxPyEndAllowThreads(__tstate
);
3134 if (PyErr_Occurred()) SWIG_fail
;
3136 Py_INCREF(Py_None
); resultobj
= Py_None
;
3151 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3152 PyObject
*resultobj
;
3153 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3155 PyObject
* obj0
= 0 ;
3157 (char *) "self", NULL
3160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
3161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3165 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
3167 wxPyEndAllowThreads(__tstate
);
3168 if (PyErr_Occurred()) SWIG_fail
;
3172 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3174 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3183 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3184 PyObject
*resultobj
;
3185 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3186 wxRegion
*arg2
= 0 ;
3188 PyObject
* obj0
= 0 ;
3189 PyObject
* obj1
= 0 ;
3191 (char *) "self",(char *) "region", NULL
3194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
3195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3197 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
3198 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3201 PyErr_SetString(PyExc_TypeError
,"null reference");
3205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3206 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
3208 wxPyEndAllowThreads(__tstate
);
3209 if (PyErr_Occurred()) SWIG_fail
;
3212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3220 static PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3221 PyObject
*resultobj
;
3222 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3223 int arg2
= (int) wxUSER_ATTENTION_INFO
;
3224 PyObject
* obj0
= 0 ;
3225 PyObject
* obj1
= 0 ;
3227 (char *) "self",(char *) "flags", NULL
3230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) goto fail
;
3231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3234 arg2
= (int)SWIG_As_int(obj1
);
3235 if (PyErr_Occurred()) SWIG_fail
;
3238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3239 (arg1
)->RequestUserAttention(arg2
);
3241 wxPyEndAllowThreads(__tstate
);
3242 if (PyErr_Occurred()) SWIG_fail
;
3244 Py_INCREF(Py_None
); resultobj
= Py_None
;
3251 static PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3252 PyObject
*resultobj
;
3253 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3255 PyObject
* obj0
= 0 ;
3257 (char *) "self", NULL
3260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsActive",kwnames
,&obj0
)) goto fail
;
3261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3265 result
= (bool)(arg1
)->IsActive();
3267 wxPyEndAllowThreads(__tstate
);
3268 if (PyErr_Occurred()) SWIG_fail
;
3271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3279 static PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3280 PyObject
*resultobj
;
3281 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3283 PyObject
* obj0
= 0 ;
3284 PyObject
* obj1
= 0 ;
3286 (char *) "self",(char *) "on", NULL
3289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) goto fail
;
3290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3292 arg2
= (bool)SWIG_As_bool(obj1
);
3293 if (PyErr_Occurred()) SWIG_fail
;
3295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3296 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
3298 wxPyEndAllowThreads(__tstate
);
3299 if (PyErr_Occurred()) SWIG_fail
;
3301 Py_INCREF(Py_None
); resultobj
= Py_None
;
3308 static PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3309 PyObject
*resultobj
;
3310 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3312 PyObject
* obj0
= 0 ;
3314 (char *) "self", NULL
3317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames
,&obj0
)) goto fail
;
3318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3322 result
= (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow
const *)arg1
);
3324 wxPyEndAllowThreads(__tstate
);
3325 if (PyErr_Occurred()) SWIG_fail
;
3328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3336 static PyObject
* TopLevelWindow_swigregister(PyObject
*, PyObject
*args
) {
3338 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3339 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
3341 return Py_BuildValue((char *)"");
3343 static PyObject
*_wrap_new_Frame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3344 PyObject
*resultobj
;
3345 wxWindow
*arg1
= (wxWindow
*) 0 ;
3346 int arg2
= (int) (int)-1 ;
3347 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3348 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3349 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3350 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3351 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3352 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3353 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
3354 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
3355 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3357 bool temp3
= false ;
3360 bool temp7
= false ;
3361 PyObject
* obj0
= 0 ;
3362 PyObject
* obj1
= 0 ;
3363 PyObject
* obj2
= 0 ;
3364 PyObject
* obj3
= 0 ;
3365 PyObject
* obj4
= 0 ;
3366 PyObject
* obj5
= 0 ;
3367 PyObject
* obj6
= 0 ;
3369 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3376 arg2
= (int)SWIG_As_int(obj1
);
3377 if (PyErr_Occurred()) SWIG_fail
;
3381 arg3
= wxString_in_helper(obj2
);
3382 if (arg3
== NULL
) SWIG_fail
;
3389 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3395 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3399 arg6
= (long)SWIG_As_long(obj5
);
3400 if (PyErr_Occurred()) SWIG_fail
;
3404 arg7
= wxString_in_helper(obj6
);
3405 if (arg7
== NULL
) SWIG_fail
;
3410 if (!wxPyCheckForApp()) SWIG_fail
;
3411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3412 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3414 wxPyEndAllowThreads(__tstate
);
3415 if (PyErr_Occurred()) SWIG_fail
;
3417 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
3440 static PyObject
*_wrap_new_PreFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3441 PyObject
*resultobj
;
3447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
3449 if (!wxPyCheckForApp()) SWIG_fail
;
3450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3451 result
= (wxFrame
*)new wxFrame();
3453 wxPyEndAllowThreads(__tstate
);
3454 if (PyErr_Occurred()) SWIG_fail
;
3456 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
3463 static PyObject
*_wrap_Frame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3464 PyObject
*resultobj
;
3465 wxFrame
*arg1
= (wxFrame
*) 0 ;
3466 wxWindow
*arg2
= (wxWindow
*) 0 ;
3467 int arg3
= (int) (int)-1 ;
3468 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3469 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3470 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3471 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3472 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3473 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3474 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
3475 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
3476 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3478 bool temp4
= false ;
3481 bool temp8
= false ;
3482 PyObject
* obj0
= 0 ;
3483 PyObject
* obj1
= 0 ;
3484 PyObject
* obj2
= 0 ;
3485 PyObject
* obj3
= 0 ;
3486 PyObject
* obj4
= 0 ;
3487 PyObject
* obj5
= 0 ;
3488 PyObject
* obj6
= 0 ;
3489 PyObject
* obj7
= 0 ;
3491 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3497 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3500 arg3
= (int)SWIG_As_int(obj2
);
3501 if (PyErr_Occurred()) SWIG_fail
;
3505 arg4
= wxString_in_helper(obj3
);
3506 if (arg4
== NULL
) SWIG_fail
;
3513 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3519 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3523 arg7
= (long)SWIG_As_long(obj6
);
3524 if (PyErr_Occurred()) SWIG_fail
;
3528 arg8
= wxString_in_helper(obj7
);
3529 if (arg8
== NULL
) SWIG_fail
;
3534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3535 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3537 wxPyEndAllowThreads(__tstate
);
3538 if (PyErr_Occurred()) SWIG_fail
;
3541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3565 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3566 PyObject
*resultobj
;
3567 wxFrame
*arg1
= (wxFrame
*) 0 ;
3569 PyObject
* obj0
= 0 ;
3571 (char *) "self", NULL
3574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
3575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3579 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
3581 wxPyEndAllowThreads(__tstate
);
3582 if (PyErr_Occurred()) SWIG_fail
;
3585 wxPoint
* resultptr
;
3586 resultptr
= new wxPoint((wxPoint
&) result
);
3587 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3595 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3596 PyObject
*resultobj
;
3597 wxFrame
*arg1
= (wxFrame
*) 0 ;
3598 PyObject
* obj0
= 0 ;
3600 (char *) "self", NULL
3603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
3604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3608 (arg1
)->SendSizeEvent();
3610 wxPyEndAllowThreads(__tstate
);
3611 if (PyErr_Occurred()) SWIG_fail
;
3613 Py_INCREF(Py_None
); resultobj
= Py_None
;
3620 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3621 PyObject
*resultobj
;
3622 wxFrame
*arg1
= (wxFrame
*) 0 ;
3623 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
3624 PyObject
* obj0
= 0 ;
3625 PyObject
* obj1
= 0 ;
3627 (char *) "self",(char *) "menubar", NULL
3630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3633 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBar
,
3634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3637 (arg1
)->SetMenuBar(arg2
);
3639 wxPyEndAllowThreads(__tstate
);
3640 if (PyErr_Occurred()) SWIG_fail
;
3642 Py_INCREF(Py_None
); resultobj
= Py_None
;
3649 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3650 PyObject
*resultobj
;
3651 wxFrame
*arg1
= (wxFrame
*) 0 ;
3653 PyObject
* obj0
= 0 ;
3655 (char *) "self", NULL
3658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
3659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3663 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
3665 wxPyEndAllowThreads(__tstate
);
3666 if (PyErr_Occurred()) SWIG_fail
;
3669 resultobj
= wxPyMake_wxObject(result
, 0);
3677 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3678 PyObject
*resultobj
;
3679 wxFrame
*arg1
= (wxFrame
*) 0 ;
3682 PyObject
* obj0
= 0 ;
3683 PyObject
* obj1
= 0 ;
3685 (char *) "self",(char *) "winid", NULL
3688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
3689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3691 arg2
= (int)SWIG_As_int(obj1
);
3692 if (PyErr_Occurred()) SWIG_fail
;
3694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3695 result
= (bool)(arg1
)->ProcessCommand(arg2
);
3697 wxPyEndAllowThreads(__tstate
);
3698 if (PyErr_Occurred()) SWIG_fail
;
3701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3709 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3710 PyObject
*resultobj
;
3711 wxFrame
*arg1
= (wxFrame
*) 0 ;
3712 int arg2
= (int) 1 ;
3713 long arg3
= (long) wxST_SIZEGRIP
|wxFULL_REPAINT_ON_RESIZE
;
3714 int arg4
= (int) 0 ;
3715 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
3716 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3717 wxStatusBar
*result
;
3718 bool temp5
= false ;
3719 PyObject
* obj0
= 0 ;
3720 PyObject
* obj1
= 0 ;
3721 PyObject
* obj2
= 0 ;
3722 PyObject
* obj3
= 0 ;
3723 PyObject
* obj4
= 0 ;
3725 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3732 arg2
= (int)SWIG_As_int(obj1
);
3733 if (PyErr_Occurred()) SWIG_fail
;
3736 arg3
= (long)SWIG_As_long(obj2
);
3737 if (PyErr_Occurred()) SWIG_fail
;
3740 arg4
= (int)SWIG_As_int(obj3
);
3741 if (PyErr_Occurred()) SWIG_fail
;
3745 arg5
= wxString_in_helper(obj4
);
3746 if (arg5
== NULL
) SWIG_fail
;
3751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3752 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
3754 wxPyEndAllowThreads(__tstate
);
3755 if (PyErr_Occurred()) SWIG_fail
;
3758 resultobj
= wxPyMake_wxObject(result
, 0);
3774 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3775 PyObject
*resultobj
;
3776 wxFrame
*arg1
= (wxFrame
*) 0 ;
3777 wxStatusBar
*result
;
3778 PyObject
* obj0
= 0 ;
3780 (char *) "self", NULL
3783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
3784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3788 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
3790 wxPyEndAllowThreads(__tstate
);
3791 if (PyErr_Occurred()) SWIG_fail
;
3794 resultobj
= wxPyMake_wxObject(result
, 0);
3802 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3803 PyObject
*resultobj
;
3804 wxFrame
*arg1
= (wxFrame
*) 0 ;
3805 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
3806 PyObject
* obj0
= 0 ;
3807 PyObject
* obj1
= 0 ;
3809 (char *) "self",(char *) "statBar", NULL
3812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3815 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxStatusBar
,
3816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3819 (arg1
)->SetStatusBar(arg2
);
3821 wxPyEndAllowThreads(__tstate
);
3822 if (PyErr_Occurred()) SWIG_fail
;
3824 Py_INCREF(Py_None
); resultobj
= Py_None
;
3831 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3832 PyObject
*resultobj
;
3833 wxFrame
*arg1
= (wxFrame
*) 0 ;
3834 wxString
*arg2
= 0 ;
3835 int arg3
= (int) 0 ;
3836 bool temp2
= false ;
3837 PyObject
* obj0
= 0 ;
3838 PyObject
* obj1
= 0 ;
3839 PyObject
* obj2
= 0 ;
3841 (char *) "self",(char *) "text",(char *) "number", NULL
3844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3848 arg2
= wxString_in_helper(obj1
);
3849 if (arg2
== NULL
) SWIG_fail
;
3853 arg3
= (int)SWIG_As_int(obj2
);
3854 if (PyErr_Occurred()) SWIG_fail
;
3857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3858 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
3860 wxPyEndAllowThreads(__tstate
);
3861 if (PyErr_Occurred()) SWIG_fail
;
3863 Py_INCREF(Py_None
); resultobj
= Py_None
;
3878 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3879 PyObject
*resultobj
;
3880 wxFrame
*arg1
= (wxFrame
*) 0 ;
3882 int *arg3
= (int *) 0 ;
3883 PyObject
* obj0
= 0 ;
3884 PyObject
* obj1
= 0 ;
3886 (char *) "self",(char *) "widths", NULL
3889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
3890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3893 arg2
= PyList_Size(obj1
);
3894 arg3
= int_LIST_helper(obj1
);
3895 if (arg3
== NULL
) SWIG_fail
;
3898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3899 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
3901 wxPyEndAllowThreads(__tstate
);
3902 if (PyErr_Occurred()) SWIG_fail
;
3904 Py_INCREF(Py_None
); resultobj
= Py_None
;
3906 if (arg3
) delete [] arg3
;
3911 if (arg3
) delete [] arg3
;
3917 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3918 PyObject
*resultobj
;
3919 wxFrame
*arg1
= (wxFrame
*) 0 ;
3920 wxString
*arg2
= 0 ;
3921 int arg3
= (int) 0 ;
3922 bool temp2
= false ;
3923 PyObject
* obj0
= 0 ;
3924 PyObject
* obj1
= 0 ;
3925 PyObject
* obj2
= 0 ;
3927 (char *) "self",(char *) "text",(char *) "number", NULL
3930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3934 arg2
= wxString_in_helper(obj1
);
3935 if (arg2
== NULL
) SWIG_fail
;
3939 arg3
= (int)SWIG_As_int(obj2
);
3940 if (PyErr_Occurred()) SWIG_fail
;
3943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3944 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
3946 wxPyEndAllowThreads(__tstate
);
3947 if (PyErr_Occurred()) SWIG_fail
;
3949 Py_INCREF(Py_None
); resultobj
= Py_None
;
3964 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3965 PyObject
*resultobj
;
3966 wxFrame
*arg1
= (wxFrame
*) 0 ;
3967 int arg2
= (int) 0 ;
3968 PyObject
* obj0
= 0 ;
3969 PyObject
* obj1
= 0 ;
3971 (char *) "self",(char *) "number", NULL
3974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
3975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3978 arg2
= (int)SWIG_As_int(obj1
);
3979 if (PyErr_Occurred()) SWIG_fail
;
3982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3983 (arg1
)->PopStatusText(arg2
);
3985 wxPyEndAllowThreads(__tstate
);
3986 if (PyErr_Occurred()) SWIG_fail
;
3988 Py_INCREF(Py_None
); resultobj
= Py_None
;
3995 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3996 PyObject
*resultobj
;
3997 wxFrame
*arg1
= (wxFrame
*) 0 ;
3999 PyObject
* obj0
= 0 ;
4000 PyObject
* obj1
= 0 ;
4002 (char *) "self",(char *) "n", NULL
4005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
4006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4008 arg2
= (int)SWIG_As_int(obj1
);
4009 if (PyErr_Occurred()) SWIG_fail
;
4011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4012 (arg1
)->SetStatusBarPane(arg2
);
4014 wxPyEndAllowThreads(__tstate
);
4015 if (PyErr_Occurred()) SWIG_fail
;
4017 Py_INCREF(Py_None
); resultobj
= Py_None
;
4024 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4025 PyObject
*resultobj
;
4026 wxFrame
*arg1
= (wxFrame
*) 0 ;
4028 PyObject
* obj0
= 0 ;
4030 (char *) "self", NULL
4033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
4034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4038 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
4040 wxPyEndAllowThreads(__tstate
);
4041 if (PyErr_Occurred()) SWIG_fail
;
4043 resultobj
= SWIG_From_int((int)result
);
4050 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4051 PyObject
*resultobj
;
4052 wxFrame
*arg1
= (wxFrame
*) 0 ;
4053 long arg2
= (long) -1 ;
4054 int arg3
= (int) -1 ;
4055 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
4056 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4058 bool temp4
= false ;
4059 PyObject
* obj0
= 0 ;
4060 PyObject
* obj1
= 0 ;
4061 PyObject
* obj2
= 0 ;
4062 PyObject
* obj3
= 0 ;
4064 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
4067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4071 arg2
= (long)SWIG_As_long(obj1
);
4072 if (PyErr_Occurred()) SWIG_fail
;
4075 arg3
= (int)SWIG_As_int(obj2
);
4076 if (PyErr_Occurred()) SWIG_fail
;
4080 arg4
= wxString_in_helper(obj3
);
4081 if (arg4
== NULL
) SWIG_fail
;
4086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4087 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
4089 wxPyEndAllowThreads(__tstate
);
4090 if (PyErr_Occurred()) SWIG_fail
;
4093 resultobj
= wxPyMake_wxObject(result
, 0);
4109 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4110 PyObject
*resultobj
;
4111 wxFrame
*arg1
= (wxFrame
*) 0 ;
4113 PyObject
* obj0
= 0 ;
4115 (char *) "self", NULL
4118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
4119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4123 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
4125 wxPyEndAllowThreads(__tstate
);
4126 if (PyErr_Occurred()) SWIG_fail
;
4129 resultobj
= wxPyMake_wxObject(result
, 0);
4137 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4138 PyObject
*resultobj
;
4139 wxFrame
*arg1
= (wxFrame
*) 0 ;
4140 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
4141 PyObject
* obj0
= 0 ;
4142 PyObject
* obj1
= 0 ;
4144 (char *) "self",(char *) "toolbar", NULL
4147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
4148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4150 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBar
,
4151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4154 (arg1
)->SetToolBar(arg2
);
4156 wxPyEndAllowThreads(__tstate
);
4157 if (PyErr_Occurred()) SWIG_fail
;
4159 Py_INCREF(Py_None
); resultobj
= Py_None
;
4166 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4167 PyObject
*resultobj
;
4168 wxFrame
*arg1
= (wxFrame
*) 0 ;
4169 wxString
*arg2
= 0 ;
4171 bool temp2
= false ;
4172 PyObject
* obj0
= 0 ;
4173 PyObject
* obj1
= 0 ;
4174 PyObject
* obj2
= 0 ;
4176 (char *) "self",(char *) "text",(char *) "show", NULL
4179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4183 arg2
= wxString_in_helper(obj1
);
4184 if (arg2
== NULL
) SWIG_fail
;
4187 arg3
= (bool)SWIG_As_bool(obj2
);
4188 if (PyErr_Occurred()) SWIG_fail
;
4190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4191 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
4193 wxPyEndAllowThreads(__tstate
);
4194 if (PyErr_Occurred()) SWIG_fail
;
4196 Py_INCREF(Py_None
); resultobj
= Py_None
;
4211 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4212 PyObject
*resultobj
;
4213 wxFrame
*arg1
= (wxFrame
*) 0 ;
4214 wxMenu
*arg2
= (wxMenu
*) NULL
;
4215 PyObject
* obj0
= 0 ;
4216 PyObject
* obj1
= 0 ;
4218 (char *) "self",(char *) "menu", NULL
4221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
4222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4225 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
4226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4230 (arg1
)->DoMenuUpdates(arg2
);
4232 wxPyEndAllowThreads(__tstate
);
4233 if (PyErr_Occurred()) SWIG_fail
;
4235 Py_INCREF(Py_None
); resultobj
= Py_None
;
4242 static PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4243 PyObject
*resultobj
;
4244 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4245 wxVisualAttributes result
;
4246 PyObject
* obj0
= 0 ;
4248 (char *) "variant", NULL
4251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4253 arg1
= (int)SWIG_As_int(obj0
);
4254 if (PyErr_Occurred()) SWIG_fail
;
4257 if (!wxPyCheckForApp()) SWIG_fail
;
4258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4259 result
= wxFrame::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4261 wxPyEndAllowThreads(__tstate
);
4262 if (PyErr_Occurred()) SWIG_fail
;
4265 wxVisualAttributes
* resultptr
;
4266 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4267 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4275 static PyObject
* Frame_swigregister(PyObject
*, PyObject
*args
) {
4277 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4278 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
4280 return Py_BuildValue((char *)"");
4282 static PyObject
*_wrap_new_Dialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4283 PyObject
*resultobj
;
4284 wxWindow
*arg1
= (wxWindow
*) 0 ;
4285 int arg2
= (int) (int)-1 ;
4286 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4287 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4288 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4289 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4290 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4291 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4292 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
4293 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
4294 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4296 bool temp3
= false ;
4299 bool temp7
= false ;
4300 PyObject
* obj0
= 0 ;
4301 PyObject
* obj1
= 0 ;
4302 PyObject
* obj2
= 0 ;
4303 PyObject
* obj3
= 0 ;
4304 PyObject
* obj4
= 0 ;
4305 PyObject
* obj5
= 0 ;
4306 PyObject
* obj6
= 0 ;
4308 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4315 arg2
= (int)SWIG_As_int(obj1
);
4316 if (PyErr_Occurred()) SWIG_fail
;
4320 arg3
= wxString_in_helper(obj2
);
4321 if (arg3
== NULL
) SWIG_fail
;
4328 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4334 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4338 arg6
= (long)SWIG_As_long(obj5
);
4339 if (PyErr_Occurred()) SWIG_fail
;
4343 arg7
= wxString_in_helper(obj6
);
4344 if (arg7
== NULL
) SWIG_fail
;
4349 if (!wxPyCheckForApp()) SWIG_fail
;
4350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4351 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4353 wxPyEndAllowThreads(__tstate
);
4354 if (PyErr_Occurred()) SWIG_fail
;
4356 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
4379 static PyObject
*_wrap_new_PreDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4380 PyObject
*resultobj
;
4386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
4388 if (!wxPyCheckForApp()) SWIG_fail
;
4389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4390 result
= (wxDialog
*)new wxDialog();
4392 wxPyEndAllowThreads(__tstate
);
4393 if (PyErr_Occurred()) SWIG_fail
;
4395 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
4402 static PyObject
*_wrap_Dialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4403 PyObject
*resultobj
;
4404 wxDialog
*arg1
= (wxDialog
*) 0 ;
4405 wxWindow
*arg2
= (wxWindow
*) 0 ;
4406 int arg3
= (int) (int)-1 ;
4407 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4408 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4409 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4410 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4411 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4412 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4413 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
4414 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
4415 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4417 bool temp4
= false ;
4420 bool temp8
= false ;
4421 PyObject
* obj0
= 0 ;
4422 PyObject
* obj1
= 0 ;
4423 PyObject
* obj2
= 0 ;
4424 PyObject
* obj3
= 0 ;
4425 PyObject
* obj4
= 0 ;
4426 PyObject
* obj5
= 0 ;
4427 PyObject
* obj6
= 0 ;
4428 PyObject
* obj7
= 0 ;
4430 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4436 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4439 arg3
= (int)SWIG_As_int(obj2
);
4440 if (PyErr_Occurred()) SWIG_fail
;
4444 arg4
= wxString_in_helper(obj3
);
4445 if (arg4
== NULL
) SWIG_fail
;
4452 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4458 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4462 arg7
= (long)SWIG_As_long(obj6
);
4463 if (PyErr_Occurred()) SWIG_fail
;
4467 arg8
= wxString_in_helper(obj7
);
4468 if (arg8
== NULL
) SWIG_fail
;
4473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4474 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4476 wxPyEndAllowThreads(__tstate
);
4477 if (PyErr_Occurred()) SWIG_fail
;
4480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4504 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4505 PyObject
*resultobj
;
4506 wxDialog
*arg1
= (wxDialog
*) 0 ;
4508 PyObject
* obj0
= 0 ;
4509 PyObject
* obj1
= 0 ;
4511 (char *) "self",(char *) "returnCode", NULL
4514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
4515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4517 arg2
= (int)SWIG_As_int(obj1
);
4518 if (PyErr_Occurred()) SWIG_fail
;
4520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4521 (arg1
)->SetReturnCode(arg2
);
4523 wxPyEndAllowThreads(__tstate
);
4524 if (PyErr_Occurred()) SWIG_fail
;
4526 Py_INCREF(Py_None
); resultobj
= Py_None
;
4533 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4534 PyObject
*resultobj
;
4535 wxDialog
*arg1
= (wxDialog
*) 0 ;
4537 PyObject
* obj0
= 0 ;
4539 (char *) "self", NULL
4542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
4543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4547 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
4549 wxPyEndAllowThreads(__tstate
);
4550 if (PyErr_Occurred()) SWIG_fail
;
4552 resultobj
= SWIG_From_int((int)result
);
4559 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4560 PyObject
*resultobj
;
4561 wxDialog
*arg1
= (wxDialog
*) 0 ;
4562 wxString
*arg2
= 0 ;
4564 bool temp2
= false ;
4565 PyObject
* obj0
= 0 ;
4566 PyObject
* obj1
= 0 ;
4568 (char *) "self",(char *) "message", NULL
4571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4575 arg2
= wxString_in_helper(obj1
);
4576 if (arg2
== NULL
) SWIG_fail
;
4580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4581 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
4583 wxPyEndAllowThreads(__tstate
);
4584 if (PyErr_Occurred()) SWIG_fail
;
4587 resultobj
= wxPyMake_wxSizer(result
, 0);
4603 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4604 PyObject
*resultobj
;
4605 wxDialog
*arg1
= (wxDialog
*) 0 ;
4608 PyObject
* obj0
= 0 ;
4609 PyObject
* obj1
= 0 ;
4611 (char *) "self",(char *) "flags", NULL
4614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4617 arg2
= (long)SWIG_As_long(obj1
);
4618 if (PyErr_Occurred()) SWIG_fail
;
4620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4621 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
4623 wxPyEndAllowThreads(__tstate
);
4624 if (PyErr_Occurred()) SWIG_fail
;
4627 resultobj
= wxPyMake_wxSizer(result
, 0);
4635 static PyObject
*_wrap_Dialog_IsModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4636 PyObject
*resultobj
;
4637 wxDialog
*arg1
= (wxDialog
*) 0 ;
4639 PyObject
* obj0
= 0 ;
4641 (char *) "self", NULL
4644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
4645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4649 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
4651 wxPyEndAllowThreads(__tstate
);
4652 if (PyErr_Occurred()) SWIG_fail
;
4655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4663 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4664 PyObject
*resultobj
;
4665 wxDialog
*arg1
= (wxDialog
*) 0 ;
4667 PyObject
* obj0
= 0 ;
4669 (char *) "self", NULL
4672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
4673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4677 result
= (int)(arg1
)->ShowModal();
4679 wxPyEndAllowThreads(__tstate
);
4680 if (PyErr_Occurred()) SWIG_fail
;
4682 resultobj
= SWIG_From_int((int)result
);
4689 static PyObject
*_wrap_Dialog_EndModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4690 PyObject
*resultobj
;
4691 wxDialog
*arg1
= (wxDialog
*) 0 ;
4693 PyObject
* obj0
= 0 ;
4694 PyObject
* obj1
= 0 ;
4696 (char *) "self",(char *) "retCode", NULL
4699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
4700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4702 arg2
= (int)SWIG_As_int(obj1
);
4703 if (PyErr_Occurred()) SWIG_fail
;
4705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4706 (arg1
)->EndModal(arg2
);
4708 wxPyEndAllowThreads(__tstate
);
4709 if (PyErr_Occurred()) SWIG_fail
;
4711 Py_INCREF(Py_None
); resultobj
= Py_None
;
4718 static PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4719 PyObject
*resultobj
;
4720 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4721 wxVisualAttributes result
;
4722 PyObject
* obj0
= 0 ;
4724 (char *) "variant", NULL
4727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4729 arg1
= (int)SWIG_As_int(obj0
);
4730 if (PyErr_Occurred()) SWIG_fail
;
4733 if (!wxPyCheckForApp()) SWIG_fail
;
4734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4735 result
= wxDialog::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4737 wxPyEndAllowThreads(__tstate
);
4738 if (PyErr_Occurred()) SWIG_fail
;
4741 wxVisualAttributes
* resultptr
;
4742 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4743 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4751 static PyObject
* Dialog_swigregister(PyObject
*, PyObject
*args
) {
4753 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4754 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
4756 return Py_BuildValue((char *)"");
4758 static PyObject
*_wrap_new_MiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4759 PyObject
*resultobj
;
4760 wxWindow
*arg1
= (wxWindow
*) 0 ;
4761 int arg2
= (int) (int)-1 ;
4762 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4763 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4764 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4765 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4766 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4767 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4768 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4769 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4770 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4771 wxMiniFrame
*result
;
4772 bool temp3
= false ;
4775 bool temp7
= false ;
4776 PyObject
* obj0
= 0 ;
4777 PyObject
* obj1
= 0 ;
4778 PyObject
* obj2
= 0 ;
4779 PyObject
* obj3
= 0 ;
4780 PyObject
* obj4
= 0 ;
4781 PyObject
* obj5
= 0 ;
4782 PyObject
* obj6
= 0 ;
4784 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4791 arg2
= (int)SWIG_As_int(obj1
);
4792 if (PyErr_Occurred()) SWIG_fail
;
4796 arg3
= wxString_in_helper(obj2
);
4797 if (arg3
== NULL
) SWIG_fail
;
4804 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4810 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4814 arg6
= (long)SWIG_As_long(obj5
);
4815 if (PyErr_Occurred()) SWIG_fail
;
4819 arg7
= wxString_in_helper(obj6
);
4820 if (arg7
== NULL
) SWIG_fail
;
4825 if (!wxPyCheckForApp()) SWIG_fail
;
4826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4827 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4829 wxPyEndAllowThreads(__tstate
);
4830 if (PyErr_Occurred()) SWIG_fail
;
4832 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4855 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4856 PyObject
*resultobj
;
4857 wxMiniFrame
*result
;
4862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
4864 if (!wxPyCheckForApp()) SWIG_fail
;
4865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4866 result
= (wxMiniFrame
*)new wxMiniFrame();
4868 wxPyEndAllowThreads(__tstate
);
4869 if (PyErr_Occurred()) SWIG_fail
;
4871 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4878 static PyObject
*_wrap_MiniFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4879 PyObject
*resultobj
;
4880 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
4881 wxWindow
*arg2
= (wxWindow
*) 0 ;
4882 int arg3
= (int) (int)-1 ;
4883 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4884 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4885 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4886 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4887 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4888 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4889 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4890 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4891 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4893 bool temp4
= false ;
4896 bool temp8
= false ;
4897 PyObject
* obj0
= 0 ;
4898 PyObject
* obj1
= 0 ;
4899 PyObject
* obj2
= 0 ;
4900 PyObject
* obj3
= 0 ;
4901 PyObject
* obj4
= 0 ;
4902 PyObject
* obj5
= 0 ;
4903 PyObject
* obj6
= 0 ;
4904 PyObject
* obj7
= 0 ;
4906 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMiniFrame
,
4911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4912 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4915 arg3
= (int)SWIG_As_int(obj2
);
4916 if (PyErr_Occurred()) SWIG_fail
;
4920 arg4
= wxString_in_helper(obj3
);
4921 if (arg4
== NULL
) SWIG_fail
;
4928 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4934 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4938 arg7
= (long)SWIG_As_long(obj6
);
4939 if (PyErr_Occurred()) SWIG_fail
;
4943 arg8
= wxString_in_helper(obj7
);
4944 if (arg8
== NULL
) SWIG_fail
;
4949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4950 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4952 wxPyEndAllowThreads(__tstate
);
4953 if (PyErr_Occurred()) SWIG_fail
;
4956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4980 static PyObject
* MiniFrame_swigregister(PyObject
*, PyObject
*args
) {
4982 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4983 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
4985 return Py_BuildValue((char *)"");
4987 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4988 PyObject
*resultobj
;
4989 wxBitmap
*arg1
= 0 ;
4990 wxWindow
*arg2
= (wxWindow
*) 0 ;
4992 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4993 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4994 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4995 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4996 long arg6
= (long) wxNO_BORDER
;
4997 wxSplashScreenWindow
*result
;
5000 PyObject
* obj0
= 0 ;
5001 PyObject
* obj1
= 0 ;
5002 PyObject
* obj2
= 0 ;
5003 PyObject
* obj3
= 0 ;
5004 PyObject
* obj4
= 0 ;
5005 PyObject
* obj5
= 0 ;
5007 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
5010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
5012 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5015 PyErr_SetString(PyExc_TypeError
,"null reference");
5018 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5020 arg3
= (int)SWIG_As_int(obj2
);
5021 if (PyErr_Occurred()) SWIG_fail
;
5025 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5031 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5035 arg6
= (long)SWIG_As_long(obj5
);
5036 if (PyErr_Occurred()) SWIG_fail
;
5039 if (!wxPyCheckForApp()) SWIG_fail
;
5040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5041 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
5043 wxPyEndAllowThreads(__tstate
);
5044 if (PyErr_Occurred()) SWIG_fail
;
5046 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
5053 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5054 PyObject
*resultobj
;
5055 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
5056 wxBitmap
*arg2
= 0 ;
5057 PyObject
* obj0
= 0 ;
5058 PyObject
* obj1
= 0 ;
5060 (char *) "self",(char *) "bitmap", NULL
5063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
5065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5066 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5067 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5070 PyErr_SetString(PyExc_TypeError
,"null reference");
5074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5075 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
5077 wxPyEndAllowThreads(__tstate
);
5078 if (PyErr_Occurred()) SWIG_fail
;
5080 Py_INCREF(Py_None
); resultobj
= Py_None
;
5087 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5088 PyObject
*resultobj
;
5089 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
5091 PyObject
* obj0
= 0 ;
5093 (char *) "self", NULL
5096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
5097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
5098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5102 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
5103 result
= (wxBitmap
*) &_result_ref
;
5106 wxPyEndAllowThreads(__tstate
);
5107 if (PyErr_Occurred()) SWIG_fail
;
5110 wxBitmap
* resultptr
= new wxBitmap(*result
);
5111 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5119 static PyObject
* SplashScreenWindow_swigregister(PyObject
*, PyObject
*args
) {
5121 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5122 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
5124 return Py_BuildValue((char *)"");
5126 static PyObject
*_wrap_new_SplashScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5127 PyObject
*resultobj
;
5128 wxBitmap
*arg1
= 0 ;
5131 wxWindow
*arg4
= (wxWindow
*) 0 ;
5132 int arg5
= (int) -1 ;
5133 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
5134 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
5135 wxSize
const &arg7_defvalue
= wxDefaultSize
;
5136 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
5137 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
5138 wxSplashScreen
*result
;
5141 PyObject
* obj0
= 0 ;
5142 PyObject
* obj1
= 0 ;
5143 PyObject
* obj2
= 0 ;
5144 PyObject
* obj3
= 0 ;
5145 PyObject
* obj4
= 0 ;
5146 PyObject
* obj5
= 0 ;
5147 PyObject
* obj6
= 0 ;
5148 PyObject
* obj7
= 0 ;
5150 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
5153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
5155 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5158 PyErr_SetString(PyExc_TypeError
,"null reference");
5161 arg2
= (long)SWIG_As_long(obj1
);
5162 if (PyErr_Occurred()) SWIG_fail
;
5163 arg3
= (int)SWIG_As_int(obj2
);
5164 if (PyErr_Occurred()) SWIG_fail
;
5165 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
5166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5168 arg5
= (int)SWIG_As_int(obj4
);
5169 if (PyErr_Occurred()) SWIG_fail
;
5174 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
5180 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
5184 arg8
= (long)SWIG_As_long(obj7
);
5185 if (PyErr_Occurred()) SWIG_fail
;
5188 if (!wxPyCheckForApp()) SWIG_fail
;
5189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5190 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
5192 wxPyEndAllowThreads(__tstate
);
5193 if (PyErr_Occurred()) SWIG_fail
;
5195 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
5202 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5203 PyObject
*resultobj
;
5204 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
5206 PyObject
* obj0
= 0 ;
5208 (char *) "self", NULL
5211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
5212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
5213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5216 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
5218 wxPyEndAllowThreads(__tstate
);
5219 if (PyErr_Occurred()) SWIG_fail
;
5221 resultobj
= SWIG_From_long((long)result
);
5228 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5229 PyObject
*resultobj
;
5230 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
5231 wxSplashScreenWindow
*result
;
5232 PyObject
* obj0
= 0 ;
5234 (char *) "self", NULL
5237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
5238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
5239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5242 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
5244 wxPyEndAllowThreads(__tstate
);
5245 if (PyErr_Occurred()) SWIG_fail
;
5247 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
5254 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5255 PyObject
*resultobj
;
5256 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
5258 PyObject
* obj0
= 0 ;
5260 (char *) "self", NULL
5263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
5264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
5265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5268 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
5270 wxPyEndAllowThreads(__tstate
);
5271 if (PyErr_Occurred()) SWIG_fail
;
5273 resultobj
= SWIG_From_int((int)result
);
5280 static PyObject
* SplashScreen_swigregister(PyObject
*, PyObject
*args
) {
5282 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5283 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
5285 return Py_BuildValue((char *)"");
5287 static PyObject
*_wrap_new_StatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5288 PyObject
*resultobj
;
5289 wxWindow
*arg1
= (wxWindow
*) 0 ;
5290 int arg2
= (int) -1 ;
5291 long arg3
= (long) wxST_SIZEGRIP
|wxFULL_REPAINT_ON_RESIZE
;
5292 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
5293 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5294 wxStatusBar
*result
;
5295 bool temp4
= false ;
5296 PyObject
* obj0
= 0 ;
5297 PyObject
* obj1
= 0 ;
5298 PyObject
* obj2
= 0 ;
5299 PyObject
* obj3
= 0 ;
5301 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5308 arg2
= (int)SWIG_As_int(obj1
);
5309 if (PyErr_Occurred()) SWIG_fail
;
5312 arg3
= (long)SWIG_As_long(obj2
);
5313 if (PyErr_Occurred()) SWIG_fail
;
5317 arg4
= wxString_in_helper(obj3
);
5318 if (arg4
== NULL
) SWIG_fail
;
5323 if (!wxPyCheckForApp()) SWIG_fail
;
5324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5325 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
5327 wxPyEndAllowThreads(__tstate
);
5328 if (PyErr_Occurred()) SWIG_fail
;
5330 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
5345 static PyObject
*_wrap_new_PreStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5346 PyObject
*resultobj
;
5347 wxStatusBar
*result
;
5352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
5354 if (!wxPyCheckForApp()) SWIG_fail
;
5355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5356 result
= (wxStatusBar
*)new wxStatusBar();
5358 wxPyEndAllowThreads(__tstate
);
5359 if (PyErr_Occurred()) SWIG_fail
;
5361 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
5368 static PyObject
*_wrap_StatusBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5369 PyObject
*resultobj
;
5370 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5371 wxWindow
*arg2
= (wxWindow
*) 0 ;
5372 int arg3
= (int) -1 ;
5373 long arg4
= (long) wxST_SIZEGRIP
;
5374 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
5375 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5377 bool temp5
= false ;
5378 PyObject
* obj0
= 0 ;
5379 PyObject
* obj1
= 0 ;
5380 PyObject
* obj2
= 0 ;
5381 PyObject
* obj3
= 0 ;
5382 PyObject
* obj4
= 0 ;
5384 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5390 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5393 arg3
= (int)SWIG_As_int(obj2
);
5394 if (PyErr_Occurred()) SWIG_fail
;
5397 arg4
= (long)SWIG_As_long(obj3
);
5398 if (PyErr_Occurred()) SWIG_fail
;
5402 arg5
= wxString_in_helper(obj4
);
5403 if (arg5
== NULL
) SWIG_fail
;
5408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5409 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
5411 wxPyEndAllowThreads(__tstate
);
5412 if (PyErr_Occurred()) SWIG_fail
;
5415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5431 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5432 PyObject
*resultobj
;
5433 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5434 int arg2
= (int) 1 ;
5435 PyObject
* obj0
= 0 ;
5436 PyObject
* obj1
= 0 ;
5438 (char *) "self",(char *) "number", NULL
5441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
5442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5445 arg2
= (int)SWIG_As_int(obj1
);
5446 if (PyErr_Occurred()) SWIG_fail
;
5449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5450 (arg1
)->SetFieldsCount(arg2
);
5452 wxPyEndAllowThreads(__tstate
);
5453 if (PyErr_Occurred()) SWIG_fail
;
5455 Py_INCREF(Py_None
); resultobj
= Py_None
;
5462 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5463 PyObject
*resultobj
;
5464 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5466 PyObject
* obj0
= 0 ;
5468 (char *) "self", NULL
5471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
5472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5476 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
5478 wxPyEndAllowThreads(__tstate
);
5479 if (PyErr_Occurred()) SWIG_fail
;
5481 resultobj
= SWIG_From_int((int)result
);
5488 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5489 PyObject
*resultobj
;
5490 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5491 wxString
*arg2
= 0 ;
5492 int arg3
= (int) 0 ;
5493 bool temp2
= false ;
5494 PyObject
* obj0
= 0 ;
5495 PyObject
* obj1
= 0 ;
5496 PyObject
* obj2
= 0 ;
5498 (char *) "self",(char *) "text",(char *) "number", NULL
5501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5505 arg2
= wxString_in_helper(obj1
);
5506 if (arg2
== NULL
) SWIG_fail
;
5510 arg3
= (int)SWIG_As_int(obj2
);
5511 if (PyErr_Occurred()) SWIG_fail
;
5514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5515 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
5517 wxPyEndAllowThreads(__tstate
);
5518 if (PyErr_Occurred()) SWIG_fail
;
5520 Py_INCREF(Py_None
); resultobj
= Py_None
;
5535 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5536 PyObject
*resultobj
;
5537 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5538 int arg2
= (int) 0 ;
5540 PyObject
* obj0
= 0 ;
5541 PyObject
* obj1
= 0 ;
5543 (char *) "self",(char *) "number", NULL
5546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5550 arg2
= (int)SWIG_As_int(obj1
);
5551 if (PyErr_Occurred()) SWIG_fail
;
5554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5555 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
5557 wxPyEndAllowThreads(__tstate
);
5558 if (PyErr_Occurred()) SWIG_fail
;
5562 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5564 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5573 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5574 PyObject
*resultobj
;
5575 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5576 wxString
*arg2
= 0 ;
5577 int arg3
= (int) 0 ;
5578 bool temp2
= false ;
5579 PyObject
* obj0
= 0 ;
5580 PyObject
* obj1
= 0 ;
5581 PyObject
* obj2
= 0 ;
5583 (char *) "self",(char *) "text",(char *) "number", NULL
5586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5590 arg2
= wxString_in_helper(obj1
);
5591 if (arg2
== NULL
) SWIG_fail
;
5595 arg3
= (int)SWIG_As_int(obj2
);
5596 if (PyErr_Occurred()) SWIG_fail
;
5599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5600 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5602 wxPyEndAllowThreads(__tstate
);
5603 if (PyErr_Occurred()) SWIG_fail
;
5605 Py_INCREF(Py_None
); resultobj
= Py_None
;
5620 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5621 PyObject
*resultobj
;
5622 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5623 int arg2
= (int) 0 ;
5624 PyObject
* obj0
= 0 ;
5625 PyObject
* obj1
= 0 ;
5627 (char *) "self",(char *) "number", NULL
5630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5634 arg2
= (int)SWIG_As_int(obj1
);
5635 if (PyErr_Occurred()) SWIG_fail
;
5638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5639 (arg1
)->PopStatusText(arg2
);
5641 wxPyEndAllowThreads(__tstate
);
5642 if (PyErr_Occurred()) SWIG_fail
;
5644 Py_INCREF(Py_None
); resultobj
= Py_None
;
5651 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5652 PyObject
*resultobj
;
5653 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5655 int *arg3
= (int *) 0 ;
5656 PyObject
* obj0
= 0 ;
5657 PyObject
* obj1
= 0 ;
5659 (char *) "self",(char *) "widths", NULL
5662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5666 arg2
= PyList_Size(obj1
);
5667 arg3
= int_LIST_helper(obj1
);
5668 if (arg3
== NULL
) SWIG_fail
;
5671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5672 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5674 wxPyEndAllowThreads(__tstate
);
5675 if (PyErr_Occurred()) SWIG_fail
;
5677 Py_INCREF(Py_None
); resultobj
= Py_None
;
5679 if (arg3
) delete [] arg3
;
5684 if (arg3
) delete [] arg3
;
5690 static PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5691 PyObject
*resultobj
;
5692 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5694 int *arg3
= (int *) 0 ;
5695 PyObject
* obj0
= 0 ;
5696 PyObject
* obj1
= 0 ;
5698 (char *) "self",(char *) "styles", NULL
5701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) goto fail
;
5702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5705 arg2
= PyList_Size(obj1
);
5706 arg3
= int_LIST_helper(obj1
);
5707 if (arg3
== NULL
) SWIG_fail
;
5710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5711 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
5713 wxPyEndAllowThreads(__tstate
);
5714 if (PyErr_Occurred()) SWIG_fail
;
5716 Py_INCREF(Py_None
); resultobj
= Py_None
;
5718 if (arg3
) delete [] arg3
;
5723 if (arg3
) delete [] arg3
;
5729 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5730 PyObject
*resultobj
;
5731 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5734 PyObject
* obj0
= 0 ;
5735 PyObject
* obj1
= 0 ;
5737 (char *) "self",(char *) "i", NULL
5740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5743 arg2
= (int)SWIG_As_int(obj1
);
5744 if (PyErr_Occurred()) SWIG_fail
;
5746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5747 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
5749 wxPyEndAllowThreads(__tstate
);
5750 if (PyErr_Occurred()) SWIG_fail
;
5754 resultptr
= new wxRect((wxRect
&) result
);
5755 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5763 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5764 PyObject
*resultobj
;
5765 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5767 PyObject
* obj0
= 0 ;
5768 PyObject
* obj1
= 0 ;
5770 (char *) "self",(char *) "height", NULL
5773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5776 arg2
= (int)SWIG_As_int(obj1
);
5777 if (PyErr_Occurred()) SWIG_fail
;
5779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5780 (arg1
)->SetMinHeight(arg2
);
5782 wxPyEndAllowThreads(__tstate
);
5783 if (PyErr_Occurred()) SWIG_fail
;
5785 Py_INCREF(Py_None
); resultobj
= Py_None
;
5792 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5793 PyObject
*resultobj
;
5794 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5796 PyObject
* obj0
= 0 ;
5798 (char *) "self", NULL
5801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
5802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5806 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
5808 wxPyEndAllowThreads(__tstate
);
5809 if (PyErr_Occurred()) SWIG_fail
;
5811 resultobj
= SWIG_From_int((int)result
);
5818 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5819 PyObject
*resultobj
;
5820 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5822 PyObject
* obj0
= 0 ;
5824 (char *) "self", NULL
5827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
5828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5832 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
5834 wxPyEndAllowThreads(__tstate
);
5835 if (PyErr_Occurred()) SWIG_fail
;
5837 resultobj
= SWIG_From_int((int)result
);
5844 static PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5845 PyObject
*resultobj
;
5846 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5847 wxVisualAttributes result
;
5848 PyObject
* obj0
= 0 ;
5850 (char *) "variant", NULL
5853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5855 arg1
= (int)SWIG_As_int(obj0
);
5856 if (PyErr_Occurred()) SWIG_fail
;
5859 if (!wxPyCheckForApp()) SWIG_fail
;
5860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5861 result
= wxStatusBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5863 wxPyEndAllowThreads(__tstate
);
5864 if (PyErr_Occurred()) SWIG_fail
;
5867 wxVisualAttributes
* resultptr
;
5868 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5869 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5877 static PyObject
* StatusBar_swigregister(PyObject
*, PyObject
*args
) {
5879 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5880 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
5882 return Py_BuildValue((char *)"");
5884 static int _wrap_SplitterNameStr_set(PyObject
*) {
5885 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
5890 static PyObject
*_wrap_SplitterNameStr_get() {
5895 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5897 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5904 static PyObject
*_wrap_new_SplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5905 PyObject
*resultobj
;
5906 wxWindow
*arg1
= (wxWindow
*) 0 ;
5907 int arg2
= (int) -1 ;
5908 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5909 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5910 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5911 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5912 long arg5
= (long) wxSP_3D
;
5913 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
5914 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5915 wxSplitterWindow
*result
;
5918 bool temp6
= false ;
5919 PyObject
* obj0
= 0 ;
5920 PyObject
* obj1
= 0 ;
5921 PyObject
* obj2
= 0 ;
5922 PyObject
* obj3
= 0 ;
5923 PyObject
* obj4
= 0 ;
5924 PyObject
* obj5
= 0 ;
5926 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5933 arg2
= (int)SWIG_As_int(obj1
);
5934 if (PyErr_Occurred()) SWIG_fail
;
5939 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5945 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5949 arg5
= (long)SWIG_As_long(obj4
);
5950 if (PyErr_Occurred()) SWIG_fail
;
5954 arg6
= wxString_in_helper(obj5
);
5955 if (arg6
== NULL
) SWIG_fail
;
5960 if (!wxPyCheckForApp()) SWIG_fail
;
5961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5962 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
5964 wxPyEndAllowThreads(__tstate
);
5965 if (PyErr_Occurred()) SWIG_fail
;
5967 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5982 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5983 PyObject
*resultobj
;
5984 wxSplitterWindow
*result
;
5989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
5991 if (!wxPyCheckForApp()) SWIG_fail
;
5992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5993 result
= (wxSplitterWindow
*)new wxSplitterWindow();
5995 wxPyEndAllowThreads(__tstate
);
5996 if (PyErr_Occurred()) SWIG_fail
;
5998 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
6005 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6006 PyObject
*resultobj
;
6007 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6008 wxWindow
*arg2
= (wxWindow
*) 0 ;
6009 int arg3
= (int) -1 ;
6010 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6011 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6012 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6013 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6014 long arg6
= (long) wxSP_3D
;
6015 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
6016 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6020 bool temp7
= false ;
6021 PyObject
* obj0
= 0 ;
6022 PyObject
* obj1
= 0 ;
6023 PyObject
* obj2
= 0 ;
6024 PyObject
* obj3
= 0 ;
6025 PyObject
* obj4
= 0 ;
6026 PyObject
* obj5
= 0 ;
6027 PyObject
* obj6
= 0 ;
6029 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6035 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6038 arg3
= (int)SWIG_As_int(obj2
);
6039 if (PyErr_Occurred()) SWIG_fail
;
6044 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6050 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6054 arg6
= (long)SWIG_As_long(obj5
);
6055 if (PyErr_Occurred()) SWIG_fail
;
6059 arg7
= wxString_in_helper(obj6
);
6060 if (arg7
== NULL
) SWIG_fail
;
6065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6066 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6068 wxPyEndAllowThreads(__tstate
);
6069 if (PyErr_Occurred()) SWIG_fail
;
6072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6088 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6089 PyObject
*resultobj
;
6090 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6092 PyObject
* obj0
= 0 ;
6094 (char *) "self", NULL
6097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
6098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6102 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
6104 wxPyEndAllowThreads(__tstate
);
6105 if (PyErr_Occurred()) SWIG_fail
;
6108 resultobj
= wxPyMake_wxObject(result
, 0);
6116 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6117 PyObject
*resultobj
;
6118 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6120 PyObject
* obj0
= 0 ;
6122 (char *) "self", NULL
6125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
6126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6130 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
6132 wxPyEndAllowThreads(__tstate
);
6133 if (PyErr_Occurred()) SWIG_fail
;
6136 resultobj
= wxPyMake_wxObject(result
, 0);
6144 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6145 PyObject
*resultobj
;
6146 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6148 PyObject
* obj0
= 0 ;
6149 PyObject
* obj1
= 0 ;
6151 (char *) "self",(char *) "mode", NULL
6154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
6155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6157 arg2
= (int)SWIG_As_int(obj1
);
6158 if (PyErr_Occurred()) SWIG_fail
;
6160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6161 (arg1
)->SetSplitMode(arg2
);
6163 wxPyEndAllowThreads(__tstate
);
6164 if (PyErr_Occurred()) SWIG_fail
;
6166 Py_INCREF(Py_None
); resultobj
= Py_None
;
6173 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6174 PyObject
*resultobj
;
6175 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6177 PyObject
* obj0
= 0 ;
6179 (char *) "self", NULL
6182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
6183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6187 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
6189 wxPyEndAllowThreads(__tstate
);
6190 if (PyErr_Occurred()) SWIG_fail
;
6192 resultobj
= SWIG_From_int((int)result
);
6199 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6200 PyObject
*resultobj
;
6201 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6202 wxWindow
*arg2
= (wxWindow
*) 0 ;
6203 PyObject
* obj0
= 0 ;
6204 PyObject
* obj1
= 0 ;
6206 (char *) "self",(char *) "window", NULL
6209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
6210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6212 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6216 (arg1
)->Initialize(arg2
);
6218 wxPyEndAllowThreads(__tstate
);
6219 if (PyErr_Occurred()) SWIG_fail
;
6221 Py_INCREF(Py_None
); resultobj
= Py_None
;
6228 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6229 PyObject
*resultobj
;
6230 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6231 wxWindow
*arg2
= (wxWindow
*) 0 ;
6232 wxWindow
*arg3
= (wxWindow
*) 0 ;
6233 int arg4
= (int) 0 ;
6235 PyObject
* obj0
= 0 ;
6236 PyObject
* obj1
= 0 ;
6237 PyObject
* obj2
= 0 ;
6238 PyObject
* obj3
= 0 ;
6240 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6246 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6248 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6251 arg4
= (int)SWIG_As_int(obj3
);
6252 if (PyErr_Occurred()) SWIG_fail
;
6255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6256 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
6258 wxPyEndAllowThreads(__tstate
);
6259 if (PyErr_Occurred()) SWIG_fail
;
6262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6270 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6271 PyObject
*resultobj
;
6272 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6273 wxWindow
*arg2
= (wxWindow
*) 0 ;
6274 wxWindow
*arg3
= (wxWindow
*) 0 ;
6275 int arg4
= (int) 0 ;
6277 PyObject
* obj0
= 0 ;
6278 PyObject
* obj1
= 0 ;
6279 PyObject
* obj2
= 0 ;
6280 PyObject
* obj3
= 0 ;
6282 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6288 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6290 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6293 arg4
= (int)SWIG_As_int(obj3
);
6294 if (PyErr_Occurred()) SWIG_fail
;
6297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6298 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
6300 wxPyEndAllowThreads(__tstate
);
6301 if (PyErr_Occurred()) SWIG_fail
;
6304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6312 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6313 PyObject
*resultobj
;
6314 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6315 wxWindow
*arg2
= (wxWindow
*) NULL
;
6317 PyObject
* obj0
= 0 ;
6318 PyObject
* obj1
= 0 ;
6320 (char *) "self",(char *) "toRemove", NULL
6323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
6324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6327 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6332 result
= (bool)(arg1
)->Unsplit(arg2
);
6334 wxPyEndAllowThreads(__tstate
);
6335 if (PyErr_Occurred()) SWIG_fail
;
6338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6346 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6347 PyObject
*resultobj
;
6348 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6349 wxWindow
*arg2
= (wxWindow
*) 0 ;
6350 wxWindow
*arg3
= (wxWindow
*) 0 ;
6352 PyObject
* obj0
= 0 ;
6353 PyObject
* obj1
= 0 ;
6354 PyObject
* obj2
= 0 ;
6356 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
6359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6362 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6364 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6368 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
6370 wxPyEndAllowThreads(__tstate
);
6371 if (PyErr_Occurred()) SWIG_fail
;
6374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6382 static PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6383 PyObject
*resultobj
;
6384 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6385 PyObject
* obj0
= 0 ;
6387 (char *) "self", NULL
6390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_UpdateSize",kwnames
,&obj0
)) goto fail
;
6391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6395 (arg1
)->UpdateSize();
6397 wxPyEndAllowThreads(__tstate
);
6398 if (PyErr_Occurred()) SWIG_fail
;
6400 Py_INCREF(Py_None
); resultobj
= Py_None
;
6407 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6408 PyObject
*resultobj
;
6409 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6411 PyObject
* obj0
= 0 ;
6413 (char *) "self", NULL
6416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
6417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6421 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
6423 wxPyEndAllowThreads(__tstate
);
6424 if (PyErr_Occurred()) SWIG_fail
;
6427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6435 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6436 PyObject
*resultobj
;
6437 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6439 PyObject
* obj0
= 0 ;
6440 PyObject
* obj1
= 0 ;
6442 (char *) "self",(char *) "width", NULL
6445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6448 arg2
= (int)SWIG_As_int(obj1
);
6449 if (PyErr_Occurred()) SWIG_fail
;
6451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6452 (arg1
)->SetSashSize(arg2
);
6454 wxPyEndAllowThreads(__tstate
);
6455 if (PyErr_Occurred()) SWIG_fail
;
6457 Py_INCREF(Py_None
); resultobj
= Py_None
;
6464 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6465 PyObject
*resultobj
;
6466 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6468 PyObject
* obj0
= 0 ;
6469 PyObject
* obj1
= 0 ;
6471 (char *) "self",(char *) "width", NULL
6474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6477 arg2
= (int)SWIG_As_int(obj1
);
6478 if (PyErr_Occurred()) SWIG_fail
;
6480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6481 (arg1
)->SetBorderSize(arg2
);
6483 wxPyEndAllowThreads(__tstate
);
6484 if (PyErr_Occurred()) SWIG_fail
;
6486 Py_INCREF(Py_None
); resultobj
= Py_None
;
6493 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6494 PyObject
*resultobj
;
6495 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6497 PyObject
* obj0
= 0 ;
6499 (char *) "self", NULL
6502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
6503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6507 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
6509 wxPyEndAllowThreads(__tstate
);
6510 if (PyErr_Occurred()) SWIG_fail
;
6512 resultobj
= SWIG_From_int((int)result
);
6519 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6520 PyObject
*resultobj
;
6521 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6523 PyObject
* obj0
= 0 ;
6525 (char *) "self", NULL
6528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
6529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6533 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
6535 wxPyEndAllowThreads(__tstate
);
6536 if (PyErr_Occurred()) SWIG_fail
;
6538 resultobj
= SWIG_From_int((int)result
);
6545 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6546 PyObject
*resultobj
;
6547 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6549 bool arg3
= (bool) true ;
6550 PyObject
* obj0
= 0 ;
6551 PyObject
* obj1
= 0 ;
6552 PyObject
* obj2
= 0 ;
6554 (char *) "self",(char *) "position",(char *) "redraw", NULL
6557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6560 arg2
= (int)SWIG_As_int(obj1
);
6561 if (PyErr_Occurred()) SWIG_fail
;
6563 arg3
= (bool)SWIG_As_bool(obj2
);
6564 if (PyErr_Occurred()) SWIG_fail
;
6567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6568 (arg1
)->SetSashPosition(arg2
,arg3
);
6570 wxPyEndAllowThreads(__tstate
);
6571 if (PyErr_Occurred()) SWIG_fail
;
6573 Py_INCREF(Py_None
); resultobj
= Py_None
;
6580 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6581 PyObject
*resultobj
;
6582 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6584 PyObject
* obj0
= 0 ;
6586 (char *) "self", NULL
6589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6594 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
6596 wxPyEndAllowThreads(__tstate
);
6597 if (PyErr_Occurred()) SWIG_fail
;
6599 resultobj
= SWIG_From_int((int)result
);
6606 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6607 PyObject
*resultobj
;
6608 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6610 PyObject
* obj0
= 0 ;
6611 PyObject
* obj1
= 0 ;
6613 (char *) "self",(char *) "min", NULL
6616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6619 arg2
= (int)SWIG_As_int(obj1
);
6620 if (PyErr_Occurred()) SWIG_fail
;
6622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6623 (arg1
)->SetMinimumPaneSize(arg2
);
6625 wxPyEndAllowThreads(__tstate
);
6626 if (PyErr_Occurred()) SWIG_fail
;
6628 Py_INCREF(Py_None
); resultobj
= Py_None
;
6635 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6636 PyObject
*resultobj
;
6637 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6639 PyObject
* obj0
= 0 ;
6641 (char *) "self", NULL
6644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
6645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6649 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
6651 wxPyEndAllowThreads(__tstate
);
6652 if (PyErr_Occurred()) SWIG_fail
;
6654 resultobj
= SWIG_From_int((int)result
);
6661 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6662 PyObject
*resultobj
;
6663 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6666 int arg4
= (int) 5 ;
6668 PyObject
* obj0
= 0 ;
6669 PyObject
* obj1
= 0 ;
6670 PyObject
* obj2
= 0 ;
6671 PyObject
* obj3
= 0 ;
6673 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6679 arg2
= (int)SWIG_As_int(obj1
);
6680 if (PyErr_Occurred()) SWIG_fail
;
6681 arg3
= (int)SWIG_As_int(obj2
);
6682 if (PyErr_Occurred()) SWIG_fail
;
6684 arg4
= (int)SWIG_As_int(obj3
);
6685 if (PyErr_Occurred()) SWIG_fail
;
6688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6689 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
6691 wxPyEndAllowThreads(__tstate
);
6692 if (PyErr_Occurred()) SWIG_fail
;
6695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6703 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6704 PyObject
*resultobj
;
6705 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6706 PyObject
* obj0
= 0 ;
6708 (char *) "self", NULL
6711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
6712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6716 (arg1
)->SizeWindows();
6718 wxPyEndAllowThreads(__tstate
);
6719 if (PyErr_Occurred()) SWIG_fail
;
6721 Py_INCREF(Py_None
); resultobj
= Py_None
;
6728 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6729 PyObject
*resultobj
;
6730 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6732 PyObject
* obj0
= 0 ;
6733 PyObject
* obj1
= 0 ;
6735 (char *) "self",(char *) "needUpdating", NULL
6738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
6739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6741 arg2
= (bool)SWIG_As_bool(obj1
);
6742 if (PyErr_Occurred()) SWIG_fail
;
6744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6745 (arg1
)->SetNeedUpdating(arg2
);
6747 wxPyEndAllowThreads(__tstate
);
6748 if (PyErr_Occurred()) SWIG_fail
;
6750 Py_INCREF(Py_None
); resultobj
= Py_None
;
6757 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6758 PyObject
*resultobj
;
6759 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6761 PyObject
* obj0
= 0 ;
6763 (char *) "self", NULL
6766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
6767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6771 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
6773 wxPyEndAllowThreads(__tstate
);
6774 if (PyErr_Occurred()) SWIG_fail
;
6777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6785 static PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6786 PyObject
*resultobj
;
6787 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
6788 wxVisualAttributes result
;
6789 PyObject
* obj0
= 0 ;
6791 (char *) "variant", NULL
6794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6796 arg1
= (int)SWIG_As_int(obj0
);
6797 if (PyErr_Occurred()) SWIG_fail
;
6800 if (!wxPyCheckForApp()) SWIG_fail
;
6801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6802 result
= wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6804 wxPyEndAllowThreads(__tstate
);
6805 if (PyErr_Occurred()) SWIG_fail
;
6808 wxVisualAttributes
* resultptr
;
6809 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
6810 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6818 static PyObject
* SplitterWindow_swigregister(PyObject
*, PyObject
*args
) {
6820 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6821 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
6823 return Py_BuildValue((char *)"");
6825 static PyObject
*_wrap_new_SplitterEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6826 PyObject
*resultobj
;
6827 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
6828 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
6829 wxSplitterEvent
*result
;
6830 PyObject
* obj0
= 0 ;
6831 PyObject
* obj1
= 0 ;
6833 (char *) "type",(char *) "splitter", NULL
6836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6838 arg1
= (wxEventType
)SWIG_As_int(obj0
);
6839 if (PyErr_Occurred()) SWIG_fail
;
6842 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSplitterWindow
,
6843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6847 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
6849 wxPyEndAllowThreads(__tstate
);
6850 if (PyErr_Occurred()) SWIG_fail
;
6852 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
6859 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6860 PyObject
*resultobj
;
6861 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6863 PyObject
* obj0
= 0 ;
6864 PyObject
* obj1
= 0 ;
6866 (char *) "self",(char *) "pos", NULL
6869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
6870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6872 arg2
= (int)SWIG_As_int(obj1
);
6873 if (PyErr_Occurred()) SWIG_fail
;
6875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6876 (arg1
)->SetSashPosition(arg2
);
6878 wxPyEndAllowThreads(__tstate
);
6879 if (PyErr_Occurred()) SWIG_fail
;
6881 Py_INCREF(Py_None
); resultobj
= Py_None
;
6888 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6889 PyObject
*resultobj
;
6890 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6892 PyObject
* obj0
= 0 ;
6894 (char *) "self", NULL
6897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6902 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
6904 wxPyEndAllowThreads(__tstate
);
6905 if (PyErr_Occurred()) SWIG_fail
;
6907 resultobj
= SWIG_From_int((int)result
);
6914 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6915 PyObject
*resultobj
;
6916 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6918 PyObject
* obj0
= 0 ;
6920 (char *) "self", NULL
6923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
6924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6928 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
6930 wxPyEndAllowThreads(__tstate
);
6931 if (PyErr_Occurred()) SWIG_fail
;
6934 resultobj
= wxPyMake_wxObject(result
, 0);
6942 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6943 PyObject
*resultobj
;
6944 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6946 PyObject
* obj0
= 0 ;
6948 (char *) "self", NULL
6951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
6952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6956 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
6958 wxPyEndAllowThreads(__tstate
);
6959 if (PyErr_Occurred()) SWIG_fail
;
6961 resultobj
= SWIG_From_int((int)result
);
6968 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6969 PyObject
*resultobj
;
6970 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6972 PyObject
* obj0
= 0 ;
6974 (char *) "self", NULL
6977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
6978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6982 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
6984 wxPyEndAllowThreads(__tstate
);
6985 if (PyErr_Occurred()) SWIG_fail
;
6987 resultobj
= SWIG_From_int((int)result
);
6994 static PyObject
* SplitterEvent_swigregister(PyObject
*, PyObject
*args
) {
6996 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6997 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
6999 return Py_BuildValue((char *)"");
7001 static int _wrap_SashNameStr_set(PyObject
*) {
7002 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
7007 static PyObject
*_wrap_SashNameStr_get() {
7012 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
7014 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
7021 static int _wrap_SashLayoutNameStr_set(PyObject
*) {
7022 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
7027 static PyObject
*_wrap_SashLayoutNameStr_get() {
7032 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
7034 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
7041 static PyObject
*_wrap_new_SashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7042 PyObject
*resultobj
;
7043 wxWindow
*arg1
= (wxWindow
*) 0 ;
7044 int arg2
= (int) -1 ;
7045 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7046 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7047 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7048 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7049 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7050 wxString
const &arg6_defvalue
= wxPySashNameStr
;
7051 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7052 wxSashWindow
*result
;
7055 bool temp6
= false ;
7056 PyObject
* obj0
= 0 ;
7057 PyObject
* obj1
= 0 ;
7058 PyObject
* obj2
= 0 ;
7059 PyObject
* obj3
= 0 ;
7060 PyObject
* obj4
= 0 ;
7061 PyObject
* obj5
= 0 ;
7063 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
7068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7070 arg2
= (int)SWIG_As_int(obj1
);
7071 if (PyErr_Occurred()) SWIG_fail
;
7076 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7082 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7086 arg5
= (long)SWIG_As_long(obj4
);
7087 if (PyErr_Occurred()) SWIG_fail
;
7091 arg6
= wxString_in_helper(obj5
);
7092 if (arg6
== NULL
) SWIG_fail
;
7097 if (!wxPyCheckForApp()) SWIG_fail
;
7098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7099 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7101 wxPyEndAllowThreads(__tstate
);
7102 if (PyErr_Occurred()) SWIG_fail
;
7104 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
7119 static PyObject
*_wrap_new_PreSashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7120 PyObject
*resultobj
;
7121 wxSashWindow
*result
;
7126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
7128 if (!wxPyCheckForApp()) SWIG_fail
;
7129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7130 result
= (wxSashWindow
*)new wxSashWindow();
7132 wxPyEndAllowThreads(__tstate
);
7133 if (PyErr_Occurred()) SWIG_fail
;
7135 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
7142 static PyObject
*_wrap_SashWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7143 PyObject
*resultobj
;
7144 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7145 wxWindow
*arg2
= (wxWindow
*) 0 ;
7146 int arg3
= (int) -1 ;
7147 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7148 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7149 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7150 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7151 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7152 wxString
const &arg7_defvalue
= wxPySashNameStr
;
7153 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7157 bool temp7
= false ;
7158 PyObject
* obj0
= 0 ;
7159 PyObject
* obj1
= 0 ;
7160 PyObject
* obj2
= 0 ;
7161 PyObject
* obj3
= 0 ;
7162 PyObject
* obj4
= 0 ;
7163 PyObject
* obj5
= 0 ;
7164 PyObject
* obj6
= 0 ;
7166 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7172 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7175 arg3
= (int)SWIG_As_int(obj2
);
7176 if (PyErr_Occurred()) SWIG_fail
;
7181 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7187 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7191 arg6
= (long)SWIG_As_long(obj5
);
7192 if (PyErr_Occurred()) SWIG_fail
;
7196 arg7
= wxString_in_helper(obj6
);
7197 if (arg7
== NULL
) SWIG_fail
;
7202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7203 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7205 wxPyEndAllowThreads(__tstate
);
7206 if (PyErr_Occurred()) SWIG_fail
;
7209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7225 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7226 PyObject
*resultobj
;
7227 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7230 PyObject
* obj0
= 0 ;
7231 PyObject
* obj1
= 0 ;
7232 PyObject
* obj2
= 0 ;
7234 (char *) "self",(char *) "edge",(char *) "sash", NULL
7237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7240 arg2
= (int)SWIG_As_int(obj1
);
7241 if (PyErr_Occurred()) SWIG_fail
;
7242 arg3
= (bool)SWIG_As_bool(obj2
);
7243 if (PyErr_Occurred()) SWIG_fail
;
7245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7246 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
7248 wxPyEndAllowThreads(__tstate
);
7249 if (PyErr_Occurred()) SWIG_fail
;
7251 Py_INCREF(Py_None
); resultobj
= Py_None
;
7258 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7259 PyObject
*resultobj
;
7260 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7263 PyObject
* obj0
= 0 ;
7264 PyObject
* obj1
= 0 ;
7266 (char *) "self",(char *) "edge", NULL
7269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
7270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7272 arg2
= (int)SWIG_As_int(obj1
);
7273 if (PyErr_Occurred()) SWIG_fail
;
7275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7276 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
7278 wxPyEndAllowThreads(__tstate
);
7279 if (PyErr_Occurred()) SWIG_fail
;
7282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7290 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7291 PyObject
*resultobj
;
7292 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7295 PyObject
* obj0
= 0 ;
7296 PyObject
* obj1
= 0 ;
7297 PyObject
* obj2
= 0 ;
7299 (char *) "self",(char *) "edge",(char *) "border", NULL
7302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7305 arg2
= (int)SWIG_As_int(obj1
);
7306 if (PyErr_Occurred()) SWIG_fail
;
7307 arg3
= (bool)SWIG_As_bool(obj2
);
7308 if (PyErr_Occurred()) SWIG_fail
;
7310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7311 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
7313 wxPyEndAllowThreads(__tstate
);
7314 if (PyErr_Occurred()) SWIG_fail
;
7316 Py_INCREF(Py_None
); resultobj
= Py_None
;
7323 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7324 PyObject
*resultobj
;
7325 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7328 PyObject
* obj0
= 0 ;
7329 PyObject
* obj1
= 0 ;
7331 (char *) "self",(char *) "edge", NULL
7334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
7335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7337 arg2
= (int)SWIG_As_int(obj1
);
7338 if (PyErr_Occurred()) SWIG_fail
;
7340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7341 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
7343 wxPyEndAllowThreads(__tstate
);
7344 if (PyErr_Occurred()) SWIG_fail
;
7347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7355 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7356 PyObject
*resultobj
;
7357 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7360 PyObject
* obj0
= 0 ;
7361 PyObject
* obj1
= 0 ;
7363 (char *) "self",(char *) "edge", NULL
7366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
7367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7369 arg2
= (int)SWIG_As_int(obj1
);
7370 if (PyErr_Occurred()) SWIG_fail
;
7372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7373 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
7375 wxPyEndAllowThreads(__tstate
);
7376 if (PyErr_Occurred()) SWIG_fail
;
7378 resultobj
= SWIG_From_int((int)result
);
7385 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7386 PyObject
*resultobj
;
7387 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7389 PyObject
* obj0
= 0 ;
7390 PyObject
* obj1
= 0 ;
7392 (char *) "self",(char *) "width", NULL
7395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7398 arg2
= (int)SWIG_As_int(obj1
);
7399 if (PyErr_Occurred()) SWIG_fail
;
7401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7402 (arg1
)->SetDefaultBorderSize(arg2
);
7404 wxPyEndAllowThreads(__tstate
);
7405 if (PyErr_Occurred()) SWIG_fail
;
7407 Py_INCREF(Py_None
); resultobj
= Py_None
;
7414 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7415 PyObject
*resultobj
;
7416 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7418 PyObject
* obj0
= 0 ;
7420 (char *) "self", NULL
7423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
7424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7428 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
7430 wxPyEndAllowThreads(__tstate
);
7431 if (PyErr_Occurred()) SWIG_fail
;
7433 resultobj
= SWIG_From_int((int)result
);
7440 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7441 PyObject
*resultobj
;
7442 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7444 PyObject
* obj0
= 0 ;
7445 PyObject
* obj1
= 0 ;
7447 (char *) "self",(char *) "width", NULL
7450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7453 arg2
= (int)SWIG_As_int(obj1
);
7454 if (PyErr_Occurred()) SWIG_fail
;
7456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7457 (arg1
)->SetExtraBorderSize(arg2
);
7459 wxPyEndAllowThreads(__tstate
);
7460 if (PyErr_Occurred()) SWIG_fail
;
7462 Py_INCREF(Py_None
); resultobj
= Py_None
;
7469 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7470 PyObject
*resultobj
;
7471 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7473 PyObject
* obj0
= 0 ;
7475 (char *) "self", NULL
7478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
7479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7483 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
7485 wxPyEndAllowThreads(__tstate
);
7486 if (PyErr_Occurred()) SWIG_fail
;
7488 resultobj
= SWIG_From_int((int)result
);
7495 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7496 PyObject
*resultobj
;
7497 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7499 PyObject
* obj0
= 0 ;
7500 PyObject
* obj1
= 0 ;
7502 (char *) "self",(char *) "min", NULL
7505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7508 arg2
= (int)SWIG_As_int(obj1
);
7509 if (PyErr_Occurred()) SWIG_fail
;
7511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7512 (arg1
)->SetMinimumSizeX(arg2
);
7514 wxPyEndAllowThreads(__tstate
);
7515 if (PyErr_Occurred()) SWIG_fail
;
7517 Py_INCREF(Py_None
); resultobj
= Py_None
;
7524 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7525 PyObject
*resultobj
;
7526 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7528 PyObject
* obj0
= 0 ;
7529 PyObject
* obj1
= 0 ;
7531 (char *) "self",(char *) "min", NULL
7534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7537 arg2
= (int)SWIG_As_int(obj1
);
7538 if (PyErr_Occurred()) SWIG_fail
;
7540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7541 (arg1
)->SetMinimumSizeY(arg2
);
7543 wxPyEndAllowThreads(__tstate
);
7544 if (PyErr_Occurred()) SWIG_fail
;
7546 Py_INCREF(Py_None
); resultobj
= Py_None
;
7553 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7554 PyObject
*resultobj
;
7555 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7557 PyObject
* obj0
= 0 ;
7559 (char *) "self", NULL
7562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
7563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7567 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
7569 wxPyEndAllowThreads(__tstate
);
7570 if (PyErr_Occurred()) SWIG_fail
;
7572 resultobj
= SWIG_From_int((int)result
);
7579 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7580 PyObject
*resultobj
;
7581 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7583 PyObject
* obj0
= 0 ;
7585 (char *) "self", NULL
7588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
7589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7593 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
7595 wxPyEndAllowThreads(__tstate
);
7596 if (PyErr_Occurred()) SWIG_fail
;
7598 resultobj
= SWIG_From_int((int)result
);
7605 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7606 PyObject
*resultobj
;
7607 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7609 PyObject
* obj0
= 0 ;
7610 PyObject
* obj1
= 0 ;
7612 (char *) "self",(char *) "max", NULL
7615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7618 arg2
= (int)SWIG_As_int(obj1
);
7619 if (PyErr_Occurred()) SWIG_fail
;
7621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7622 (arg1
)->SetMaximumSizeX(arg2
);
7624 wxPyEndAllowThreads(__tstate
);
7625 if (PyErr_Occurred()) SWIG_fail
;
7627 Py_INCREF(Py_None
); resultobj
= Py_None
;
7634 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7635 PyObject
*resultobj
;
7636 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7638 PyObject
* obj0
= 0 ;
7639 PyObject
* obj1
= 0 ;
7641 (char *) "self",(char *) "max", NULL
7644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7647 arg2
= (int)SWIG_As_int(obj1
);
7648 if (PyErr_Occurred()) SWIG_fail
;
7650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7651 (arg1
)->SetMaximumSizeY(arg2
);
7653 wxPyEndAllowThreads(__tstate
);
7654 if (PyErr_Occurred()) SWIG_fail
;
7656 Py_INCREF(Py_None
); resultobj
= Py_None
;
7663 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7664 PyObject
*resultobj
;
7665 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7667 PyObject
* obj0
= 0 ;
7669 (char *) "self", NULL
7672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
7673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7677 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
7679 wxPyEndAllowThreads(__tstate
);
7680 if (PyErr_Occurred()) SWIG_fail
;
7682 resultobj
= SWIG_From_int((int)result
);
7689 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7690 PyObject
*resultobj
;
7691 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7693 PyObject
* obj0
= 0 ;
7695 (char *) "self", NULL
7698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
7699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7703 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
7705 wxPyEndAllowThreads(__tstate
);
7706 if (PyErr_Occurred()) SWIG_fail
;
7708 resultobj
= SWIG_From_int((int)result
);
7715 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7716 PyObject
*resultobj
;
7717 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7720 int arg4
= (int) 2 ;
7722 PyObject
* obj0
= 0 ;
7723 PyObject
* obj1
= 0 ;
7724 PyObject
* obj2
= 0 ;
7725 PyObject
* obj3
= 0 ;
7727 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7733 arg2
= (int)SWIG_As_int(obj1
);
7734 if (PyErr_Occurred()) SWIG_fail
;
7735 arg3
= (int)SWIG_As_int(obj2
);
7736 if (PyErr_Occurred()) SWIG_fail
;
7738 arg4
= (int)SWIG_As_int(obj3
);
7739 if (PyErr_Occurred()) SWIG_fail
;
7742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7743 result
= (int)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
7745 wxPyEndAllowThreads(__tstate
);
7746 if (PyErr_Occurred()) SWIG_fail
;
7748 resultobj
= SWIG_From_int((int)result
);
7755 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7756 PyObject
*resultobj
;
7757 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7758 PyObject
* obj0
= 0 ;
7760 (char *) "self", NULL
7763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
7764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7768 (arg1
)->SizeWindows();
7770 wxPyEndAllowThreads(__tstate
);
7771 if (PyErr_Occurred()) SWIG_fail
;
7773 Py_INCREF(Py_None
); resultobj
= Py_None
;
7780 static PyObject
* SashWindow_swigregister(PyObject
*, PyObject
*args
) {
7782 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7783 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
7785 return Py_BuildValue((char *)"");
7787 static PyObject
*_wrap_new_SashEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7788 PyObject
*resultobj
;
7789 int arg1
= (int) 0 ;
7790 int arg2
= (int) wxSASH_NONE
;
7791 wxSashEvent
*result
;
7792 PyObject
* obj0
= 0 ;
7793 PyObject
* obj1
= 0 ;
7795 (char *) "id",(char *) "edge", NULL
7798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7800 arg1
= (int)SWIG_As_int(obj0
);
7801 if (PyErr_Occurred()) SWIG_fail
;
7804 arg2
= (int)SWIG_As_int(obj1
);
7805 if (PyErr_Occurred()) SWIG_fail
;
7808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7809 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
7811 wxPyEndAllowThreads(__tstate
);
7812 if (PyErr_Occurred()) SWIG_fail
;
7814 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
7821 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7822 PyObject
*resultobj
;
7823 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7825 PyObject
* obj0
= 0 ;
7826 PyObject
* obj1
= 0 ;
7828 (char *) "self",(char *) "edge", NULL
7831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
7832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7834 arg2
= (int)SWIG_As_int(obj1
);
7835 if (PyErr_Occurred()) SWIG_fail
;
7837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7838 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
7840 wxPyEndAllowThreads(__tstate
);
7841 if (PyErr_Occurred()) SWIG_fail
;
7843 Py_INCREF(Py_None
); resultobj
= Py_None
;
7850 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7851 PyObject
*resultobj
;
7852 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7854 PyObject
* obj0
= 0 ;
7856 (char *) "self", NULL
7859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
7860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7864 result
= (int)((wxSashEvent
const *)arg1
)->GetEdge();
7866 wxPyEndAllowThreads(__tstate
);
7867 if (PyErr_Occurred()) SWIG_fail
;
7869 resultobj
= SWIG_From_int((int)result
);
7876 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7877 PyObject
*resultobj
;
7878 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7881 PyObject
* obj0
= 0 ;
7882 PyObject
* obj1
= 0 ;
7884 (char *) "self",(char *) "rect", NULL
7887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7892 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7896 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
7898 wxPyEndAllowThreads(__tstate
);
7899 if (PyErr_Occurred()) SWIG_fail
;
7901 Py_INCREF(Py_None
); resultobj
= Py_None
;
7908 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7909 PyObject
*resultobj
;
7910 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7912 PyObject
* obj0
= 0 ;
7914 (char *) "self", NULL
7917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
7918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7922 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
7924 wxPyEndAllowThreads(__tstate
);
7925 if (PyErr_Occurred()) SWIG_fail
;
7929 resultptr
= new wxRect((wxRect
&) result
);
7930 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7938 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7939 PyObject
*resultobj
;
7940 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7942 PyObject
* obj0
= 0 ;
7943 PyObject
* obj1
= 0 ;
7945 (char *) "self",(char *) "status", NULL
7948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
7949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7951 arg2
= (int)SWIG_As_int(obj1
);
7952 if (PyErr_Occurred()) SWIG_fail
;
7954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7955 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
7957 wxPyEndAllowThreads(__tstate
);
7958 if (PyErr_Occurred()) SWIG_fail
;
7960 Py_INCREF(Py_None
); resultobj
= Py_None
;
7967 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7968 PyObject
*resultobj
;
7969 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7971 PyObject
* obj0
= 0 ;
7973 (char *) "self", NULL
7976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
7977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7981 result
= (int)((wxSashEvent
const *)arg1
)->GetDragStatus();
7983 wxPyEndAllowThreads(__tstate
);
7984 if (PyErr_Occurred()) SWIG_fail
;
7986 resultobj
= SWIG_From_int((int)result
);
7993 static PyObject
* SashEvent_swigregister(PyObject
*, PyObject
*args
) {
7995 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7996 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
7998 return Py_BuildValue((char *)"");
8000 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8001 PyObject
*resultobj
;
8002 int arg1
= (int) 0 ;
8003 wxQueryLayoutInfoEvent
*result
;
8004 PyObject
* obj0
= 0 ;
8009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
8011 arg1
= (int)SWIG_As_int(obj0
);
8012 if (PyErr_Occurred()) SWIG_fail
;
8015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8016 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
8018 wxPyEndAllowThreads(__tstate
);
8019 if (PyErr_Occurred()) SWIG_fail
;
8021 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
8028 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8029 PyObject
*resultobj
;
8030 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8032 PyObject
* obj0
= 0 ;
8033 PyObject
* obj1
= 0 ;
8035 (char *) "self",(char *) "length", NULL
8038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8041 arg2
= (int)SWIG_As_int(obj1
);
8042 if (PyErr_Occurred()) SWIG_fail
;
8044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8045 (arg1
)->SetRequestedLength(arg2
);
8047 wxPyEndAllowThreads(__tstate
);
8048 if (PyErr_Occurred()) SWIG_fail
;
8050 Py_INCREF(Py_None
); resultobj
= Py_None
;
8057 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8058 PyObject
*resultobj
;
8059 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8061 PyObject
* obj0
= 0 ;
8063 (char *) "self", NULL
8066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
8067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8071 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
8073 wxPyEndAllowThreads(__tstate
);
8074 if (PyErr_Occurred()) SWIG_fail
;
8076 resultobj
= SWIG_From_int((int)result
);
8083 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8084 PyObject
*resultobj
;
8085 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8087 PyObject
* obj0
= 0 ;
8088 PyObject
* obj1
= 0 ;
8090 (char *) "self",(char *) "flags", NULL
8093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
8094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8096 arg2
= (int)SWIG_As_int(obj1
);
8097 if (PyErr_Occurred()) SWIG_fail
;
8099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8100 (arg1
)->SetFlags(arg2
);
8102 wxPyEndAllowThreads(__tstate
);
8103 if (PyErr_Occurred()) SWIG_fail
;
8105 Py_INCREF(Py_None
); resultobj
= Py_None
;
8112 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8113 PyObject
*resultobj
;
8114 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8116 PyObject
* obj0
= 0 ;
8118 (char *) "self", NULL
8121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
8122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8126 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
8128 wxPyEndAllowThreads(__tstate
);
8129 if (PyErr_Occurred()) SWIG_fail
;
8131 resultobj
= SWIG_From_int((int)result
);
8138 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8139 PyObject
*resultobj
;
8140 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8143 PyObject
* obj0
= 0 ;
8144 PyObject
* obj1
= 0 ;
8146 (char *) "self",(char *) "size", NULL
8149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8154 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8158 (arg1
)->SetSize((wxSize
const &)*arg2
);
8160 wxPyEndAllowThreads(__tstate
);
8161 if (PyErr_Occurred()) SWIG_fail
;
8163 Py_INCREF(Py_None
); resultobj
= Py_None
;
8170 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8171 PyObject
*resultobj
;
8172 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8174 PyObject
* obj0
= 0 ;
8176 (char *) "self", NULL
8179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
8180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8184 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
8186 wxPyEndAllowThreads(__tstate
);
8187 if (PyErr_Occurred()) SWIG_fail
;
8191 resultptr
= new wxSize((wxSize
&) result
);
8192 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
8200 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8201 PyObject
*resultobj
;
8202 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8204 PyObject
* obj0
= 0 ;
8205 PyObject
* obj1
= 0 ;
8207 (char *) "self",(char *) "orient", NULL
8210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8213 arg2
= (int)SWIG_As_int(obj1
);
8214 if (PyErr_Occurred()) SWIG_fail
;
8216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8217 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8219 wxPyEndAllowThreads(__tstate
);
8220 if (PyErr_Occurred()) SWIG_fail
;
8222 Py_INCREF(Py_None
); resultobj
= Py_None
;
8229 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8230 PyObject
*resultobj
;
8231 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8233 PyObject
* obj0
= 0 ;
8235 (char *) "self", NULL
8238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
8239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8243 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
8245 wxPyEndAllowThreads(__tstate
);
8246 if (PyErr_Occurred()) SWIG_fail
;
8248 resultobj
= SWIG_From_int((int)result
);
8255 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8256 PyObject
*resultobj
;
8257 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8259 PyObject
* obj0
= 0 ;
8260 PyObject
* obj1
= 0 ;
8262 (char *) "self",(char *) "align", NULL
8265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8268 arg2
= (int)SWIG_As_int(obj1
);
8269 if (PyErr_Occurred()) SWIG_fail
;
8271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8272 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8274 wxPyEndAllowThreads(__tstate
);
8275 if (PyErr_Occurred()) SWIG_fail
;
8277 Py_INCREF(Py_None
); resultobj
= Py_None
;
8284 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8285 PyObject
*resultobj
;
8286 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8288 PyObject
* obj0
= 0 ;
8290 (char *) "self", NULL
8293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
8294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8298 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
8300 wxPyEndAllowThreads(__tstate
);
8301 if (PyErr_Occurred()) SWIG_fail
;
8303 resultobj
= SWIG_From_int((int)result
);
8310 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*, PyObject
*args
) {
8312 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8313 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
8315 return Py_BuildValue((char *)"");
8317 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8318 PyObject
*resultobj
;
8319 int arg1
= (int) 0 ;
8320 wxCalculateLayoutEvent
*result
;
8321 PyObject
* obj0
= 0 ;
8326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
8328 arg1
= (int)SWIG_As_int(obj0
);
8329 if (PyErr_Occurred()) SWIG_fail
;
8332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8333 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
8335 wxPyEndAllowThreads(__tstate
);
8336 if (PyErr_Occurred()) SWIG_fail
;
8338 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
8345 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8346 PyObject
*resultobj
;
8347 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8349 PyObject
* obj0
= 0 ;
8350 PyObject
* obj1
= 0 ;
8352 (char *) "self",(char *) "flags", NULL
8355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
8356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8358 arg2
= (int)SWIG_As_int(obj1
);
8359 if (PyErr_Occurred()) SWIG_fail
;
8361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8362 (arg1
)->SetFlags(arg2
);
8364 wxPyEndAllowThreads(__tstate
);
8365 if (PyErr_Occurred()) SWIG_fail
;
8367 Py_INCREF(Py_None
); resultobj
= Py_None
;
8374 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8375 PyObject
*resultobj
;
8376 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8378 PyObject
* obj0
= 0 ;
8380 (char *) "self", NULL
8383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
8384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8388 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
8390 wxPyEndAllowThreads(__tstate
);
8391 if (PyErr_Occurred()) SWIG_fail
;
8393 resultobj
= SWIG_From_int((int)result
);
8400 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8401 PyObject
*resultobj
;
8402 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8405 PyObject
* obj0
= 0 ;
8406 PyObject
* obj1
= 0 ;
8408 (char *) "self",(char *) "rect", NULL
8411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
8412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8416 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8420 (arg1
)->SetRect((wxRect
const &)*arg2
);
8422 wxPyEndAllowThreads(__tstate
);
8423 if (PyErr_Occurred()) SWIG_fail
;
8425 Py_INCREF(Py_None
); resultobj
= Py_None
;
8432 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8433 PyObject
*resultobj
;
8434 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8436 PyObject
* obj0
= 0 ;
8438 (char *) "self", NULL
8441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
8442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8446 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
8448 wxPyEndAllowThreads(__tstate
);
8449 if (PyErr_Occurred()) SWIG_fail
;
8453 resultptr
= new wxRect((wxRect
&) result
);
8454 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
8462 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*, PyObject
*args
) {
8464 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8465 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
8467 return Py_BuildValue((char *)"");
8469 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8470 PyObject
*resultobj
;
8471 wxWindow
*arg1
= (wxWindow
*) 0 ;
8472 int arg2
= (int) -1 ;
8473 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8474 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8475 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8476 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8477 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8478 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
8479 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8480 wxSashLayoutWindow
*result
;
8483 bool temp6
= false ;
8484 PyObject
* obj0
= 0 ;
8485 PyObject
* obj1
= 0 ;
8486 PyObject
* obj2
= 0 ;
8487 PyObject
* obj3
= 0 ;
8488 PyObject
* obj4
= 0 ;
8489 PyObject
* obj5
= 0 ;
8491 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8498 arg2
= (int)SWIG_As_int(obj1
);
8499 if (PyErr_Occurred()) SWIG_fail
;
8504 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8510 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8514 arg5
= (long)SWIG_As_long(obj4
);
8515 if (PyErr_Occurred()) SWIG_fail
;
8519 arg6
= wxString_in_helper(obj5
);
8520 if (arg6
== NULL
) SWIG_fail
;
8525 if (!wxPyCheckForApp()) SWIG_fail
;
8526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8527 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8529 wxPyEndAllowThreads(__tstate
);
8530 if (PyErr_Occurred()) SWIG_fail
;
8532 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8547 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8548 PyObject
*resultobj
;
8549 wxSashLayoutWindow
*result
;
8554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
8556 if (!wxPyCheckForApp()) SWIG_fail
;
8557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8558 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
8560 wxPyEndAllowThreads(__tstate
);
8561 if (PyErr_Occurred()) SWIG_fail
;
8563 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8570 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8571 PyObject
*resultobj
;
8572 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8573 wxWindow
*arg2
= (wxWindow
*) 0 ;
8574 int arg3
= (int) -1 ;
8575 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8576 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8577 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8578 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8579 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8580 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
8581 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8585 bool temp7
= false ;
8586 PyObject
* obj0
= 0 ;
8587 PyObject
* obj1
= 0 ;
8588 PyObject
* obj2
= 0 ;
8589 PyObject
* obj3
= 0 ;
8590 PyObject
* obj4
= 0 ;
8591 PyObject
* obj5
= 0 ;
8592 PyObject
* obj6
= 0 ;
8594 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8600 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8603 arg3
= (int)SWIG_As_int(obj2
);
8604 if (PyErr_Occurred()) SWIG_fail
;
8609 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8615 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8619 arg6
= (long)SWIG_As_long(obj5
);
8620 if (PyErr_Occurred()) SWIG_fail
;
8624 arg7
= wxString_in_helper(obj6
);
8625 if (arg7
== NULL
) SWIG_fail
;
8630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8631 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8633 wxPyEndAllowThreads(__tstate
);
8634 if (PyErr_Occurred()) SWIG_fail
;
8637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8653 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8654 PyObject
*resultobj
;
8655 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8657 PyObject
* obj0
= 0 ;
8659 (char *) "self", NULL
8662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
8663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8667 result
= (int)(arg1
)->GetAlignment();
8669 wxPyEndAllowThreads(__tstate
);
8670 if (PyErr_Occurred()) SWIG_fail
;
8672 resultobj
= SWIG_From_int((int)result
);
8679 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8680 PyObject
*resultobj
;
8681 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8683 PyObject
* obj0
= 0 ;
8685 (char *) "self", NULL
8688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
8689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8693 result
= (int)(arg1
)->GetOrientation();
8695 wxPyEndAllowThreads(__tstate
);
8696 if (PyErr_Occurred()) SWIG_fail
;
8698 resultobj
= SWIG_From_int((int)result
);
8705 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8706 PyObject
*resultobj
;
8707 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8709 PyObject
* obj0
= 0 ;
8710 PyObject
* obj1
= 0 ;
8712 (char *) "self",(char *) "alignment", NULL
8715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8718 arg2
= (int)SWIG_As_int(obj1
);
8719 if (PyErr_Occurred()) SWIG_fail
;
8721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8722 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8724 wxPyEndAllowThreads(__tstate
);
8725 if (PyErr_Occurred()) SWIG_fail
;
8727 Py_INCREF(Py_None
); resultobj
= Py_None
;
8734 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8735 PyObject
*resultobj
;
8736 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8739 PyObject
* obj0
= 0 ;
8740 PyObject
* obj1
= 0 ;
8742 (char *) "self",(char *) "size", NULL
8745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8750 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8754 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
8756 wxPyEndAllowThreads(__tstate
);
8757 if (PyErr_Occurred()) SWIG_fail
;
8759 Py_INCREF(Py_None
); resultobj
= Py_None
;
8766 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8767 PyObject
*resultobj
;
8768 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8770 PyObject
* obj0
= 0 ;
8771 PyObject
* obj1
= 0 ;
8773 (char *) "self",(char *) "orientation", NULL
8776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8779 arg2
= (int)SWIG_As_int(obj1
);
8780 if (PyErr_Occurred()) SWIG_fail
;
8782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8783 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8785 wxPyEndAllowThreads(__tstate
);
8786 if (PyErr_Occurred()) SWIG_fail
;
8788 Py_INCREF(Py_None
); resultobj
= Py_None
;
8795 static PyObject
* SashLayoutWindow_swigregister(PyObject
*, PyObject
*args
) {
8797 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8798 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
8800 return Py_BuildValue((char *)"");
8802 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8803 PyObject
*resultobj
;
8804 wxLayoutAlgorithm
*result
;
8809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
8811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8812 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
8814 wxPyEndAllowThreads(__tstate
);
8815 if (PyErr_Occurred()) SWIG_fail
;
8817 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
8824 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8825 PyObject
*resultobj
;
8826 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8827 PyObject
* obj0
= 0 ;
8829 (char *) "self", NULL
8832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
8833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8839 wxPyEndAllowThreads(__tstate
);
8840 if (PyErr_Occurred()) SWIG_fail
;
8842 Py_INCREF(Py_None
); resultobj
= Py_None
;
8849 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8850 PyObject
*resultobj
;
8851 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8852 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
8853 wxRect
*arg3
= (wxRect
*) NULL
;
8855 PyObject
* obj0
= 0 ;
8856 PyObject
* obj1
= 0 ;
8857 PyObject
* obj2
= 0 ;
8859 (char *) "self",(char *) "frame",(char *) "rect", NULL
8862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8865 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
8866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8868 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
8869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8873 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
8875 wxPyEndAllowThreads(__tstate
);
8876 if (PyErr_Occurred()) SWIG_fail
;
8879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8887 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8888 PyObject
*resultobj
;
8889 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8890 wxFrame
*arg2
= (wxFrame
*) 0 ;
8891 wxWindow
*arg3
= (wxWindow
*) NULL
;
8893 PyObject
* obj0
= 0 ;
8894 PyObject
* obj1
= 0 ;
8895 PyObject
* obj2
= 0 ;
8897 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8903 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
8904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8906 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8911 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
8913 wxPyEndAllowThreads(__tstate
);
8914 if (PyErr_Occurred()) SWIG_fail
;
8917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8925 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8926 PyObject
*resultobj
;
8927 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8928 wxWindow
*arg2
= (wxWindow
*) 0 ;
8929 wxWindow
*arg3
= (wxWindow
*) NULL
;
8931 PyObject
* obj0
= 0 ;
8932 PyObject
* obj1
= 0 ;
8933 PyObject
* obj2
= 0 ;
8935 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8941 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8944 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8949 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
8951 wxPyEndAllowThreads(__tstate
);
8952 if (PyErr_Occurred()) SWIG_fail
;
8955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8963 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*, PyObject
*args
) {
8965 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8966 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
8968 return Py_BuildValue((char *)"");
8970 static PyObject
*_wrap_new_PopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8971 PyObject
*resultobj
;
8972 wxWindow
*arg1
= (wxWindow
*) 0 ;
8973 int arg2
= (int) wxBORDER_NONE
;
8974 wxPopupWindow
*result
;
8975 PyObject
* obj0
= 0 ;
8976 PyObject
* obj1
= 0 ;
8978 (char *) "parent",(char *) "flags", NULL
8981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8985 arg2
= (int)SWIG_As_int(obj1
);
8986 if (PyErr_Occurred()) SWIG_fail
;
8989 if (!wxPyCheckForApp()) SWIG_fail
;
8990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8991 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
8993 wxPyEndAllowThreads(__tstate
);
8994 if (PyErr_Occurred()) SWIG_fail
;
8996 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
9003 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9004 PyObject
*resultobj
;
9005 wxPopupWindow
*result
;
9010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
9012 if (!wxPyCheckForApp()) SWIG_fail
;
9013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9014 result
= (wxPopupWindow
*)new wxPopupWindow();
9016 wxPyEndAllowThreads(__tstate
);
9017 if (PyErr_Occurred()) SWIG_fail
;
9019 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
9026 static PyObject
*_wrap_PopupWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9027 PyObject
*resultobj
;
9028 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
9029 wxWindow
*arg2
= (wxWindow
*) 0 ;
9030 int arg3
= (int) wxBORDER_NONE
;
9032 PyObject
* obj0
= 0 ;
9033 PyObject
* obj1
= 0 ;
9034 PyObject
* obj2
= 0 ;
9036 (char *) "self",(char *) "parent",(char *) "flags", NULL
9039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPopupWindow
,
9041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9042 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9045 arg3
= (int)SWIG_As_int(obj2
);
9046 if (PyErr_Occurred()) SWIG_fail
;
9049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9050 result
= (bool)(arg1
)->Create(arg2
,arg3
);
9052 wxPyEndAllowThreads(__tstate
);
9053 if (PyErr_Occurred()) SWIG_fail
;
9056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9064 static PyObject
*_wrap_PopupWindow_Position(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9065 PyObject
*resultobj
;
9066 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
9071 PyObject
* obj0
= 0 ;
9072 PyObject
* obj1
= 0 ;
9073 PyObject
* obj2
= 0 ;
9075 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
9078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPopupWindow
,
9080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9083 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9087 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
9090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9091 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
9093 wxPyEndAllowThreads(__tstate
);
9094 if (PyErr_Occurred()) SWIG_fail
;
9096 Py_INCREF(Py_None
); resultobj
= Py_None
;
9103 static PyObject
* PopupWindow_swigregister(PyObject
*, PyObject
*args
) {
9105 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9106 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
9108 return Py_BuildValue((char *)"");
9110 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9111 PyObject
*resultobj
;
9112 wxWindow
*arg1
= (wxWindow
*) 0 ;
9113 int arg2
= (int) wxBORDER_NONE
;
9114 wxPyPopupTransientWindow
*result
;
9115 PyObject
* obj0
= 0 ;
9116 PyObject
* obj1
= 0 ;
9118 (char *) "parent",(char *) "style", NULL
9121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
9122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9125 arg2
= (int)SWIG_As_int(obj1
);
9126 if (PyErr_Occurred()) SWIG_fail
;
9129 if (!wxPyCheckForApp()) SWIG_fail
;
9130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9131 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
9133 wxPyEndAllowThreads(__tstate
);
9134 if (PyErr_Occurred()) SWIG_fail
;
9136 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
9143 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9144 PyObject
*resultobj
;
9145 wxPyPopupTransientWindow
*result
;
9150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
9152 if (!wxPyCheckForApp()) SWIG_fail
;
9153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9154 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
9156 wxPyEndAllowThreads(__tstate
);
9157 if (PyErr_Occurred()) SWIG_fail
;
9159 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
9166 static PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9167 PyObject
*resultobj
;
9168 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
9169 PyObject
*arg2
= (PyObject
*) 0 ;
9170 PyObject
*arg3
= (PyObject
*) 0 ;
9171 PyObject
* obj0
= 0 ;
9172 PyObject
* obj1
= 0 ;
9173 PyObject
* obj2
= 0 ;
9175 (char *) "self",(char *) "self",(char *) "_class", NULL
9178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
9180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9185 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9187 wxPyEndAllowThreads(__tstate
);
9188 if (PyErr_Occurred()) SWIG_fail
;
9190 Py_INCREF(Py_None
); resultobj
= Py_None
;
9197 static PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9198 PyObject
*resultobj
;
9199 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
9200 wxWindow
*arg2
= (wxWindow
*) NULL
;
9201 PyObject
* obj0
= 0 ;
9202 PyObject
* obj1
= 0 ;
9204 (char *) "self",(char *) "focus", NULL
9207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) goto fail
;
9208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
9209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9211 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9216 (arg1
)->Popup(arg2
);
9218 wxPyEndAllowThreads(__tstate
);
9219 if (PyErr_Occurred()) SWIG_fail
;
9221 Py_INCREF(Py_None
); resultobj
= Py_None
;
9228 static PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9229 PyObject
*resultobj
;
9230 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
9231 PyObject
* obj0
= 0 ;
9233 (char *) "self", NULL
9236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PopupTransientWindow_Dismiss",kwnames
,&obj0
)) goto fail
;
9237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
9238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9243 wxPyEndAllowThreads(__tstate
);
9244 if (PyErr_Occurred()) SWIG_fail
;
9246 Py_INCREF(Py_None
); resultobj
= Py_None
;
9253 static PyObject
* PopupTransientWindow_swigregister(PyObject
*, PyObject
*args
) {
9255 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9256 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
9258 return Py_BuildValue((char *)"");
9260 static PyObject
*_wrap_new_TipWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9261 PyObject
*resultobj
;
9262 wxWindow
*arg1
= (wxWindow
*) 0 ;
9263 wxString
*arg2
= 0 ;
9264 int arg3
= (int) 100 ;
9265 wxRect
*arg4
= (wxRect
*) NULL
;
9266 wxTipWindow
*result
;
9267 bool temp2
= false ;
9268 PyObject
* obj0
= 0 ;
9269 PyObject
* obj1
= 0 ;
9270 PyObject
* obj2
= 0 ;
9271 PyObject
* obj3
= 0 ;
9273 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
9276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9280 arg2
= wxString_in_helper(obj1
);
9281 if (arg2
== NULL
) SWIG_fail
;
9285 arg3
= (int)SWIG_As_int(obj2
);
9286 if (PyErr_Occurred()) SWIG_fail
;
9289 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
9290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9293 if (!wxPyCheckForApp()) SWIG_fail
;
9294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9295 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9297 wxPyEndAllowThreads(__tstate
);
9298 if (PyErr_Occurred()) SWIG_fail
;
9300 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
9315 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9316 PyObject
*resultobj
;
9317 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
9320 PyObject
* obj0
= 0 ;
9321 PyObject
* obj1
= 0 ;
9323 (char *) "self",(char *) "rectBound", NULL
9326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
9327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
9328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9331 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9335 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
9337 wxPyEndAllowThreads(__tstate
);
9338 if (PyErr_Occurred()) SWIG_fail
;
9340 Py_INCREF(Py_None
); resultobj
= Py_None
;
9347 static PyObject
*_wrap_TipWindow_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9348 PyObject
*resultobj
;
9349 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
9350 PyObject
* obj0
= 0 ;
9352 (char *) "self", NULL
9355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
9356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
9357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9362 wxPyEndAllowThreads(__tstate
);
9363 if (PyErr_Occurred()) SWIG_fail
;
9365 Py_INCREF(Py_None
); resultobj
= Py_None
;
9372 static PyObject
* TipWindow_swigregister(PyObject
*, PyObject
*args
) {
9374 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9375 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
9377 return Py_BuildValue((char *)"");
9379 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9380 PyObject
*resultobj
;
9381 wxWindow
*arg1
= (wxWindow
*) 0 ;
9382 int arg2
= (int) wxID_ANY
;
9383 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9384 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9385 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9386 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9387 long arg5
= (long) 0 ;
9388 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
9389 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9390 wxPyVScrolledWindow
*result
;
9393 bool temp6
= false ;
9394 PyObject
* obj0
= 0 ;
9395 PyObject
* obj1
= 0 ;
9396 PyObject
* obj2
= 0 ;
9397 PyObject
* obj3
= 0 ;
9398 PyObject
* obj4
= 0 ;
9399 PyObject
* obj5
= 0 ;
9401 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9408 arg2
= (int)SWIG_As_int(obj1
);
9409 if (PyErr_Occurred()) SWIG_fail
;
9414 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9420 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9424 arg5
= (long)SWIG_As_long(obj4
);
9425 if (PyErr_Occurred()) SWIG_fail
;
9429 arg6
= wxString_in_helper(obj5
);
9430 if (arg6
== NULL
) SWIG_fail
;
9435 if (!wxPyCheckForApp()) SWIG_fail
;
9436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9437 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9439 wxPyEndAllowThreads(__tstate
);
9440 if (PyErr_Occurred()) SWIG_fail
;
9442 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
9457 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9458 PyObject
*resultobj
;
9459 wxPyVScrolledWindow
*result
;
9464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
9466 if (!wxPyCheckForApp()) SWIG_fail
;
9467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9468 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
9470 wxPyEndAllowThreads(__tstate
);
9471 if (PyErr_Occurred()) SWIG_fail
;
9473 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
9480 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9481 PyObject
*resultobj
;
9482 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9483 PyObject
*arg2
= (PyObject
*) 0 ;
9484 PyObject
*arg3
= (PyObject
*) 0 ;
9485 PyObject
* obj0
= 0 ;
9486 PyObject
* obj1
= 0 ;
9487 PyObject
* obj2
= 0 ;
9489 (char *) "self",(char *) "self",(char *) "_class", NULL
9492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9499 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9501 wxPyEndAllowThreads(__tstate
);
9502 if (PyErr_Occurred()) SWIG_fail
;
9504 Py_INCREF(Py_None
); resultobj
= Py_None
;
9511 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9512 PyObject
*resultobj
;
9513 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9514 wxWindow
*arg2
= (wxWindow
*) 0 ;
9515 int arg3
= (int) wxID_ANY
;
9516 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9517 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9518 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9519 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9520 long arg6
= (long) 0 ;
9521 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
9522 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9526 bool temp7
= false ;
9527 PyObject
* obj0
= 0 ;
9528 PyObject
* obj1
= 0 ;
9529 PyObject
* obj2
= 0 ;
9530 PyObject
* obj3
= 0 ;
9531 PyObject
* obj4
= 0 ;
9532 PyObject
* obj5
= 0 ;
9533 PyObject
* obj6
= 0 ;
9535 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9541 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9544 arg3
= (int)SWIG_As_int(obj2
);
9545 if (PyErr_Occurred()) SWIG_fail
;
9550 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9556 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9560 arg6
= (long)SWIG_As_long(obj5
);
9561 if (PyErr_Occurred()) SWIG_fail
;
9565 arg7
= wxString_in_helper(obj6
);
9566 if (arg7
== NULL
) SWIG_fail
;
9571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9572 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9574 wxPyEndAllowThreads(__tstate
);
9575 if (PyErr_Occurred()) SWIG_fail
;
9578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9594 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9595 PyObject
*resultobj
;
9596 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9598 PyObject
* obj0
= 0 ;
9599 PyObject
* obj1
= 0 ;
9601 (char *) "self",(char *) "count", NULL
9604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9607 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9608 if (PyErr_Occurred()) SWIG_fail
;
9610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9611 (arg1
)->SetLineCount(arg2
);
9613 wxPyEndAllowThreads(__tstate
);
9614 if (PyErr_Occurred()) SWIG_fail
;
9616 Py_INCREF(Py_None
); resultobj
= Py_None
;
9623 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9624 PyObject
*resultobj
;
9625 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9628 PyObject
* obj0
= 0 ;
9629 PyObject
* obj1
= 0 ;
9631 (char *) "self",(char *) "line", NULL
9634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9637 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9638 if (PyErr_Occurred()) SWIG_fail
;
9640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9641 result
= (bool)(arg1
)->ScrollToLine(arg2
);
9643 wxPyEndAllowThreads(__tstate
);
9644 if (PyErr_Occurred()) SWIG_fail
;
9647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9655 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9656 PyObject
*resultobj
;
9657 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9660 PyObject
* obj0
= 0 ;
9661 PyObject
* obj1
= 0 ;
9663 (char *) "self",(char *) "lines", NULL
9666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
9667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9669 arg2
= (int)SWIG_As_int(obj1
);
9670 if (PyErr_Occurred()) SWIG_fail
;
9672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9673 result
= (bool)(arg1
)->ScrollLines(arg2
);
9675 wxPyEndAllowThreads(__tstate
);
9676 if (PyErr_Occurred()) SWIG_fail
;
9679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9687 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9688 PyObject
*resultobj
;
9689 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9692 PyObject
* obj0
= 0 ;
9693 PyObject
* obj1
= 0 ;
9695 (char *) "self",(char *) "pages", NULL
9698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
9699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9701 arg2
= (int)SWIG_As_int(obj1
);
9702 if (PyErr_Occurred()) SWIG_fail
;
9704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9705 result
= (bool)(arg1
)->ScrollPages(arg2
);
9707 wxPyEndAllowThreads(__tstate
);
9708 if (PyErr_Occurred()) SWIG_fail
;
9711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9719 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9720 PyObject
*resultobj
;
9721 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9723 PyObject
* obj0
= 0 ;
9724 PyObject
* obj1
= 0 ;
9726 (char *) "self",(char *) "line", NULL
9729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9732 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9733 if (PyErr_Occurred()) SWIG_fail
;
9735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9736 (arg1
)->RefreshLine(arg2
);
9738 wxPyEndAllowThreads(__tstate
);
9739 if (PyErr_Occurred()) SWIG_fail
;
9741 Py_INCREF(Py_None
); resultobj
= Py_None
;
9748 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9749 PyObject
*resultobj
;
9750 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9753 PyObject
* obj0
= 0 ;
9754 PyObject
* obj1
= 0 ;
9755 PyObject
* obj2
= 0 ;
9757 (char *) "self",(char *) "from",(char *) "to", NULL
9760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9763 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9764 if (PyErr_Occurred()) SWIG_fail
;
9765 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
9766 if (PyErr_Occurred()) SWIG_fail
;
9768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9769 (arg1
)->RefreshLines(arg2
,arg3
);
9771 wxPyEndAllowThreads(__tstate
);
9772 if (PyErr_Occurred()) SWIG_fail
;
9774 Py_INCREF(Py_None
); resultobj
= Py_None
;
9781 static PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9782 PyObject
*resultobj
;
9783 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9787 PyObject
* obj0
= 0 ;
9788 PyObject
* obj1
= 0 ;
9789 PyObject
* obj2
= 0 ;
9791 (char *) "self",(char *) "x",(char *) "y", NULL
9794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9797 arg2
= (int)SWIG_As_int(obj1
);
9798 if (PyErr_Occurred()) SWIG_fail
;
9799 arg3
= (int)SWIG_As_int(obj2
);
9800 if (PyErr_Occurred()) SWIG_fail
;
9802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9803 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
9805 wxPyEndAllowThreads(__tstate
);
9806 if (PyErr_Occurred()) SWIG_fail
;
9808 resultobj
= SWIG_From_int((int)result
);
9815 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9816 PyObject
*resultobj
;
9817 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9821 PyObject
* obj0
= 0 ;
9822 PyObject
* obj1
= 0 ;
9824 (char *) "self",(char *) "pt", NULL
9827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9832 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9836 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9838 wxPyEndAllowThreads(__tstate
);
9839 if (PyErr_Occurred()) SWIG_fail
;
9841 resultobj
= SWIG_From_int((int)result
);
9848 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9849 PyObject
*resultobj
;
9850 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9851 PyObject
* obj0
= 0 ;
9853 (char *) "self", NULL
9856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
9857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9861 (arg1
)->RefreshAll();
9863 wxPyEndAllowThreads(__tstate
);
9864 if (PyErr_Occurred()) SWIG_fail
;
9866 Py_INCREF(Py_None
); resultobj
= Py_None
;
9873 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9874 PyObject
*resultobj
;
9875 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9877 PyObject
* obj0
= 0 ;
9879 (char *) "self", NULL
9882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
9883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9887 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
9889 wxPyEndAllowThreads(__tstate
);
9890 if (PyErr_Occurred()) SWIG_fail
;
9892 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
9899 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9900 PyObject
*resultobj
;
9901 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9903 PyObject
* obj0
= 0 ;
9905 (char *) "self", NULL
9908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
9909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9913 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
9915 wxPyEndAllowThreads(__tstate
);
9916 if (PyErr_Occurred()) SWIG_fail
;
9918 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
9925 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9926 PyObject
*resultobj
;
9927 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9929 PyObject
* obj0
= 0 ;
9931 (char *) "self", NULL
9934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
9935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9939 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
9941 wxPyEndAllowThreads(__tstate
);
9942 if (PyErr_Occurred()) SWIG_fail
;
9944 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
9951 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9952 PyObject
*resultobj
;
9953 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9956 PyObject
* obj0
= 0 ;
9957 PyObject
* obj1
= 0 ;
9959 (char *) "self",(char *) "line", NULL
9962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
9963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9965 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9966 if (PyErr_Occurred()) SWIG_fail
;
9968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9969 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
9971 wxPyEndAllowThreads(__tstate
);
9972 if (PyErr_Occurred()) SWIG_fail
;
9975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9983 static PyObject
* VScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
9985 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9986 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
9988 return Py_BuildValue((char *)"");
9990 static int _wrap_VListBoxNameStr_set(PyObject
*) {
9991 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
9996 static PyObject
*_wrap_VListBoxNameStr_get() {
10001 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
10003 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
10010 static PyObject
*_wrap_new_VListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10011 PyObject
*resultobj
;
10012 wxWindow
*arg1
= (wxWindow
*) 0 ;
10013 int arg2
= (int) wxID_ANY
;
10014 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10015 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10016 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10017 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10018 long arg5
= (long) 0 ;
10019 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
10020 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10021 wxPyVListBox
*result
;
10024 bool temp6
= false ;
10025 PyObject
* obj0
= 0 ;
10026 PyObject
* obj1
= 0 ;
10027 PyObject
* obj2
= 0 ;
10028 PyObject
* obj3
= 0 ;
10029 PyObject
* obj4
= 0 ;
10030 PyObject
* obj5
= 0 ;
10031 char *kwnames
[] = {
10032 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10039 arg2
= (int)SWIG_As_int(obj1
);
10040 if (PyErr_Occurred()) SWIG_fail
;
10045 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10051 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10055 arg5
= (long)SWIG_As_long(obj4
);
10056 if (PyErr_Occurred()) SWIG_fail
;
10060 arg6
= wxString_in_helper(obj5
);
10061 if (arg6
== NULL
) SWIG_fail
;
10066 if (!wxPyCheckForApp()) SWIG_fail
;
10067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10068 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10070 wxPyEndAllowThreads(__tstate
);
10071 if (PyErr_Occurred()) SWIG_fail
;
10073 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
10088 static PyObject
*_wrap_new_PreVListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10089 PyObject
*resultobj
;
10090 wxPyVListBox
*result
;
10091 char *kwnames
[] = {
10095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
10097 if (!wxPyCheckForApp()) SWIG_fail
;
10098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10099 result
= (wxPyVListBox
*)new wxPyVListBox();
10101 wxPyEndAllowThreads(__tstate
);
10102 if (PyErr_Occurred()) SWIG_fail
;
10104 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
10111 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10112 PyObject
*resultobj
;
10113 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10114 PyObject
*arg2
= (PyObject
*) 0 ;
10115 PyObject
*arg3
= (PyObject
*) 0 ;
10116 PyObject
* obj0
= 0 ;
10117 PyObject
* obj1
= 0 ;
10118 PyObject
* obj2
= 0 ;
10119 char *kwnames
[] = {
10120 (char *) "self",(char *) "self",(char *) "_class", NULL
10123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10130 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10132 wxPyEndAllowThreads(__tstate
);
10133 if (PyErr_Occurred()) SWIG_fail
;
10135 Py_INCREF(Py_None
); resultobj
= Py_None
;
10142 static PyObject
*_wrap_VListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10143 PyObject
*resultobj
;
10144 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10145 wxWindow
*arg2
= (wxWindow
*) 0 ;
10146 int arg3
= (int) wxID_ANY
;
10147 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10148 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10149 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10150 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10151 long arg6
= (long) 0 ;
10152 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
10153 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10157 bool temp7
= false ;
10158 PyObject
* obj0
= 0 ;
10159 PyObject
* obj1
= 0 ;
10160 PyObject
* obj2
= 0 ;
10161 PyObject
* obj3
= 0 ;
10162 PyObject
* obj4
= 0 ;
10163 PyObject
* obj5
= 0 ;
10164 PyObject
* obj6
= 0 ;
10165 char *kwnames
[] = {
10166 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10172 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10175 arg3
= (int)SWIG_As_int(obj2
);
10176 if (PyErr_Occurred()) SWIG_fail
;
10181 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10187 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10191 arg6
= (long)SWIG_As_long(obj5
);
10192 if (PyErr_Occurred()) SWIG_fail
;
10196 arg7
= wxString_in_helper(obj6
);
10197 if (arg7
== NULL
) SWIG_fail
;
10202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10203 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10205 wxPyEndAllowThreads(__tstate
);
10206 if (PyErr_Occurred()) SWIG_fail
;
10209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10225 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10226 PyObject
*resultobj
;
10227 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10229 PyObject
* obj0
= 0 ;
10230 char *kwnames
[] = {
10231 (char *) "self", NULL
10234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
10235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10239 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
10241 wxPyEndAllowThreads(__tstate
);
10242 if (PyErr_Occurred()) SWIG_fail
;
10244 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
10251 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10252 PyObject
*resultobj
;
10253 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10255 PyObject
* obj0
= 0 ;
10256 char *kwnames
[] = {
10257 (char *) "self", NULL
10260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
10261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10265 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
10267 wxPyEndAllowThreads(__tstate
);
10268 if (PyErr_Occurred()) SWIG_fail
;
10271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10279 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10280 PyObject
*resultobj
;
10281 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10283 PyObject
* obj0
= 0 ;
10284 char *kwnames
[] = {
10285 (char *) "self", NULL
10288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
10289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10293 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
10295 wxPyEndAllowThreads(__tstate
);
10296 if (PyErr_Occurred()) SWIG_fail
;
10298 resultobj
= SWIG_From_int((int)result
);
10305 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10306 PyObject
*resultobj
;
10307 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10310 PyObject
* obj0
= 0 ;
10311 PyObject
* obj1
= 0 ;
10312 char *kwnames
[] = {
10313 (char *) "self",(char *) "item", NULL
10316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
10317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10319 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10320 if (PyErr_Occurred()) SWIG_fail
;
10322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10323 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
10325 wxPyEndAllowThreads(__tstate
);
10326 if (PyErr_Occurred()) SWIG_fail
;
10329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10337 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10338 PyObject
*resultobj
;
10339 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10342 PyObject
* obj0
= 0 ;
10343 PyObject
* obj1
= 0 ;
10344 char *kwnames
[] = {
10345 (char *) "self",(char *) "item", NULL
10348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
10349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10351 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10352 if (PyErr_Occurred()) SWIG_fail
;
10354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10355 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
10357 wxPyEndAllowThreads(__tstate
);
10358 if (PyErr_Occurred()) SWIG_fail
;
10361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10369 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10370 PyObject
*resultobj
;
10371 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10373 PyObject
* obj0
= 0 ;
10374 char *kwnames
[] = {
10375 (char *) "self", NULL
10378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
10379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10383 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
10385 wxPyEndAllowThreads(__tstate
);
10386 if (PyErr_Occurred()) SWIG_fail
;
10388 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
10395 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10396 PyObject
*resultobj
;
10397 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10399 PyObject
* obj0
= 0 ;
10400 char *kwnames
[] = {
10401 (char *) "self", NULL
10404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
10405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10409 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
10411 wxPyEndAllowThreads(__tstate
);
10412 if (PyErr_Occurred()) SWIG_fail
;
10414 resultobj
= result
;
10421 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10422 PyObject
*resultobj
;
10423 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10424 unsigned long arg2
;
10426 PyObject
* obj0
= 0 ;
10427 PyObject
* obj1
= 0 ;
10428 char *kwnames
[] = {
10429 (char *) "self",(char *) "cookie", NULL
10432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
10433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10435 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
10436 if (PyErr_Occurred()) SWIG_fail
;
10438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10439 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
10441 wxPyEndAllowThreads(__tstate
);
10442 if (PyErr_Occurred()) SWIG_fail
;
10444 resultobj
= result
;
10451 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10452 PyObject
*resultobj
;
10453 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10455 PyObject
* obj0
= 0 ;
10456 char *kwnames
[] = {
10457 (char *) "self", NULL
10460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
10461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10465 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
10467 wxPyEndAllowThreads(__tstate
);
10468 if (PyErr_Occurred()) SWIG_fail
;
10471 wxPoint
* resultptr
;
10472 resultptr
= new wxPoint((wxPoint
&) result
);
10473 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
10481 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10482 PyObject
*resultobj
;
10483 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10485 PyObject
* obj0
= 0 ;
10486 char *kwnames
[] = {
10487 (char *) "self", NULL
10490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
10491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10496 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
10497 result
= (wxColour
*) &_result_ref
;
10500 wxPyEndAllowThreads(__tstate
);
10501 if (PyErr_Occurred()) SWIG_fail
;
10503 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
10510 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10511 PyObject
*resultobj
;
10512 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10514 PyObject
* obj0
= 0 ;
10515 PyObject
* obj1
= 0 ;
10516 char *kwnames
[] = {
10517 (char *) "self",(char *) "count", NULL
10520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10523 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10524 if (PyErr_Occurred()) SWIG_fail
;
10526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10527 (arg1
)->SetItemCount(arg2
);
10529 wxPyEndAllowThreads(__tstate
);
10530 if (PyErr_Occurred()) SWIG_fail
;
10532 Py_INCREF(Py_None
); resultobj
= Py_None
;
10539 static PyObject
*_wrap_VListBox_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10540 PyObject
*resultobj
;
10541 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10542 PyObject
* obj0
= 0 ;
10543 char *kwnames
[] = {
10544 (char *) "self", NULL
10547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
10548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10554 wxPyEndAllowThreads(__tstate
);
10555 if (PyErr_Occurred()) SWIG_fail
;
10557 Py_INCREF(Py_None
); resultobj
= Py_None
;
10564 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10565 PyObject
*resultobj
;
10566 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10568 PyObject
* obj0
= 0 ;
10569 PyObject
* obj1
= 0 ;
10570 char *kwnames
[] = {
10571 (char *) "self",(char *) "selection", NULL
10574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
10575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10577 arg2
= (int)SWIG_As_int(obj1
);
10578 if (PyErr_Occurred()) SWIG_fail
;
10580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10581 (arg1
)->SetSelection(arg2
);
10583 wxPyEndAllowThreads(__tstate
);
10584 if (PyErr_Occurred()) SWIG_fail
;
10586 Py_INCREF(Py_None
); resultobj
= Py_None
;
10593 static PyObject
*_wrap_VListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10594 PyObject
*resultobj
;
10595 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10597 bool arg3
= (bool) true ;
10599 PyObject
* obj0
= 0 ;
10600 PyObject
* obj1
= 0 ;
10601 PyObject
* obj2
= 0 ;
10602 char *kwnames
[] = {
10603 (char *) "self",(char *) "item",(char *) "select", NULL
10606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10609 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10610 if (PyErr_Occurred()) SWIG_fail
;
10612 arg3
= (bool)SWIG_As_bool(obj2
);
10613 if (PyErr_Occurred()) SWIG_fail
;
10616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10617 result
= (bool)(arg1
)->Select(arg2
,arg3
);
10619 wxPyEndAllowThreads(__tstate
);
10620 if (PyErr_Occurred()) SWIG_fail
;
10623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10631 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10632 PyObject
*resultobj
;
10633 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10637 PyObject
* obj0
= 0 ;
10638 PyObject
* obj1
= 0 ;
10639 PyObject
* obj2
= 0 ;
10640 char *kwnames
[] = {
10641 (char *) "self",(char *) "from",(char *) "to", NULL
10644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10647 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10648 if (PyErr_Occurred()) SWIG_fail
;
10649 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
10650 if (PyErr_Occurred()) SWIG_fail
;
10652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10653 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
10655 wxPyEndAllowThreads(__tstate
);
10656 if (PyErr_Occurred()) SWIG_fail
;
10659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10667 static PyObject
*_wrap_VListBox_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10668 PyObject
*resultobj
;
10669 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10671 PyObject
* obj0
= 0 ;
10672 PyObject
* obj1
= 0 ;
10673 char *kwnames
[] = {
10674 (char *) "self",(char *) "item", NULL
10677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
10678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10680 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10681 if (PyErr_Occurred()) SWIG_fail
;
10683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10684 (arg1
)->Toggle(arg2
);
10686 wxPyEndAllowThreads(__tstate
);
10687 if (PyErr_Occurred()) SWIG_fail
;
10689 Py_INCREF(Py_None
); resultobj
= Py_None
;
10696 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10697 PyObject
*resultobj
;
10698 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10700 PyObject
* obj0
= 0 ;
10701 char *kwnames
[] = {
10702 (char *) "self", NULL
10705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
10706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10710 result
= (bool)(arg1
)->SelectAll();
10712 wxPyEndAllowThreads(__tstate
);
10713 if (PyErr_Occurred()) SWIG_fail
;
10716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10724 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10725 PyObject
*resultobj
;
10726 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10728 PyObject
* obj0
= 0 ;
10729 char *kwnames
[] = {
10730 (char *) "self", NULL
10733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
10734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10738 result
= (bool)(arg1
)->DeselectAll();
10740 wxPyEndAllowThreads(__tstate
);
10741 if (PyErr_Occurred()) SWIG_fail
;
10744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10752 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10753 PyObject
*resultobj
;
10754 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10755 wxPoint
*arg2
= 0 ;
10757 PyObject
* obj0
= 0 ;
10758 PyObject
* obj1
= 0 ;
10759 char *kwnames
[] = {
10760 (char *) "self",(char *) "pt", NULL
10763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
10764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10768 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10772 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
10774 wxPyEndAllowThreads(__tstate
);
10775 if (PyErr_Occurred()) SWIG_fail
;
10777 Py_INCREF(Py_None
); resultobj
= Py_None
;
10784 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10785 PyObject
*resultobj
;
10786 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10789 PyObject
* obj0
= 0 ;
10790 PyObject
* obj1
= 0 ;
10791 PyObject
* obj2
= 0 ;
10792 char *kwnames
[] = {
10793 (char *) "self",(char *) "x",(char *) "y", NULL
10796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10799 arg2
= (int)SWIG_As_int(obj1
);
10800 if (PyErr_Occurred()) SWIG_fail
;
10801 arg3
= (int)SWIG_As_int(obj2
);
10802 if (PyErr_Occurred()) SWIG_fail
;
10804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10805 (arg1
)->SetMargins(arg2
,arg3
);
10807 wxPyEndAllowThreads(__tstate
);
10808 if (PyErr_Occurred()) SWIG_fail
;
10810 Py_INCREF(Py_None
); resultobj
= Py_None
;
10817 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10818 PyObject
*resultobj
;
10819 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10820 wxColour
*arg2
= 0 ;
10822 PyObject
* obj0
= 0 ;
10823 PyObject
* obj1
= 0 ;
10824 char *kwnames
[] = {
10825 (char *) "self",(char *) "col", NULL
10828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
10829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10833 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10837 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
10839 wxPyEndAllowThreads(__tstate
);
10840 if (PyErr_Occurred()) SWIG_fail
;
10842 Py_INCREF(Py_None
); resultobj
= Py_None
;
10849 static PyObject
* VListBox_swigregister(PyObject
*, PyObject
*args
) {
10851 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10852 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
10854 return Py_BuildValue((char *)"");
10856 static PyObject
*_wrap_new_HtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10857 PyObject
*resultobj
;
10858 wxWindow
*arg1
= (wxWindow
*) 0 ;
10859 int arg2
= (int) wxID_ANY
;
10860 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10861 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10862 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10863 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10864 long arg5
= (long) 0 ;
10865 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
10866 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10867 wxPyHtmlListBox
*result
;
10870 bool temp6
= false ;
10871 PyObject
* obj0
= 0 ;
10872 PyObject
* obj1
= 0 ;
10873 PyObject
* obj2
= 0 ;
10874 PyObject
* obj3
= 0 ;
10875 PyObject
* obj4
= 0 ;
10876 PyObject
* obj5
= 0 ;
10877 char *kwnames
[] = {
10878 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10885 arg2
= (int)SWIG_As_int(obj1
);
10886 if (PyErr_Occurred()) SWIG_fail
;
10891 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10897 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10901 arg5
= (long)SWIG_As_long(obj4
);
10902 if (PyErr_Occurred()) SWIG_fail
;
10906 arg6
= wxString_in_helper(obj5
);
10907 if (arg6
== NULL
) SWIG_fail
;
10912 if (!wxPyCheckForApp()) SWIG_fail
;
10913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10914 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10916 wxPyEndAllowThreads(__tstate
);
10917 if (PyErr_Occurred()) SWIG_fail
;
10919 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10934 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10935 PyObject
*resultobj
;
10936 wxPyHtmlListBox
*result
;
10937 char *kwnames
[] = {
10941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
10943 if (!wxPyCheckForApp()) SWIG_fail
;
10944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10945 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
10947 wxPyEndAllowThreads(__tstate
);
10948 if (PyErr_Occurred()) SWIG_fail
;
10950 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10957 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10958 PyObject
*resultobj
;
10959 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10960 PyObject
*arg2
= (PyObject
*) 0 ;
10961 PyObject
*arg3
= (PyObject
*) 0 ;
10962 PyObject
* obj0
= 0 ;
10963 PyObject
* obj1
= 0 ;
10964 PyObject
* obj2
= 0 ;
10965 char *kwnames
[] = {
10966 (char *) "self",(char *) "self",(char *) "_class", NULL
10969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10976 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10978 wxPyEndAllowThreads(__tstate
);
10979 if (PyErr_Occurred()) SWIG_fail
;
10981 Py_INCREF(Py_None
); resultobj
= Py_None
;
10988 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10989 PyObject
*resultobj
;
10990 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10991 wxWindow
*arg2
= (wxWindow
*) 0 ;
10992 int arg3
= (int) wxID_ANY
;
10993 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10994 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10995 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10996 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10997 long arg6
= (long) 0 ;
10998 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
10999 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11003 bool temp7
= false ;
11004 PyObject
* obj0
= 0 ;
11005 PyObject
* obj1
= 0 ;
11006 PyObject
* obj2
= 0 ;
11007 PyObject
* obj3
= 0 ;
11008 PyObject
* obj4
= 0 ;
11009 PyObject
* obj5
= 0 ;
11010 PyObject
* obj6
= 0 ;
11011 char *kwnames
[] = {
11012 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
11017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11018 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11021 arg3
= (int)SWIG_As_int(obj2
);
11022 if (PyErr_Occurred()) SWIG_fail
;
11027 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11033 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11037 arg6
= (long)SWIG_As_long(obj5
);
11038 if (PyErr_Occurred()) SWIG_fail
;
11042 arg7
= wxString_in_helper(obj6
);
11043 if (arg7
== NULL
) SWIG_fail
;
11048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11049 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11051 wxPyEndAllowThreads(__tstate
);
11052 if (PyErr_Occurred()) SWIG_fail
;
11055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11071 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11072 PyObject
*resultobj
;
11073 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
11074 PyObject
* obj0
= 0 ;
11075 char *kwnames
[] = {
11076 (char *) "self", NULL
11079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
11080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
11081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11084 (arg1
)->RefreshAll();
11086 wxPyEndAllowThreads(__tstate
);
11087 if (PyErr_Occurred()) SWIG_fail
;
11089 Py_INCREF(Py_None
); resultobj
= Py_None
;
11096 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11097 PyObject
*resultobj
;
11098 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
11100 PyObject
* obj0
= 0 ;
11101 PyObject
* obj1
= 0 ;
11102 char *kwnames
[] = {
11103 (char *) "self",(char *) "count", NULL
11106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
11107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
11108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11109 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
11110 if (PyErr_Occurred()) SWIG_fail
;
11112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11113 (arg1
)->SetItemCount(arg2
);
11115 wxPyEndAllowThreads(__tstate
);
11116 if (PyErr_Occurred()) SWIG_fail
;
11118 Py_INCREF(Py_None
); resultobj
= Py_None
;
11125 static PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11126 PyObject
*resultobj
;
11127 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
11128 wxFileSystem
*result
;
11129 PyObject
* obj0
= 0 ;
11130 char *kwnames
[] = {
11131 (char *) "self", NULL
11134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_GetFileSystem",kwnames
,&obj0
)) goto fail
;
11135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
11136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11140 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
11141 result
= (wxFileSystem
*) &_result_ref
;
11144 wxPyEndAllowThreads(__tstate
);
11145 if (PyErr_Occurred()) SWIG_fail
;
11147 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileSystem
, 0);
11154 static PyObject
* HtmlListBox_swigregister(PyObject
*, PyObject
*args
) {
11156 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11157 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
11159 return Py_BuildValue((char *)"");
11161 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11162 PyObject
*resultobj
;
11163 wxPyTaskBarIcon
*result
;
11164 char *kwnames
[] = {
11168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
11170 if (!wxPyCheckForApp()) SWIG_fail
;
11171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11172 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
11174 wxPyEndAllowThreads(__tstate
);
11175 if (PyErr_Occurred()) SWIG_fail
;
11177 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTaskBarIcon
, 1);
11184 static PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11185 PyObject
*resultobj
;
11186 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
11187 PyObject
*arg2
= (PyObject
*) 0 ;
11188 PyObject
*arg3
= (PyObject
*) 0 ;
11190 PyObject
* obj0
= 0 ;
11191 PyObject
* obj1
= 0 ;
11192 PyObject
* obj2
= 0 ;
11193 PyObject
* obj3
= 0 ;
11194 char *kwnames
[] = {
11195 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
11198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTaskBarIcon
,
11200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11203 arg4
= (int)SWIG_As_int(obj3
);
11204 if (PyErr_Occurred()) SWIG_fail
;
11206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11207 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
11209 wxPyEndAllowThreads(__tstate
);
11210 if (PyErr_Occurred()) SWIG_fail
;
11212 Py_INCREF(Py_None
); resultobj
= Py_None
;
11219 static PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11220 PyObject
*resultobj
;
11221 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
11222 PyObject
* obj0
= 0 ;
11223 char *kwnames
[] = {
11224 (char *) "self", NULL
11227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_Destroy",kwnames
,&obj0
)) goto fail
;
11228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTaskBarIcon
,
11229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11232 wxPyTaskBarIcon_Destroy(arg1
);
11234 wxPyEndAllowThreads(__tstate
);
11235 if (PyErr_Occurred()) SWIG_fail
;
11237 Py_INCREF(Py_None
); resultobj
= Py_None
;
11244 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11245 PyObject
*resultobj
;
11246 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
11248 PyObject
* obj0
= 0 ;
11249 char *kwnames
[] = {
11250 (char *) "self", NULL
11253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
11254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTaskBarIcon
,
11255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11258 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
11260 wxPyEndAllowThreads(__tstate
);
11261 if (PyErr_Occurred()) SWIG_fail
;
11264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11272 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11273 PyObject
*resultobj
;
11274 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
11276 PyObject
* obj0
= 0 ;
11277 char *kwnames
[] = {
11278 (char *) "self", NULL
11281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
11282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTaskBarIcon
,
11283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11286 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
11288 wxPyEndAllowThreads(__tstate
);
11289 if (PyErr_Occurred()) SWIG_fail
;
11292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11300 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11301 PyObject
*resultobj
;
11302 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
11304 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11305 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11307 bool temp3
= false ;
11308 PyObject
* obj0
= 0 ;
11309 PyObject
* obj1
= 0 ;
11310 PyObject
* obj2
= 0 ;
11311 char *kwnames
[] = {
11312 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
11315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTaskBarIcon
,
11317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11318 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11319 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11321 if (arg2
== NULL
) {
11322 PyErr_SetString(PyExc_TypeError
,"null reference");
11327 arg3
= wxString_in_helper(obj2
);
11328 if (arg3
== NULL
) SWIG_fail
;
11333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11334 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
11336 wxPyEndAllowThreads(__tstate
);
11337 if (PyErr_Occurred()) SWIG_fail
;
11340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11356 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11357 PyObject
*resultobj
;
11358 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
11360 PyObject
* obj0
= 0 ;
11361 char *kwnames
[] = {
11362 (char *) "self", NULL
11365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
11366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTaskBarIcon
,
11367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11370 result
= (bool)(arg1
)->RemoveIcon();
11372 wxPyEndAllowThreads(__tstate
);
11373 if (PyErr_Occurred()) SWIG_fail
;
11376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11384 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11385 PyObject
*resultobj
;
11386 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
11387 wxMenu
*arg2
= (wxMenu
*) 0 ;
11389 PyObject
* obj0
= 0 ;
11390 PyObject
* obj1
= 0 ;
11391 char *kwnames
[] = {
11392 (char *) "self",(char *) "menu", NULL
11395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
11396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTaskBarIcon
,
11397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11398 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
11399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11402 result
= (bool)(arg1
)->PopupMenu(arg2
);
11404 wxPyEndAllowThreads(__tstate
);
11405 if (PyErr_Occurred()) SWIG_fail
;
11408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11416 static PyObject
* TaskBarIcon_swigregister(PyObject
*, PyObject
*args
) {
11418 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11419 SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon
, obj
);
11421 return Py_BuildValue((char *)"");
11423 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11424 PyObject
*resultobj
;
11426 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
11427 wxTaskBarIconEvent
*result
;
11428 PyObject
* obj0
= 0 ;
11429 PyObject
* obj1
= 0 ;
11430 char *kwnames
[] = {
11431 (char *) "evtType",(char *) "tbIcon", NULL
11434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11435 arg1
= (wxEventType
)SWIG_As_int(obj0
);
11436 if (PyErr_Occurred()) SWIG_fail
;
11437 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTaskBarIcon
,
11438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11441 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
11443 wxPyEndAllowThreads(__tstate
);
11444 if (PyErr_Occurred()) SWIG_fail
;
11446 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
11453 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*, PyObject
*args
) {
11455 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11456 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
11458 return Py_BuildValue((char *)"");
11460 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
11461 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
11466 static PyObject
*_wrap_FileSelectorPromptStr_get() {
11471 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
11473 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
11480 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
11481 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
11486 static PyObject
*_wrap_DirSelectorPromptStr_get() {
11491 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
11493 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
11500 static int _wrap_DirDialogNameStr_set(PyObject
*) {
11501 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
11506 static PyObject
*_wrap_DirDialogNameStr_get() {
11511 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
11513 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
11520 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
11521 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
11526 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
11531 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
11533 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
11540 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*) {
11541 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
11546 static PyObject
*_wrap_GetTextFromUserPromptStr_get() {
11551 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
11553 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
11560 static int _wrap_MessageBoxCaptionStr_set(PyObject
*) {
11561 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
11566 static PyObject
*_wrap_MessageBoxCaptionStr_get() {
11571 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
11573 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
11580 static PyObject
*_wrap_new_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11581 PyObject
*resultobj
;
11582 wxColourData
*result
;
11583 char *kwnames
[] = {
11587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
11589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11590 result
= (wxColourData
*)new wxColourData();
11592 wxPyEndAllowThreads(__tstate
);
11593 if (PyErr_Occurred()) SWIG_fail
;
11595 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
11602 static PyObject
*_wrap_delete_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11603 PyObject
*resultobj
;
11604 wxColourData
*arg1
= (wxColourData
*) 0 ;
11605 PyObject
* obj0
= 0 ;
11606 char *kwnames
[] = {
11607 (char *) "self", NULL
11610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
11611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11617 wxPyEndAllowThreads(__tstate
);
11618 if (PyErr_Occurred()) SWIG_fail
;
11620 Py_INCREF(Py_None
); resultobj
= Py_None
;
11627 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11628 PyObject
*resultobj
;
11629 wxColourData
*arg1
= (wxColourData
*) 0 ;
11631 PyObject
* obj0
= 0 ;
11632 char *kwnames
[] = {
11633 (char *) "self", NULL
11636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
11637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11641 result
= (bool)(arg1
)->GetChooseFull();
11643 wxPyEndAllowThreads(__tstate
);
11644 if (PyErr_Occurred()) SWIG_fail
;
11647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11655 static PyObject
*_wrap_ColourData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11656 PyObject
*resultobj
;
11657 wxColourData
*arg1
= (wxColourData
*) 0 ;
11659 PyObject
* obj0
= 0 ;
11660 char *kwnames
[] = {
11661 (char *) "self", NULL
11664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
11665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11669 result
= (arg1
)->GetColour();
11671 wxPyEndAllowThreads(__tstate
);
11672 if (PyErr_Occurred()) SWIG_fail
;
11675 wxColour
* resultptr
;
11676 resultptr
= new wxColour((wxColour
&) result
);
11677 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11685 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11686 PyObject
*resultobj
;
11687 wxColourData
*arg1
= (wxColourData
*) 0 ;
11690 PyObject
* obj0
= 0 ;
11691 PyObject
* obj1
= 0 ;
11692 char *kwnames
[] = {
11693 (char *) "self",(char *) "i", NULL
11696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11699 arg2
= (int)SWIG_As_int(obj1
);
11700 if (PyErr_Occurred()) SWIG_fail
;
11702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11703 result
= (arg1
)->GetCustomColour(arg2
);
11705 wxPyEndAllowThreads(__tstate
);
11706 if (PyErr_Occurred()) SWIG_fail
;
11709 wxColour
* resultptr
;
11710 resultptr
= new wxColour((wxColour
&) result
);
11711 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11719 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11720 PyObject
*resultobj
;
11721 wxColourData
*arg1
= (wxColourData
*) 0 ;
11723 PyObject
* obj0
= 0 ;
11724 PyObject
* obj1
= 0 ;
11725 char *kwnames
[] = {
11726 (char *) "self",(char *) "flag", NULL
11729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
11730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11732 arg2
= (int)SWIG_As_int(obj1
);
11733 if (PyErr_Occurred()) SWIG_fail
;
11735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11736 (arg1
)->SetChooseFull(arg2
);
11738 wxPyEndAllowThreads(__tstate
);
11739 if (PyErr_Occurred()) SWIG_fail
;
11741 Py_INCREF(Py_None
); resultobj
= Py_None
;
11748 static PyObject
*_wrap_ColourData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11749 PyObject
*resultobj
;
11750 wxColourData
*arg1
= (wxColourData
*) 0 ;
11751 wxColour
*arg2
= 0 ;
11753 PyObject
* obj0
= 0 ;
11754 PyObject
* obj1
= 0 ;
11755 char *kwnames
[] = {
11756 (char *) "self",(char *) "colour", NULL
11759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11764 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11768 (arg1
)->SetColour((wxColour
const &)*arg2
);
11770 wxPyEndAllowThreads(__tstate
);
11771 if (PyErr_Occurred()) SWIG_fail
;
11773 Py_INCREF(Py_None
); resultobj
= Py_None
;
11780 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11781 PyObject
*resultobj
;
11782 wxColourData
*arg1
= (wxColourData
*) 0 ;
11784 wxColour
*arg3
= 0 ;
11786 PyObject
* obj0
= 0 ;
11787 PyObject
* obj1
= 0 ;
11788 PyObject
* obj2
= 0 ;
11789 char *kwnames
[] = {
11790 (char *) "self",(char *) "i",(char *) "colour", NULL
11793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11796 arg2
= (int)SWIG_As_int(obj1
);
11797 if (PyErr_Occurred()) SWIG_fail
;
11800 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11804 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
11806 wxPyEndAllowThreads(__tstate
);
11807 if (PyErr_Occurred()) SWIG_fail
;
11809 Py_INCREF(Py_None
); resultobj
= Py_None
;
11816 static PyObject
* ColourData_swigregister(PyObject
*, PyObject
*args
) {
11818 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11819 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
11821 return Py_BuildValue((char *)"");
11823 static PyObject
*_wrap_new_ColourDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11824 PyObject
*resultobj
;
11825 wxWindow
*arg1
= (wxWindow
*) 0 ;
11826 wxColourData
*arg2
= (wxColourData
*) NULL
;
11827 wxColourDialog
*result
;
11828 PyObject
* obj0
= 0 ;
11829 PyObject
* obj1
= 0 ;
11830 char *kwnames
[] = {
11831 (char *) "parent",(char *) "data", NULL
11834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
11835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11838 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColourData
,
11839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11842 if (!wxPyCheckForApp()) SWIG_fail
;
11843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11844 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
11846 wxPyEndAllowThreads(__tstate
);
11847 if (PyErr_Occurred()) SWIG_fail
;
11849 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
11856 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11857 PyObject
*resultobj
;
11858 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
11859 wxColourData
*result
;
11860 PyObject
* obj0
= 0 ;
11861 char *kwnames
[] = {
11862 (char *) "self", NULL
11865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
11866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDialog
,
11867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11871 wxColourData
&_result_ref
= (arg1
)->GetColourData();
11872 result
= (wxColourData
*) &_result_ref
;
11875 wxPyEndAllowThreads(__tstate
);
11876 if (PyErr_Occurred()) SWIG_fail
;
11878 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
11885 static PyObject
* ColourDialog_swigregister(PyObject
*, PyObject
*args
) {
11887 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11888 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
11890 return Py_BuildValue((char *)"");
11892 static PyObject
*_wrap_new_DirDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11893 PyObject
*resultobj
;
11894 wxWindow
*arg1
= (wxWindow
*) 0 ;
11895 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
11896 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11897 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11898 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11899 long arg4
= (long) 0 ;
11900 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11901 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11902 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11903 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11904 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
11905 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11906 wxDirDialog
*result
;
11907 bool temp2
= false ;
11908 bool temp3
= false ;
11911 bool temp7
= false ;
11912 PyObject
* obj0
= 0 ;
11913 PyObject
* obj1
= 0 ;
11914 PyObject
* obj2
= 0 ;
11915 PyObject
* obj3
= 0 ;
11916 PyObject
* obj4
= 0 ;
11917 PyObject
* obj5
= 0 ;
11918 PyObject
* obj6
= 0 ;
11919 char *kwnames
[] = {
11920 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11928 arg2
= wxString_in_helper(obj1
);
11929 if (arg2
== NULL
) SWIG_fail
;
11935 arg3
= wxString_in_helper(obj2
);
11936 if (arg3
== NULL
) SWIG_fail
;
11941 arg4
= (long)SWIG_As_long(obj3
);
11942 if (PyErr_Occurred()) SWIG_fail
;
11947 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11953 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11958 arg7
= wxString_in_helper(obj6
);
11959 if (arg7
== NULL
) SWIG_fail
;
11964 if (!wxPyCheckForApp()) SWIG_fail
;
11965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11966 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
11968 wxPyEndAllowThreads(__tstate
);
11969 if (PyErr_Occurred()) SWIG_fail
;
11971 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
12002 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12003 PyObject
*resultobj
;
12004 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
12006 PyObject
* obj0
= 0 ;
12007 char *kwnames
[] = {
12008 (char *) "self", NULL
12011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
12012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
12013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12016 result
= (arg1
)->GetPath();
12018 wxPyEndAllowThreads(__tstate
);
12019 if (PyErr_Occurred()) SWIG_fail
;
12023 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12025 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12034 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12035 PyObject
*resultobj
;
12036 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
12038 PyObject
* obj0
= 0 ;
12039 char *kwnames
[] = {
12040 (char *) "self", NULL
12043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
12044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
12045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12048 result
= (arg1
)->GetMessage();
12050 wxPyEndAllowThreads(__tstate
);
12051 if (PyErr_Occurred()) SWIG_fail
;
12055 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12057 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12066 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12067 PyObject
*resultobj
;
12068 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
12070 PyObject
* obj0
= 0 ;
12071 char *kwnames
[] = {
12072 (char *) "self", NULL
12075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
12076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
12077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12080 result
= (long)(arg1
)->GetStyle();
12082 wxPyEndAllowThreads(__tstate
);
12083 if (PyErr_Occurred()) SWIG_fail
;
12085 resultobj
= SWIG_From_long((long)result
);
12092 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12093 PyObject
*resultobj
;
12094 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
12095 wxString
*arg2
= 0 ;
12096 bool temp2
= false ;
12097 PyObject
* obj0
= 0 ;
12098 PyObject
* obj1
= 0 ;
12099 char *kwnames
[] = {
12100 (char *) "self",(char *) "message", NULL
12103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
12104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
12105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12107 arg2
= wxString_in_helper(obj1
);
12108 if (arg2
== NULL
) SWIG_fail
;
12112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12113 (arg1
)->SetMessage((wxString
const &)*arg2
);
12115 wxPyEndAllowThreads(__tstate
);
12116 if (PyErr_Occurred()) SWIG_fail
;
12118 Py_INCREF(Py_None
); resultobj
= Py_None
;
12133 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12134 PyObject
*resultobj
;
12135 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
12136 wxString
*arg2
= 0 ;
12137 bool temp2
= false ;
12138 PyObject
* obj0
= 0 ;
12139 PyObject
* obj1
= 0 ;
12140 char *kwnames
[] = {
12141 (char *) "self",(char *) "path", NULL
12144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
12145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
12146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12148 arg2
= wxString_in_helper(obj1
);
12149 if (arg2
== NULL
) SWIG_fail
;
12153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12154 (arg1
)->SetPath((wxString
const &)*arg2
);
12156 wxPyEndAllowThreads(__tstate
);
12157 if (PyErr_Occurred()) SWIG_fail
;
12159 Py_INCREF(Py_None
); resultobj
= Py_None
;
12174 static PyObject
* DirDialog_swigregister(PyObject
*, PyObject
*args
) {
12176 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12177 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
12179 return Py_BuildValue((char *)"");
12181 static PyObject
*_wrap_new_FileDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12182 PyObject
*resultobj
;
12183 wxWindow
*arg1
= (wxWindow
*) 0 ;
12184 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
12185 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12186 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12187 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12188 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12189 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12190 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
12191 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
12192 long arg6
= (long) 0 ;
12193 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12194 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12195 wxFileDialog
*result
;
12196 bool temp2
= false ;
12197 bool temp3
= false ;
12198 bool temp4
= false ;
12199 bool temp5
= false ;
12201 PyObject
* obj0
= 0 ;
12202 PyObject
* obj1
= 0 ;
12203 PyObject
* obj2
= 0 ;
12204 PyObject
* obj3
= 0 ;
12205 PyObject
* obj4
= 0 ;
12206 PyObject
* obj5
= 0 ;
12207 PyObject
* obj6
= 0 ;
12208 char *kwnames
[] = {
12209 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
12212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12217 arg2
= wxString_in_helper(obj1
);
12218 if (arg2
== NULL
) SWIG_fail
;
12224 arg3
= wxString_in_helper(obj2
);
12225 if (arg3
== NULL
) SWIG_fail
;
12231 arg4
= wxString_in_helper(obj3
);
12232 if (arg4
== NULL
) SWIG_fail
;
12238 arg5
= wxString_in_helper(obj4
);
12239 if (arg5
== NULL
) SWIG_fail
;
12244 arg6
= (long)SWIG_As_long(obj5
);
12245 if (PyErr_Occurred()) SWIG_fail
;
12250 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
12254 if (!wxPyCheckForApp()) SWIG_fail
;
12255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12256 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
12258 wxPyEndAllowThreads(__tstate
);
12259 if (PyErr_Occurred()) SWIG_fail
;
12261 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
12300 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12301 PyObject
*resultobj
;
12302 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12303 wxString
*arg2
= 0 ;
12304 bool temp2
= false ;
12305 PyObject
* obj0
= 0 ;
12306 PyObject
* obj1
= 0 ;
12307 char *kwnames
[] = {
12308 (char *) "self",(char *) "message", NULL
12311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
12312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12315 arg2
= wxString_in_helper(obj1
);
12316 if (arg2
== NULL
) SWIG_fail
;
12320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12321 (arg1
)->SetMessage((wxString
const &)*arg2
);
12323 wxPyEndAllowThreads(__tstate
);
12324 if (PyErr_Occurred()) SWIG_fail
;
12326 Py_INCREF(Py_None
); resultobj
= Py_None
;
12341 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12342 PyObject
*resultobj
;
12343 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12344 wxString
*arg2
= 0 ;
12345 bool temp2
= false ;
12346 PyObject
* obj0
= 0 ;
12347 PyObject
* obj1
= 0 ;
12348 char *kwnames
[] = {
12349 (char *) "self",(char *) "path", NULL
12352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
12353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12356 arg2
= wxString_in_helper(obj1
);
12357 if (arg2
== NULL
) SWIG_fail
;
12361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12362 (arg1
)->SetPath((wxString
const &)*arg2
);
12364 wxPyEndAllowThreads(__tstate
);
12365 if (PyErr_Occurred()) SWIG_fail
;
12367 Py_INCREF(Py_None
); resultobj
= Py_None
;
12382 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12383 PyObject
*resultobj
;
12384 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12385 wxString
*arg2
= 0 ;
12386 bool temp2
= false ;
12387 PyObject
* obj0
= 0 ;
12388 PyObject
* obj1
= 0 ;
12389 char *kwnames
[] = {
12390 (char *) "self",(char *) "dir", NULL
12393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
12394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12397 arg2
= wxString_in_helper(obj1
);
12398 if (arg2
== NULL
) SWIG_fail
;
12402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12403 (arg1
)->SetDirectory((wxString
const &)*arg2
);
12405 wxPyEndAllowThreads(__tstate
);
12406 if (PyErr_Occurred()) SWIG_fail
;
12408 Py_INCREF(Py_None
); resultobj
= Py_None
;
12423 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12424 PyObject
*resultobj
;
12425 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12426 wxString
*arg2
= 0 ;
12427 bool temp2
= false ;
12428 PyObject
* obj0
= 0 ;
12429 PyObject
* obj1
= 0 ;
12430 char *kwnames
[] = {
12431 (char *) "self",(char *) "name", NULL
12434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
12435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12438 arg2
= wxString_in_helper(obj1
);
12439 if (arg2
== NULL
) SWIG_fail
;
12443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12444 (arg1
)->SetFilename((wxString
const &)*arg2
);
12446 wxPyEndAllowThreads(__tstate
);
12447 if (PyErr_Occurred()) SWIG_fail
;
12449 Py_INCREF(Py_None
); resultobj
= Py_None
;
12464 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12465 PyObject
*resultobj
;
12466 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12467 wxString
*arg2
= 0 ;
12468 bool temp2
= false ;
12469 PyObject
* obj0
= 0 ;
12470 PyObject
* obj1
= 0 ;
12471 char *kwnames
[] = {
12472 (char *) "self",(char *) "wildCard", NULL
12475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
12476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12479 arg2
= wxString_in_helper(obj1
);
12480 if (arg2
== NULL
) SWIG_fail
;
12484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12485 (arg1
)->SetWildcard((wxString
const &)*arg2
);
12487 wxPyEndAllowThreads(__tstate
);
12488 if (PyErr_Occurred()) SWIG_fail
;
12490 Py_INCREF(Py_None
); resultobj
= Py_None
;
12505 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12506 PyObject
*resultobj
;
12507 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12509 PyObject
* obj0
= 0 ;
12510 PyObject
* obj1
= 0 ;
12511 char *kwnames
[] = {
12512 (char *) "self",(char *) "style", NULL
12515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
12516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12518 arg2
= (long)SWIG_As_long(obj1
);
12519 if (PyErr_Occurred()) SWIG_fail
;
12521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12522 (arg1
)->SetStyle(arg2
);
12524 wxPyEndAllowThreads(__tstate
);
12525 if (PyErr_Occurred()) SWIG_fail
;
12527 Py_INCREF(Py_None
); resultobj
= Py_None
;
12534 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12535 PyObject
*resultobj
;
12536 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12538 PyObject
* obj0
= 0 ;
12539 PyObject
* obj1
= 0 ;
12540 char *kwnames
[] = {
12541 (char *) "self",(char *) "filterIndex", NULL
12544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
12545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12547 arg2
= (int)SWIG_As_int(obj1
);
12548 if (PyErr_Occurred()) SWIG_fail
;
12550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12551 (arg1
)->SetFilterIndex(arg2
);
12553 wxPyEndAllowThreads(__tstate
);
12554 if (PyErr_Occurred()) SWIG_fail
;
12556 Py_INCREF(Py_None
); resultobj
= Py_None
;
12563 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12564 PyObject
*resultobj
;
12565 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12567 PyObject
* obj0
= 0 ;
12568 char *kwnames
[] = {
12569 (char *) "self", NULL
12572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
12573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12577 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
12579 wxPyEndAllowThreads(__tstate
);
12580 if (PyErr_Occurred()) SWIG_fail
;
12584 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12586 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12595 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12596 PyObject
*resultobj
;
12597 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12599 PyObject
* obj0
= 0 ;
12600 char *kwnames
[] = {
12601 (char *) "self", NULL
12604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
12605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12609 result
= ((wxFileDialog
const *)arg1
)->GetPath();
12611 wxPyEndAllowThreads(__tstate
);
12612 if (PyErr_Occurred()) SWIG_fail
;
12616 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12618 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12627 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12628 PyObject
*resultobj
;
12629 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12631 PyObject
* obj0
= 0 ;
12632 char *kwnames
[] = {
12633 (char *) "self", NULL
12636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
12637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12641 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
12643 wxPyEndAllowThreads(__tstate
);
12644 if (PyErr_Occurred()) SWIG_fail
;
12648 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12650 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12659 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12660 PyObject
*resultobj
;
12661 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12663 PyObject
* obj0
= 0 ;
12664 char *kwnames
[] = {
12665 (char *) "self", NULL
12668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
12669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12673 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
12675 wxPyEndAllowThreads(__tstate
);
12676 if (PyErr_Occurred()) SWIG_fail
;
12680 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12682 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12691 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12692 PyObject
*resultobj
;
12693 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12695 PyObject
* obj0
= 0 ;
12696 char *kwnames
[] = {
12697 (char *) "self", NULL
12700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
12701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12705 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
12707 wxPyEndAllowThreads(__tstate
);
12708 if (PyErr_Occurred()) SWIG_fail
;
12712 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12714 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12723 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12724 PyObject
*resultobj
;
12725 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12727 PyObject
* obj0
= 0 ;
12728 char *kwnames
[] = {
12729 (char *) "self", NULL
12732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
12733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12737 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
12739 wxPyEndAllowThreads(__tstate
);
12740 if (PyErr_Occurred()) SWIG_fail
;
12742 resultobj
= SWIG_From_long((long)result
);
12749 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12750 PyObject
*resultobj
;
12751 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12753 PyObject
* obj0
= 0 ;
12754 char *kwnames
[] = {
12755 (char *) "self", NULL
12758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
12759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12763 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
12765 wxPyEndAllowThreads(__tstate
);
12766 if (PyErr_Occurred()) SWIG_fail
;
12768 resultobj
= SWIG_From_int((int)result
);
12775 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12776 PyObject
*resultobj
;
12777 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12779 PyObject
* obj0
= 0 ;
12780 char *kwnames
[] = {
12781 (char *) "self", NULL
12784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
12785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12789 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
12791 wxPyEndAllowThreads(__tstate
);
12792 if (PyErr_Occurred()) SWIG_fail
;
12794 resultobj
= result
;
12801 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12802 PyObject
*resultobj
;
12803 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12805 PyObject
* obj0
= 0 ;
12806 char *kwnames
[] = {
12807 (char *) "self", NULL
12810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
12811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12815 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
12817 wxPyEndAllowThreads(__tstate
);
12818 if (PyErr_Occurred()) SWIG_fail
;
12820 resultobj
= result
;
12827 static PyObject
* FileDialog_swigregister(PyObject
*, PyObject
*args
) {
12829 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12830 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
12832 return Py_BuildValue((char *)"");
12834 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12835 PyObject
*resultobj
;
12836 wxWindow
*arg1
= (wxWindow
*) 0 ;
12837 wxString
*arg2
= 0 ;
12838 wxString
*arg3
= 0 ;
12839 int arg4
= (int) 0 ;
12840 wxString
*arg5
= (wxString
*) NULL
;
12841 long arg6
= (long) wxCHOICEDLG_STYLE
;
12842 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12843 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12844 wxMultiChoiceDialog
*result
;
12845 bool temp2
= false ;
12846 bool temp3
= false ;
12848 PyObject
* obj0
= 0 ;
12849 PyObject
* obj1
= 0 ;
12850 PyObject
* obj2
= 0 ;
12851 PyObject
* obj3
= 0 ;
12852 PyObject
* obj4
= 0 ;
12853 PyObject
* obj5
= 0 ;
12854 char *kwnames
[] = {
12855 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12862 arg2
= wxString_in_helper(obj1
);
12863 if (arg2
== NULL
) SWIG_fail
;
12867 arg3
= wxString_in_helper(obj2
);
12868 if (arg3
== NULL
) SWIG_fail
;
12873 arg4
= PyList_Size(obj3
);
12874 arg5
= wxString_LIST_helper(obj3
);
12875 if (arg5
== NULL
) SWIG_fail
;
12879 arg6
= (long)SWIG_As_long(obj4
);
12880 if (PyErr_Occurred()) SWIG_fail
;
12885 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12889 if (!wxPyCheckForApp()) SWIG_fail
;
12890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12891 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12893 wxPyEndAllowThreads(__tstate
);
12894 if (PyErr_Occurred()) SWIG_fail
;
12896 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
12906 if (arg5
) delete [] arg5
;
12919 if (arg5
) delete [] arg5
;
12925 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12926 PyObject
*resultobj
;
12927 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12928 wxArrayInt
*arg2
= 0 ;
12929 bool temp2
= false ;
12930 PyObject
* obj0
= 0 ;
12931 PyObject
* obj1
= 0 ;
12932 char *kwnames
[] = {
12933 (char *) "self",(char *) "selections", NULL
12936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
12937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12940 if (! PySequence_Check(obj1
)) {
12941 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
12944 arg2
= new wxArrayInt
;
12946 int i
, len
=PySequence_Length(obj1
);
12947 for (i
=0; i
<len
; i
++) {
12948 PyObject
* item
= PySequence_GetItem(obj1
, i
);
12949 PyObject
* number
= PyNumber_Int(item
);
12950 arg2
->Add(PyInt_AS_LONG(number
));
12956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12957 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
12959 wxPyEndAllowThreads(__tstate
);
12960 if (PyErr_Occurred()) SWIG_fail
;
12962 Py_INCREF(Py_None
); resultobj
= Py_None
;
12964 if (temp2
) delete arg2
;
12969 if (temp2
) delete arg2
;
12975 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12976 PyObject
*resultobj
;
12977 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12979 PyObject
* obj0
= 0 ;
12980 char *kwnames
[] = {
12981 (char *) "self", NULL
12984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
12985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12989 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
12991 wxPyEndAllowThreads(__tstate
);
12992 if (PyErr_Occurred()) SWIG_fail
;
12994 resultobj
= result
;
13001 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
13003 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13004 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
13006 return Py_BuildValue((char *)"");
13008 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13009 PyObject
*resultobj
;
13010 wxWindow
*arg1
= (wxWindow
*) 0 ;
13011 wxString
*arg2
= 0 ;
13012 wxString
*arg3
= 0 ;
13014 wxString
*arg5
= (wxString
*) 0 ;
13015 long arg6
= (long) wxCHOICEDLG_STYLE
;
13016 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
13017 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
13018 wxSingleChoiceDialog
*result
;
13019 bool temp2
= false ;
13020 bool temp3
= false ;
13022 PyObject
* obj0
= 0 ;
13023 PyObject
* obj1
= 0 ;
13024 PyObject
* obj2
= 0 ;
13025 PyObject
* obj3
= 0 ;
13026 PyObject
* obj4
= 0 ;
13027 PyObject
* obj5
= 0 ;
13028 char *kwnames
[] = {
13029 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
13032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13036 arg2
= wxString_in_helper(obj1
);
13037 if (arg2
== NULL
) SWIG_fail
;
13041 arg3
= wxString_in_helper(obj2
);
13042 if (arg3
== NULL
) SWIG_fail
;
13046 arg4
= PyList_Size(obj3
);
13047 arg5
= wxString_LIST_helper(obj3
);
13048 if (arg5
== NULL
) SWIG_fail
;
13051 arg6
= (long)SWIG_As_long(obj4
);
13052 if (PyErr_Occurred()) SWIG_fail
;
13057 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
13061 if (!wxPyCheckForApp()) SWIG_fail
;
13062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13063 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
13065 wxPyEndAllowThreads(__tstate
);
13066 if (PyErr_Occurred()) SWIG_fail
;
13068 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
13078 if (arg5
) delete [] arg5
;
13091 if (arg5
) delete [] arg5
;
13097 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13098 PyObject
*resultobj
;
13099 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
13101 PyObject
* obj0
= 0 ;
13102 char *kwnames
[] = {
13103 (char *) "self", NULL
13106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
13107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
13108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13111 result
= (int)(arg1
)->GetSelection();
13113 wxPyEndAllowThreads(__tstate
);
13114 if (PyErr_Occurred()) SWIG_fail
;
13116 resultobj
= SWIG_From_int((int)result
);
13123 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13124 PyObject
*resultobj
;
13125 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
13127 PyObject
* obj0
= 0 ;
13128 char *kwnames
[] = {
13129 (char *) "self", NULL
13132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
13133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
13134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13137 result
= (arg1
)->GetStringSelection();
13139 wxPyEndAllowThreads(__tstate
);
13140 if (PyErr_Occurred()) SWIG_fail
;
13144 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13146 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13155 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13156 PyObject
*resultobj
;
13157 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
13159 PyObject
* obj0
= 0 ;
13160 PyObject
* obj1
= 0 ;
13161 char *kwnames
[] = {
13162 (char *) "self",(char *) "sel", NULL
13165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
13167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13168 arg2
= (int)SWIG_As_int(obj1
);
13169 if (PyErr_Occurred()) SWIG_fail
;
13171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13172 (arg1
)->SetSelection(arg2
);
13174 wxPyEndAllowThreads(__tstate
);
13175 if (PyErr_Occurred()) SWIG_fail
;
13177 Py_INCREF(Py_None
); resultobj
= Py_None
;
13184 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
13186 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13187 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
13189 return Py_BuildValue((char *)"");
13191 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13192 PyObject
*resultobj
;
13193 wxWindow
*arg1
= (wxWindow
*) 0 ;
13194 wxString
*arg2
= 0 ;
13195 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
13196 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13197 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13198 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13199 long arg5
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
13200 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
13201 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
13202 wxTextEntryDialog
*result
;
13203 bool temp2
= false ;
13204 bool temp3
= false ;
13205 bool temp4
= false ;
13207 PyObject
* obj0
= 0 ;
13208 PyObject
* obj1
= 0 ;
13209 PyObject
* obj2
= 0 ;
13210 PyObject
* obj3
= 0 ;
13211 PyObject
* obj4
= 0 ;
13212 PyObject
* obj5
= 0 ;
13213 char *kwnames
[] = {
13214 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
13217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13221 arg2
= wxString_in_helper(obj1
);
13222 if (arg2
== NULL
) SWIG_fail
;
13227 arg3
= wxString_in_helper(obj2
);
13228 if (arg3
== NULL
) SWIG_fail
;
13234 arg4
= wxString_in_helper(obj3
);
13235 if (arg4
== NULL
) SWIG_fail
;
13240 arg5
= (long)SWIG_As_long(obj4
);
13241 if (PyErr_Occurred()) SWIG_fail
;
13246 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
13250 if (!wxPyCheckForApp()) SWIG_fail
;
13251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13252 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
13254 wxPyEndAllowThreads(__tstate
);
13255 if (PyErr_Occurred()) SWIG_fail
;
13257 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
13288 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13289 PyObject
*resultobj
;
13290 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
13292 PyObject
* obj0
= 0 ;
13293 char *kwnames
[] = {
13294 (char *) "self", NULL
13297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
13298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
13299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13302 result
= (arg1
)->GetValue();
13304 wxPyEndAllowThreads(__tstate
);
13305 if (PyErr_Occurred()) SWIG_fail
;
13309 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13311 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13320 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13321 PyObject
*resultobj
;
13322 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
13323 wxString
*arg2
= 0 ;
13324 bool temp2
= false ;
13325 PyObject
* obj0
= 0 ;
13326 PyObject
* obj1
= 0 ;
13327 char *kwnames
[] = {
13328 (char *) "self",(char *) "value", NULL
13331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
13333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13335 arg2
= wxString_in_helper(obj1
);
13336 if (arg2
== NULL
) SWIG_fail
;
13340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13341 (arg1
)->SetValue((wxString
const &)*arg2
);
13343 wxPyEndAllowThreads(__tstate
);
13344 if (PyErr_Occurred()) SWIG_fail
;
13346 Py_INCREF(Py_None
); resultobj
= Py_None
;
13361 static PyObject
* TextEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
13363 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13364 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
13366 return Py_BuildValue((char *)"");
13368 static PyObject
*_wrap_new_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13369 PyObject
*resultobj
;
13370 wxFontData
*result
;
13371 char *kwnames
[] = {
13375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
13377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13378 result
= (wxFontData
*)new wxFontData();
13380 wxPyEndAllowThreads(__tstate
);
13381 if (PyErr_Occurred()) SWIG_fail
;
13383 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
13390 static PyObject
*_wrap_delete_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13391 PyObject
*resultobj
;
13392 wxFontData
*arg1
= (wxFontData
*) 0 ;
13393 PyObject
* obj0
= 0 ;
13394 char *kwnames
[] = {
13395 (char *) "self", NULL
13398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
13399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13405 wxPyEndAllowThreads(__tstate
);
13406 if (PyErr_Occurred()) SWIG_fail
;
13408 Py_INCREF(Py_None
); resultobj
= Py_None
;
13415 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13416 PyObject
*resultobj
;
13417 wxFontData
*arg1
= (wxFontData
*) 0 ;
13419 PyObject
* obj0
= 0 ;
13420 PyObject
* obj1
= 0 ;
13421 char *kwnames
[] = {
13422 (char *) "self",(char *) "enable", NULL
13425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
13426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13428 arg2
= (bool)SWIG_As_bool(obj1
);
13429 if (PyErr_Occurred()) SWIG_fail
;
13431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13432 (arg1
)->EnableEffects(arg2
);
13434 wxPyEndAllowThreads(__tstate
);
13435 if (PyErr_Occurred()) SWIG_fail
;
13437 Py_INCREF(Py_None
); resultobj
= Py_None
;
13444 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13445 PyObject
*resultobj
;
13446 wxFontData
*arg1
= (wxFontData
*) 0 ;
13448 PyObject
* obj0
= 0 ;
13449 char *kwnames
[] = {
13450 (char *) "self", NULL
13453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
13454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13458 result
= (bool)(arg1
)->GetAllowSymbols();
13460 wxPyEndAllowThreads(__tstate
);
13461 if (PyErr_Occurred()) SWIG_fail
;
13464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13472 static PyObject
*_wrap_FontData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13473 PyObject
*resultobj
;
13474 wxFontData
*arg1
= (wxFontData
*) 0 ;
13476 PyObject
* obj0
= 0 ;
13477 char *kwnames
[] = {
13478 (char *) "self", NULL
13481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
13482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13486 result
= (arg1
)->GetColour();
13488 wxPyEndAllowThreads(__tstate
);
13489 if (PyErr_Occurred()) SWIG_fail
;
13492 wxColour
* resultptr
;
13493 resultptr
= new wxColour((wxColour
&) result
);
13494 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13502 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13503 PyObject
*resultobj
;
13504 wxFontData
*arg1
= (wxFontData
*) 0 ;
13506 PyObject
* obj0
= 0 ;
13507 char *kwnames
[] = {
13508 (char *) "self", NULL
13511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
13512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13516 result
= (arg1
)->GetChosenFont();
13518 wxPyEndAllowThreads(__tstate
);
13519 if (PyErr_Occurred()) SWIG_fail
;
13522 wxFont
* resultptr
;
13523 resultptr
= new wxFont((wxFont
&) result
);
13524 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13532 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13533 PyObject
*resultobj
;
13534 wxFontData
*arg1
= (wxFontData
*) 0 ;
13536 PyObject
* obj0
= 0 ;
13537 char *kwnames
[] = {
13538 (char *) "self", NULL
13541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
13542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13546 result
= (bool)(arg1
)->GetEnableEffects();
13548 wxPyEndAllowThreads(__tstate
);
13549 if (PyErr_Occurred()) SWIG_fail
;
13552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13560 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13561 PyObject
*resultobj
;
13562 wxFontData
*arg1
= (wxFontData
*) 0 ;
13564 PyObject
* obj0
= 0 ;
13565 char *kwnames
[] = {
13566 (char *) "self", NULL
13569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
13570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13574 result
= (arg1
)->GetInitialFont();
13576 wxPyEndAllowThreads(__tstate
);
13577 if (PyErr_Occurred()) SWIG_fail
;
13580 wxFont
* resultptr
;
13581 resultptr
= new wxFont((wxFont
&) result
);
13582 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13590 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13591 PyObject
*resultobj
;
13592 wxFontData
*arg1
= (wxFontData
*) 0 ;
13594 PyObject
* obj0
= 0 ;
13595 char *kwnames
[] = {
13596 (char *) "self", NULL
13599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
13600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13604 result
= (bool)(arg1
)->GetShowHelp();
13606 wxPyEndAllowThreads(__tstate
);
13607 if (PyErr_Occurred()) SWIG_fail
;
13610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13618 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13619 PyObject
*resultobj
;
13620 wxFontData
*arg1
= (wxFontData
*) 0 ;
13622 PyObject
* obj0
= 0 ;
13623 PyObject
* obj1
= 0 ;
13624 char *kwnames
[] = {
13625 (char *) "self",(char *) "allowSymbols", NULL
13628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
13629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13631 arg2
= (bool)SWIG_As_bool(obj1
);
13632 if (PyErr_Occurred()) SWIG_fail
;
13634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13635 (arg1
)->SetAllowSymbols(arg2
);
13637 wxPyEndAllowThreads(__tstate
);
13638 if (PyErr_Occurred()) SWIG_fail
;
13640 Py_INCREF(Py_None
); resultobj
= Py_None
;
13647 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13648 PyObject
*resultobj
;
13649 wxFontData
*arg1
= (wxFontData
*) 0 ;
13651 PyObject
* obj0
= 0 ;
13652 PyObject
* obj1
= 0 ;
13653 char *kwnames
[] = {
13654 (char *) "self",(char *) "font", NULL
13657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13660 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13661 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13663 if (arg2
== NULL
) {
13664 PyErr_SetString(PyExc_TypeError
,"null reference");
13668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13669 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
13671 wxPyEndAllowThreads(__tstate
);
13672 if (PyErr_Occurred()) SWIG_fail
;
13674 Py_INCREF(Py_None
); resultobj
= Py_None
;
13681 static PyObject
*_wrap_FontData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13682 PyObject
*resultobj
;
13683 wxFontData
*arg1
= (wxFontData
*) 0 ;
13684 wxColour
*arg2
= 0 ;
13686 PyObject
* obj0
= 0 ;
13687 PyObject
* obj1
= 0 ;
13688 char *kwnames
[] = {
13689 (char *) "self",(char *) "colour", NULL
13692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13697 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13701 (arg1
)->SetColour((wxColour
const &)*arg2
);
13703 wxPyEndAllowThreads(__tstate
);
13704 if (PyErr_Occurred()) SWIG_fail
;
13706 Py_INCREF(Py_None
); resultobj
= Py_None
;
13713 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13714 PyObject
*resultobj
;
13715 wxFontData
*arg1
= (wxFontData
*) 0 ;
13717 PyObject
* obj0
= 0 ;
13718 PyObject
* obj1
= 0 ;
13719 char *kwnames
[] = {
13720 (char *) "self",(char *) "font", NULL
13723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13726 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13727 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13729 if (arg2
== NULL
) {
13730 PyErr_SetString(PyExc_TypeError
,"null reference");
13734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13735 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
13737 wxPyEndAllowThreads(__tstate
);
13738 if (PyErr_Occurred()) SWIG_fail
;
13740 Py_INCREF(Py_None
); resultobj
= Py_None
;
13747 static PyObject
*_wrap_FontData_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13748 PyObject
*resultobj
;
13749 wxFontData
*arg1
= (wxFontData
*) 0 ;
13752 PyObject
* obj0
= 0 ;
13753 PyObject
* obj1
= 0 ;
13754 PyObject
* obj2
= 0 ;
13755 char *kwnames
[] = {
13756 (char *) "self",(char *) "min",(char *) "max", NULL
13759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13762 arg2
= (int)SWIG_As_int(obj1
);
13763 if (PyErr_Occurred()) SWIG_fail
;
13764 arg3
= (int)SWIG_As_int(obj2
);
13765 if (PyErr_Occurred()) SWIG_fail
;
13767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13768 (arg1
)->SetRange(arg2
,arg3
);
13770 wxPyEndAllowThreads(__tstate
);
13771 if (PyErr_Occurred()) SWIG_fail
;
13773 Py_INCREF(Py_None
); resultobj
= Py_None
;
13780 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13781 PyObject
*resultobj
;
13782 wxFontData
*arg1
= (wxFontData
*) 0 ;
13784 PyObject
* obj0
= 0 ;
13785 PyObject
* obj1
= 0 ;
13786 char *kwnames
[] = {
13787 (char *) "self",(char *) "showHelp", NULL
13790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
13791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13793 arg2
= (bool)SWIG_As_bool(obj1
);
13794 if (PyErr_Occurred()) SWIG_fail
;
13796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13797 (arg1
)->SetShowHelp(arg2
);
13799 wxPyEndAllowThreads(__tstate
);
13800 if (PyErr_Occurred()) SWIG_fail
;
13802 Py_INCREF(Py_None
); resultobj
= Py_None
;
13809 static PyObject
* FontData_swigregister(PyObject
*, PyObject
*args
) {
13811 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13812 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
13814 return Py_BuildValue((char *)"");
13816 static PyObject
*_wrap_new_FontDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13817 PyObject
*resultobj
;
13818 wxWindow
*arg1
= (wxWindow
*) 0 ;
13819 wxFontData
*arg2
= 0 ;
13820 wxFontDialog
*result
;
13821 PyObject
* obj0
= 0 ;
13822 PyObject
* obj1
= 0 ;
13823 char *kwnames
[] = {
13824 (char *) "parent",(char *) "data", NULL
13827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
13828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13830 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFontData
,
13831 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13833 if (arg2
== NULL
) {
13834 PyErr_SetString(PyExc_TypeError
,"null reference");
13838 if (!wxPyCheckForApp()) SWIG_fail
;
13839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13840 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
13842 wxPyEndAllowThreads(__tstate
);
13843 if (PyErr_Occurred()) SWIG_fail
;
13845 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
13852 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13853 PyObject
*resultobj
;
13854 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
13855 wxFontData
*result
;
13856 PyObject
* obj0
= 0 ;
13857 char *kwnames
[] = {
13858 (char *) "self", NULL
13861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
13862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontDialog
,
13863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13867 wxFontData
&_result_ref
= (arg1
)->GetFontData();
13868 result
= (wxFontData
*) &_result_ref
;
13871 wxPyEndAllowThreads(__tstate
);
13872 if (PyErr_Occurred()) SWIG_fail
;
13874 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
13881 static PyObject
* FontDialog_swigregister(PyObject
*, PyObject
*args
) {
13883 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13884 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
13886 return Py_BuildValue((char *)"");
13888 static PyObject
*_wrap_new_MessageDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13889 PyObject
*resultobj
;
13890 wxWindow
*arg1
= (wxWindow
*) 0 ;
13891 wxString
*arg2
= 0 ;
13892 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
13893 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13894 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
13895 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13896 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13897 wxMessageDialog
*result
;
13898 bool temp2
= false ;
13899 bool temp3
= false ;
13901 PyObject
* obj0
= 0 ;
13902 PyObject
* obj1
= 0 ;
13903 PyObject
* obj2
= 0 ;
13904 PyObject
* obj3
= 0 ;
13905 PyObject
* obj4
= 0 ;
13906 char *kwnames
[] = {
13907 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13914 arg2
= wxString_in_helper(obj1
);
13915 if (arg2
== NULL
) SWIG_fail
;
13920 arg3
= wxString_in_helper(obj2
);
13921 if (arg3
== NULL
) SWIG_fail
;
13926 arg4
= (long)SWIG_As_long(obj3
);
13927 if (PyErr_Occurred()) SWIG_fail
;
13932 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13936 if (!wxPyCheckForApp()) SWIG_fail
;
13937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13938 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
13940 wxPyEndAllowThreads(__tstate
);
13941 if (PyErr_Occurred()) SWIG_fail
;
13943 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
13966 static PyObject
* MessageDialog_swigregister(PyObject
*, PyObject
*args
) {
13968 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13969 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
13971 return Py_BuildValue((char *)"");
13973 static PyObject
*_wrap_new_ProgressDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13974 PyObject
*resultobj
;
13975 wxString
*arg1
= 0 ;
13976 wxString
*arg2
= 0 ;
13977 int arg3
= (int) 100 ;
13978 wxWindow
*arg4
= (wxWindow
*) NULL
;
13979 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
13980 wxProgressDialog
*result
;
13981 bool temp1
= false ;
13982 bool temp2
= false ;
13983 PyObject
* obj0
= 0 ;
13984 PyObject
* obj1
= 0 ;
13985 PyObject
* obj2
= 0 ;
13986 PyObject
* obj3
= 0 ;
13987 PyObject
* obj4
= 0 ;
13988 char *kwnames
[] = {
13989 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13994 arg1
= wxString_in_helper(obj0
);
13995 if (arg1
== NULL
) SWIG_fail
;
13999 arg2
= wxString_in_helper(obj1
);
14000 if (arg2
== NULL
) SWIG_fail
;
14004 arg3
= (int)SWIG_As_int(obj2
);
14005 if (PyErr_Occurred()) SWIG_fail
;
14008 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
14009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14012 arg5
= (int)SWIG_As_int(obj4
);
14013 if (PyErr_Occurred()) SWIG_fail
;
14016 if (!wxPyCheckForApp()) SWIG_fail
;
14017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14018 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
14020 wxPyEndAllowThreads(__tstate
);
14021 if (PyErr_Occurred()) SWIG_fail
;
14023 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
14046 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14047 PyObject
*resultobj
;
14048 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
14050 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14051 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14053 bool temp3
= false ;
14054 PyObject
* obj0
= 0 ;
14055 PyObject
* obj1
= 0 ;
14056 PyObject
* obj2
= 0 ;
14057 char *kwnames
[] = {
14058 (char *) "self",(char *) "value",(char *) "newmsg", NULL
14061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
14063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14064 arg2
= (int)SWIG_As_int(obj1
);
14065 if (PyErr_Occurred()) SWIG_fail
;
14068 arg3
= wxString_in_helper(obj2
);
14069 if (arg3
== NULL
) SWIG_fail
;
14074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14075 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
14077 wxPyEndAllowThreads(__tstate
);
14078 if (PyErr_Occurred()) SWIG_fail
;
14081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14097 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14098 PyObject
*resultobj
;
14099 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
14100 PyObject
* obj0
= 0 ;
14101 char *kwnames
[] = {
14102 (char *) "self", NULL
14105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
14106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
14107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14112 wxPyEndAllowThreads(__tstate
);
14113 if (PyErr_Occurred()) SWIG_fail
;
14115 Py_INCREF(Py_None
); resultobj
= Py_None
;
14122 static PyObject
* ProgressDialog_swigregister(PyObject
*, PyObject
*args
) {
14124 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14125 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
14127 return Py_BuildValue((char *)"");
14129 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14130 PyObject
*resultobj
;
14131 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14132 int arg2
= (int) 0 ;
14133 wxFindDialogEvent
*result
;
14134 PyObject
* obj0
= 0 ;
14135 PyObject
* obj1
= 0 ;
14136 char *kwnames
[] = {
14137 (char *) "commandType",(char *) "id", NULL
14140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14142 arg1
= (wxEventType
)SWIG_As_int(obj0
);
14143 if (PyErr_Occurred()) SWIG_fail
;
14146 arg2
= (int)SWIG_As_int(obj1
);
14147 if (PyErr_Occurred()) SWIG_fail
;
14150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14151 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
14153 wxPyEndAllowThreads(__tstate
);
14154 if (PyErr_Occurred()) SWIG_fail
;
14156 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
14163 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14164 PyObject
*resultobj
;
14165 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14167 PyObject
* obj0
= 0 ;
14168 char *kwnames
[] = {
14169 (char *) "self", NULL
14172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
14173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14177 result
= (int)(arg1
)->GetFlags();
14179 wxPyEndAllowThreads(__tstate
);
14180 if (PyErr_Occurred()) SWIG_fail
;
14182 resultobj
= SWIG_From_int((int)result
);
14189 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14190 PyObject
*resultobj
;
14191 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14193 PyObject
* obj0
= 0 ;
14194 char *kwnames
[] = {
14195 (char *) "self", NULL
14198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
14199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14204 wxString
const &_result_ref
= (arg1
)->GetFindString();
14205 result
= (wxString
*) &_result_ref
;
14208 wxPyEndAllowThreads(__tstate
);
14209 if (PyErr_Occurred()) SWIG_fail
;
14213 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14215 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14224 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14225 PyObject
*resultobj
;
14226 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14228 PyObject
* obj0
= 0 ;
14229 char *kwnames
[] = {
14230 (char *) "self", NULL
14233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
14234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14239 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
14240 result
= (wxString
*) &_result_ref
;
14243 wxPyEndAllowThreads(__tstate
);
14244 if (PyErr_Occurred()) SWIG_fail
;
14248 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14250 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14259 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14260 PyObject
*resultobj
;
14261 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14262 wxFindReplaceDialog
*result
;
14263 PyObject
* obj0
= 0 ;
14264 char *kwnames
[] = {
14265 (char *) "self", NULL
14268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
14269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14273 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
14275 wxPyEndAllowThreads(__tstate
);
14276 if (PyErr_Occurred()) SWIG_fail
;
14278 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
14285 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14286 PyObject
*resultobj
;
14287 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14289 PyObject
* obj0
= 0 ;
14290 PyObject
* obj1
= 0 ;
14291 char *kwnames
[] = {
14292 (char *) "self",(char *) "flags", NULL
14295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
14296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14298 arg2
= (int)SWIG_As_int(obj1
);
14299 if (PyErr_Occurred()) SWIG_fail
;
14301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14302 (arg1
)->SetFlags(arg2
);
14304 wxPyEndAllowThreads(__tstate
);
14305 if (PyErr_Occurred()) SWIG_fail
;
14307 Py_INCREF(Py_None
); resultobj
= Py_None
;
14314 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14315 PyObject
*resultobj
;
14316 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14317 wxString
*arg2
= 0 ;
14318 bool temp2
= false ;
14319 PyObject
* obj0
= 0 ;
14320 PyObject
* obj1
= 0 ;
14321 char *kwnames
[] = {
14322 (char *) "self",(char *) "str", NULL
14325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
14326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14329 arg2
= wxString_in_helper(obj1
);
14330 if (arg2
== NULL
) SWIG_fail
;
14334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14335 (arg1
)->SetFindString((wxString
const &)*arg2
);
14337 wxPyEndAllowThreads(__tstate
);
14338 if (PyErr_Occurred()) SWIG_fail
;
14340 Py_INCREF(Py_None
); resultobj
= Py_None
;
14355 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14356 PyObject
*resultobj
;
14357 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14358 wxString
*arg2
= 0 ;
14359 bool temp2
= false ;
14360 PyObject
* obj0
= 0 ;
14361 PyObject
* obj1
= 0 ;
14362 char *kwnames
[] = {
14363 (char *) "self",(char *) "str", NULL
14366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
14367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14370 arg2
= wxString_in_helper(obj1
);
14371 if (arg2
== NULL
) SWIG_fail
;
14375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14376 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
14378 wxPyEndAllowThreads(__tstate
);
14379 if (PyErr_Occurred()) SWIG_fail
;
14381 Py_INCREF(Py_None
); resultobj
= Py_None
;
14396 static PyObject
* FindDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
14398 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14399 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
14401 return Py_BuildValue((char *)"");
14403 static PyObject
*_wrap_new_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14404 PyObject
*resultobj
;
14405 int arg1
= (int) 0 ;
14406 wxFindReplaceData
*result
;
14407 PyObject
* obj0
= 0 ;
14408 char *kwnames
[] = {
14409 (char *) "flags", NULL
14412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
14414 arg1
= (int)SWIG_As_int(obj0
);
14415 if (PyErr_Occurred()) SWIG_fail
;
14418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14419 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
14421 wxPyEndAllowThreads(__tstate
);
14422 if (PyErr_Occurred()) SWIG_fail
;
14424 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
14431 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14432 PyObject
*resultobj
;
14433 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14434 PyObject
* obj0
= 0 ;
14435 char *kwnames
[] = {
14436 (char *) "self", NULL
14439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
14440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14446 wxPyEndAllowThreads(__tstate
);
14447 if (PyErr_Occurred()) SWIG_fail
;
14449 Py_INCREF(Py_None
); resultobj
= Py_None
;
14456 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14457 PyObject
*resultobj
;
14458 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14460 PyObject
* obj0
= 0 ;
14461 char *kwnames
[] = {
14462 (char *) "self", NULL
14465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
14466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14471 wxString
const &_result_ref
= (arg1
)->GetFindString();
14472 result
= (wxString
*) &_result_ref
;
14475 wxPyEndAllowThreads(__tstate
);
14476 if (PyErr_Occurred()) SWIG_fail
;
14480 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14482 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14491 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14492 PyObject
*resultobj
;
14493 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14495 PyObject
* obj0
= 0 ;
14496 char *kwnames
[] = {
14497 (char *) "self", NULL
14500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
14501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14506 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
14507 result
= (wxString
*) &_result_ref
;
14510 wxPyEndAllowThreads(__tstate
);
14511 if (PyErr_Occurred()) SWIG_fail
;
14515 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14517 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14526 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14527 PyObject
*resultobj
;
14528 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14530 PyObject
* obj0
= 0 ;
14531 char *kwnames
[] = {
14532 (char *) "self", NULL
14535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
14536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14540 result
= (int)(arg1
)->GetFlags();
14542 wxPyEndAllowThreads(__tstate
);
14543 if (PyErr_Occurred()) SWIG_fail
;
14545 resultobj
= SWIG_From_int((int)result
);
14552 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14553 PyObject
*resultobj
;
14554 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14556 PyObject
* obj0
= 0 ;
14557 PyObject
* obj1
= 0 ;
14558 char *kwnames
[] = {
14559 (char *) "self",(char *) "flags", NULL
14562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
14563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14565 arg2
= (int)SWIG_As_int(obj1
);
14566 if (PyErr_Occurred()) SWIG_fail
;
14568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14569 (arg1
)->SetFlags(arg2
);
14571 wxPyEndAllowThreads(__tstate
);
14572 if (PyErr_Occurred()) SWIG_fail
;
14574 Py_INCREF(Py_None
); resultobj
= Py_None
;
14581 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14582 PyObject
*resultobj
;
14583 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14584 wxString
*arg2
= 0 ;
14585 bool temp2
= false ;
14586 PyObject
* obj0
= 0 ;
14587 PyObject
* obj1
= 0 ;
14588 char *kwnames
[] = {
14589 (char *) "self",(char *) "str", NULL
14592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
14593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14596 arg2
= wxString_in_helper(obj1
);
14597 if (arg2
== NULL
) SWIG_fail
;
14601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14602 (arg1
)->SetFindString((wxString
const &)*arg2
);
14604 wxPyEndAllowThreads(__tstate
);
14605 if (PyErr_Occurred()) SWIG_fail
;
14607 Py_INCREF(Py_None
); resultobj
= Py_None
;
14622 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14623 PyObject
*resultobj
;
14624 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14625 wxString
*arg2
= 0 ;
14626 bool temp2
= false ;
14627 PyObject
* obj0
= 0 ;
14628 PyObject
* obj1
= 0 ;
14629 char *kwnames
[] = {
14630 (char *) "self",(char *) "str", NULL
14633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
14634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14637 arg2
= wxString_in_helper(obj1
);
14638 if (arg2
== NULL
) SWIG_fail
;
14642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14643 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
14645 wxPyEndAllowThreads(__tstate
);
14646 if (PyErr_Occurred()) SWIG_fail
;
14648 Py_INCREF(Py_None
); resultobj
= Py_None
;
14663 static PyObject
* FindReplaceData_swigregister(PyObject
*, PyObject
*args
) {
14665 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14666 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
14668 return Py_BuildValue((char *)"");
14670 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14671 PyObject
*resultobj
;
14672 wxWindow
*arg1
= (wxWindow
*) 0 ;
14673 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14674 wxString
*arg3
= 0 ;
14675 int arg4
= (int) 0 ;
14676 wxFindReplaceDialog
*result
;
14677 bool temp3
= false ;
14678 PyObject
* obj0
= 0 ;
14679 PyObject
* obj1
= 0 ;
14680 PyObject
* obj2
= 0 ;
14681 PyObject
* obj3
= 0 ;
14682 char *kwnames
[] = {
14683 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14689 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14692 arg3
= wxString_in_helper(obj2
);
14693 if (arg3
== NULL
) SWIG_fail
;
14697 arg4
= (int)SWIG_As_int(obj3
);
14698 if (PyErr_Occurred()) SWIG_fail
;
14701 if (!wxPyCheckForApp()) SWIG_fail
;
14702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14703 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
14705 wxPyEndAllowThreads(__tstate
);
14706 if (PyErr_Occurred()) SWIG_fail
;
14708 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14723 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14724 PyObject
*resultobj
;
14725 wxFindReplaceDialog
*result
;
14726 char *kwnames
[] = {
14730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
14732 if (!wxPyCheckForApp()) SWIG_fail
;
14733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14734 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
14736 wxPyEndAllowThreads(__tstate
);
14737 if (PyErr_Occurred()) SWIG_fail
;
14739 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14746 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14747 PyObject
*resultobj
;
14748 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14749 wxWindow
*arg2
= (wxWindow
*) 0 ;
14750 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
14751 wxString
*arg4
= 0 ;
14752 int arg5
= (int) 0 ;
14754 bool temp4
= false ;
14755 PyObject
* obj0
= 0 ;
14756 PyObject
* obj1
= 0 ;
14757 PyObject
* obj2
= 0 ;
14758 PyObject
* obj3
= 0 ;
14759 PyObject
* obj4
= 0 ;
14760 char *kwnames
[] = {
14761 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14767 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14769 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFindReplaceData
,
14770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14772 arg4
= wxString_in_helper(obj3
);
14773 if (arg4
== NULL
) SWIG_fail
;
14777 arg5
= (int)SWIG_As_int(obj4
);
14778 if (PyErr_Occurred()) SWIG_fail
;
14781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14782 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14784 wxPyEndAllowThreads(__tstate
);
14785 if (PyErr_Occurred()) SWIG_fail
;
14788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14804 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14805 PyObject
*resultobj
;
14806 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14807 wxFindReplaceData
*result
;
14808 PyObject
* obj0
= 0 ;
14809 char *kwnames
[] = {
14810 (char *) "self", NULL
14813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
14814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14818 result
= (wxFindReplaceData
*)(arg1
)->GetData();
14820 wxPyEndAllowThreads(__tstate
);
14821 if (PyErr_Occurred()) SWIG_fail
;
14823 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
14830 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14831 PyObject
*resultobj
;
14832 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14833 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14834 PyObject
* obj0
= 0 ;
14835 PyObject
* obj1
= 0 ;
14836 char *kwnames
[] = {
14837 (char *) "self",(char *) "data", NULL
14840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
14841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14843 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14847 (arg1
)->SetData(arg2
);
14849 wxPyEndAllowThreads(__tstate
);
14850 if (PyErr_Occurred()) SWIG_fail
;
14852 Py_INCREF(Py_None
); resultobj
= Py_None
;
14859 static PyObject
* FindReplaceDialog_swigregister(PyObject
*, PyObject
*args
) {
14861 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14862 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
14864 return Py_BuildValue((char *)"");
14866 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14867 PyObject
*resultobj
;
14868 wxWindow
*arg1
= (wxWindow
*) 0 ;
14869 int arg2
= (int) (int)-1 ;
14870 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14871 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14872 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14873 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14874 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14875 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14876 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14877 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14878 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14879 wxMDIParentFrame
*result
;
14880 bool temp3
= false ;
14883 bool temp7
= false ;
14884 PyObject
* obj0
= 0 ;
14885 PyObject
* obj1
= 0 ;
14886 PyObject
* obj2
= 0 ;
14887 PyObject
* obj3
= 0 ;
14888 PyObject
* obj4
= 0 ;
14889 PyObject
* obj5
= 0 ;
14890 PyObject
* obj6
= 0 ;
14891 char *kwnames
[] = {
14892 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14899 arg2
= (int)SWIG_As_int(obj1
);
14900 if (PyErr_Occurred()) SWIG_fail
;
14904 arg3
= wxString_in_helper(obj2
);
14905 if (arg3
== NULL
) SWIG_fail
;
14912 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14918 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14922 arg6
= (long)SWIG_As_long(obj5
);
14923 if (PyErr_Occurred()) SWIG_fail
;
14927 arg7
= wxString_in_helper(obj6
);
14928 if (arg7
== NULL
) SWIG_fail
;
14933 if (!wxPyCheckForApp()) SWIG_fail
;
14934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14935 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14937 wxPyEndAllowThreads(__tstate
);
14938 if (PyErr_Occurred()) SWIG_fail
;
14940 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14963 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14964 PyObject
*resultobj
;
14965 wxMDIParentFrame
*result
;
14966 char *kwnames
[] = {
14970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
14972 if (!wxPyCheckForApp()) SWIG_fail
;
14973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14974 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
14976 wxPyEndAllowThreads(__tstate
);
14977 if (PyErr_Occurred()) SWIG_fail
;
14979 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14986 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14987 PyObject
*resultobj
;
14988 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14989 wxWindow
*arg2
= (wxWindow
*) 0 ;
14990 int arg3
= (int) (int)-1 ;
14991 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14992 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14993 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14994 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14995 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14996 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14997 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14998 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14999 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15001 bool temp4
= false ;
15004 bool temp8
= false ;
15005 PyObject
* obj0
= 0 ;
15006 PyObject
* obj1
= 0 ;
15007 PyObject
* obj2
= 0 ;
15008 PyObject
* obj3
= 0 ;
15009 PyObject
* obj4
= 0 ;
15010 PyObject
* obj5
= 0 ;
15011 PyObject
* obj6
= 0 ;
15012 PyObject
* obj7
= 0 ;
15013 char *kwnames
[] = {
15014 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
15018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15020 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15023 arg3
= (int)SWIG_As_int(obj2
);
15024 if (PyErr_Occurred()) SWIG_fail
;
15028 arg4
= wxString_in_helper(obj3
);
15029 if (arg4
== NULL
) SWIG_fail
;
15036 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15042 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15046 arg7
= (long)SWIG_As_long(obj6
);
15047 if (PyErr_Occurred()) SWIG_fail
;
15051 arg8
= wxString_in_helper(obj7
);
15052 if (arg8
== NULL
) SWIG_fail
;
15057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15058 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
15060 wxPyEndAllowThreads(__tstate
);
15061 if (PyErr_Occurred()) SWIG_fail
;
15064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15088 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15089 PyObject
*resultobj
;
15090 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15091 PyObject
* obj0
= 0 ;
15092 char *kwnames
[] = {
15093 (char *) "self", NULL
15096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
15097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15101 (arg1
)->ActivateNext();
15103 wxPyEndAllowThreads(__tstate
);
15104 if (PyErr_Occurred()) SWIG_fail
;
15106 Py_INCREF(Py_None
); resultobj
= Py_None
;
15113 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15114 PyObject
*resultobj
;
15115 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15116 PyObject
* obj0
= 0 ;
15117 char *kwnames
[] = {
15118 (char *) "self", NULL
15121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
15122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15126 (arg1
)->ActivatePrevious();
15128 wxPyEndAllowThreads(__tstate
);
15129 if (PyErr_Occurred()) SWIG_fail
;
15131 Py_INCREF(Py_None
); resultobj
= Py_None
;
15138 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15139 PyObject
*resultobj
;
15140 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15141 PyObject
* obj0
= 0 ;
15142 char *kwnames
[] = {
15143 (char *) "self", NULL
15146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
15147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15151 (arg1
)->ArrangeIcons();
15153 wxPyEndAllowThreads(__tstate
);
15154 if (PyErr_Occurred()) SWIG_fail
;
15156 Py_INCREF(Py_None
); resultobj
= Py_None
;
15163 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15164 PyObject
*resultobj
;
15165 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15166 PyObject
* obj0
= 0 ;
15167 char *kwnames
[] = {
15168 (char *) "self", NULL
15171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
15172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15178 wxPyEndAllowThreads(__tstate
);
15179 if (PyErr_Occurred()) SWIG_fail
;
15181 Py_INCREF(Py_None
); resultobj
= Py_None
;
15188 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15189 PyObject
*resultobj
;
15190 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15191 wxMDIChildFrame
*result
;
15192 PyObject
* obj0
= 0 ;
15193 char *kwnames
[] = {
15194 (char *) "self", NULL
15197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
15198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15202 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
15204 wxPyEndAllowThreads(__tstate
);
15205 if (PyErr_Occurred()) SWIG_fail
;
15208 resultobj
= wxPyMake_wxObject(result
, 0);
15216 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15217 PyObject
*resultobj
;
15218 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15219 wxMDIClientWindow
*result
;
15220 PyObject
* obj0
= 0 ;
15221 char *kwnames
[] = {
15222 (char *) "self", NULL
15225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
15226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15230 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
15232 wxPyEndAllowThreads(__tstate
);
15233 if (PyErr_Occurred()) SWIG_fail
;
15236 resultobj
= wxPyMake_wxObject(result
, 0);
15244 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15245 PyObject
*resultobj
;
15246 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15248 PyObject
* obj0
= 0 ;
15249 char *kwnames
[] = {
15250 (char *) "self", NULL
15253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
15254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15258 result
= (wxWindow
*)(arg1
)->GetToolBar();
15260 wxPyEndAllowThreads(__tstate
);
15261 if (PyErr_Occurred()) SWIG_fail
;
15264 resultobj
= wxPyMake_wxObject(result
, 0);
15272 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15273 PyObject
*resultobj
;
15274 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15275 PyObject
* obj0
= 0 ;
15276 char *kwnames
[] = {
15277 (char *) "self", NULL
15280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
15281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15287 wxPyEndAllowThreads(__tstate
);
15288 if (PyErr_Occurred()) SWIG_fail
;
15290 Py_INCREF(Py_None
); resultobj
= Py_None
;
15297 static PyObject
* MDIParentFrame_swigregister(PyObject
*, PyObject
*args
) {
15299 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15300 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
15302 return Py_BuildValue((char *)"");
15304 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15305 PyObject
*resultobj
;
15306 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15307 int arg2
= (int) (int)-1 ;
15308 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15309 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15310 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15311 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15312 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15313 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15314 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
15315 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
15316 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15317 wxMDIChildFrame
*result
;
15318 bool temp3
= false ;
15321 bool temp7
= false ;
15322 PyObject
* obj0
= 0 ;
15323 PyObject
* obj1
= 0 ;
15324 PyObject
* obj2
= 0 ;
15325 PyObject
* obj3
= 0 ;
15326 PyObject
* obj4
= 0 ;
15327 PyObject
* obj5
= 0 ;
15328 PyObject
* obj6
= 0 ;
15329 char *kwnames
[] = {
15330 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15337 arg2
= (int)SWIG_As_int(obj1
);
15338 if (PyErr_Occurred()) SWIG_fail
;
15342 arg3
= wxString_in_helper(obj2
);
15343 if (arg3
== NULL
) SWIG_fail
;
15350 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15356 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15360 arg6
= (long)SWIG_As_long(obj5
);
15361 if (PyErr_Occurred()) SWIG_fail
;
15365 arg7
= wxString_in_helper(obj6
);
15366 if (arg7
== NULL
) SWIG_fail
;
15371 if (!wxPyCheckForApp()) SWIG_fail
;
15372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15373 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15375 wxPyEndAllowThreads(__tstate
);
15376 if (PyErr_Occurred()) SWIG_fail
;
15378 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
15401 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15402 PyObject
*resultobj
;
15403 wxMDIChildFrame
*result
;
15404 char *kwnames
[] = {
15408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
15410 if (!wxPyCheckForApp()) SWIG_fail
;
15411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15412 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
15414 wxPyEndAllowThreads(__tstate
);
15415 if (PyErr_Occurred()) SWIG_fail
;
15417 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
15424 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15425 PyObject
*resultobj
;
15426 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15427 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
15428 int arg3
= (int) (int)-1 ;
15429 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15430 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15431 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15432 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15433 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15434 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15435 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
15436 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
15437 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15439 bool temp4
= false ;
15442 bool temp8
= false ;
15443 PyObject
* obj0
= 0 ;
15444 PyObject
* obj1
= 0 ;
15445 PyObject
* obj2
= 0 ;
15446 PyObject
* obj3
= 0 ;
15447 PyObject
* obj4
= 0 ;
15448 PyObject
* obj5
= 0 ;
15449 PyObject
* obj6
= 0 ;
15450 PyObject
* obj7
= 0 ;
15451 char *kwnames
[] = {
15452 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
15456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15458 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
15459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15461 arg3
= (int)SWIG_As_int(obj2
);
15462 if (PyErr_Occurred()) SWIG_fail
;
15466 arg4
= wxString_in_helper(obj3
);
15467 if (arg4
== NULL
) SWIG_fail
;
15474 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15480 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15484 arg7
= (long)SWIG_As_long(obj6
);
15485 if (PyErr_Occurred()) SWIG_fail
;
15489 arg8
= wxString_in_helper(obj7
);
15490 if (arg8
== NULL
) SWIG_fail
;
15495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15496 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
15498 wxPyEndAllowThreads(__tstate
);
15499 if (PyErr_Occurred()) SWIG_fail
;
15502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15526 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15527 PyObject
*resultobj
;
15528 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15529 PyObject
* obj0
= 0 ;
15530 char *kwnames
[] = {
15531 (char *) "self", NULL
15534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
15535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15539 (arg1
)->Activate();
15541 wxPyEndAllowThreads(__tstate
);
15542 if (PyErr_Occurred()) SWIG_fail
;
15544 Py_INCREF(Py_None
); resultobj
= Py_None
;
15551 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15552 PyObject
*resultobj
;
15553 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15555 PyObject
* obj0
= 0 ;
15556 PyObject
* obj1
= 0 ;
15557 char *kwnames
[] = {
15558 (char *) "self",(char *) "maximize", NULL
15561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
15562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15564 arg2
= (bool)SWIG_As_bool(obj1
);
15565 if (PyErr_Occurred()) SWIG_fail
;
15567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15568 (arg1
)->Maximize(arg2
);
15570 wxPyEndAllowThreads(__tstate
);
15571 if (PyErr_Occurred()) SWIG_fail
;
15573 Py_INCREF(Py_None
); resultobj
= Py_None
;
15580 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15581 PyObject
*resultobj
;
15582 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15583 PyObject
* obj0
= 0 ;
15584 char *kwnames
[] = {
15585 (char *) "self", NULL
15588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
15589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15595 wxPyEndAllowThreads(__tstate
);
15596 if (PyErr_Occurred()) SWIG_fail
;
15598 Py_INCREF(Py_None
); resultobj
= Py_None
;
15605 static PyObject
* MDIChildFrame_swigregister(PyObject
*, PyObject
*args
) {
15607 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15608 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
15610 return Py_BuildValue((char *)"");
15612 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15613 PyObject
*resultobj
;
15614 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15615 long arg2
= (long) 0 ;
15616 wxMDIClientWindow
*result
;
15617 PyObject
* obj0
= 0 ;
15618 PyObject
* obj1
= 0 ;
15619 char *kwnames
[] = {
15620 (char *) "parent",(char *) "style", NULL
15623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
15624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15627 arg2
= (long)SWIG_As_long(obj1
);
15628 if (PyErr_Occurred()) SWIG_fail
;
15631 if (!wxPyCheckForApp()) SWIG_fail
;
15632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15633 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
15635 wxPyEndAllowThreads(__tstate
);
15636 if (PyErr_Occurred()) SWIG_fail
;
15638 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
15645 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15646 PyObject
*resultobj
;
15647 wxMDIClientWindow
*result
;
15648 char *kwnames
[] = {
15652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
15654 if (!wxPyCheckForApp()) SWIG_fail
;
15655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15656 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
15658 wxPyEndAllowThreads(__tstate
);
15659 if (PyErr_Occurred()) SWIG_fail
;
15661 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
15668 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15669 PyObject
*resultobj
;
15670 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
15671 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
15672 long arg3
= (long) 0 ;
15674 PyObject
* obj0
= 0 ;
15675 PyObject
* obj1
= 0 ;
15676 PyObject
* obj2
= 0 ;
15677 char *kwnames
[] = {
15678 (char *) "self",(char *) "parent",(char *) "style", NULL
15681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIClientWindow
,
15683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15684 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
15685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15687 arg3
= (long)SWIG_As_long(obj2
);
15688 if (PyErr_Occurred()) SWIG_fail
;
15691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15692 result
= (bool)(arg1
)->Create(arg2
,arg3
);
15694 wxPyEndAllowThreads(__tstate
);
15695 if (PyErr_Occurred()) SWIG_fail
;
15698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15706 static PyObject
* MDIClientWindow_swigregister(PyObject
*, PyObject
*args
) {
15708 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15709 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
15711 return Py_BuildValue((char *)"");
15713 static PyObject
*_wrap_new_PyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15714 PyObject
*resultobj
;
15715 wxWindow
*arg1
= (wxWindow
*) 0 ;
15716 int arg2
= (int) (int)-1 ;
15717 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15718 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15719 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15720 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15721 long arg5
= (long) 0 ;
15722 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15723 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15724 wxPyWindow
*result
;
15727 bool temp6
= false ;
15728 PyObject
* obj0
= 0 ;
15729 PyObject
* obj1
= 0 ;
15730 PyObject
* obj2
= 0 ;
15731 PyObject
* obj3
= 0 ;
15732 PyObject
* obj4
= 0 ;
15733 PyObject
* obj5
= 0 ;
15734 char *kwnames
[] = {
15735 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15742 arg2
= (int)SWIG_As_int(obj1
);
15743 if (PyErr_Occurred()) SWIG_fail
;
15748 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15754 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15758 arg5
= (long)SWIG_As_long(obj4
);
15759 if (PyErr_Occurred()) SWIG_fail
;
15763 arg6
= wxString_in_helper(obj5
);
15764 if (arg6
== NULL
) SWIG_fail
;
15769 if (!wxPyCheckForApp()) SWIG_fail
;
15770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15771 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15773 wxPyEndAllowThreads(__tstate
);
15774 if (PyErr_Occurred()) SWIG_fail
;
15776 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15791 static PyObject
*_wrap_new_PrePyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15792 PyObject
*resultobj
;
15793 wxPyWindow
*result
;
15794 char *kwnames
[] = {
15798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyWindow",kwnames
)) goto fail
;
15800 if (!wxPyCheckForApp()) SWIG_fail
;
15801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15802 result
= (wxPyWindow
*)new wxPyWindow();
15804 wxPyEndAllowThreads(__tstate
);
15805 if (PyErr_Occurred()) SWIG_fail
;
15807 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15814 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15815 PyObject
*resultobj
;
15816 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15817 PyObject
*arg2
= (PyObject
*) 0 ;
15818 PyObject
*arg3
= (PyObject
*) 0 ;
15819 PyObject
* obj0
= 0 ;
15820 PyObject
* obj1
= 0 ;
15821 PyObject
* obj2
= 0 ;
15822 char *kwnames
[] = {
15823 (char *) "self",(char *) "self",(char *) "_class", NULL
15826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15833 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15835 wxPyEndAllowThreads(__tstate
);
15836 if (PyErr_Occurred()) SWIG_fail
;
15838 Py_INCREF(Py_None
); resultobj
= Py_None
;
15845 static PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15846 PyObject
*resultobj
;
15847 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15850 PyObject
* obj0
= 0 ;
15851 PyObject
* obj1
= 0 ;
15852 char *kwnames
[] = {
15853 (char *) "self",(char *) "size", NULL
15856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15861 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15865 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
15867 wxPyEndAllowThreads(__tstate
);
15868 if (PyErr_Occurred()) SWIG_fail
;
15870 Py_INCREF(Py_None
); resultobj
= Py_None
;
15877 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15878 PyObject
*resultobj
;
15879 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15884 PyObject
* obj0
= 0 ;
15885 PyObject
* obj1
= 0 ;
15886 PyObject
* obj2
= 0 ;
15887 PyObject
* obj3
= 0 ;
15888 PyObject
* obj4
= 0 ;
15889 char *kwnames
[] = {
15890 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15896 arg2
= (int)SWIG_As_int(obj1
);
15897 if (PyErr_Occurred()) SWIG_fail
;
15898 arg3
= (int)SWIG_As_int(obj2
);
15899 if (PyErr_Occurred()) SWIG_fail
;
15900 arg4
= (int)SWIG_As_int(obj3
);
15901 if (PyErr_Occurred()) SWIG_fail
;
15902 arg5
= (int)SWIG_As_int(obj4
);
15903 if (PyErr_Occurred()) SWIG_fail
;
15905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15906 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
15908 wxPyEndAllowThreads(__tstate
);
15909 if (PyErr_Occurred()) SWIG_fail
;
15911 Py_INCREF(Py_None
); resultobj
= Py_None
;
15918 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15919 PyObject
*resultobj
;
15920 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15925 int arg6
= (int) wxSIZE_AUTO
;
15926 PyObject
* obj0
= 0 ;
15927 PyObject
* obj1
= 0 ;
15928 PyObject
* obj2
= 0 ;
15929 PyObject
* obj3
= 0 ;
15930 PyObject
* obj4
= 0 ;
15931 PyObject
* obj5
= 0 ;
15932 char *kwnames
[] = {
15933 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15939 arg2
= (int)SWIG_As_int(obj1
);
15940 if (PyErr_Occurred()) SWIG_fail
;
15941 arg3
= (int)SWIG_As_int(obj2
);
15942 if (PyErr_Occurred()) SWIG_fail
;
15943 arg4
= (int)SWIG_As_int(obj3
);
15944 if (PyErr_Occurred()) SWIG_fail
;
15945 arg5
= (int)SWIG_As_int(obj4
);
15946 if (PyErr_Occurred()) SWIG_fail
;
15948 arg6
= (int)SWIG_As_int(obj5
);
15949 if (PyErr_Occurred()) SWIG_fail
;
15952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15953 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
15955 wxPyEndAllowThreads(__tstate
);
15956 if (PyErr_Occurred()) SWIG_fail
;
15958 Py_INCREF(Py_None
); resultobj
= Py_None
;
15965 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15966 PyObject
*resultobj
;
15967 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15970 PyObject
* obj0
= 0 ;
15971 PyObject
* obj1
= 0 ;
15972 PyObject
* obj2
= 0 ;
15973 char *kwnames
[] = {
15974 (char *) "self",(char *) "width",(char *) "height", NULL
15977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15980 arg2
= (int)SWIG_As_int(obj1
);
15981 if (PyErr_Occurred()) SWIG_fail
;
15982 arg3
= (int)SWIG_As_int(obj2
);
15983 if (PyErr_Occurred()) SWIG_fail
;
15985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15986 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
15988 wxPyEndAllowThreads(__tstate
);
15989 if (PyErr_Occurred()) SWIG_fail
;
15991 Py_INCREF(Py_None
); resultobj
= Py_None
;
15998 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15999 PyObject
*resultobj
;
16000 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16003 PyObject
* obj0
= 0 ;
16004 PyObject
* obj1
= 0 ;
16005 PyObject
* obj2
= 0 ;
16006 char *kwnames
[] = {
16007 (char *) "self",(char *) "x",(char *) "y", NULL
16010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16013 arg2
= (int)SWIG_As_int(obj1
);
16014 if (PyErr_Occurred()) SWIG_fail
;
16015 arg3
= (int)SWIG_As_int(obj2
);
16016 if (PyErr_Occurred()) SWIG_fail
;
16018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16019 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
16021 wxPyEndAllowThreads(__tstate
);
16022 if (PyErr_Occurred()) SWIG_fail
;
16024 Py_INCREF(Py_None
); resultobj
= Py_None
;
16031 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16032 PyObject
*resultobj
;
16033 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16034 int *arg2
= (int *) 0 ;
16035 int *arg3
= (int *) 0 ;
16040 PyObject
* obj0
= 0 ;
16041 char *kwnames
[] = {
16042 (char *) "self", NULL
16045 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16046 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
16048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16052 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
16054 wxPyEndAllowThreads(__tstate
);
16055 if (PyErr_Occurred()) SWIG_fail
;
16057 Py_INCREF(Py_None
); resultobj
= Py_None
;
16058 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16059 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16060 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16061 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16068 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16069 PyObject
*resultobj
;
16070 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16071 int *arg2
= (int *) 0 ;
16072 int *arg3
= (int *) 0 ;
16077 PyObject
* obj0
= 0 ;
16078 char *kwnames
[] = {
16079 (char *) "self", NULL
16082 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16083 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
16085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16089 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
16091 wxPyEndAllowThreads(__tstate
);
16092 if (PyErr_Occurred()) SWIG_fail
;
16094 Py_INCREF(Py_None
); resultobj
= Py_None
;
16095 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16096 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16097 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16098 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16105 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16106 PyObject
*resultobj
;
16107 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16108 int *arg2
= (int *) 0 ;
16109 int *arg3
= (int *) 0 ;
16114 PyObject
* obj0
= 0 ;
16115 char *kwnames
[] = {
16116 (char *) "self", NULL
16119 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16120 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
16122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16126 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
16128 wxPyEndAllowThreads(__tstate
);
16129 if (PyErr_Occurred()) SWIG_fail
;
16131 Py_INCREF(Py_None
); resultobj
= Py_None
;
16132 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16133 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16134 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16135 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16142 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16143 PyObject
*resultobj
;
16144 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16146 PyObject
* obj0
= 0 ;
16147 char *kwnames
[] = {
16148 (char *) "self", NULL
16151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
16152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16156 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
16158 wxPyEndAllowThreads(__tstate
);
16159 if (PyErr_Occurred()) SWIG_fail
;
16162 wxSize
* resultptr
;
16163 resultptr
= new wxSize((wxSize
&) result
);
16164 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16172 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16173 PyObject
*resultobj
;
16174 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16176 PyObject
* obj0
= 0 ;
16177 char *kwnames
[] = {
16178 (char *) "self", NULL
16181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
16182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16186 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
16188 wxPyEndAllowThreads(__tstate
);
16189 if (PyErr_Occurred()) SWIG_fail
;
16192 wxSize
* resultptr
;
16193 resultptr
= new wxSize((wxSize
&) result
);
16194 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16202 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16203 PyObject
*resultobj
;
16204 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16205 PyObject
* obj0
= 0 ;
16206 char *kwnames
[] = {
16207 (char *) "self", NULL
16210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",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 (arg1
)->base_InitDialog();
16217 wxPyEndAllowThreads(__tstate
);
16218 if (PyErr_Occurred()) SWIG_fail
;
16220 Py_INCREF(Py_None
); resultobj
= Py_None
;
16227 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16228 PyObject
*resultobj
;
16229 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16231 PyObject
* obj0
= 0 ;
16232 char *kwnames
[] = {
16233 (char *) "self", NULL
16236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
16237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16241 result
= (bool)(arg1
)->base_TransferDataToWindow();
16243 wxPyEndAllowThreads(__tstate
);
16244 if (PyErr_Occurred()) SWIG_fail
;
16247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16255 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16256 PyObject
*resultobj
;
16257 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16259 PyObject
* obj0
= 0 ;
16260 char *kwnames
[] = {
16261 (char *) "self", NULL
16264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
16265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16269 result
= (bool)(arg1
)->base_TransferDataFromWindow();
16271 wxPyEndAllowThreads(__tstate
);
16272 if (PyErr_Occurred()) SWIG_fail
;
16275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16283 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16284 PyObject
*resultobj
;
16285 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16287 PyObject
* obj0
= 0 ;
16288 char *kwnames
[] = {
16289 (char *) "self", NULL
16292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
16293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16297 result
= (bool)(arg1
)->base_Validate();
16299 wxPyEndAllowThreads(__tstate
);
16300 if (PyErr_Occurred()) SWIG_fail
;
16303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16311 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16312 PyObject
*resultobj
;
16313 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16315 PyObject
* obj0
= 0 ;
16316 char *kwnames
[] = {
16317 (char *) "self", NULL
16320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
16321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16325 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
16327 wxPyEndAllowThreads(__tstate
);
16328 if (PyErr_Occurred()) SWIG_fail
;
16331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16339 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16340 PyObject
*resultobj
;
16341 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16343 PyObject
* obj0
= 0 ;
16344 char *kwnames
[] = {
16345 (char *) "self", NULL
16348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
16349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16353 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
16355 wxPyEndAllowThreads(__tstate
);
16356 if (PyErr_Occurred()) SWIG_fail
;
16359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16367 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16368 PyObject
*resultobj
;
16369 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16371 PyObject
* obj0
= 0 ;
16372 char *kwnames
[] = {
16373 (char *) "self", NULL
16376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
16377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16381 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
16383 wxPyEndAllowThreads(__tstate
);
16384 if (PyErr_Occurred()) SWIG_fail
;
16387 wxSize
* resultptr
;
16388 resultptr
= new wxSize((wxSize
&) result
);
16389 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16397 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16398 PyObject
*resultobj
;
16399 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16400 wxWindow
*arg2
= (wxWindow
*) 0 ;
16401 PyObject
* obj0
= 0 ;
16402 PyObject
* obj1
= 0 ;
16403 char *kwnames
[] = {
16404 (char *) "self",(char *) "child", NULL
16407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16410 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16414 (arg1
)->base_AddChild(arg2
);
16416 wxPyEndAllowThreads(__tstate
);
16417 if (PyErr_Occurred()) SWIG_fail
;
16419 Py_INCREF(Py_None
); resultobj
= Py_None
;
16426 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16427 PyObject
*resultobj
;
16428 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16429 wxWindow
*arg2
= (wxWindow
*) 0 ;
16430 PyObject
* obj0
= 0 ;
16431 PyObject
* obj1
= 0 ;
16432 char *kwnames
[] = {
16433 (char *) "self",(char *) "child", NULL
16436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16439 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16443 (arg1
)->base_RemoveChild(arg2
);
16445 wxPyEndAllowThreads(__tstate
);
16446 if (PyErr_Occurred()) SWIG_fail
;
16448 Py_INCREF(Py_None
); resultobj
= Py_None
;
16455 static PyObject
*_wrap_PyWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16456 PyObject
*resultobj
;
16457 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16459 PyObject
* obj0
= 0 ;
16460 char *kwnames
[] = {
16461 (char *) "self", NULL
16464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
16465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16469 result
= (bool)((wxPyWindow
const *)arg1
)->base_ShouldInheritColours();
16471 wxPyEndAllowThreads(__tstate
);
16472 if (PyErr_Occurred()) SWIG_fail
;
16475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16483 static PyObject
*_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16484 PyObject
*resultobj
;
16485 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16486 wxColour
*arg2
= 0 ;
16488 PyObject
* obj0
= 0 ;
16489 PyObject
* obj1
= 0 ;
16490 char *kwnames
[] = {
16491 (char *) "self",(char *) "c", NULL
16494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
16495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16499 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16503 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
16505 wxPyEndAllowThreads(__tstate
);
16506 if (PyErr_Occurred()) SWIG_fail
;
16508 Py_INCREF(Py_None
); resultobj
= Py_None
;
16515 static PyObject
*_wrap_PyWindow_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16516 PyObject
*resultobj
;
16517 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16518 wxVisualAttributes result
;
16519 PyObject
* obj0
= 0 ;
16520 char *kwnames
[] = {
16521 (char *) "self", NULL
16524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16529 result
= (arg1
)->base_GetDefaultAttributes();
16531 wxPyEndAllowThreads(__tstate
);
16532 if (PyErr_Occurred()) SWIG_fail
;
16535 wxVisualAttributes
* resultptr
;
16536 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
16537 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16545 static PyObject
* PyWindow_swigregister(PyObject
*, PyObject
*args
) {
16547 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16548 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
16550 return Py_BuildValue((char *)"");
16552 static PyObject
*_wrap_new_PyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16553 PyObject
*resultobj
;
16554 wxWindow
*arg1
= (wxWindow
*) 0 ;
16555 int arg2
= (int) (int)-1 ;
16556 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16557 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16558 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16559 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16560 long arg5
= (long) 0 ;
16561 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
16562 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
16566 bool temp6
= false ;
16567 PyObject
* obj0
= 0 ;
16568 PyObject
* obj1
= 0 ;
16569 PyObject
* obj2
= 0 ;
16570 PyObject
* obj3
= 0 ;
16571 PyObject
* obj4
= 0 ;
16572 PyObject
* obj5
= 0 ;
16573 char *kwnames
[] = {
16574 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16581 arg2
= (int)SWIG_As_int(obj1
);
16582 if (PyErr_Occurred()) SWIG_fail
;
16587 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16593 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16597 arg5
= (long)SWIG_As_long(obj4
);
16598 if (PyErr_Occurred()) SWIG_fail
;
16602 arg6
= wxString_in_helper(obj5
);
16603 if (arg6
== NULL
) SWIG_fail
;
16608 if (!wxPyCheckForApp()) SWIG_fail
;
16609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16610 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
16612 wxPyEndAllowThreads(__tstate
);
16613 if (PyErr_Occurred()) SWIG_fail
;
16615 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
16630 static PyObject
*_wrap_new_PrePyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16631 PyObject
*resultobj
;
16633 char *kwnames
[] = {
16637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyPanel",kwnames
)) goto fail
;
16639 if (!wxPyCheckForApp()) SWIG_fail
;
16640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16641 result
= (wxPyPanel
*)new wxPyPanel();
16643 wxPyEndAllowThreads(__tstate
);
16644 if (PyErr_Occurred()) SWIG_fail
;
16646 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
16653 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16654 PyObject
*resultobj
;
16655 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16656 PyObject
*arg2
= (PyObject
*) 0 ;
16657 PyObject
*arg3
= (PyObject
*) 0 ;
16658 PyObject
* obj0
= 0 ;
16659 PyObject
* obj1
= 0 ;
16660 PyObject
* obj2
= 0 ;
16661 char *kwnames
[] = {
16662 (char *) "self",(char *) "self",(char *) "_class", NULL
16665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16672 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16674 wxPyEndAllowThreads(__tstate
);
16675 if (PyErr_Occurred()) SWIG_fail
;
16677 Py_INCREF(Py_None
); resultobj
= Py_None
;
16684 static PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16685 PyObject
*resultobj
;
16686 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16689 PyObject
* obj0
= 0 ;
16690 PyObject
* obj1
= 0 ;
16691 char *kwnames
[] = {
16692 (char *) "self",(char *) "size", NULL
16695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16700 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16704 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
16706 wxPyEndAllowThreads(__tstate
);
16707 if (PyErr_Occurred()) SWIG_fail
;
16709 Py_INCREF(Py_None
); resultobj
= Py_None
;
16716 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16717 PyObject
*resultobj
;
16718 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16723 PyObject
* obj0
= 0 ;
16724 PyObject
* obj1
= 0 ;
16725 PyObject
* obj2
= 0 ;
16726 PyObject
* obj3
= 0 ;
16727 PyObject
* obj4
= 0 ;
16728 char *kwnames
[] = {
16729 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16735 arg2
= (int)SWIG_As_int(obj1
);
16736 if (PyErr_Occurred()) SWIG_fail
;
16737 arg3
= (int)SWIG_As_int(obj2
);
16738 if (PyErr_Occurred()) SWIG_fail
;
16739 arg4
= (int)SWIG_As_int(obj3
);
16740 if (PyErr_Occurred()) SWIG_fail
;
16741 arg5
= (int)SWIG_As_int(obj4
);
16742 if (PyErr_Occurred()) SWIG_fail
;
16744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16745 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
16747 wxPyEndAllowThreads(__tstate
);
16748 if (PyErr_Occurred()) SWIG_fail
;
16750 Py_INCREF(Py_None
); resultobj
= Py_None
;
16757 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16758 PyObject
*resultobj
;
16759 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16764 int arg6
= (int) wxSIZE_AUTO
;
16765 PyObject
* obj0
= 0 ;
16766 PyObject
* obj1
= 0 ;
16767 PyObject
* obj2
= 0 ;
16768 PyObject
* obj3
= 0 ;
16769 PyObject
* obj4
= 0 ;
16770 PyObject
* obj5
= 0 ;
16771 char *kwnames
[] = {
16772 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16778 arg2
= (int)SWIG_As_int(obj1
);
16779 if (PyErr_Occurred()) SWIG_fail
;
16780 arg3
= (int)SWIG_As_int(obj2
);
16781 if (PyErr_Occurred()) SWIG_fail
;
16782 arg4
= (int)SWIG_As_int(obj3
);
16783 if (PyErr_Occurred()) SWIG_fail
;
16784 arg5
= (int)SWIG_As_int(obj4
);
16785 if (PyErr_Occurred()) SWIG_fail
;
16787 arg6
= (int)SWIG_As_int(obj5
);
16788 if (PyErr_Occurred()) SWIG_fail
;
16791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16792 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
16794 wxPyEndAllowThreads(__tstate
);
16795 if (PyErr_Occurred()) SWIG_fail
;
16797 Py_INCREF(Py_None
); resultobj
= Py_None
;
16804 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16805 PyObject
*resultobj
;
16806 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16809 PyObject
* obj0
= 0 ;
16810 PyObject
* obj1
= 0 ;
16811 PyObject
* obj2
= 0 ;
16812 char *kwnames
[] = {
16813 (char *) "self",(char *) "width",(char *) "height", NULL
16816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16819 arg2
= (int)SWIG_As_int(obj1
);
16820 if (PyErr_Occurred()) SWIG_fail
;
16821 arg3
= (int)SWIG_As_int(obj2
);
16822 if (PyErr_Occurred()) SWIG_fail
;
16824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16825 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
16827 wxPyEndAllowThreads(__tstate
);
16828 if (PyErr_Occurred()) SWIG_fail
;
16830 Py_INCREF(Py_None
); resultobj
= Py_None
;
16837 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16838 PyObject
*resultobj
;
16839 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16842 PyObject
* obj0
= 0 ;
16843 PyObject
* obj1
= 0 ;
16844 PyObject
* obj2
= 0 ;
16845 char *kwnames
[] = {
16846 (char *) "self",(char *) "x",(char *) "y", NULL
16849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16852 arg2
= (int)SWIG_As_int(obj1
);
16853 if (PyErr_Occurred()) SWIG_fail
;
16854 arg3
= (int)SWIG_As_int(obj2
);
16855 if (PyErr_Occurred()) SWIG_fail
;
16857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16858 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
16860 wxPyEndAllowThreads(__tstate
);
16861 if (PyErr_Occurred()) SWIG_fail
;
16863 Py_INCREF(Py_None
); resultobj
= Py_None
;
16870 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16871 PyObject
*resultobj
;
16872 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16873 int *arg2
= (int *) 0 ;
16874 int *arg3
= (int *) 0 ;
16879 PyObject
* obj0
= 0 ;
16880 char *kwnames
[] = {
16881 (char *) "self", NULL
16884 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16885 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
16887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16891 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
16893 wxPyEndAllowThreads(__tstate
);
16894 if (PyErr_Occurred()) SWIG_fail
;
16896 Py_INCREF(Py_None
); resultobj
= Py_None
;
16897 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16898 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16899 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16900 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16907 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16908 PyObject
*resultobj
;
16909 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16910 int *arg2
= (int *) 0 ;
16911 int *arg3
= (int *) 0 ;
16916 PyObject
* obj0
= 0 ;
16917 char *kwnames
[] = {
16918 (char *) "self", NULL
16921 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16922 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
16924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16928 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
16930 wxPyEndAllowThreads(__tstate
);
16931 if (PyErr_Occurred()) SWIG_fail
;
16933 Py_INCREF(Py_None
); resultobj
= Py_None
;
16934 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16935 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16936 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16937 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16944 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16945 PyObject
*resultobj
;
16946 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16947 int *arg2
= (int *) 0 ;
16948 int *arg3
= (int *) 0 ;
16953 PyObject
* obj0
= 0 ;
16954 char *kwnames
[] = {
16955 (char *) "self", NULL
16958 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16959 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
16961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16965 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
16967 wxPyEndAllowThreads(__tstate
);
16968 if (PyErr_Occurred()) SWIG_fail
;
16970 Py_INCREF(Py_None
); resultobj
= Py_None
;
16971 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16972 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16973 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16974 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16981 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16982 PyObject
*resultobj
;
16983 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16985 PyObject
* obj0
= 0 ;
16986 char *kwnames
[] = {
16987 (char *) "self", NULL
16990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
16991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16995 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
16997 wxPyEndAllowThreads(__tstate
);
16998 if (PyErr_Occurred()) SWIG_fail
;
17001 wxSize
* resultptr
;
17002 resultptr
= new wxSize((wxSize
&) result
);
17003 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17011 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17012 PyObject
*resultobj
;
17013 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17015 PyObject
* obj0
= 0 ;
17016 char *kwnames
[] = {
17017 (char *) "self", NULL
17020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
17021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17025 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
17027 wxPyEndAllowThreads(__tstate
);
17028 if (PyErr_Occurred()) SWIG_fail
;
17031 wxSize
* resultptr
;
17032 resultptr
= new wxSize((wxSize
&) result
);
17033 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17041 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17042 PyObject
*resultobj
;
17043 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17044 PyObject
* obj0
= 0 ;
17045 char *kwnames
[] = {
17046 (char *) "self", NULL
17049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",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 (arg1
)->base_InitDialog();
17056 wxPyEndAllowThreads(__tstate
);
17057 if (PyErr_Occurred()) SWIG_fail
;
17059 Py_INCREF(Py_None
); resultobj
= Py_None
;
17066 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17067 PyObject
*resultobj
;
17068 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17070 PyObject
* obj0
= 0 ;
17071 char *kwnames
[] = {
17072 (char *) "self", NULL
17075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
17076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17080 result
= (bool)(arg1
)->base_TransferDataToWindow();
17082 wxPyEndAllowThreads(__tstate
);
17083 if (PyErr_Occurred()) SWIG_fail
;
17086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17094 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17095 PyObject
*resultobj
;
17096 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17098 PyObject
* obj0
= 0 ;
17099 char *kwnames
[] = {
17100 (char *) "self", NULL
17103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
17104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17108 result
= (bool)(arg1
)->base_TransferDataFromWindow();
17110 wxPyEndAllowThreads(__tstate
);
17111 if (PyErr_Occurred()) SWIG_fail
;
17114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17122 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17123 PyObject
*resultobj
;
17124 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17126 PyObject
* obj0
= 0 ;
17127 char *kwnames
[] = {
17128 (char *) "self", NULL
17131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
17132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17136 result
= (bool)(arg1
)->base_Validate();
17138 wxPyEndAllowThreads(__tstate
);
17139 if (PyErr_Occurred()) SWIG_fail
;
17142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17150 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17151 PyObject
*resultobj
;
17152 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17154 PyObject
* obj0
= 0 ;
17155 char *kwnames
[] = {
17156 (char *) "self", NULL
17159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
17160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17164 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
17166 wxPyEndAllowThreads(__tstate
);
17167 if (PyErr_Occurred()) SWIG_fail
;
17170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17178 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17179 PyObject
*resultobj
;
17180 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17182 PyObject
* obj0
= 0 ;
17183 char *kwnames
[] = {
17184 (char *) "self", NULL
17187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
17188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17192 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
17194 wxPyEndAllowThreads(__tstate
);
17195 if (PyErr_Occurred()) SWIG_fail
;
17198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17206 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17207 PyObject
*resultobj
;
17208 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17210 PyObject
* obj0
= 0 ;
17211 char *kwnames
[] = {
17212 (char *) "self", NULL
17215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
17216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17220 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
17222 wxPyEndAllowThreads(__tstate
);
17223 if (PyErr_Occurred()) SWIG_fail
;
17226 wxSize
* resultptr
;
17227 resultptr
= new wxSize((wxSize
&) result
);
17228 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17236 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17237 PyObject
*resultobj
;
17238 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17239 wxWindow
*arg2
= (wxWindow
*) 0 ;
17240 PyObject
* obj0
= 0 ;
17241 PyObject
* obj1
= 0 ;
17242 char *kwnames
[] = {
17243 (char *) "self",(char *) "child", NULL
17246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17249 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17253 (arg1
)->base_AddChild(arg2
);
17255 wxPyEndAllowThreads(__tstate
);
17256 if (PyErr_Occurred()) SWIG_fail
;
17258 Py_INCREF(Py_None
); resultobj
= Py_None
;
17265 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17266 PyObject
*resultobj
;
17267 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17268 wxWindow
*arg2
= (wxWindow
*) 0 ;
17269 PyObject
* obj0
= 0 ;
17270 PyObject
* obj1
= 0 ;
17271 char *kwnames
[] = {
17272 (char *) "self",(char *) "child", NULL
17275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17278 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17282 (arg1
)->base_RemoveChild(arg2
);
17284 wxPyEndAllowThreads(__tstate
);
17285 if (PyErr_Occurred()) SWIG_fail
;
17287 Py_INCREF(Py_None
); resultobj
= Py_None
;
17294 static PyObject
*_wrap_PyPanel_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17295 PyObject
*resultobj
;
17296 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17298 PyObject
* obj0
= 0 ;
17299 char *kwnames
[] = {
17300 (char *) "self", NULL
17303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
17304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17308 result
= (bool)((wxPyPanel
const *)arg1
)->base_ShouldInheritColours();
17310 wxPyEndAllowThreads(__tstate
);
17311 if (PyErr_Occurred()) SWIG_fail
;
17314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17322 static PyObject
*_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17323 PyObject
*resultobj
;
17324 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17325 wxColour
*arg2
= 0 ;
17327 PyObject
* obj0
= 0 ;
17328 PyObject
* obj1
= 0 ;
17329 char *kwnames
[] = {
17330 (char *) "self",(char *) "c", NULL
17333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
17334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17338 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17342 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
17344 wxPyEndAllowThreads(__tstate
);
17345 if (PyErr_Occurred()) SWIG_fail
;
17347 Py_INCREF(Py_None
); resultobj
= Py_None
;
17354 static PyObject
*_wrap_PyPanel_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17355 PyObject
*resultobj
;
17356 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17357 wxVisualAttributes result
;
17358 PyObject
* obj0
= 0 ;
17359 char *kwnames
[] = {
17360 (char *) "self", NULL
17363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17368 result
= (arg1
)->base_GetDefaultAttributes();
17370 wxPyEndAllowThreads(__tstate
);
17371 if (PyErr_Occurred()) SWIG_fail
;
17374 wxVisualAttributes
* resultptr
;
17375 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
17376 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17384 static PyObject
* PyPanel_swigregister(PyObject
*, PyObject
*args
) {
17386 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17387 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
17389 return Py_BuildValue((char *)"");
17391 static PyObject
*_wrap_new_PyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17392 PyObject
*resultobj
;
17393 wxWindow
*arg1
= (wxWindow
*) 0 ;
17394 int arg2
= (int) (int)-1 ;
17395 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17396 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17397 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17398 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17399 long arg5
= (long) 0 ;
17400 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
17401 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17402 wxPyScrolledWindow
*result
;
17405 bool temp6
= false ;
17406 PyObject
* obj0
= 0 ;
17407 PyObject
* obj1
= 0 ;
17408 PyObject
* obj2
= 0 ;
17409 PyObject
* obj3
= 0 ;
17410 PyObject
* obj4
= 0 ;
17411 PyObject
* obj5
= 0 ;
17412 char *kwnames
[] = {
17413 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17420 arg2
= (int)SWIG_As_int(obj1
);
17421 if (PyErr_Occurred()) SWIG_fail
;
17426 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17432 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17436 arg5
= (long)SWIG_As_long(obj4
);
17437 if (PyErr_Occurred()) SWIG_fail
;
17441 arg6
= wxString_in_helper(obj5
);
17442 if (arg6
== NULL
) SWIG_fail
;
17447 if (!wxPyCheckForApp()) SWIG_fail
;
17448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17449 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17451 wxPyEndAllowThreads(__tstate
);
17452 if (PyErr_Occurred()) SWIG_fail
;
17454 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
17469 static PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17470 PyObject
*resultobj
;
17471 wxPyScrolledWindow
*result
;
17472 char *kwnames
[] = {
17476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyScrolledWindow",kwnames
)) goto fail
;
17478 if (!wxPyCheckForApp()) SWIG_fail
;
17479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17480 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
17482 wxPyEndAllowThreads(__tstate
);
17483 if (PyErr_Occurred()) SWIG_fail
;
17485 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
17492 static PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17493 PyObject
*resultobj
;
17494 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17495 PyObject
*arg2
= (PyObject
*) 0 ;
17496 PyObject
*arg3
= (PyObject
*) 0 ;
17497 PyObject
* obj0
= 0 ;
17498 PyObject
* obj1
= 0 ;
17499 PyObject
* obj2
= 0 ;
17500 char *kwnames
[] = {
17501 (char *) "self",(char *) "self",(char *) "_class", NULL
17504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17511 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17513 wxPyEndAllowThreads(__tstate
);
17514 if (PyErr_Occurred()) SWIG_fail
;
17516 Py_INCREF(Py_None
); resultobj
= Py_None
;
17523 static PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17524 PyObject
*resultobj
;
17525 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17528 PyObject
* obj0
= 0 ;
17529 PyObject
* obj1
= 0 ;
17530 char *kwnames
[] = {
17531 (char *) "self",(char *) "size", NULL
17534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17539 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17543 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
17545 wxPyEndAllowThreads(__tstate
);
17546 if (PyErr_Occurred()) SWIG_fail
;
17548 Py_INCREF(Py_None
); resultobj
= Py_None
;
17555 static PyObject
*_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17556 PyObject
*resultobj
;
17557 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17562 PyObject
* obj0
= 0 ;
17563 PyObject
* obj1
= 0 ;
17564 PyObject
* obj2
= 0 ;
17565 PyObject
* obj3
= 0 ;
17566 PyObject
* obj4
= 0 ;
17567 char *kwnames
[] = {
17568 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17574 arg2
= (int)SWIG_As_int(obj1
);
17575 if (PyErr_Occurred()) SWIG_fail
;
17576 arg3
= (int)SWIG_As_int(obj2
);
17577 if (PyErr_Occurred()) SWIG_fail
;
17578 arg4
= (int)SWIG_As_int(obj3
);
17579 if (PyErr_Occurred()) SWIG_fail
;
17580 arg5
= (int)SWIG_As_int(obj4
);
17581 if (PyErr_Occurred()) SWIG_fail
;
17583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17584 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
17586 wxPyEndAllowThreads(__tstate
);
17587 if (PyErr_Occurred()) SWIG_fail
;
17589 Py_INCREF(Py_None
); resultobj
= Py_None
;
17596 static PyObject
*_wrap_PyScrolledWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17597 PyObject
*resultobj
;
17598 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17603 int arg6
= (int) wxSIZE_AUTO
;
17604 PyObject
* obj0
= 0 ;
17605 PyObject
* obj1
= 0 ;
17606 PyObject
* obj2
= 0 ;
17607 PyObject
* obj3
= 0 ;
17608 PyObject
* obj4
= 0 ;
17609 PyObject
* obj5
= 0 ;
17610 char *kwnames
[] = {
17611 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17617 arg2
= (int)SWIG_As_int(obj1
);
17618 if (PyErr_Occurred()) SWIG_fail
;
17619 arg3
= (int)SWIG_As_int(obj2
);
17620 if (PyErr_Occurred()) SWIG_fail
;
17621 arg4
= (int)SWIG_As_int(obj3
);
17622 if (PyErr_Occurred()) SWIG_fail
;
17623 arg5
= (int)SWIG_As_int(obj4
);
17624 if (PyErr_Occurred()) SWIG_fail
;
17626 arg6
= (int)SWIG_As_int(obj5
);
17627 if (PyErr_Occurred()) SWIG_fail
;
17630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17631 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
17633 wxPyEndAllowThreads(__tstate
);
17634 if (PyErr_Occurred()) SWIG_fail
;
17636 Py_INCREF(Py_None
); resultobj
= Py_None
;
17643 static PyObject
*_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17644 PyObject
*resultobj
;
17645 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17648 PyObject
* obj0
= 0 ;
17649 PyObject
* obj1
= 0 ;
17650 PyObject
* obj2
= 0 ;
17651 char *kwnames
[] = {
17652 (char *) "self",(char *) "width",(char *) "height", NULL
17655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17658 arg2
= (int)SWIG_As_int(obj1
);
17659 if (PyErr_Occurred()) SWIG_fail
;
17660 arg3
= (int)SWIG_As_int(obj2
);
17661 if (PyErr_Occurred()) SWIG_fail
;
17663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17664 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
17666 wxPyEndAllowThreads(__tstate
);
17667 if (PyErr_Occurred()) SWIG_fail
;
17669 Py_INCREF(Py_None
); resultobj
= Py_None
;
17676 static PyObject
*_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17677 PyObject
*resultobj
;
17678 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17681 PyObject
* obj0
= 0 ;
17682 PyObject
* obj1
= 0 ;
17683 PyObject
* obj2
= 0 ;
17684 char *kwnames
[] = {
17685 (char *) "self",(char *) "x",(char *) "y", NULL
17688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17691 arg2
= (int)SWIG_As_int(obj1
);
17692 if (PyErr_Occurred()) SWIG_fail
;
17693 arg3
= (int)SWIG_As_int(obj2
);
17694 if (PyErr_Occurred()) SWIG_fail
;
17696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17697 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
17699 wxPyEndAllowThreads(__tstate
);
17700 if (PyErr_Occurred()) SWIG_fail
;
17702 Py_INCREF(Py_None
); resultobj
= Py_None
;
17709 static PyObject
*_wrap_PyScrolledWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17710 PyObject
*resultobj
;
17711 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17712 int *arg2
= (int *) 0 ;
17713 int *arg3
= (int *) 0 ;
17718 PyObject
* obj0
= 0 ;
17719 char *kwnames
[] = {
17720 (char *) "self", NULL
17723 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17724 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
17726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17730 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
17732 wxPyEndAllowThreads(__tstate
);
17733 if (PyErr_Occurred()) SWIG_fail
;
17735 Py_INCREF(Py_None
); resultobj
= Py_None
;
17736 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17737 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17738 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17739 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17746 static PyObject
*_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17747 PyObject
*resultobj
;
17748 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17749 int *arg2
= (int *) 0 ;
17750 int *arg3
= (int *) 0 ;
17755 PyObject
* obj0
= 0 ;
17756 char *kwnames
[] = {
17757 (char *) "self", NULL
17760 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17761 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
17763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17767 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
17769 wxPyEndAllowThreads(__tstate
);
17770 if (PyErr_Occurred()) SWIG_fail
;
17772 Py_INCREF(Py_None
); resultobj
= Py_None
;
17773 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17774 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17775 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17776 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17783 static PyObject
*_wrap_PyScrolledWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17784 PyObject
*resultobj
;
17785 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17786 int *arg2
= (int *) 0 ;
17787 int *arg3
= (int *) 0 ;
17792 PyObject
* obj0
= 0 ;
17793 char *kwnames
[] = {
17794 (char *) "self", NULL
17797 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17798 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
17800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17804 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
17806 wxPyEndAllowThreads(__tstate
);
17807 if (PyErr_Occurred()) SWIG_fail
;
17809 Py_INCREF(Py_None
); resultobj
= Py_None
;
17810 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17811 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17812 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17813 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17820 static PyObject
*_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17821 PyObject
*resultobj
;
17822 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17824 PyObject
* obj0
= 0 ;
17825 char *kwnames
[] = {
17826 (char *) "self", NULL
17829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
17830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17834 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetVirtualSize();
17836 wxPyEndAllowThreads(__tstate
);
17837 if (PyErr_Occurred()) SWIG_fail
;
17840 wxSize
* resultptr
;
17841 resultptr
= new wxSize((wxSize
&) result
);
17842 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17850 static PyObject
*_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17851 PyObject
*resultobj
;
17852 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17854 PyObject
* obj0
= 0 ;
17855 char *kwnames
[] = {
17856 (char *) "self", NULL
17859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
17860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17864 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetBestSize();
17866 wxPyEndAllowThreads(__tstate
);
17867 if (PyErr_Occurred()) SWIG_fail
;
17870 wxSize
* resultptr
;
17871 resultptr
= new wxSize((wxSize
&) result
);
17872 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17880 static PyObject
*_wrap_PyScrolledWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17881 PyObject
*resultobj
;
17882 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17883 PyObject
* obj0
= 0 ;
17884 char *kwnames
[] = {
17885 (char *) "self", NULL
17888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_InitDialog",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 (arg1
)->base_InitDialog();
17895 wxPyEndAllowThreads(__tstate
);
17896 if (PyErr_Occurred()) SWIG_fail
;
17898 Py_INCREF(Py_None
); resultobj
= Py_None
;
17905 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17906 PyObject
*resultobj
;
17907 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17909 PyObject
* obj0
= 0 ;
17910 char *kwnames
[] = {
17911 (char *) "self", NULL
17914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
17915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17919 result
= (bool)(arg1
)->base_TransferDataToWindow();
17921 wxPyEndAllowThreads(__tstate
);
17922 if (PyErr_Occurred()) SWIG_fail
;
17925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17933 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17934 PyObject
*resultobj
;
17935 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17937 PyObject
* obj0
= 0 ;
17938 char *kwnames
[] = {
17939 (char *) "self", NULL
17942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
17943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17947 result
= (bool)(arg1
)->base_TransferDataFromWindow();
17949 wxPyEndAllowThreads(__tstate
);
17950 if (PyErr_Occurred()) SWIG_fail
;
17953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17961 static PyObject
*_wrap_PyScrolledWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17962 PyObject
*resultobj
;
17963 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17965 PyObject
* obj0
= 0 ;
17966 char *kwnames
[] = {
17967 (char *) "self", NULL
17970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
17971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17975 result
= (bool)(arg1
)->base_Validate();
17977 wxPyEndAllowThreads(__tstate
);
17978 if (PyErr_Occurred()) SWIG_fail
;
17981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17989 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17990 PyObject
*resultobj
;
17991 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17993 PyObject
* obj0
= 0 ;
17994 char *kwnames
[] = {
17995 (char *) "self", NULL
17998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
17999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18003 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocus();
18005 wxPyEndAllowThreads(__tstate
);
18006 if (PyErr_Occurred()) SWIG_fail
;
18009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18017 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18018 PyObject
*resultobj
;
18019 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18021 PyObject
* obj0
= 0 ;
18022 char *kwnames
[] = {
18023 (char *) "self", NULL
18026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
18027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18031 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
18033 wxPyEndAllowThreads(__tstate
);
18034 if (PyErr_Occurred()) SWIG_fail
;
18037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18045 static PyObject
*_wrap_PyScrolledWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18046 PyObject
*resultobj
;
18047 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18049 PyObject
* obj0
= 0 ;
18050 char *kwnames
[] = {
18051 (char *) "self", NULL
18054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
18055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18059 result
= ((wxPyScrolledWindow
const *)arg1
)->base_GetMaxSize();
18061 wxPyEndAllowThreads(__tstate
);
18062 if (PyErr_Occurred()) SWIG_fail
;
18065 wxSize
* resultptr
;
18066 resultptr
= new wxSize((wxSize
&) result
);
18067 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18075 static PyObject
*_wrap_PyScrolledWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18076 PyObject
*resultobj
;
18077 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18078 wxWindow
*arg2
= (wxWindow
*) 0 ;
18079 PyObject
* obj0
= 0 ;
18080 PyObject
* obj1
= 0 ;
18081 char *kwnames
[] = {
18082 (char *) "self",(char *) "child", NULL
18085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
18086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18088 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18092 (arg1
)->base_AddChild(arg2
);
18094 wxPyEndAllowThreads(__tstate
);
18095 if (PyErr_Occurred()) SWIG_fail
;
18097 Py_INCREF(Py_None
); resultobj
= Py_None
;
18104 static PyObject
*_wrap_PyScrolledWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18105 PyObject
*resultobj
;
18106 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18107 wxWindow
*arg2
= (wxWindow
*) 0 ;
18108 PyObject
* obj0
= 0 ;
18109 PyObject
* obj1
= 0 ;
18110 char *kwnames
[] = {
18111 (char *) "self",(char *) "child", NULL
18114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
18115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18117 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18121 (arg1
)->base_RemoveChild(arg2
);
18123 wxPyEndAllowThreads(__tstate
);
18124 if (PyErr_Occurred()) SWIG_fail
;
18126 Py_INCREF(Py_None
); resultobj
= Py_None
;
18133 static PyObject
*_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18134 PyObject
*resultobj
;
18135 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18137 PyObject
* obj0
= 0 ;
18138 char *kwnames
[] = {
18139 (char *) "self", NULL
18142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
18143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18147 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_ShouldInheritColours();
18149 wxPyEndAllowThreads(__tstate
);
18150 if (PyErr_Occurred()) SWIG_fail
;
18153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18161 static PyObject
*_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18162 PyObject
*resultobj
;
18163 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18164 wxColour
*arg2
= 0 ;
18166 PyObject
* obj0
= 0 ;
18167 PyObject
* obj1
= 0 ;
18168 char *kwnames
[] = {
18169 (char *) "self",(char *) "c", NULL
18172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
18173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18177 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18181 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
18183 wxPyEndAllowThreads(__tstate
);
18184 if (PyErr_Occurred()) SWIG_fail
;
18186 Py_INCREF(Py_None
); resultobj
= Py_None
;
18193 static PyObject
*_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18194 PyObject
*resultobj
;
18195 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18196 wxVisualAttributes result
;
18197 PyObject
* obj0
= 0 ;
18198 char *kwnames
[] = {
18199 (char *) "self", NULL
18202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
18203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18207 result
= (arg1
)->base_GetDefaultAttributes();
18209 wxPyEndAllowThreads(__tstate
);
18210 if (PyErr_Occurred()) SWIG_fail
;
18213 wxVisualAttributes
* resultptr
;
18214 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
18215 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
18223 static PyObject
* PyScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
18225 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18226 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow
, obj
);
18228 return Py_BuildValue((char *)"");
18230 static int _wrap_PrintoutTitleStr_set(PyObject
*) {
18231 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
18236 static PyObject
*_wrap_PrintoutTitleStr_get() {
18241 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
18243 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
18250 static int _wrap_PreviewCanvasNameStr_set(PyObject
*) {
18251 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
18256 static PyObject
*_wrap_PreviewCanvasNameStr_get() {
18261 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
18263 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
18270 static PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*, PyObject
*args
) {
18271 PyObject
*resultobj
;
18272 wxPrintData
*result
;
18274 if(!PyArg_ParseTuple(args
,(char *)":new_PrintData")) goto fail
;
18276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18277 result
= (wxPrintData
*)new wxPrintData();
18279 wxPyEndAllowThreads(__tstate
);
18280 if (PyErr_Occurred()) SWIG_fail
;
18282 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
18289 static PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*, PyObject
*args
) {
18290 PyObject
*resultobj
;
18291 wxPrintData
*arg1
= 0 ;
18292 wxPrintData
*result
;
18293 PyObject
* obj0
= 0 ;
18295 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintData",&obj0
)) goto fail
;
18296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18297 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18299 if (arg1
== NULL
) {
18300 PyErr_SetString(PyExc_TypeError
,"null reference");
18304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18305 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
18307 wxPyEndAllowThreads(__tstate
);
18308 if (PyErr_Occurred()) SWIG_fail
;
18310 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
18317 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
18322 argc
= PyObject_Length(args
);
18323 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
18324 argv
[ii
] = PyTuple_GetItem(args
,ii
);
18327 return _wrap_new_PrintData__SWIG_0(self
,args
);
18333 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
18341 return _wrap_new_PrintData__SWIG_1(self
,args
);
18345 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintData'");
18350 static PyObject
*_wrap_delete_PrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18351 PyObject
*resultobj
;
18352 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18353 PyObject
* obj0
= 0 ;
18354 char *kwnames
[] = {
18355 (char *) "self", NULL
18358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
18359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18365 wxPyEndAllowThreads(__tstate
);
18366 if (PyErr_Occurred()) SWIG_fail
;
18368 Py_INCREF(Py_None
); resultobj
= Py_None
;
18375 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18376 PyObject
*resultobj
;
18377 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18379 PyObject
* obj0
= 0 ;
18380 char *kwnames
[] = {
18381 (char *) "self", NULL
18384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
18385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18389 result
= (int)(arg1
)->GetNoCopies();
18391 wxPyEndAllowThreads(__tstate
);
18392 if (PyErr_Occurred()) SWIG_fail
;
18394 resultobj
= SWIG_From_int((int)result
);
18401 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18402 PyObject
*resultobj
;
18403 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18405 PyObject
* obj0
= 0 ;
18406 char *kwnames
[] = {
18407 (char *) "self", NULL
18410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
18411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18415 result
= (bool)(arg1
)->GetCollate();
18417 wxPyEndAllowThreads(__tstate
);
18418 if (PyErr_Occurred()) SWIG_fail
;
18421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18429 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18430 PyObject
*resultobj
;
18431 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18433 PyObject
* obj0
= 0 ;
18434 char *kwnames
[] = {
18435 (char *) "self", NULL
18438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
18439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18443 result
= (int)(arg1
)->GetOrientation();
18445 wxPyEndAllowThreads(__tstate
);
18446 if (PyErr_Occurred()) SWIG_fail
;
18448 resultobj
= SWIG_From_int((int)result
);
18455 static PyObject
*_wrap_PrintData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18456 PyObject
*resultobj
;
18457 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18459 PyObject
* obj0
= 0 ;
18460 char *kwnames
[] = {
18461 (char *) "self", NULL
18464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
18465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18469 result
= (bool)(arg1
)->Ok();
18471 wxPyEndAllowThreads(__tstate
);
18472 if (PyErr_Occurred()) SWIG_fail
;
18475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18483 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18484 PyObject
*resultobj
;
18485 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18487 PyObject
* obj0
= 0 ;
18488 char *kwnames
[] = {
18489 (char *) "self", NULL
18492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
18493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18498 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
18499 result
= (wxString
*) &_result_ref
;
18502 wxPyEndAllowThreads(__tstate
);
18503 if (PyErr_Occurred()) SWIG_fail
;
18507 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18509 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18518 static PyObject
*_wrap_PrintData_GetColour(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_GetColour",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
= (bool)(arg1
)->GetColour();
18534 wxPyEndAllowThreads(__tstate
);
18535 if (PyErr_Occurred()) SWIG_fail
;
18538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18546 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18547 PyObject
*resultobj
;
18548 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18550 PyObject
* obj0
= 0 ;
18551 char *kwnames
[] = {
18552 (char *) "self", NULL
18555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
18556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18560 result
= (int)(arg1
)->GetDuplex();
18562 wxPyEndAllowThreads(__tstate
);
18563 if (PyErr_Occurred()) SWIG_fail
;
18565 resultobj
= SWIG_From_int((int)result
);
18572 static PyObject
*_wrap_PrintData_GetPaperId(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_GetPaperId",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();
18586 result
= (int)(arg1
)->GetPaperId();
18588 wxPyEndAllowThreads(__tstate
);
18589 if (PyErr_Occurred()) SWIG_fail
;
18591 resultobj
= SWIG_From_int((int)result
);
18598 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18599 PyObject
*resultobj
;
18600 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18602 PyObject
* obj0
= 0 ;
18603 char *kwnames
[] = {
18604 (char *) "self", NULL
18607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
18608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18613 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
18614 result
= (wxSize
*) &_result_ref
;
18617 wxPyEndAllowThreads(__tstate
);
18618 if (PyErr_Occurred()) SWIG_fail
;
18620 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
18627 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18628 PyObject
*resultobj
;
18629 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18631 PyObject
* obj0
= 0 ;
18632 char *kwnames
[] = {
18633 (char *) "self", NULL
18636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
18637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18641 result
= (int)(arg1
)->GetQuality();
18643 wxPyEndAllowThreads(__tstate
);
18644 if (PyErr_Occurred()) SWIG_fail
;
18646 resultobj
= SWIG_From_int((int)result
);
18653 static PyObject
*_wrap_PrintData_GetBin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18654 PyObject
*resultobj
;
18655 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18657 PyObject
* obj0
= 0 ;
18658 char *kwnames
[] = {
18659 (char *) "self", NULL
18662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetBin",kwnames
,&obj0
)) goto fail
;
18663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18667 result
= (int)(arg1
)->GetBin();
18669 wxPyEndAllowThreads(__tstate
);
18670 if (PyErr_Occurred()) SWIG_fail
;
18672 resultobj
= SWIG_From_int((int)result
);
18679 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18680 PyObject
*resultobj
;
18681 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18683 PyObject
* obj0
= 0 ;
18684 PyObject
* obj1
= 0 ;
18685 char *kwnames
[] = {
18686 (char *) "self",(char *) "v", NULL
18689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
18690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18692 arg2
= (int)SWIG_As_int(obj1
);
18693 if (PyErr_Occurred()) SWIG_fail
;
18695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18696 (arg1
)->SetNoCopies(arg2
);
18698 wxPyEndAllowThreads(__tstate
);
18699 if (PyErr_Occurred()) SWIG_fail
;
18701 Py_INCREF(Py_None
); resultobj
= Py_None
;
18708 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18709 PyObject
*resultobj
;
18710 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18712 PyObject
* obj0
= 0 ;
18713 PyObject
* obj1
= 0 ;
18714 char *kwnames
[] = {
18715 (char *) "self",(char *) "flag", NULL
18718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
18719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18721 arg2
= (bool)SWIG_As_bool(obj1
);
18722 if (PyErr_Occurred()) SWIG_fail
;
18724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18725 (arg1
)->SetCollate(arg2
);
18727 wxPyEndAllowThreads(__tstate
);
18728 if (PyErr_Occurred()) SWIG_fail
;
18730 Py_INCREF(Py_None
); resultobj
= Py_None
;
18737 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18738 PyObject
*resultobj
;
18739 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18741 PyObject
* obj0
= 0 ;
18742 PyObject
* obj1
= 0 ;
18743 char *kwnames
[] = {
18744 (char *) "self",(char *) "orient", NULL
18747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
18748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18750 arg2
= (int)SWIG_As_int(obj1
);
18751 if (PyErr_Occurred()) SWIG_fail
;
18753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18754 (arg1
)->SetOrientation(arg2
);
18756 wxPyEndAllowThreads(__tstate
);
18757 if (PyErr_Occurred()) SWIG_fail
;
18759 Py_INCREF(Py_None
); resultobj
= Py_None
;
18766 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18767 PyObject
*resultobj
;
18768 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18769 wxString
*arg2
= 0 ;
18770 bool temp2
= false ;
18771 PyObject
* obj0
= 0 ;
18772 PyObject
* obj1
= 0 ;
18773 char *kwnames
[] = {
18774 (char *) "self",(char *) "name", NULL
18777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
18778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18781 arg2
= wxString_in_helper(obj1
);
18782 if (arg2
== NULL
) SWIG_fail
;
18786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18787 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
18789 wxPyEndAllowThreads(__tstate
);
18790 if (PyErr_Occurred()) SWIG_fail
;
18792 Py_INCREF(Py_None
); resultobj
= Py_None
;
18807 static PyObject
*_wrap_PrintData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18808 PyObject
*resultobj
;
18809 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18811 PyObject
* obj0
= 0 ;
18812 PyObject
* obj1
= 0 ;
18813 char *kwnames
[] = {
18814 (char *) "self",(char *) "colour", NULL
18817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18820 arg2
= (bool)SWIG_As_bool(obj1
);
18821 if (PyErr_Occurred()) SWIG_fail
;
18823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18824 (arg1
)->SetColour(arg2
);
18826 wxPyEndAllowThreads(__tstate
);
18827 if (PyErr_Occurred()) SWIG_fail
;
18829 Py_INCREF(Py_None
); resultobj
= Py_None
;
18836 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18837 PyObject
*resultobj
;
18838 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18840 PyObject
* obj0
= 0 ;
18841 PyObject
* obj1
= 0 ;
18842 char *kwnames
[] = {
18843 (char *) "self",(char *) "duplex", NULL
18846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
18847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18849 arg2
= (int)SWIG_As_int(obj1
);
18850 if (PyErr_Occurred()) SWIG_fail
;
18852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18853 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
18855 wxPyEndAllowThreads(__tstate
);
18856 if (PyErr_Occurred()) SWIG_fail
;
18858 Py_INCREF(Py_None
); resultobj
= Py_None
;
18865 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18866 PyObject
*resultobj
;
18867 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18869 PyObject
* obj0
= 0 ;
18870 PyObject
* obj1
= 0 ;
18871 char *kwnames
[] = {
18872 (char *) "self",(char *) "sizeId", NULL
18875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
18876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18878 arg2
= (int)SWIG_As_int(obj1
);
18879 if (PyErr_Occurred()) SWIG_fail
;
18881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18882 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
18884 wxPyEndAllowThreads(__tstate
);
18885 if (PyErr_Occurred()) SWIG_fail
;
18887 Py_INCREF(Py_None
); resultobj
= Py_None
;
18894 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18895 PyObject
*resultobj
;
18896 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18899 PyObject
* obj0
= 0 ;
18900 PyObject
* obj1
= 0 ;
18901 char *kwnames
[] = {
18902 (char *) "self",(char *) "sz", NULL
18905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18910 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18914 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
18916 wxPyEndAllowThreads(__tstate
);
18917 if (PyErr_Occurred()) SWIG_fail
;
18919 Py_INCREF(Py_None
); resultobj
= Py_None
;
18926 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18927 PyObject
*resultobj
;
18928 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18930 PyObject
* obj0
= 0 ;
18931 PyObject
* obj1
= 0 ;
18932 char *kwnames
[] = {
18933 (char *) "self",(char *) "quality", NULL
18936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
18937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18939 arg2
= (int)SWIG_As_int(obj1
);
18940 if (PyErr_Occurred()) SWIG_fail
;
18942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18943 (arg1
)->SetQuality(arg2
);
18945 wxPyEndAllowThreads(__tstate
);
18946 if (PyErr_Occurred()) SWIG_fail
;
18948 Py_INCREF(Py_None
); resultobj
= Py_None
;
18955 static PyObject
*_wrap_PrintData_SetBin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18956 PyObject
*resultobj
;
18957 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18959 PyObject
* obj0
= 0 ;
18960 PyObject
* obj1
= 0 ;
18961 char *kwnames
[] = {
18962 (char *) "self",(char *) "bin", NULL
18965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) goto fail
;
18966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18968 arg2
= (int)SWIG_As_int(obj1
);
18969 if (PyErr_Occurred()) SWIG_fail
;
18971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18972 (arg1
)->SetBin((wxPrintBin
)arg2
);
18974 wxPyEndAllowThreads(__tstate
);
18975 if (PyErr_Occurred()) SWIG_fail
;
18977 Py_INCREF(Py_None
); resultobj
= Py_None
;
18984 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18985 PyObject
*resultobj
;
18986 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18988 PyObject
* obj0
= 0 ;
18989 char *kwnames
[] = {
18990 (char *) "self", NULL
18993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
18994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18999 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
19000 result
= (wxString
*) &_result_ref
;
19003 wxPyEndAllowThreads(__tstate
);
19004 if (PyErr_Occurred()) SWIG_fail
;
19008 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19010 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19019 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19020 PyObject
*resultobj
;
19021 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19023 PyObject
* obj0
= 0 ;
19024 char *kwnames
[] = {
19025 (char *) "self", NULL
19028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
19029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19034 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
19035 result
= (wxString
*) &_result_ref
;
19038 wxPyEndAllowThreads(__tstate
);
19039 if (PyErr_Occurred()) SWIG_fail
;
19043 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19045 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19054 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19055 PyObject
*resultobj
;
19056 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19058 PyObject
* obj0
= 0 ;
19059 char *kwnames
[] = {
19060 (char *) "self", NULL
19063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
19064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19069 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
19070 result
= (wxString
*) &_result_ref
;
19073 wxPyEndAllowThreads(__tstate
);
19074 if (PyErr_Occurred()) SWIG_fail
;
19078 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19080 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19089 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19090 PyObject
*resultobj
;
19091 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19093 PyObject
* obj0
= 0 ;
19094 char *kwnames
[] = {
19095 (char *) "self", NULL
19098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
19099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19104 wxString
const &_result_ref
= (arg1
)->GetFilename();
19105 result
= (wxString
*) &_result_ref
;
19108 wxPyEndAllowThreads(__tstate
);
19109 if (PyErr_Occurred()) SWIG_fail
;
19113 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19115 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19124 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19125 PyObject
*resultobj
;
19126 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19128 PyObject
* obj0
= 0 ;
19129 char *kwnames
[] = {
19130 (char *) "self", NULL
19133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
19134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19139 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
19140 result
= (wxString
*) &_result_ref
;
19143 wxPyEndAllowThreads(__tstate
);
19144 if (PyErr_Occurred()) SWIG_fail
;
19148 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19150 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19159 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19160 PyObject
*resultobj
;
19161 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19163 PyObject
* obj0
= 0 ;
19164 char *kwnames
[] = {
19165 (char *) "self", NULL
19168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
19169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19173 result
= (double)(arg1
)->GetPrinterScaleX();
19175 wxPyEndAllowThreads(__tstate
);
19176 if (PyErr_Occurred()) SWIG_fail
;
19178 resultobj
= SWIG_From_double((double)result
);
19185 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19186 PyObject
*resultobj
;
19187 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19189 PyObject
* obj0
= 0 ;
19190 char *kwnames
[] = {
19191 (char *) "self", NULL
19194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
19195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19199 result
= (double)(arg1
)->GetPrinterScaleY();
19201 wxPyEndAllowThreads(__tstate
);
19202 if (PyErr_Occurred()) SWIG_fail
;
19204 resultobj
= SWIG_From_double((double)result
);
19211 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19212 PyObject
*resultobj
;
19213 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19215 PyObject
* obj0
= 0 ;
19216 char *kwnames
[] = {
19217 (char *) "self", NULL
19220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
19221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19225 result
= (long)(arg1
)->GetPrinterTranslateX();
19227 wxPyEndAllowThreads(__tstate
);
19228 if (PyErr_Occurred()) SWIG_fail
;
19230 resultobj
= SWIG_From_long((long)result
);
19237 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19238 PyObject
*resultobj
;
19239 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19241 PyObject
* obj0
= 0 ;
19242 char *kwnames
[] = {
19243 (char *) "self", NULL
19246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
19247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19251 result
= (long)(arg1
)->GetPrinterTranslateY();
19253 wxPyEndAllowThreads(__tstate
);
19254 if (PyErr_Occurred()) SWIG_fail
;
19256 resultobj
= SWIG_From_long((long)result
);
19263 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19264 PyObject
*resultobj
;
19265 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19267 PyObject
* obj0
= 0 ;
19268 char *kwnames
[] = {
19269 (char *) "self", NULL
19272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
19273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19277 result
= (int)(arg1
)->GetPrintMode();
19279 wxPyEndAllowThreads(__tstate
);
19280 if (PyErr_Occurred()) SWIG_fail
;
19282 resultobj
= SWIG_From_int((int)result
);
19289 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19290 PyObject
*resultobj
;
19291 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19292 wxString
*arg2
= 0 ;
19293 bool temp2
= false ;
19294 PyObject
* obj0
= 0 ;
19295 PyObject
* obj1
= 0 ;
19296 char *kwnames
[] = {
19297 (char *) "self",(char *) "command", NULL
19300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
19301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19304 arg2
= wxString_in_helper(obj1
);
19305 if (arg2
== NULL
) SWIG_fail
;
19309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19310 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
19312 wxPyEndAllowThreads(__tstate
);
19313 if (PyErr_Occurred()) SWIG_fail
;
19315 Py_INCREF(Py_None
); resultobj
= Py_None
;
19330 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19331 PyObject
*resultobj
;
19332 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19333 wxString
*arg2
= 0 ;
19334 bool temp2
= false ;
19335 PyObject
* obj0
= 0 ;
19336 PyObject
* obj1
= 0 ;
19337 char *kwnames
[] = {
19338 (char *) "self",(char *) "options", NULL
19341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
19342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19345 arg2
= wxString_in_helper(obj1
);
19346 if (arg2
== NULL
) SWIG_fail
;
19350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19351 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
19353 wxPyEndAllowThreads(__tstate
);
19354 if (PyErr_Occurred()) SWIG_fail
;
19356 Py_INCREF(Py_None
); resultobj
= Py_None
;
19371 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19372 PyObject
*resultobj
;
19373 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19374 wxString
*arg2
= 0 ;
19375 bool temp2
= false ;
19376 PyObject
* obj0
= 0 ;
19377 PyObject
* obj1
= 0 ;
19378 char *kwnames
[] = {
19379 (char *) "self",(char *) "command", NULL
19382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
19383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19386 arg2
= wxString_in_helper(obj1
);
19387 if (arg2
== NULL
) SWIG_fail
;
19391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19392 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
19394 wxPyEndAllowThreads(__tstate
);
19395 if (PyErr_Occurred()) SWIG_fail
;
19397 Py_INCREF(Py_None
); resultobj
= Py_None
;
19412 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19413 PyObject
*resultobj
;
19414 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19415 wxString
*arg2
= 0 ;
19416 bool temp2
= false ;
19417 PyObject
* obj0
= 0 ;
19418 PyObject
* obj1
= 0 ;
19419 char *kwnames
[] = {
19420 (char *) "self",(char *) "filename", NULL
19423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
19424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19427 arg2
= wxString_in_helper(obj1
);
19428 if (arg2
== NULL
) SWIG_fail
;
19432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19433 (arg1
)->SetFilename((wxString
const &)*arg2
);
19435 wxPyEndAllowThreads(__tstate
);
19436 if (PyErr_Occurred()) SWIG_fail
;
19438 Py_INCREF(Py_None
); resultobj
= Py_None
;
19453 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19454 PyObject
*resultobj
;
19455 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19456 wxString
*arg2
= 0 ;
19457 bool temp2
= false ;
19458 PyObject
* obj0
= 0 ;
19459 PyObject
* obj1
= 0 ;
19460 char *kwnames
[] = {
19461 (char *) "self",(char *) "path", NULL
19464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
19465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19468 arg2
= wxString_in_helper(obj1
);
19469 if (arg2
== NULL
) SWIG_fail
;
19473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19474 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
19476 wxPyEndAllowThreads(__tstate
);
19477 if (PyErr_Occurred()) SWIG_fail
;
19479 Py_INCREF(Py_None
); resultobj
= Py_None
;
19494 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19495 PyObject
*resultobj
;
19496 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19498 PyObject
* obj0
= 0 ;
19499 PyObject
* obj1
= 0 ;
19500 char *kwnames
[] = {
19501 (char *) "self",(char *) "x", NULL
19504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
19505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19507 arg2
= (double)SWIG_As_double(obj1
);
19508 if (PyErr_Occurred()) SWIG_fail
;
19510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19511 (arg1
)->SetPrinterScaleX(arg2
);
19513 wxPyEndAllowThreads(__tstate
);
19514 if (PyErr_Occurred()) SWIG_fail
;
19516 Py_INCREF(Py_None
); resultobj
= Py_None
;
19523 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19524 PyObject
*resultobj
;
19525 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19527 PyObject
* obj0
= 0 ;
19528 PyObject
* obj1
= 0 ;
19529 char *kwnames
[] = {
19530 (char *) "self",(char *) "y", NULL
19533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
19534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19536 arg2
= (double)SWIG_As_double(obj1
);
19537 if (PyErr_Occurred()) SWIG_fail
;
19539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19540 (arg1
)->SetPrinterScaleY(arg2
);
19542 wxPyEndAllowThreads(__tstate
);
19543 if (PyErr_Occurred()) SWIG_fail
;
19545 Py_INCREF(Py_None
); resultobj
= Py_None
;
19552 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19553 PyObject
*resultobj
;
19554 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19557 PyObject
* obj0
= 0 ;
19558 PyObject
* obj1
= 0 ;
19559 PyObject
* obj2
= 0 ;
19560 char *kwnames
[] = {
19561 (char *) "self",(char *) "x",(char *) "y", NULL
19564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19567 arg2
= (double)SWIG_As_double(obj1
);
19568 if (PyErr_Occurred()) SWIG_fail
;
19569 arg3
= (double)SWIG_As_double(obj2
);
19570 if (PyErr_Occurred()) SWIG_fail
;
19572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19573 (arg1
)->SetPrinterScaling(arg2
,arg3
);
19575 wxPyEndAllowThreads(__tstate
);
19576 if (PyErr_Occurred()) SWIG_fail
;
19578 Py_INCREF(Py_None
); resultobj
= Py_None
;
19585 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19586 PyObject
*resultobj
;
19587 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19589 PyObject
* obj0
= 0 ;
19590 PyObject
* obj1
= 0 ;
19591 char *kwnames
[] = {
19592 (char *) "self",(char *) "x", NULL
19595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
19596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19598 arg2
= (long)SWIG_As_long(obj1
);
19599 if (PyErr_Occurred()) SWIG_fail
;
19601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19602 (arg1
)->SetPrinterTranslateX(arg2
);
19604 wxPyEndAllowThreads(__tstate
);
19605 if (PyErr_Occurred()) SWIG_fail
;
19607 Py_INCREF(Py_None
); resultobj
= Py_None
;
19614 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19615 PyObject
*resultobj
;
19616 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19618 PyObject
* obj0
= 0 ;
19619 PyObject
* obj1
= 0 ;
19620 char *kwnames
[] = {
19621 (char *) "self",(char *) "y", NULL
19624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
19625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19627 arg2
= (long)SWIG_As_long(obj1
);
19628 if (PyErr_Occurred()) SWIG_fail
;
19630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19631 (arg1
)->SetPrinterTranslateY(arg2
);
19633 wxPyEndAllowThreads(__tstate
);
19634 if (PyErr_Occurred()) SWIG_fail
;
19636 Py_INCREF(Py_None
); resultobj
= Py_None
;
19643 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19644 PyObject
*resultobj
;
19645 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19648 PyObject
* obj0
= 0 ;
19649 PyObject
* obj1
= 0 ;
19650 PyObject
* obj2
= 0 ;
19651 char *kwnames
[] = {
19652 (char *) "self",(char *) "x",(char *) "y", NULL
19655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19658 arg2
= (long)SWIG_As_long(obj1
);
19659 if (PyErr_Occurred()) SWIG_fail
;
19660 arg3
= (long)SWIG_As_long(obj2
);
19661 if (PyErr_Occurred()) SWIG_fail
;
19663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19664 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
19666 wxPyEndAllowThreads(__tstate
);
19667 if (PyErr_Occurred()) SWIG_fail
;
19669 Py_INCREF(Py_None
); resultobj
= Py_None
;
19676 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19677 PyObject
*resultobj
;
19678 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19680 PyObject
* obj0
= 0 ;
19681 PyObject
* obj1
= 0 ;
19682 char *kwnames
[] = {
19683 (char *) "self",(char *) "printMode", NULL
19686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
19687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19689 arg2
= (int)SWIG_As_int(obj1
);
19690 if (PyErr_Occurred()) SWIG_fail
;
19692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19693 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
19695 wxPyEndAllowThreads(__tstate
);
19696 if (PyErr_Occurred()) SWIG_fail
;
19698 Py_INCREF(Py_None
); resultobj
= Py_None
;
19705 static PyObject
*_wrap_PrintData_GetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19706 PyObject
*resultobj
;
19707 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19708 wxOutputStream
*result
;
19709 PyObject
* obj0
= 0 ;
19710 char *kwnames
[] = {
19711 (char *) "self", NULL
19714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOutputStream",kwnames
,&obj0
)) goto fail
;
19715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19719 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
19721 wxPyEndAllowThreads(__tstate
);
19722 if (PyErr_Occurred()) SWIG_fail
;
19724 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
19731 static PyObject
*_wrap_PrintData_SetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19732 PyObject
*resultobj
;
19733 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19734 wxOutputStream
*arg2
= (wxOutputStream
*) 0 ;
19735 PyObject
* obj0
= 0 ;
19736 PyObject
* obj1
= 0 ;
19737 char *kwnames
[] = {
19738 (char *) "self",(char *) "outputstream", NULL
19741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOutputStream",kwnames
,&obj0
,&obj1
)) goto fail
;
19742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19744 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxOutputStream
,
19745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19748 (arg1
)->SetOutputStream(arg2
);
19750 wxPyEndAllowThreads(__tstate
);
19751 if (PyErr_Occurred()) SWIG_fail
;
19753 Py_INCREF(Py_None
); resultobj
= Py_None
;
19760 static PyObject
* PrintData_swigregister(PyObject
*, PyObject
*args
) {
19762 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19763 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
19765 return Py_BuildValue((char *)"");
19767 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
19768 PyObject
*resultobj
;
19769 wxPageSetupDialogData
*result
;
19771 if(!PyArg_ParseTuple(args
,(char *)":new_PageSetupDialogData")) goto fail
;
19773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19774 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
19776 wxPyEndAllowThreads(__tstate
);
19777 if (PyErr_Occurred()) SWIG_fail
;
19779 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
19786 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
19787 PyObject
*resultobj
;
19788 wxPageSetupDialogData
*arg1
= 0 ;
19789 wxPageSetupDialogData
*result
;
19790 PyObject
* obj0
= 0 ;
19792 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
19793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19794 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19796 if (arg1
== NULL
) {
19797 PyErr_SetString(PyExc_TypeError
,"null reference");
19801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19802 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
19804 wxPyEndAllowThreads(__tstate
);
19805 if (PyErr_Occurred()) SWIG_fail
;
19807 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
19814 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
19819 argc
= PyObject_Length(args
);
19820 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
19821 argv
[ii
] = PyTuple_GetItem(args
,ii
);
19824 return _wrap_new_PageSetupDialogData__SWIG_0(self
,args
);
19830 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPageSetupDialogData
, 0) == -1) {
19838 return _wrap_new_PageSetupDialogData__SWIG_1(self
,args
);
19842 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PageSetupDialogData'");
19847 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19848 PyObject
*resultobj
;
19849 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19850 PyObject
* obj0
= 0 ;
19851 char *kwnames
[] = {
19852 (char *) "self", NULL
19855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
19856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19862 wxPyEndAllowThreads(__tstate
);
19863 if (PyErr_Occurred()) SWIG_fail
;
19865 Py_INCREF(Py_None
); resultobj
= Py_None
;
19872 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19873 PyObject
*resultobj
;
19874 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19876 PyObject
* obj0
= 0 ;
19877 PyObject
* obj1
= 0 ;
19878 char *kwnames
[] = {
19879 (char *) "self",(char *) "flag", NULL
19882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19885 arg2
= (bool)SWIG_As_bool(obj1
);
19886 if (PyErr_Occurred()) SWIG_fail
;
19888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19889 (arg1
)->EnableHelp(arg2
);
19891 wxPyEndAllowThreads(__tstate
);
19892 if (PyErr_Occurred()) SWIG_fail
;
19894 Py_INCREF(Py_None
); resultobj
= Py_None
;
19901 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19902 PyObject
*resultobj
;
19903 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19905 PyObject
* obj0
= 0 ;
19906 PyObject
* obj1
= 0 ;
19907 char *kwnames
[] = {
19908 (char *) "self",(char *) "flag", NULL
19911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
19912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19914 arg2
= (bool)SWIG_As_bool(obj1
);
19915 if (PyErr_Occurred()) SWIG_fail
;
19917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19918 (arg1
)->EnableMargins(arg2
);
19920 wxPyEndAllowThreads(__tstate
);
19921 if (PyErr_Occurred()) SWIG_fail
;
19923 Py_INCREF(Py_None
); resultobj
= Py_None
;
19930 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19931 PyObject
*resultobj
;
19932 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19934 PyObject
* obj0
= 0 ;
19935 PyObject
* obj1
= 0 ;
19936 char *kwnames
[] = {
19937 (char *) "self",(char *) "flag", NULL
19940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
19941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19943 arg2
= (bool)SWIG_As_bool(obj1
);
19944 if (PyErr_Occurred()) SWIG_fail
;
19946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19947 (arg1
)->EnableOrientation(arg2
);
19949 wxPyEndAllowThreads(__tstate
);
19950 if (PyErr_Occurred()) SWIG_fail
;
19952 Py_INCREF(Py_None
); resultobj
= Py_None
;
19959 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19960 PyObject
*resultobj
;
19961 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19963 PyObject
* obj0
= 0 ;
19964 PyObject
* obj1
= 0 ;
19965 char *kwnames
[] = {
19966 (char *) "self",(char *) "flag", NULL
19969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
19970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19972 arg2
= (bool)SWIG_As_bool(obj1
);
19973 if (PyErr_Occurred()) SWIG_fail
;
19975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19976 (arg1
)->EnablePaper(arg2
);
19978 wxPyEndAllowThreads(__tstate
);
19979 if (PyErr_Occurred()) SWIG_fail
;
19981 Py_INCREF(Py_None
); resultobj
= Py_None
;
19988 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19989 PyObject
*resultobj
;
19990 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19992 PyObject
* obj0
= 0 ;
19993 PyObject
* obj1
= 0 ;
19994 char *kwnames
[] = {
19995 (char *) "self",(char *) "flag", NULL
19998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
19999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20001 arg2
= (bool)SWIG_As_bool(obj1
);
20002 if (PyErr_Occurred()) SWIG_fail
;
20004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20005 (arg1
)->EnablePrinter(arg2
);
20007 wxPyEndAllowThreads(__tstate
);
20008 if (PyErr_Occurred()) SWIG_fail
;
20010 Py_INCREF(Py_None
); resultobj
= Py_None
;
20017 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20018 PyObject
*resultobj
;
20019 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20021 PyObject
* obj0
= 0 ;
20022 char *kwnames
[] = {
20023 (char *) "self", NULL
20026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
20027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20031 result
= (bool)(arg1
)->GetDefaultMinMargins();
20033 wxPyEndAllowThreads(__tstate
);
20034 if (PyErr_Occurred()) SWIG_fail
;
20037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20045 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20046 PyObject
*resultobj
;
20047 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20049 PyObject
* obj0
= 0 ;
20050 char *kwnames
[] = {
20051 (char *) "self", NULL
20054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
20055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20059 result
= (bool)(arg1
)->GetEnableMargins();
20061 wxPyEndAllowThreads(__tstate
);
20062 if (PyErr_Occurred()) SWIG_fail
;
20065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20073 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20074 PyObject
*resultobj
;
20075 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20077 PyObject
* obj0
= 0 ;
20078 char *kwnames
[] = {
20079 (char *) "self", NULL
20082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
20083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20087 result
= (bool)(arg1
)->GetEnableOrientation();
20089 wxPyEndAllowThreads(__tstate
);
20090 if (PyErr_Occurred()) SWIG_fail
;
20093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20101 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20102 PyObject
*resultobj
;
20103 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20105 PyObject
* obj0
= 0 ;
20106 char *kwnames
[] = {
20107 (char *) "self", NULL
20110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
20111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20115 result
= (bool)(arg1
)->GetEnablePaper();
20117 wxPyEndAllowThreads(__tstate
);
20118 if (PyErr_Occurred()) SWIG_fail
;
20121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20129 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20130 PyObject
*resultobj
;
20131 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20133 PyObject
* obj0
= 0 ;
20134 char *kwnames
[] = {
20135 (char *) "self", NULL
20138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
20139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20143 result
= (bool)(arg1
)->GetEnablePrinter();
20145 wxPyEndAllowThreads(__tstate
);
20146 if (PyErr_Occurred()) SWIG_fail
;
20149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20157 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20158 PyObject
*resultobj
;
20159 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20161 PyObject
* obj0
= 0 ;
20162 char *kwnames
[] = {
20163 (char *) "self", NULL
20166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
20167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20171 result
= (bool)(arg1
)->GetEnableHelp();
20173 wxPyEndAllowThreads(__tstate
);
20174 if (PyErr_Occurred()) SWIG_fail
;
20177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20185 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20186 PyObject
*resultobj
;
20187 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20189 PyObject
* obj0
= 0 ;
20190 char *kwnames
[] = {
20191 (char *) "self", NULL
20194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
20195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20199 result
= (bool)(arg1
)->GetDefaultInfo();
20201 wxPyEndAllowThreads(__tstate
);
20202 if (PyErr_Occurred()) SWIG_fail
;
20205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20213 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20214 PyObject
*resultobj
;
20215 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20217 PyObject
* obj0
= 0 ;
20218 char *kwnames
[] = {
20219 (char *) "self", NULL
20222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
20223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20227 result
= (arg1
)->GetMarginTopLeft();
20229 wxPyEndAllowThreads(__tstate
);
20230 if (PyErr_Occurred()) SWIG_fail
;
20233 wxPoint
* resultptr
;
20234 resultptr
= new wxPoint((wxPoint
&) result
);
20235 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20243 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20244 PyObject
*resultobj
;
20245 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20247 PyObject
* obj0
= 0 ;
20248 char *kwnames
[] = {
20249 (char *) "self", NULL
20252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
20253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20257 result
= (arg1
)->GetMarginBottomRight();
20259 wxPyEndAllowThreads(__tstate
);
20260 if (PyErr_Occurred()) SWIG_fail
;
20263 wxPoint
* resultptr
;
20264 resultptr
= new wxPoint((wxPoint
&) result
);
20265 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20273 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20274 PyObject
*resultobj
;
20275 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20277 PyObject
* obj0
= 0 ;
20278 char *kwnames
[] = {
20279 (char *) "self", NULL
20282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
20283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20287 result
= (arg1
)->GetMinMarginTopLeft();
20289 wxPyEndAllowThreads(__tstate
);
20290 if (PyErr_Occurred()) SWIG_fail
;
20293 wxPoint
* resultptr
;
20294 resultptr
= new wxPoint((wxPoint
&) result
);
20295 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20303 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20304 PyObject
*resultobj
;
20305 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20307 PyObject
* obj0
= 0 ;
20308 char *kwnames
[] = {
20309 (char *) "self", NULL
20312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
20313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20317 result
= (arg1
)->GetMinMarginBottomRight();
20319 wxPyEndAllowThreads(__tstate
);
20320 if (PyErr_Occurred()) SWIG_fail
;
20323 wxPoint
* resultptr
;
20324 resultptr
= new wxPoint((wxPoint
&) result
);
20325 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20333 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20334 PyObject
*resultobj
;
20335 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20337 PyObject
* obj0
= 0 ;
20338 char *kwnames
[] = {
20339 (char *) "self", NULL
20342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
20343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20347 result
= (int)(arg1
)->GetPaperId();
20349 wxPyEndAllowThreads(__tstate
);
20350 if (PyErr_Occurred()) SWIG_fail
;
20352 resultobj
= SWIG_From_int((int)result
);
20359 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20360 PyObject
*resultobj
;
20361 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20363 PyObject
* obj0
= 0 ;
20364 char *kwnames
[] = {
20365 (char *) "self", NULL
20368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
20369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20373 result
= (arg1
)->GetPaperSize();
20375 wxPyEndAllowThreads(__tstate
);
20376 if (PyErr_Occurred()) SWIG_fail
;
20379 wxSize
* resultptr
;
20380 resultptr
= new wxSize((wxSize
&) result
);
20381 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20389 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20390 PyObject
*resultobj
;
20391 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20392 wxPrintData
*result
;
20393 PyObject
* obj0
= 0 ;
20394 char *kwnames
[] = {
20395 (char *) "self", NULL
20398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
20399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20404 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
20405 result
= (wxPrintData
*) &_result_ref
;
20408 wxPyEndAllowThreads(__tstate
);
20409 if (PyErr_Occurred()) SWIG_fail
;
20411 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
20418 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20419 PyObject
*resultobj
;
20420 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20422 PyObject
* obj0
= 0 ;
20423 char *kwnames
[] = {
20424 (char *) "self", NULL
20427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
20428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20432 result
= (bool)(arg1
)->Ok();
20434 wxPyEndAllowThreads(__tstate
);
20435 if (PyErr_Occurred()) SWIG_fail
;
20438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20446 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20447 PyObject
*resultobj
;
20448 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20450 PyObject
* obj0
= 0 ;
20451 PyObject
* obj1
= 0 ;
20452 char *kwnames
[] = {
20453 (char *) "self",(char *) "flag", NULL
20456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
20457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20459 arg2
= (bool)SWIG_As_bool(obj1
);
20460 if (PyErr_Occurred()) SWIG_fail
;
20462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20463 (arg1
)->SetDefaultInfo(arg2
);
20465 wxPyEndAllowThreads(__tstate
);
20466 if (PyErr_Occurred()) SWIG_fail
;
20468 Py_INCREF(Py_None
); resultobj
= Py_None
;
20475 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20476 PyObject
*resultobj
;
20477 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20479 PyObject
* obj0
= 0 ;
20480 PyObject
* obj1
= 0 ;
20481 char *kwnames
[] = {
20482 (char *) "self",(char *) "flag", NULL
20485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
20486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20488 arg2
= (bool)SWIG_As_bool(obj1
);
20489 if (PyErr_Occurred()) SWIG_fail
;
20491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20492 (arg1
)->SetDefaultMinMargins(arg2
);
20494 wxPyEndAllowThreads(__tstate
);
20495 if (PyErr_Occurred()) SWIG_fail
;
20497 Py_INCREF(Py_None
); resultobj
= Py_None
;
20504 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20505 PyObject
*resultobj
;
20506 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20507 wxPoint
*arg2
= 0 ;
20509 PyObject
* obj0
= 0 ;
20510 PyObject
* obj1
= 0 ;
20511 char *kwnames
[] = {
20512 (char *) "self",(char *) "pt", NULL
20515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
20516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20520 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20524 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
20526 wxPyEndAllowThreads(__tstate
);
20527 if (PyErr_Occurred()) SWIG_fail
;
20529 Py_INCREF(Py_None
); resultobj
= Py_None
;
20536 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20537 PyObject
*resultobj
;
20538 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20539 wxPoint
*arg2
= 0 ;
20541 PyObject
* obj0
= 0 ;
20542 PyObject
* obj1
= 0 ;
20543 char *kwnames
[] = {
20544 (char *) "self",(char *) "pt", NULL
20547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
20548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20552 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20556 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
20558 wxPyEndAllowThreads(__tstate
);
20559 if (PyErr_Occurred()) SWIG_fail
;
20561 Py_INCREF(Py_None
); resultobj
= Py_None
;
20568 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20569 PyObject
*resultobj
;
20570 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20571 wxPoint
*arg2
= 0 ;
20573 PyObject
* obj0
= 0 ;
20574 PyObject
* obj1
= 0 ;
20575 char *kwnames
[] = {
20576 (char *) "self",(char *) "pt", NULL
20579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
20580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20584 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20588 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
20590 wxPyEndAllowThreads(__tstate
);
20591 if (PyErr_Occurred()) SWIG_fail
;
20593 Py_INCREF(Py_None
); resultobj
= Py_None
;
20600 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20601 PyObject
*resultobj
;
20602 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20603 wxPoint
*arg2
= 0 ;
20605 PyObject
* obj0
= 0 ;
20606 PyObject
* obj1
= 0 ;
20607 char *kwnames
[] = {
20608 (char *) "self",(char *) "pt", NULL
20611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
20612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20616 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20620 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
20622 wxPyEndAllowThreads(__tstate
);
20623 if (PyErr_Occurred()) SWIG_fail
;
20625 Py_INCREF(Py_None
); resultobj
= Py_None
;
20632 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20633 PyObject
*resultobj
;
20634 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20636 PyObject
* obj0
= 0 ;
20637 PyObject
* obj1
= 0 ;
20638 char *kwnames
[] = {
20639 (char *) "self",(char *) "id", NULL
20642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
20643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20645 arg2
= (int)SWIG_As_int(obj1
);
20646 if (PyErr_Occurred()) SWIG_fail
;
20648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20649 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
20651 wxPyEndAllowThreads(__tstate
);
20652 if (PyErr_Occurred()) SWIG_fail
;
20654 Py_INCREF(Py_None
); resultobj
= Py_None
;
20661 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20662 PyObject
*resultobj
;
20663 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20666 PyObject
* obj0
= 0 ;
20667 PyObject
* obj1
= 0 ;
20668 char *kwnames
[] = {
20669 (char *) "self",(char *) "size", NULL
20672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20677 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20681 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
20683 wxPyEndAllowThreads(__tstate
);
20684 if (PyErr_Occurred()) SWIG_fail
;
20686 Py_INCREF(Py_None
); resultobj
= Py_None
;
20693 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20694 PyObject
*resultobj
;
20695 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20696 wxPrintData
*arg2
= 0 ;
20697 PyObject
* obj0
= 0 ;
20698 PyObject
* obj1
= 0 ;
20699 char *kwnames
[] = {
20700 (char *) "self",(char *) "printData", NULL
20703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
20704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20706 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
20707 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20709 if (arg2
== NULL
) {
20710 PyErr_SetString(PyExc_TypeError
,"null reference");
20714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20715 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
20717 wxPyEndAllowThreads(__tstate
);
20718 if (PyErr_Occurred()) SWIG_fail
;
20720 Py_INCREF(Py_None
); resultobj
= Py_None
;
20727 static PyObject
* PageSetupDialogData_swigregister(PyObject
*, PyObject
*args
) {
20729 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20730 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
20732 return Py_BuildValue((char *)"");
20734 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20735 PyObject
*resultobj
;
20736 wxWindow
*arg1
= (wxWindow
*) 0 ;
20737 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
20738 wxPageSetupDialog
*result
;
20739 PyObject
* obj0
= 0 ;
20740 PyObject
* obj1
= 0 ;
20741 char *kwnames
[] = {
20742 (char *) "parent",(char *) "data", NULL
20745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
20746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20749 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPageSetupDialogData
,
20750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20753 if (!wxPyCheckForApp()) SWIG_fail
;
20754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20755 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
20757 wxPyEndAllowThreads(__tstate
);
20758 if (PyErr_Occurred()) SWIG_fail
;
20760 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
20767 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20768 PyObject
*resultobj
;
20769 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
20770 wxPageSetupDialogData
*result
;
20771 PyObject
* obj0
= 0 ;
20772 char *kwnames
[] = {
20773 (char *) "self", NULL
20776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
20777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
20778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20782 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
20783 result
= (wxPageSetupDialogData
*) &_result_ref
;
20786 wxPyEndAllowThreads(__tstate
);
20787 if (PyErr_Occurred()) SWIG_fail
;
20789 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
20796 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20797 PyObject
*resultobj
;
20798 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
20800 PyObject
* obj0
= 0 ;
20801 char *kwnames
[] = {
20802 (char *) "self", NULL
20805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
20806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
20807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20810 result
= (int)(arg1
)->ShowModal();
20812 wxPyEndAllowThreads(__tstate
);
20813 if (PyErr_Occurred()) SWIG_fail
;
20815 resultobj
= SWIG_From_int((int)result
);
20822 static PyObject
* PageSetupDialog_swigregister(PyObject
*, PyObject
*args
) {
20824 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20825 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
20827 return Py_BuildValue((char *)"");
20829 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
20830 PyObject
*resultobj
;
20831 wxPrintDialogData
*result
;
20833 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
20835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20836 result
= (wxPrintDialogData
*)new wxPrintDialogData();
20838 wxPyEndAllowThreads(__tstate
);
20839 if (PyErr_Occurred()) SWIG_fail
;
20841 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
20848 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
20849 PyObject
*resultobj
;
20850 wxPrintData
*arg1
= 0 ;
20851 wxPrintDialogData
*result
;
20852 PyObject
* obj0
= 0 ;
20854 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
20855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
20856 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20858 if (arg1
== NULL
) {
20859 PyErr_SetString(PyExc_TypeError
,"null reference");
20863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20864 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
20866 wxPyEndAllowThreads(__tstate
);
20867 if (PyErr_Occurred()) SWIG_fail
;
20869 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
20876 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
20881 argc
= PyObject_Length(args
);
20882 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
20883 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20886 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
20892 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
20900 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
20904 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintDialogData'");
20909 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20910 PyObject
*resultobj
;
20911 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20912 PyObject
* obj0
= 0 ;
20913 char *kwnames
[] = {
20914 (char *) "self", NULL
20917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
20918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20924 wxPyEndAllowThreads(__tstate
);
20925 if (PyErr_Occurred()) SWIG_fail
;
20927 Py_INCREF(Py_None
); resultobj
= Py_None
;
20934 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20935 PyObject
*resultobj
;
20936 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20938 PyObject
* obj0
= 0 ;
20939 char *kwnames
[] = {
20940 (char *) "self", NULL
20943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
20944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20948 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
20950 wxPyEndAllowThreads(__tstate
);
20951 if (PyErr_Occurred()) SWIG_fail
;
20953 resultobj
= SWIG_From_int((int)result
);
20960 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20961 PyObject
*resultobj
;
20962 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20964 PyObject
* obj0
= 0 ;
20965 char *kwnames
[] = {
20966 (char *) "self", NULL
20969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
20970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20974 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
20976 wxPyEndAllowThreads(__tstate
);
20977 if (PyErr_Occurred()) SWIG_fail
;
20979 resultobj
= SWIG_From_int((int)result
);
20986 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20987 PyObject
*resultobj
;
20988 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20990 PyObject
* obj0
= 0 ;
20991 char *kwnames
[] = {
20992 (char *) "self", NULL
20995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
20996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21000 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
21002 wxPyEndAllowThreads(__tstate
);
21003 if (PyErr_Occurred()) SWIG_fail
;
21005 resultobj
= SWIG_From_int((int)result
);
21012 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21013 PyObject
*resultobj
;
21014 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21016 PyObject
* obj0
= 0 ;
21017 char *kwnames
[] = {
21018 (char *) "self", NULL
21021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
21022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21026 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
21028 wxPyEndAllowThreads(__tstate
);
21029 if (PyErr_Occurred()) SWIG_fail
;
21031 resultobj
= SWIG_From_int((int)result
);
21038 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21039 PyObject
*resultobj
;
21040 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21042 PyObject
* obj0
= 0 ;
21043 char *kwnames
[] = {
21044 (char *) "self", NULL
21047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
21048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21052 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
21054 wxPyEndAllowThreads(__tstate
);
21055 if (PyErr_Occurred()) SWIG_fail
;
21057 resultobj
= SWIG_From_int((int)result
);
21064 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21065 PyObject
*resultobj
;
21066 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21068 PyObject
* obj0
= 0 ;
21069 char *kwnames
[] = {
21070 (char *) "self", NULL
21073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
21074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21078 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
21080 wxPyEndAllowThreads(__tstate
);
21081 if (PyErr_Occurred()) SWIG_fail
;
21084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21092 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21093 PyObject
*resultobj
;
21094 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21096 PyObject
* obj0
= 0 ;
21097 char *kwnames
[] = {
21098 (char *) "self", NULL
21101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
21102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21106 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
21108 wxPyEndAllowThreads(__tstate
);
21109 if (PyErr_Occurred()) SWIG_fail
;
21112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21120 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21121 PyObject
*resultobj
;
21122 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21124 PyObject
* obj0
= 0 ;
21125 char *kwnames
[] = {
21126 (char *) "self", NULL
21129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
21130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21134 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
21136 wxPyEndAllowThreads(__tstate
);
21137 if (PyErr_Occurred()) SWIG_fail
;
21140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21148 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21149 PyObject
*resultobj
;
21150 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21152 PyObject
* obj0
= 0 ;
21153 char *kwnames
[] = {
21154 (char *) "self", NULL
21157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
21158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21162 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
21164 wxPyEndAllowThreads(__tstate
);
21165 if (PyErr_Occurred()) SWIG_fail
;
21168 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21176 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21177 PyObject
*resultobj
;
21178 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21180 PyObject
* obj0
= 0 ;
21181 char *kwnames
[] = {
21182 (char *) "self", NULL
21185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
21186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21190 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
21192 wxPyEndAllowThreads(__tstate
);
21193 if (PyErr_Occurred()) SWIG_fail
;
21196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21204 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21205 PyObject
*resultobj
;
21206 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21208 PyObject
* obj0
= 0 ;
21209 PyObject
* obj1
= 0 ;
21210 char *kwnames
[] = {
21211 (char *) "self",(char *) "v", NULL
21214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21217 arg2
= (int)SWIG_As_int(obj1
);
21218 if (PyErr_Occurred()) SWIG_fail
;
21220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21221 (arg1
)->SetFromPage(arg2
);
21223 wxPyEndAllowThreads(__tstate
);
21224 if (PyErr_Occurred()) SWIG_fail
;
21226 Py_INCREF(Py_None
); resultobj
= Py_None
;
21233 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21234 PyObject
*resultobj
;
21235 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21237 PyObject
* obj0
= 0 ;
21238 PyObject
* obj1
= 0 ;
21239 char *kwnames
[] = {
21240 (char *) "self",(char *) "v", NULL
21243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21246 arg2
= (int)SWIG_As_int(obj1
);
21247 if (PyErr_Occurred()) SWIG_fail
;
21249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21250 (arg1
)->SetToPage(arg2
);
21252 wxPyEndAllowThreads(__tstate
);
21253 if (PyErr_Occurred()) SWIG_fail
;
21255 Py_INCREF(Py_None
); resultobj
= Py_None
;
21262 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21263 PyObject
*resultobj
;
21264 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21266 PyObject
* obj0
= 0 ;
21267 PyObject
* obj1
= 0 ;
21268 char *kwnames
[] = {
21269 (char *) "self",(char *) "v", NULL
21272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21275 arg2
= (int)SWIG_As_int(obj1
);
21276 if (PyErr_Occurred()) SWIG_fail
;
21278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21279 (arg1
)->SetMinPage(arg2
);
21281 wxPyEndAllowThreads(__tstate
);
21282 if (PyErr_Occurred()) SWIG_fail
;
21284 Py_INCREF(Py_None
); resultobj
= Py_None
;
21291 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21292 PyObject
*resultobj
;
21293 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21295 PyObject
* obj0
= 0 ;
21296 PyObject
* obj1
= 0 ;
21297 char *kwnames
[] = {
21298 (char *) "self",(char *) "v", NULL
21301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21304 arg2
= (int)SWIG_As_int(obj1
);
21305 if (PyErr_Occurred()) SWIG_fail
;
21307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21308 (arg1
)->SetMaxPage(arg2
);
21310 wxPyEndAllowThreads(__tstate
);
21311 if (PyErr_Occurred()) SWIG_fail
;
21313 Py_INCREF(Py_None
); resultobj
= Py_None
;
21320 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21321 PyObject
*resultobj
;
21322 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21324 PyObject
* obj0
= 0 ;
21325 PyObject
* obj1
= 0 ;
21326 char *kwnames
[] = {
21327 (char *) "self",(char *) "v", NULL
21330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
21331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21333 arg2
= (int)SWIG_As_int(obj1
);
21334 if (PyErr_Occurred()) SWIG_fail
;
21336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21337 (arg1
)->SetNoCopies(arg2
);
21339 wxPyEndAllowThreads(__tstate
);
21340 if (PyErr_Occurred()) SWIG_fail
;
21342 Py_INCREF(Py_None
); resultobj
= Py_None
;
21349 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21350 PyObject
*resultobj
;
21351 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21353 PyObject
* obj0
= 0 ;
21354 PyObject
* obj1
= 0 ;
21355 char *kwnames
[] = {
21356 (char *) "self",(char *) "flag", NULL
21359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
21360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21362 arg2
= (bool)SWIG_As_bool(obj1
);
21363 if (PyErr_Occurred()) SWIG_fail
;
21365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21366 (arg1
)->SetAllPages(arg2
);
21368 wxPyEndAllowThreads(__tstate
);
21369 if (PyErr_Occurred()) SWIG_fail
;
21371 Py_INCREF(Py_None
); resultobj
= Py_None
;
21378 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21379 PyObject
*resultobj
;
21380 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21382 PyObject
* obj0
= 0 ;
21383 PyObject
* obj1
= 0 ;
21384 char *kwnames
[] = {
21385 (char *) "self",(char *) "flag", NULL
21388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
21389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21391 arg2
= (bool)SWIG_As_bool(obj1
);
21392 if (PyErr_Occurred()) SWIG_fail
;
21394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21395 (arg1
)->SetSelection(arg2
);
21397 wxPyEndAllowThreads(__tstate
);
21398 if (PyErr_Occurred()) SWIG_fail
;
21400 Py_INCREF(Py_None
); resultobj
= Py_None
;
21407 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21408 PyObject
*resultobj
;
21409 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21411 PyObject
* obj0
= 0 ;
21412 PyObject
* obj1
= 0 ;
21413 char *kwnames
[] = {
21414 (char *) "self",(char *) "flag", NULL
21417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
21418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21420 arg2
= (bool)SWIG_As_bool(obj1
);
21421 if (PyErr_Occurred()) SWIG_fail
;
21423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21424 (arg1
)->SetCollate(arg2
);
21426 wxPyEndAllowThreads(__tstate
);
21427 if (PyErr_Occurred()) SWIG_fail
;
21429 Py_INCREF(Py_None
); resultobj
= Py_None
;
21436 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21437 PyObject
*resultobj
;
21438 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21440 PyObject
* obj0
= 0 ;
21441 PyObject
* obj1
= 0 ;
21442 char *kwnames
[] = {
21443 (char *) "self",(char *) "flag", NULL
21446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
21447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21449 arg2
= (bool)SWIG_As_bool(obj1
);
21450 if (PyErr_Occurred()) SWIG_fail
;
21452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21453 (arg1
)->SetPrintToFile(arg2
);
21455 wxPyEndAllowThreads(__tstate
);
21456 if (PyErr_Occurred()) SWIG_fail
;
21458 Py_INCREF(Py_None
); resultobj
= Py_None
;
21465 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21466 PyObject
*resultobj
;
21467 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21469 PyObject
* obj0
= 0 ;
21470 PyObject
* obj1
= 0 ;
21471 char *kwnames
[] = {
21472 (char *) "self",(char *) "flag", NULL
21475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21478 arg2
= (bool)SWIG_As_bool(obj1
);
21479 if (PyErr_Occurred()) SWIG_fail
;
21481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21482 (arg1
)->SetSetupDialog(arg2
);
21484 wxPyEndAllowThreads(__tstate
);
21485 if (PyErr_Occurred()) SWIG_fail
;
21487 Py_INCREF(Py_None
); resultobj
= Py_None
;
21494 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21495 PyObject
*resultobj
;
21496 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21498 PyObject
* obj0
= 0 ;
21499 PyObject
* obj1
= 0 ;
21500 char *kwnames
[] = {
21501 (char *) "self",(char *) "flag", NULL
21504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
21505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21507 arg2
= (bool)SWIG_As_bool(obj1
);
21508 if (PyErr_Occurred()) SWIG_fail
;
21510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21511 (arg1
)->EnablePrintToFile(arg2
);
21513 wxPyEndAllowThreads(__tstate
);
21514 if (PyErr_Occurred()) SWIG_fail
;
21516 Py_INCREF(Py_None
); resultobj
= Py_None
;
21523 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21524 PyObject
*resultobj
;
21525 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21527 PyObject
* obj0
= 0 ;
21528 PyObject
* obj1
= 0 ;
21529 char *kwnames
[] = {
21530 (char *) "self",(char *) "flag", NULL
21533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
21534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21536 arg2
= (bool)SWIG_As_bool(obj1
);
21537 if (PyErr_Occurred()) SWIG_fail
;
21539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21540 (arg1
)->EnableSelection(arg2
);
21542 wxPyEndAllowThreads(__tstate
);
21543 if (PyErr_Occurred()) SWIG_fail
;
21545 Py_INCREF(Py_None
); resultobj
= Py_None
;
21552 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21553 PyObject
*resultobj
;
21554 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21556 PyObject
* obj0
= 0 ;
21557 PyObject
* obj1
= 0 ;
21558 char *kwnames
[] = {
21559 (char *) "self",(char *) "flag", NULL
21562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
21563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21565 arg2
= (bool)SWIG_As_bool(obj1
);
21566 if (PyErr_Occurred()) SWIG_fail
;
21568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21569 (arg1
)->EnablePageNumbers(arg2
);
21571 wxPyEndAllowThreads(__tstate
);
21572 if (PyErr_Occurred()) SWIG_fail
;
21574 Py_INCREF(Py_None
); resultobj
= Py_None
;
21581 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21582 PyObject
*resultobj
;
21583 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21585 PyObject
* obj0
= 0 ;
21586 PyObject
* obj1
= 0 ;
21587 char *kwnames
[] = {
21588 (char *) "self",(char *) "flag", NULL
21591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
21592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21594 arg2
= (bool)SWIG_As_bool(obj1
);
21595 if (PyErr_Occurred()) SWIG_fail
;
21597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21598 (arg1
)->EnableHelp(arg2
);
21600 wxPyEndAllowThreads(__tstate
);
21601 if (PyErr_Occurred()) SWIG_fail
;
21603 Py_INCREF(Py_None
); resultobj
= Py_None
;
21610 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21611 PyObject
*resultobj
;
21612 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21614 PyObject
* obj0
= 0 ;
21615 char *kwnames
[] = {
21616 (char *) "self", NULL
21619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
21620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21624 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
21626 wxPyEndAllowThreads(__tstate
);
21627 if (PyErr_Occurred()) SWIG_fail
;
21630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21638 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21639 PyObject
*resultobj
;
21640 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21642 PyObject
* obj0
= 0 ;
21643 char *kwnames
[] = {
21644 (char *) "self", NULL
21647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
21648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21652 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
21654 wxPyEndAllowThreads(__tstate
);
21655 if (PyErr_Occurred()) SWIG_fail
;
21658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21666 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21667 PyObject
*resultobj
;
21668 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21670 PyObject
* obj0
= 0 ;
21671 char *kwnames
[] = {
21672 (char *) "self", NULL
21675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
21676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21680 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
21682 wxPyEndAllowThreads(__tstate
);
21683 if (PyErr_Occurred()) SWIG_fail
;
21686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21694 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21695 PyObject
*resultobj
;
21696 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21698 PyObject
* obj0
= 0 ;
21699 char *kwnames
[] = {
21700 (char *) "self", NULL
21703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
21704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21708 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
21710 wxPyEndAllowThreads(__tstate
);
21711 if (PyErr_Occurred()) SWIG_fail
;
21714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21722 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21723 PyObject
*resultobj
;
21724 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21726 PyObject
* obj0
= 0 ;
21727 char *kwnames
[] = {
21728 (char *) "self", NULL
21731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
21732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21736 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
21738 wxPyEndAllowThreads(__tstate
);
21739 if (PyErr_Occurred()) SWIG_fail
;
21742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21750 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21751 PyObject
*resultobj
;
21752 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21753 wxPrintData
*result
;
21754 PyObject
* obj0
= 0 ;
21755 char *kwnames
[] = {
21756 (char *) "self", NULL
21759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
21760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21765 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
21766 result
= (wxPrintData
*) &_result_ref
;
21769 wxPyEndAllowThreads(__tstate
);
21770 if (PyErr_Occurred()) SWIG_fail
;
21772 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
21779 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21780 PyObject
*resultobj
;
21781 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21782 wxPrintData
*arg2
= 0 ;
21783 PyObject
* obj0
= 0 ;
21784 PyObject
* obj1
= 0 ;
21785 char *kwnames
[] = {
21786 (char *) "self",(char *) "printData", NULL
21789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
21790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21792 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
21793 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21795 if (arg2
== NULL
) {
21796 PyErr_SetString(PyExc_TypeError
,"null reference");
21800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21801 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
21803 wxPyEndAllowThreads(__tstate
);
21804 if (PyErr_Occurred()) SWIG_fail
;
21806 Py_INCREF(Py_None
); resultobj
= Py_None
;
21813 static PyObject
* PrintDialogData_swigregister(PyObject
*, PyObject
*args
) {
21815 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21816 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
21818 return Py_BuildValue((char *)"");
21820 static PyObject
*_wrap_new_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21821 PyObject
*resultobj
;
21822 wxWindow
*arg1
= (wxWindow
*) 0 ;
21823 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
21824 wxPrintDialog
*result
;
21825 PyObject
* obj0
= 0 ;
21826 PyObject
* obj1
= 0 ;
21827 char *kwnames
[] = {
21828 (char *) "parent",(char *) "data", NULL
21831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21835 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintDialogData
,
21836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21839 if (!wxPyCheckForApp()) SWIG_fail
;
21840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21841 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
21843 wxPyEndAllowThreads(__tstate
);
21844 if (PyErr_Occurred()) SWIG_fail
;
21846 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
21853 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21854 PyObject
*resultobj
;
21855 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21856 wxPrintDialogData
*result
;
21857 PyObject
* obj0
= 0 ;
21858 char *kwnames
[] = {
21859 (char *) "self", NULL
21862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21868 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21869 result
= (wxPrintDialogData
*) &_result_ref
;
21872 wxPyEndAllowThreads(__tstate
);
21873 if (PyErr_Occurred()) SWIG_fail
;
21875 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
21882 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21883 PyObject
*resultobj
;
21884 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21886 PyObject
* obj0
= 0 ;
21887 char *kwnames
[] = {
21888 (char *) "self", NULL
21891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
21892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21896 result
= (wxDC
*)(arg1
)->GetPrintDC();
21898 wxPyEndAllowThreads(__tstate
);
21899 if (PyErr_Occurred()) SWIG_fail
;
21902 resultobj
= wxPyMake_wxObject(result
, 1);
21910 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21911 PyObject
*resultobj
;
21912 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21914 PyObject
* obj0
= 0 ;
21915 char *kwnames
[] = {
21916 (char *) "self", NULL
21919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
21920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21924 result
= (int)(arg1
)->ShowModal();
21926 wxPyEndAllowThreads(__tstate
);
21927 if (PyErr_Occurred()) SWIG_fail
;
21929 resultobj
= SWIG_From_int((int)result
);
21936 static PyObject
* PrintDialog_swigregister(PyObject
*, PyObject
*args
) {
21938 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21939 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
21941 return Py_BuildValue((char *)"");
21943 static PyObject
*_wrap_new_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21944 PyObject
*resultobj
;
21945 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
21947 PyObject
* obj0
= 0 ;
21948 char *kwnames
[] = {
21949 (char *) "data", NULL
21952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
21954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21958 if (!wxPyCheckForApp()) SWIG_fail
;
21959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21960 result
= (wxPrinter
*)new wxPrinter(arg1
);
21962 wxPyEndAllowThreads(__tstate
);
21963 if (PyErr_Occurred()) SWIG_fail
;
21965 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
21972 static PyObject
*_wrap_delete_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21973 PyObject
*resultobj
;
21974 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21975 PyObject
* obj0
= 0 ;
21976 char *kwnames
[] = {
21977 (char *) "self", NULL
21980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
21981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21987 wxPyEndAllowThreads(__tstate
);
21988 if (PyErr_Occurred()) SWIG_fail
;
21990 Py_INCREF(Py_None
); resultobj
= Py_None
;
21997 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21998 PyObject
*resultobj
;
21999 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22000 wxWindow
*arg2
= (wxWindow
*) 0 ;
22001 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
22002 PyObject
* obj0
= 0 ;
22003 PyObject
* obj1
= 0 ;
22004 PyObject
* obj2
= 0 ;
22005 char *kwnames
[] = {
22006 (char *) "self",(char *) "parent",(char *) "printout", NULL
22009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22012 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22014 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
22015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22018 (arg1
)->CreateAbortWindow(arg2
,arg3
);
22020 wxPyEndAllowThreads(__tstate
);
22021 if (PyErr_Occurred()) SWIG_fail
;
22023 Py_INCREF(Py_None
); resultobj
= Py_None
;
22030 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22031 PyObject
*resultobj
;
22032 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22033 wxPrintDialogData
*result
;
22034 PyObject
* obj0
= 0 ;
22035 char *kwnames
[] = {
22036 (char *) "self", NULL
22039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
22040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22045 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
22046 result
= (wxPrintDialogData
*) &_result_ref
;
22049 wxPyEndAllowThreads(__tstate
);
22050 if (PyErr_Occurred()) SWIG_fail
;
22052 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
22059 static PyObject
*_wrap_Printer_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22060 PyObject
*resultobj
;
22061 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22062 wxWindow
*arg2
= (wxWindow
*) 0 ;
22063 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
22064 int arg4
= (int) true ;
22066 PyObject
* obj0
= 0 ;
22067 PyObject
* obj1
= 0 ;
22068 PyObject
* obj2
= 0 ;
22069 PyObject
* obj3
= 0 ;
22070 char *kwnames
[] = {
22071 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
22074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22077 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22079 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
22080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22082 arg4
= (int)SWIG_As_int(obj3
);
22083 if (PyErr_Occurred()) SWIG_fail
;
22086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22087 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
22089 wxPyEndAllowThreads(__tstate
);
22090 if (PyErr_Occurred()) SWIG_fail
;
22093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22101 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22102 PyObject
*resultobj
;
22103 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22104 wxWindow
*arg2
= (wxWindow
*) 0 ;
22106 PyObject
* obj0
= 0 ;
22107 PyObject
* obj1
= 0 ;
22108 char *kwnames
[] = {
22109 (char *) "self",(char *) "parent", NULL
22112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
22113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22115 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22119 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
22121 wxPyEndAllowThreads(__tstate
);
22122 if (PyErr_Occurred()) SWIG_fail
;
22125 resultobj
= wxPyMake_wxObject(result
, 0);
22133 static PyObject
*_wrap_Printer_ReportError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22134 PyObject
*resultobj
;
22135 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22136 wxWindow
*arg2
= (wxWindow
*) 0 ;
22137 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
22138 wxString
*arg4
= 0 ;
22139 bool temp4
= false ;
22140 PyObject
* obj0
= 0 ;
22141 PyObject
* obj1
= 0 ;
22142 PyObject
* obj2
= 0 ;
22143 PyObject
* obj3
= 0 ;
22144 char *kwnames
[] = {
22145 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
22148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22151 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22153 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
22154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22156 arg4
= wxString_in_helper(obj3
);
22157 if (arg4
== NULL
) SWIG_fail
;
22161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22162 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
22164 wxPyEndAllowThreads(__tstate
);
22165 if (PyErr_Occurred()) SWIG_fail
;
22167 Py_INCREF(Py_None
); resultobj
= Py_None
;
22182 static PyObject
*_wrap_Printer_Setup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22183 PyObject
*resultobj
;
22184 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22185 wxWindow
*arg2
= (wxWindow
*) 0 ;
22187 PyObject
* obj0
= 0 ;
22188 PyObject
* obj1
= 0 ;
22189 char *kwnames
[] = {
22190 (char *) "self",(char *) "parent", NULL
22193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
22194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22196 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22200 result
= (bool)(arg1
)->Setup(arg2
);
22202 wxPyEndAllowThreads(__tstate
);
22203 if (PyErr_Occurred()) SWIG_fail
;
22206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22214 static PyObject
*_wrap_Printer_GetAbort(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22215 PyObject
*resultobj
;
22216 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22218 PyObject
* obj0
= 0 ;
22219 char *kwnames
[] = {
22220 (char *) "self", NULL
22223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
22224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22228 result
= (bool)(arg1
)->GetAbort();
22230 wxPyEndAllowThreads(__tstate
);
22231 if (PyErr_Occurred()) SWIG_fail
;
22234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22242 static PyObject
*_wrap_Printer_GetLastError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22243 PyObject
*resultobj
;
22245 char *kwnames
[] = {
22249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
22251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22252 result
= (int)wxPrinter::GetLastError();
22254 wxPyEndAllowThreads(__tstate
);
22255 if (PyErr_Occurred()) SWIG_fail
;
22257 resultobj
= SWIG_From_int((int)result
);
22264 static PyObject
* Printer_swigregister(PyObject
*, PyObject
*args
) {
22266 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22267 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
22269 return Py_BuildValue((char *)"");
22271 static PyObject
*_wrap_new_Printout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22272 PyObject
*resultobj
;
22273 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
22274 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
22275 wxPyPrintout
*result
;
22276 bool temp1
= false ;
22277 PyObject
* obj0
= 0 ;
22278 char *kwnames
[] = {
22279 (char *) "title", NULL
22282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
22285 arg1
= wxString_in_helper(obj0
);
22286 if (arg1
== NULL
) SWIG_fail
;
22291 if (!wxPyCheckForApp()) SWIG_fail
;
22292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22293 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
22295 wxPyEndAllowThreads(__tstate
);
22296 if (PyErr_Occurred()) SWIG_fail
;
22299 resultobj
= wxPyMake_wxObject(result
, 1);
22315 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22316 PyObject
*resultobj
;
22317 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22318 PyObject
*arg2
= (PyObject
*) 0 ;
22319 PyObject
*arg3
= (PyObject
*) 0 ;
22320 PyObject
* obj0
= 0 ;
22321 PyObject
* obj1
= 0 ;
22322 PyObject
* obj2
= 0 ;
22323 char *kwnames
[] = {
22324 (char *) "self",(char *) "self",(char *) "_class", NULL
22327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22334 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22336 wxPyEndAllowThreads(__tstate
);
22337 if (PyErr_Occurred()) SWIG_fail
;
22339 Py_INCREF(Py_None
); resultobj
= Py_None
;
22346 static PyObject
*_wrap_Printout_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22347 PyObject
*resultobj
;
22348 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22350 PyObject
* obj0
= 0 ;
22351 char *kwnames
[] = {
22352 (char *) "self", NULL
22355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
22356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22360 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
22362 wxPyEndAllowThreads(__tstate
);
22363 if (PyErr_Occurred()) SWIG_fail
;
22367 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22369 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22378 static PyObject
*_wrap_Printout_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22379 PyObject
*resultobj
;
22380 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22382 PyObject
* obj0
= 0 ;
22383 char *kwnames
[] = {
22384 (char *) "self", NULL
22387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
22388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22392 result
= (wxDC
*)(arg1
)->GetDC();
22394 wxPyEndAllowThreads(__tstate
);
22395 if (PyErr_Occurred()) SWIG_fail
;
22398 resultobj
= wxPyMake_wxObject(result
, 0);
22406 static PyObject
*_wrap_Printout_SetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22407 PyObject
*resultobj
;
22408 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22409 wxDC
*arg2
= (wxDC
*) 0 ;
22410 PyObject
* obj0
= 0 ;
22411 PyObject
* obj1
= 0 ;
22412 char *kwnames
[] = {
22413 (char *) "self",(char *) "dc", NULL
22416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
22417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22419 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22423 (arg1
)->SetDC(arg2
);
22425 wxPyEndAllowThreads(__tstate
);
22426 if (PyErr_Occurred()) SWIG_fail
;
22428 Py_INCREF(Py_None
); resultobj
= Py_None
;
22435 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22436 PyObject
*resultobj
;
22437 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22440 PyObject
* obj0
= 0 ;
22441 PyObject
* obj1
= 0 ;
22442 PyObject
* obj2
= 0 ;
22443 char *kwnames
[] = {
22444 (char *) "self",(char *) "w",(char *) "h", NULL
22447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22450 arg2
= (int)SWIG_As_int(obj1
);
22451 if (PyErr_Occurred()) SWIG_fail
;
22452 arg3
= (int)SWIG_As_int(obj2
);
22453 if (PyErr_Occurred()) SWIG_fail
;
22455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22456 (arg1
)->SetPageSizePixels(arg2
,arg3
);
22458 wxPyEndAllowThreads(__tstate
);
22459 if (PyErr_Occurred()) SWIG_fail
;
22461 Py_INCREF(Py_None
); resultobj
= Py_None
;
22468 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22469 PyObject
*resultobj
;
22470 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22471 int *arg2
= (int *) 0 ;
22472 int *arg3
= (int *) 0 ;
22477 PyObject
* obj0
= 0 ;
22478 char *kwnames
[] = {
22479 (char *) "self", NULL
22482 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22483 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
22485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22489 (arg1
)->GetPageSizePixels(arg2
,arg3
);
22491 wxPyEndAllowThreads(__tstate
);
22492 if (PyErr_Occurred()) SWIG_fail
;
22494 Py_INCREF(Py_None
); resultobj
= Py_None
;
22495 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22496 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22497 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22498 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22505 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22506 PyObject
*resultobj
;
22507 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22510 PyObject
* obj0
= 0 ;
22511 PyObject
* obj1
= 0 ;
22512 PyObject
* obj2
= 0 ;
22513 char *kwnames
[] = {
22514 (char *) "self",(char *) "w",(char *) "h", NULL
22517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22520 arg2
= (int)SWIG_As_int(obj1
);
22521 if (PyErr_Occurred()) SWIG_fail
;
22522 arg3
= (int)SWIG_As_int(obj2
);
22523 if (PyErr_Occurred()) SWIG_fail
;
22525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22526 (arg1
)->SetPageSizeMM(arg2
,arg3
);
22528 wxPyEndAllowThreads(__tstate
);
22529 if (PyErr_Occurred()) SWIG_fail
;
22531 Py_INCREF(Py_None
); resultobj
= Py_None
;
22538 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22539 PyObject
*resultobj
;
22540 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22541 int *arg2
= (int *) 0 ;
22542 int *arg3
= (int *) 0 ;
22547 PyObject
* obj0
= 0 ;
22548 char *kwnames
[] = {
22549 (char *) "self", NULL
22552 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22553 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
22555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22559 (arg1
)->GetPageSizeMM(arg2
,arg3
);
22561 wxPyEndAllowThreads(__tstate
);
22562 if (PyErr_Occurred()) SWIG_fail
;
22564 Py_INCREF(Py_None
); resultobj
= Py_None
;
22565 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22566 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22567 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22568 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22575 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22576 PyObject
*resultobj
;
22577 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22580 PyObject
* obj0
= 0 ;
22581 PyObject
* obj1
= 0 ;
22582 PyObject
* obj2
= 0 ;
22583 char *kwnames
[] = {
22584 (char *) "self",(char *) "x",(char *) "y", NULL
22587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22590 arg2
= (int)SWIG_As_int(obj1
);
22591 if (PyErr_Occurred()) SWIG_fail
;
22592 arg3
= (int)SWIG_As_int(obj2
);
22593 if (PyErr_Occurred()) SWIG_fail
;
22595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22596 (arg1
)->SetPPIScreen(arg2
,arg3
);
22598 wxPyEndAllowThreads(__tstate
);
22599 if (PyErr_Occurred()) SWIG_fail
;
22601 Py_INCREF(Py_None
); resultobj
= Py_None
;
22608 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22609 PyObject
*resultobj
;
22610 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22611 int *arg2
= (int *) 0 ;
22612 int *arg3
= (int *) 0 ;
22617 PyObject
* obj0
= 0 ;
22618 char *kwnames
[] = {
22619 (char *) "self", NULL
22622 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22623 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
22625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22629 (arg1
)->GetPPIScreen(arg2
,arg3
);
22631 wxPyEndAllowThreads(__tstate
);
22632 if (PyErr_Occurred()) SWIG_fail
;
22634 Py_INCREF(Py_None
); resultobj
= Py_None
;
22635 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22636 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22637 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22638 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22645 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22646 PyObject
*resultobj
;
22647 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22650 PyObject
* obj0
= 0 ;
22651 PyObject
* obj1
= 0 ;
22652 PyObject
* obj2
= 0 ;
22653 char *kwnames
[] = {
22654 (char *) "self",(char *) "x",(char *) "y", NULL
22657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22660 arg2
= (int)SWIG_As_int(obj1
);
22661 if (PyErr_Occurred()) SWIG_fail
;
22662 arg3
= (int)SWIG_As_int(obj2
);
22663 if (PyErr_Occurred()) SWIG_fail
;
22665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22666 (arg1
)->SetPPIPrinter(arg2
,arg3
);
22668 wxPyEndAllowThreads(__tstate
);
22669 if (PyErr_Occurred()) SWIG_fail
;
22671 Py_INCREF(Py_None
); resultobj
= Py_None
;
22678 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22679 PyObject
*resultobj
;
22680 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22681 int *arg2
= (int *) 0 ;
22682 int *arg3
= (int *) 0 ;
22687 PyObject
* obj0
= 0 ;
22688 char *kwnames
[] = {
22689 (char *) "self", NULL
22692 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22693 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
22695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22699 (arg1
)->GetPPIPrinter(arg2
,arg3
);
22701 wxPyEndAllowThreads(__tstate
);
22702 if (PyErr_Occurred()) SWIG_fail
;
22704 Py_INCREF(Py_None
); resultobj
= Py_None
;
22705 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22706 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22707 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22708 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22715 static PyObject
*_wrap_Printout_IsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22716 PyObject
*resultobj
;
22717 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22719 PyObject
* obj0
= 0 ;
22720 char *kwnames
[] = {
22721 (char *) "self", NULL
22724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
22725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22729 result
= (bool)(arg1
)->IsPreview();
22731 wxPyEndAllowThreads(__tstate
);
22732 if (PyErr_Occurred()) SWIG_fail
;
22735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22743 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22744 PyObject
*resultobj
;
22745 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22747 PyObject
* obj0
= 0 ;
22748 PyObject
* obj1
= 0 ;
22749 char *kwnames
[] = {
22750 (char *) "self",(char *) "p", NULL
22753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
22754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22756 arg2
= (bool)SWIG_As_bool(obj1
);
22757 if (PyErr_Occurred()) SWIG_fail
;
22759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22760 (arg1
)->SetIsPreview(arg2
);
22762 wxPyEndAllowThreads(__tstate
);
22763 if (PyErr_Occurred()) SWIG_fail
;
22765 Py_INCREF(Py_None
); resultobj
= Py_None
;
22772 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22773 PyObject
*resultobj
;
22774 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22778 PyObject
* obj0
= 0 ;
22779 PyObject
* obj1
= 0 ;
22780 PyObject
* obj2
= 0 ;
22781 char *kwnames
[] = {
22782 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
22785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22788 arg2
= (int)SWIG_As_int(obj1
);
22789 if (PyErr_Occurred()) SWIG_fail
;
22790 arg3
= (int)SWIG_As_int(obj2
);
22791 if (PyErr_Occurred()) SWIG_fail
;
22793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22794 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
22796 wxPyEndAllowThreads(__tstate
);
22797 if (PyErr_Occurred()) SWIG_fail
;
22800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22808 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22809 PyObject
*resultobj
;
22810 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22811 PyObject
* obj0
= 0 ;
22812 char *kwnames
[] = {
22813 (char *) "self", NULL
22816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
22817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22821 (arg1
)->base_OnEndDocument();
22823 wxPyEndAllowThreads(__tstate
);
22824 if (PyErr_Occurred()) SWIG_fail
;
22826 Py_INCREF(Py_None
); resultobj
= Py_None
;
22833 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22834 PyObject
*resultobj
;
22835 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22836 PyObject
* obj0
= 0 ;
22837 char *kwnames
[] = {
22838 (char *) "self", NULL
22841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
22842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22846 (arg1
)->base_OnBeginPrinting();
22848 wxPyEndAllowThreads(__tstate
);
22849 if (PyErr_Occurred()) SWIG_fail
;
22851 Py_INCREF(Py_None
); resultobj
= Py_None
;
22858 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22859 PyObject
*resultobj
;
22860 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22861 PyObject
* obj0
= 0 ;
22862 char *kwnames
[] = {
22863 (char *) "self", NULL
22866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
22867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22871 (arg1
)->base_OnEndPrinting();
22873 wxPyEndAllowThreads(__tstate
);
22874 if (PyErr_Occurred()) SWIG_fail
;
22876 Py_INCREF(Py_None
); resultobj
= Py_None
;
22883 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22884 PyObject
*resultobj
;
22885 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22886 PyObject
* obj0
= 0 ;
22887 char *kwnames
[] = {
22888 (char *) "self", NULL
22891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
22892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22896 (arg1
)->base_OnPreparePrinting();
22898 wxPyEndAllowThreads(__tstate
);
22899 if (PyErr_Occurred()) SWIG_fail
;
22901 Py_INCREF(Py_None
); resultobj
= Py_None
;
22908 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22909 PyObject
*resultobj
;
22910 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22913 PyObject
* obj0
= 0 ;
22914 PyObject
* obj1
= 0 ;
22915 char *kwnames
[] = {
22916 (char *) "self",(char *) "page", NULL
22919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
22920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22922 arg2
= (int)SWIG_As_int(obj1
);
22923 if (PyErr_Occurred()) SWIG_fail
;
22925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22926 result
= (bool)(arg1
)->base_HasPage(arg2
);
22928 wxPyEndAllowThreads(__tstate
);
22929 if (PyErr_Occurred()) SWIG_fail
;
22932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22940 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22941 PyObject
*resultobj
;
22942 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22943 int *arg2
= (int *) 0 ;
22944 int *arg3
= (int *) 0 ;
22945 int *arg4
= (int *) 0 ;
22946 int *arg5
= (int *) 0 ;
22955 PyObject
* obj0
= 0 ;
22956 char *kwnames
[] = {
22957 (char *) "self", NULL
22960 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22961 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22962 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
22963 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
22964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
22965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22969 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
22971 wxPyEndAllowThreads(__tstate
);
22972 if (PyErr_Occurred()) SWIG_fail
;
22974 Py_INCREF(Py_None
); resultobj
= Py_None
;
22975 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22976 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22977 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22978 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22979 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
22980 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
22981 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
22982 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
22989 static PyObject
* Printout_swigregister(PyObject
*, PyObject
*args
) {
22991 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22992 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
22994 return Py_BuildValue((char *)"");
22996 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22997 PyObject
*resultobj
;
22998 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22999 wxWindow
*arg2
= (wxWindow
*) 0 ;
23000 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23001 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23002 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23003 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23004 long arg5
= (long) 0 ;
23005 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
23006 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
23007 wxPreviewCanvas
*result
;
23010 bool temp6
= false ;
23011 PyObject
* obj0
= 0 ;
23012 PyObject
* obj1
= 0 ;
23013 PyObject
* obj2
= 0 ;
23014 PyObject
* obj3
= 0 ;
23015 PyObject
* obj4
= 0 ;
23016 PyObject
* obj5
= 0 ;
23017 char *kwnames
[] = {
23018 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
23022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23024 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23029 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23035 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23039 arg5
= (long)SWIG_As_long(obj4
);
23040 if (PyErr_Occurred()) SWIG_fail
;
23044 arg6
= wxString_in_helper(obj5
);
23045 if (arg6
== NULL
) SWIG_fail
;
23050 if (!wxPyCheckForApp()) SWIG_fail
;
23051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23052 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
23054 wxPyEndAllowThreads(__tstate
);
23055 if (PyErr_Occurred()) SWIG_fail
;
23057 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
23072 static PyObject
* PreviewCanvas_swigregister(PyObject
*, PyObject
*args
) {
23074 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23075 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
23077 return Py_BuildValue((char *)"");
23079 static PyObject
*_wrap_new_PreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23080 PyObject
*resultobj
;
23081 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23082 wxFrame
*arg2
= (wxFrame
*) 0 ;
23083 wxString
*arg3
= 0 ;
23084 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23085 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23086 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23087 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23088 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
23089 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
23090 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23091 wxPreviewFrame
*result
;
23092 bool temp3
= false ;
23095 bool temp7
= false ;
23096 PyObject
* obj0
= 0 ;
23097 PyObject
* obj1
= 0 ;
23098 PyObject
* obj2
= 0 ;
23099 PyObject
* obj3
= 0 ;
23100 PyObject
* obj4
= 0 ;
23101 PyObject
* obj5
= 0 ;
23102 PyObject
* obj6
= 0 ;
23103 char *kwnames
[] = {
23104 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23110 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
23111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23113 arg3
= wxString_in_helper(obj2
);
23114 if (arg3
== NULL
) SWIG_fail
;
23120 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23126 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23130 arg6
= (long)SWIG_As_long(obj5
);
23131 if (PyErr_Occurred()) SWIG_fail
;
23135 arg7
= wxString_in_helper(obj6
);
23136 if (arg7
== NULL
) SWIG_fail
;
23141 if (!wxPyCheckForApp()) SWIG_fail
;
23142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23143 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
23145 wxPyEndAllowThreads(__tstate
);
23146 if (PyErr_Occurred()) SWIG_fail
;
23148 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
23171 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23172 PyObject
*resultobj
;
23173 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
23174 PyObject
* obj0
= 0 ;
23175 char *kwnames
[] = {
23176 (char *) "self", NULL
23179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
23180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
23181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23184 (arg1
)->Initialize();
23186 wxPyEndAllowThreads(__tstate
);
23187 if (PyErr_Occurred()) SWIG_fail
;
23189 Py_INCREF(Py_None
); resultobj
= Py_None
;
23196 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23197 PyObject
*resultobj
;
23198 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
23199 PyObject
* obj0
= 0 ;
23200 char *kwnames
[] = {
23201 (char *) "self", NULL
23204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
23205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
23206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23209 (arg1
)->CreateControlBar();
23211 wxPyEndAllowThreads(__tstate
);
23212 if (PyErr_Occurred()) SWIG_fail
;
23214 Py_INCREF(Py_None
); resultobj
= Py_None
;
23221 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23222 PyObject
*resultobj
;
23223 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
23224 PyObject
* obj0
= 0 ;
23225 char *kwnames
[] = {
23226 (char *) "self", NULL
23229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
23230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
23231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23234 (arg1
)->CreateCanvas();
23236 wxPyEndAllowThreads(__tstate
);
23237 if (PyErr_Occurred()) SWIG_fail
;
23239 Py_INCREF(Py_None
); resultobj
= Py_None
;
23246 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23247 PyObject
*resultobj
;
23248 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
23249 wxPreviewControlBar
*result
;
23250 PyObject
* obj0
= 0 ;
23251 char *kwnames
[] = {
23252 (char *) "self", NULL
23255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
23256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
23257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23260 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
23262 wxPyEndAllowThreads(__tstate
);
23263 if (PyErr_Occurred()) SWIG_fail
;
23265 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
23272 static PyObject
* PreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
23274 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23275 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
23277 return Py_BuildValue((char *)"");
23279 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23280 PyObject
*resultobj
;
23281 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23283 wxWindow
*arg3
= (wxWindow
*) 0 ;
23284 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23285 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23286 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23287 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23288 long arg6
= (long) wxTAB_TRAVERSAL
;
23289 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
23290 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23291 wxPreviewControlBar
*result
;
23294 bool temp7
= false ;
23295 PyObject
* obj0
= 0 ;
23296 PyObject
* obj1
= 0 ;
23297 PyObject
* obj2
= 0 ;
23298 PyObject
* obj3
= 0 ;
23299 PyObject
* obj4
= 0 ;
23300 PyObject
* obj5
= 0 ;
23301 PyObject
* obj6
= 0 ;
23302 char *kwnames
[] = {
23303 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23309 arg2
= (long)SWIG_As_long(obj1
);
23310 if (PyErr_Occurred()) SWIG_fail
;
23311 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
23312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23316 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23322 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23326 arg6
= (long)SWIG_As_long(obj5
);
23327 if (PyErr_Occurred()) SWIG_fail
;
23331 arg7
= wxString_in_helper(obj6
);
23332 if (arg7
== NULL
) SWIG_fail
;
23337 if (!wxPyCheckForApp()) SWIG_fail
;
23338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23339 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
23341 wxPyEndAllowThreads(__tstate
);
23342 if (PyErr_Occurred()) SWIG_fail
;
23344 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
23359 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23360 PyObject
*resultobj
;
23361 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23363 PyObject
* obj0
= 0 ;
23364 char *kwnames
[] = {
23365 (char *) "self", NULL
23368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
23369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23373 result
= (int)(arg1
)->GetZoomControl();
23375 wxPyEndAllowThreads(__tstate
);
23376 if (PyErr_Occurred()) SWIG_fail
;
23378 resultobj
= SWIG_From_int((int)result
);
23385 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23386 PyObject
*resultobj
;
23387 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23389 PyObject
* obj0
= 0 ;
23390 PyObject
* obj1
= 0 ;
23391 char *kwnames
[] = {
23392 (char *) "self",(char *) "zoom", NULL
23395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
23396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23398 arg2
= (int)SWIG_As_int(obj1
);
23399 if (PyErr_Occurred()) SWIG_fail
;
23401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23402 (arg1
)->SetZoomControl(arg2
);
23404 wxPyEndAllowThreads(__tstate
);
23405 if (PyErr_Occurred()) SWIG_fail
;
23407 Py_INCREF(Py_None
); resultobj
= Py_None
;
23414 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23415 PyObject
*resultobj
;
23416 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23417 wxPrintPreview
*result
;
23418 PyObject
* obj0
= 0 ;
23419 char *kwnames
[] = {
23420 (char *) "self", NULL
23423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
23424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23428 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
23430 wxPyEndAllowThreads(__tstate
);
23431 if (PyErr_Occurred()) SWIG_fail
;
23433 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
23440 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23441 PyObject
*resultobj
;
23442 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23443 PyObject
* obj0
= 0 ;
23444 char *kwnames
[] = {
23445 (char *) "self", NULL
23448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
23449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23455 wxPyEndAllowThreads(__tstate
);
23456 if (PyErr_Occurred()) SWIG_fail
;
23458 Py_INCREF(Py_None
); resultobj
= Py_None
;
23465 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23466 PyObject
*resultobj
;
23467 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23468 PyObject
* obj0
= 0 ;
23469 char *kwnames
[] = {
23470 (char *) "self", NULL
23473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
23474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23478 (arg1
)->OnPrevious();
23480 wxPyEndAllowThreads(__tstate
);
23481 if (PyErr_Occurred()) SWIG_fail
;
23483 Py_INCREF(Py_None
); resultobj
= Py_None
;
23490 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23491 PyObject
*resultobj
;
23492 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23493 PyObject
* obj0
= 0 ;
23494 char *kwnames
[] = {
23495 (char *) "self", NULL
23498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
23499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23505 wxPyEndAllowThreads(__tstate
);
23506 if (PyErr_Occurred()) SWIG_fail
;
23508 Py_INCREF(Py_None
); resultobj
= Py_None
;
23515 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23516 PyObject
*resultobj
;
23517 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23518 PyObject
* obj0
= 0 ;
23519 char *kwnames
[] = {
23520 (char *) "self", NULL
23523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
23524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23530 wxPyEndAllowThreads(__tstate
);
23531 if (PyErr_Occurred()) SWIG_fail
;
23533 Py_INCREF(Py_None
); resultobj
= Py_None
;
23540 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23541 PyObject
*resultobj
;
23542 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23543 PyObject
* obj0
= 0 ;
23544 char *kwnames
[] = {
23545 (char *) "self", NULL
23548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
23549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23555 wxPyEndAllowThreads(__tstate
);
23556 if (PyErr_Occurred()) SWIG_fail
;
23558 Py_INCREF(Py_None
); resultobj
= Py_None
;
23565 static PyObject
* PreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
23567 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23568 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
23570 return Py_BuildValue((char *)"");
23572 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
23573 PyObject
*resultobj
;
23574 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23575 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23576 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
23577 wxPrintPreview
*result
;
23578 PyObject
* obj0
= 0 ;
23579 PyObject
* obj1
= 0 ;
23580 PyObject
* obj2
= 0 ;
23582 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23585 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23588 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
23589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23592 if (!wxPyCheckForApp()) SWIG_fail
;
23593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23594 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
23596 wxPyEndAllowThreads(__tstate
);
23597 if (PyErr_Occurred()) SWIG_fail
;
23599 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
23606 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
23607 PyObject
*resultobj
;
23608 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23609 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23610 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
23611 wxPrintPreview
*result
;
23612 PyObject
* obj0
= 0 ;
23613 PyObject
* obj1
= 0 ;
23614 PyObject
* obj2
= 0 ;
23616 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23619 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23621 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
23622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23624 if (!wxPyCheckForApp()) SWIG_fail
;
23625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23626 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
23628 wxPyEndAllowThreads(__tstate
);
23629 if (PyErr_Occurred()) SWIG_fail
;
23631 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
23638 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
23643 argc
= PyObject_Length(args
);
23644 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
23645 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23647 if ((argc
>= 2) && (argc
<= 3)) {
23651 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23661 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23670 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
23674 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
23682 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
23691 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23701 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23711 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
23719 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
23725 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintPreview'");
23730 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23731 PyObject
*resultobj
;
23732 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23735 PyObject
* obj0
= 0 ;
23736 PyObject
* obj1
= 0 ;
23737 char *kwnames
[] = {
23738 (char *) "self",(char *) "pageNum", NULL
23741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23744 arg2
= (int)SWIG_As_int(obj1
);
23745 if (PyErr_Occurred()) SWIG_fail
;
23747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23748 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
23750 wxPyEndAllowThreads(__tstate
);
23751 if (PyErr_Occurred()) SWIG_fail
;
23754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23762 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23763 PyObject
*resultobj
;
23764 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23766 PyObject
* obj0
= 0 ;
23767 char *kwnames
[] = {
23768 (char *) "self", NULL
23771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
23772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23776 result
= (int)(arg1
)->GetCurrentPage();
23778 wxPyEndAllowThreads(__tstate
);
23779 if (PyErr_Occurred()) SWIG_fail
;
23781 resultobj
= SWIG_From_int((int)result
);
23788 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23789 PyObject
*resultobj
;
23790 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23791 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23792 PyObject
* obj0
= 0 ;
23793 PyObject
* obj1
= 0 ;
23794 char *kwnames
[] = {
23795 (char *) "self",(char *) "printout", NULL
23798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
23799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23801 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23805 (arg1
)->SetPrintout(arg2
);
23807 wxPyEndAllowThreads(__tstate
);
23808 if (PyErr_Occurred()) SWIG_fail
;
23810 Py_INCREF(Py_None
); resultobj
= Py_None
;
23817 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23818 PyObject
*resultobj
;
23819 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23820 wxPyPrintout
*result
;
23821 PyObject
* obj0
= 0 ;
23822 char *kwnames
[] = {
23823 (char *) "self", NULL
23826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
23827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23831 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
23833 wxPyEndAllowThreads(__tstate
);
23834 if (PyErr_Occurred()) SWIG_fail
;
23837 resultobj
= wxPyMake_wxObject(result
, 0);
23845 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23846 PyObject
*resultobj
;
23847 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23848 wxPyPrintout
*result
;
23849 PyObject
* obj0
= 0 ;
23850 char *kwnames
[] = {
23851 (char *) "self", NULL
23854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
23855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23859 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
23861 wxPyEndAllowThreads(__tstate
);
23862 if (PyErr_Occurred()) SWIG_fail
;
23865 resultobj
= wxPyMake_wxObject(result
, 0);
23873 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23874 PyObject
*resultobj
;
23875 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23876 wxFrame
*arg2
= (wxFrame
*) 0 ;
23877 PyObject
* obj0
= 0 ;
23878 PyObject
* obj1
= 0 ;
23879 char *kwnames
[] = {
23880 (char *) "self",(char *) "frame", NULL
23883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
23884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23886 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
23887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23890 (arg1
)->SetFrame(arg2
);
23892 wxPyEndAllowThreads(__tstate
);
23893 if (PyErr_Occurred()) SWIG_fail
;
23895 Py_INCREF(Py_None
); resultobj
= Py_None
;
23902 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23903 PyObject
*resultobj
;
23904 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23905 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23906 PyObject
* obj0
= 0 ;
23907 PyObject
* obj1
= 0 ;
23908 char *kwnames
[] = {
23909 (char *) "self",(char *) "canvas", NULL
23912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
23913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23915 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23919 (arg1
)->SetCanvas(arg2
);
23921 wxPyEndAllowThreads(__tstate
);
23922 if (PyErr_Occurred()) SWIG_fail
;
23924 Py_INCREF(Py_None
); resultobj
= Py_None
;
23931 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23932 PyObject
*resultobj
;
23933 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23935 PyObject
* obj0
= 0 ;
23936 char *kwnames
[] = {
23937 (char *) "self", NULL
23940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
23941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23945 result
= (wxFrame
*)(arg1
)->GetFrame();
23947 wxPyEndAllowThreads(__tstate
);
23948 if (PyErr_Occurred()) SWIG_fail
;
23951 resultobj
= wxPyMake_wxObject(result
, 0);
23959 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23960 PyObject
*resultobj
;
23961 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23962 wxPreviewCanvas
*result
;
23963 PyObject
* obj0
= 0 ;
23964 char *kwnames
[] = {
23965 (char *) "self", NULL
23968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
23969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23973 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
23975 wxPyEndAllowThreads(__tstate
);
23976 if (PyErr_Occurred()) SWIG_fail
;
23978 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
23985 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23986 PyObject
*resultobj
;
23987 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23988 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23991 PyObject
* obj0
= 0 ;
23992 PyObject
* obj1
= 0 ;
23993 PyObject
* obj2
= 0 ;
23994 char *kwnames
[] = {
23995 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24001 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24003 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24004 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24006 if (arg3
== NULL
) {
24007 PyErr_SetString(PyExc_TypeError
,"null reference");
24011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24012 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
24014 wxPyEndAllowThreads(__tstate
);
24015 if (PyErr_Occurred()) SWIG_fail
;
24018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24026 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24027 PyObject
*resultobj
;
24028 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24029 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24032 PyObject
* obj0
= 0 ;
24033 PyObject
* obj1
= 0 ;
24034 PyObject
* obj2
= 0 ;
24035 char *kwnames
[] = {
24036 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24042 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24044 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24045 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24047 if (arg3
== NULL
) {
24048 PyErr_SetString(PyExc_TypeError
,"null reference");
24052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24053 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
24055 wxPyEndAllowThreads(__tstate
);
24056 if (PyErr_Occurred()) SWIG_fail
;
24059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24067 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24068 PyObject
*resultobj
;
24069 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24072 PyObject
* obj0
= 0 ;
24073 PyObject
* obj1
= 0 ;
24074 char *kwnames
[] = {
24075 (char *) "self",(char *) "pageNum", NULL
24078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24081 arg2
= (int)SWIG_As_int(obj1
);
24082 if (PyErr_Occurred()) SWIG_fail
;
24084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24085 result
= (bool)(arg1
)->RenderPage(arg2
);
24087 wxPyEndAllowThreads(__tstate
);
24088 if (PyErr_Occurred()) SWIG_fail
;
24091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24099 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24100 PyObject
*resultobj
;
24101 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24102 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24103 PyObject
* obj0
= 0 ;
24104 PyObject
* obj1
= 0 ;
24105 char *kwnames
[] = {
24106 (char *) "self",(char *) "canvas", NULL
24109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
24110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24112 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24116 (arg1
)->AdjustScrollbars(arg2
);
24118 wxPyEndAllowThreads(__tstate
);
24119 if (PyErr_Occurred()) SWIG_fail
;
24121 Py_INCREF(Py_None
); resultobj
= Py_None
;
24128 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24129 PyObject
*resultobj
;
24130 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24131 wxPrintDialogData
*result
;
24132 PyObject
* obj0
= 0 ;
24133 char *kwnames
[] = {
24134 (char *) "self", NULL
24137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
24138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24143 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
24144 result
= (wxPrintDialogData
*) &_result_ref
;
24147 wxPyEndAllowThreads(__tstate
);
24148 if (PyErr_Occurred()) SWIG_fail
;
24150 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
24157 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24158 PyObject
*resultobj
;
24159 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24161 PyObject
* obj0
= 0 ;
24162 PyObject
* obj1
= 0 ;
24163 char *kwnames
[] = {
24164 (char *) "self",(char *) "percent", NULL
24167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",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 (arg1
)->SetZoom(arg2
);
24176 wxPyEndAllowThreads(__tstate
);
24177 if (PyErr_Occurred()) SWIG_fail
;
24179 Py_INCREF(Py_None
); resultobj
= Py_None
;
24186 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24187 PyObject
*resultobj
;
24188 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24190 PyObject
* obj0
= 0 ;
24191 char *kwnames
[] = {
24192 (char *) "self", NULL
24195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
24196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24200 result
= (int)(arg1
)->GetZoom();
24202 wxPyEndAllowThreads(__tstate
);
24203 if (PyErr_Occurred()) SWIG_fail
;
24205 resultobj
= SWIG_From_int((int)result
);
24212 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24213 PyObject
*resultobj
;
24214 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24216 PyObject
* obj0
= 0 ;
24217 char *kwnames
[] = {
24218 (char *) "self", NULL
24221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
24222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24226 result
= (int)(arg1
)->GetMaxPage();
24228 wxPyEndAllowThreads(__tstate
);
24229 if (PyErr_Occurred()) SWIG_fail
;
24231 resultobj
= SWIG_From_int((int)result
);
24238 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24239 PyObject
*resultobj
;
24240 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24242 PyObject
* obj0
= 0 ;
24243 char *kwnames
[] = {
24244 (char *) "self", NULL
24247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
24248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24252 result
= (int)(arg1
)->GetMinPage();
24254 wxPyEndAllowThreads(__tstate
);
24255 if (PyErr_Occurred()) SWIG_fail
;
24257 resultobj
= SWIG_From_int((int)result
);
24264 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24265 PyObject
*resultobj
;
24266 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24268 PyObject
* obj0
= 0 ;
24269 char *kwnames
[] = {
24270 (char *) "self", NULL
24273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
24274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24278 result
= (bool)(arg1
)->Ok();
24280 wxPyEndAllowThreads(__tstate
);
24281 if (PyErr_Occurred()) SWIG_fail
;
24284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24292 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24293 PyObject
*resultobj
;
24294 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24296 PyObject
* obj0
= 0 ;
24297 PyObject
* obj1
= 0 ;
24298 char *kwnames
[] = {
24299 (char *) "self",(char *) "ok", NULL
24302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
24303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24305 arg2
= (bool)SWIG_As_bool(obj1
);
24306 if (PyErr_Occurred()) SWIG_fail
;
24308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24309 (arg1
)->SetOk(arg2
);
24311 wxPyEndAllowThreads(__tstate
);
24312 if (PyErr_Occurred()) SWIG_fail
;
24314 Py_INCREF(Py_None
); resultobj
= Py_None
;
24321 static PyObject
*_wrap_PrintPreview_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24322 PyObject
*resultobj
;
24323 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24326 PyObject
* obj0
= 0 ;
24327 PyObject
* obj1
= 0 ;
24328 char *kwnames
[] = {
24329 (char *) "self",(char *) "interactive", NULL
24332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
24333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24335 arg2
= (bool)SWIG_As_bool(obj1
);
24336 if (PyErr_Occurred()) SWIG_fail
;
24338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24339 result
= (bool)(arg1
)->Print(arg2
);
24341 wxPyEndAllowThreads(__tstate
);
24342 if (PyErr_Occurred()) SWIG_fail
;
24345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24353 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24354 PyObject
*resultobj
;
24355 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24356 PyObject
* obj0
= 0 ;
24357 char *kwnames
[] = {
24358 (char *) "self", NULL
24361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
24362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24366 (arg1
)->DetermineScaling();
24368 wxPyEndAllowThreads(__tstate
);
24369 if (PyErr_Occurred()) SWIG_fail
;
24371 Py_INCREF(Py_None
); resultobj
= Py_None
;
24378 static PyObject
* PrintPreview_swigregister(PyObject
*, PyObject
*args
) {
24380 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24381 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
24383 return Py_BuildValue((char *)"");
24385 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
24386 PyObject
*resultobj
;
24387 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24388 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
24389 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
24390 wxPyPrintPreview
*result
;
24391 PyObject
* obj0
= 0 ;
24392 PyObject
* obj1
= 0 ;
24393 PyObject
* obj2
= 0 ;
24395 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
24396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
24397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24398 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
24399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24401 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
24402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24405 if (!wxPyCheckForApp()) SWIG_fail
;
24406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24407 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
24409 wxPyEndAllowThreads(__tstate
);
24410 if (PyErr_Occurred()) SWIG_fail
;
24412 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
24419 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
24420 PyObject
*resultobj
;
24421 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24422 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
24423 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
24424 wxPyPrintPreview
*result
;
24425 PyObject
* obj0
= 0 ;
24426 PyObject
* obj1
= 0 ;
24427 PyObject
* obj2
= 0 ;
24429 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
24430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
24431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24432 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
24433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24434 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
24435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24437 if (!wxPyCheckForApp()) SWIG_fail
;
24438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24439 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
24441 wxPyEndAllowThreads(__tstate
);
24442 if (PyErr_Occurred()) SWIG_fail
;
24444 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
24451 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
24456 argc
= PyObject_Length(args
);
24457 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
24458 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24460 if ((argc
>= 2) && (argc
<= 3)) {
24464 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24474 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24483 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
24487 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
24495 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
24504 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24514 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24524 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
24532 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
24538 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PyPrintPreview'");
24543 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24544 PyObject
*resultobj
;
24545 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24546 PyObject
*arg2
= (PyObject
*) 0 ;
24547 PyObject
*arg3
= (PyObject
*) 0 ;
24548 PyObject
* obj0
= 0 ;
24549 PyObject
* obj1
= 0 ;
24550 PyObject
* obj2
= 0 ;
24551 char *kwnames
[] = {
24552 (char *) "self",(char *) "self",(char *) "_class", NULL
24555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24562 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24564 wxPyEndAllowThreads(__tstate
);
24565 if (PyErr_Occurred()) SWIG_fail
;
24567 Py_INCREF(Py_None
); resultobj
= Py_None
;
24574 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24575 PyObject
*resultobj
;
24576 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24579 PyObject
* obj0
= 0 ;
24580 PyObject
* obj1
= 0 ;
24581 char *kwnames
[] = {
24582 (char *) "self",(char *) "pageNum", NULL
24585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24588 arg2
= (int)SWIG_As_int(obj1
);
24589 if (PyErr_Occurred()) SWIG_fail
;
24591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24592 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
24594 wxPyEndAllowThreads(__tstate
);
24595 if (PyErr_Occurred()) SWIG_fail
;
24598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24606 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24607 PyObject
*resultobj
;
24608 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24609 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24612 PyObject
* obj0
= 0 ;
24613 PyObject
* obj1
= 0 ;
24614 PyObject
* obj2
= 0 ;
24615 char *kwnames
[] = {
24616 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24622 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24624 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24625 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24627 if (arg3
== NULL
) {
24628 PyErr_SetString(PyExc_TypeError
,"null reference");
24632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24633 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
24635 wxPyEndAllowThreads(__tstate
);
24636 if (PyErr_Occurred()) SWIG_fail
;
24639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24647 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24648 PyObject
*resultobj
;
24649 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24650 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24653 PyObject
* obj0
= 0 ;
24654 PyObject
* obj1
= 0 ;
24655 PyObject
* obj2
= 0 ;
24656 char *kwnames
[] = {
24657 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24663 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24665 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24666 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24668 if (arg3
== NULL
) {
24669 PyErr_SetString(PyExc_TypeError
,"null reference");
24673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24674 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
24676 wxPyEndAllowThreads(__tstate
);
24677 if (PyErr_Occurred()) SWIG_fail
;
24680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24688 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24689 PyObject
*resultobj
;
24690 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24693 PyObject
* obj0
= 0 ;
24694 PyObject
* obj1
= 0 ;
24695 char *kwnames
[] = {
24696 (char *) "self",(char *) "pageNum", NULL
24699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24702 arg2
= (int)SWIG_As_int(obj1
);
24703 if (PyErr_Occurred()) SWIG_fail
;
24705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24706 result
= (bool)(arg1
)->base_RenderPage(arg2
);
24708 wxPyEndAllowThreads(__tstate
);
24709 if (PyErr_Occurred()) SWIG_fail
;
24712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24720 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24721 PyObject
*resultobj
;
24722 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24724 PyObject
* obj0
= 0 ;
24725 PyObject
* obj1
= 0 ;
24726 char *kwnames
[] = {
24727 (char *) "self",(char *) "percent", NULL
24730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
24731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24733 arg2
= (int)SWIG_As_int(obj1
);
24734 if (PyErr_Occurred()) SWIG_fail
;
24736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24737 (arg1
)->base_SetZoom(arg2
);
24739 wxPyEndAllowThreads(__tstate
);
24740 if (PyErr_Occurred()) SWIG_fail
;
24742 Py_INCREF(Py_None
); resultobj
= Py_None
;
24749 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24750 PyObject
*resultobj
;
24751 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24754 PyObject
* obj0
= 0 ;
24755 PyObject
* obj1
= 0 ;
24756 char *kwnames
[] = {
24757 (char *) "self",(char *) "interactive", NULL
24760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
24761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24763 arg2
= (bool)SWIG_As_bool(obj1
);
24764 if (PyErr_Occurred()) SWIG_fail
;
24766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24767 result
= (bool)(arg1
)->base_Print(arg2
);
24769 wxPyEndAllowThreads(__tstate
);
24770 if (PyErr_Occurred()) SWIG_fail
;
24773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24781 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24782 PyObject
*resultobj
;
24783 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24784 PyObject
* obj0
= 0 ;
24785 char *kwnames
[] = {
24786 (char *) "self", NULL
24789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
24790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24794 (arg1
)->base_DetermineScaling();
24796 wxPyEndAllowThreads(__tstate
);
24797 if (PyErr_Occurred()) SWIG_fail
;
24799 Py_INCREF(Py_None
); resultobj
= Py_None
;
24806 static PyObject
* PyPrintPreview_swigregister(PyObject
*, PyObject
*args
) {
24808 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24809 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
24811 return Py_BuildValue((char *)"");
24813 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24814 PyObject
*resultobj
;
24815 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24816 wxFrame
*arg2
= (wxFrame
*) 0 ;
24817 wxString
*arg3
= 0 ;
24818 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24819 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24820 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24821 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24822 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
24823 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
24824 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24825 wxPyPreviewFrame
*result
;
24826 bool temp3
= false ;
24829 bool temp7
= false ;
24830 PyObject
* obj0
= 0 ;
24831 PyObject
* obj1
= 0 ;
24832 PyObject
* obj2
= 0 ;
24833 PyObject
* obj3
= 0 ;
24834 PyObject
* obj4
= 0 ;
24835 PyObject
* obj5
= 0 ;
24836 PyObject
* obj6
= 0 ;
24837 char *kwnames
[] = {
24838 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24844 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
24845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24847 arg3
= wxString_in_helper(obj2
);
24848 if (arg3
== NULL
) SWIG_fail
;
24854 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24860 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24864 arg6
= (long)SWIG_As_long(obj5
);
24865 if (PyErr_Occurred()) SWIG_fail
;
24869 arg7
= wxString_in_helper(obj6
);
24870 if (arg7
== NULL
) SWIG_fail
;
24875 if (!wxPyCheckForApp()) SWIG_fail
;
24876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24877 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24879 wxPyEndAllowThreads(__tstate
);
24880 if (PyErr_Occurred()) SWIG_fail
;
24882 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
24905 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24906 PyObject
*resultobj
;
24907 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24908 PyObject
*arg2
= (PyObject
*) 0 ;
24909 PyObject
*arg3
= (PyObject
*) 0 ;
24910 PyObject
* obj0
= 0 ;
24911 PyObject
* obj1
= 0 ;
24912 PyObject
* obj2
= 0 ;
24913 char *kwnames
[] = {
24914 (char *) "self",(char *) "self",(char *) "_class", NULL
24917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24924 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24926 wxPyEndAllowThreads(__tstate
);
24927 if (PyErr_Occurred()) SWIG_fail
;
24929 Py_INCREF(Py_None
); resultobj
= Py_None
;
24936 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24937 PyObject
*resultobj
;
24938 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24939 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24940 PyObject
* obj0
= 0 ;
24941 PyObject
* obj1
= 0 ;
24942 char *kwnames
[] = {
24943 (char *) "self",(char *) "canvas", NULL
24946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
24947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24949 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24953 (arg1
)->SetPreviewCanvas(arg2
);
24955 wxPyEndAllowThreads(__tstate
);
24956 if (PyErr_Occurred()) SWIG_fail
;
24958 Py_INCREF(Py_None
); resultobj
= Py_None
;
24965 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24966 PyObject
*resultobj
;
24967 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24968 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
24969 PyObject
* obj0
= 0 ;
24970 PyObject
* obj1
= 0 ;
24971 char *kwnames
[] = {
24972 (char *) "self",(char *) "bar", NULL
24975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
24976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24978 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewControlBar
,
24979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24982 (arg1
)->SetControlBar(arg2
);
24984 wxPyEndAllowThreads(__tstate
);
24985 if (PyErr_Occurred()) SWIG_fail
;
24987 Py_INCREF(Py_None
); resultobj
= Py_None
;
24994 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24995 PyObject
*resultobj
;
24996 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24997 PyObject
* obj0
= 0 ;
24998 char *kwnames
[] = {
24999 (char *) "self", NULL
25002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
25003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
25004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25007 (arg1
)->base_Initialize();
25009 wxPyEndAllowThreads(__tstate
);
25010 if (PyErr_Occurred()) SWIG_fail
;
25012 Py_INCREF(Py_None
); resultobj
= Py_None
;
25019 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25020 PyObject
*resultobj
;
25021 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
25022 PyObject
* obj0
= 0 ;
25023 char *kwnames
[] = {
25024 (char *) "self", NULL
25027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
25028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
25029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25032 (arg1
)->base_CreateCanvas();
25034 wxPyEndAllowThreads(__tstate
);
25035 if (PyErr_Occurred()) SWIG_fail
;
25037 Py_INCREF(Py_None
); resultobj
= Py_None
;
25044 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25045 PyObject
*resultobj
;
25046 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
25047 PyObject
* obj0
= 0 ;
25048 char *kwnames
[] = {
25049 (char *) "self", NULL
25052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
25053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
25054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25057 (arg1
)->base_CreateControlBar();
25059 wxPyEndAllowThreads(__tstate
);
25060 if (PyErr_Occurred()) SWIG_fail
;
25062 Py_INCREF(Py_None
); resultobj
= Py_None
;
25069 static PyObject
* PyPreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
25071 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25072 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
25074 return Py_BuildValue((char *)"");
25076 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25077 PyObject
*resultobj
;
25078 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25080 wxWindow
*arg3
= (wxWindow
*) 0 ;
25081 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25082 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25083 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25084 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25085 long arg6
= (long) 0 ;
25086 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
25087 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25088 wxPyPreviewControlBar
*result
;
25091 bool temp7
= false ;
25092 PyObject
* obj0
= 0 ;
25093 PyObject
* obj1
= 0 ;
25094 PyObject
* obj2
= 0 ;
25095 PyObject
* obj3
= 0 ;
25096 PyObject
* obj4
= 0 ;
25097 PyObject
* obj5
= 0 ;
25098 PyObject
* obj6
= 0 ;
25099 char *kwnames
[] = {
25100 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
25105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25106 arg2
= (long)SWIG_As_long(obj1
);
25107 if (PyErr_Occurred()) SWIG_fail
;
25108 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
25109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25113 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25119 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25123 arg6
= (long)SWIG_As_long(obj5
);
25124 if (PyErr_Occurred()) SWIG_fail
;
25128 arg7
= wxString_in_helper(obj6
);
25129 if (arg7
== NULL
) SWIG_fail
;
25134 if (!wxPyCheckForApp()) SWIG_fail
;
25135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25136 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25138 wxPyEndAllowThreads(__tstate
);
25139 if (PyErr_Occurred()) SWIG_fail
;
25141 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
25156 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25157 PyObject
*resultobj
;
25158 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
25159 PyObject
*arg2
= (PyObject
*) 0 ;
25160 PyObject
*arg3
= (PyObject
*) 0 ;
25161 PyObject
* obj0
= 0 ;
25162 PyObject
* obj1
= 0 ;
25163 PyObject
* obj2
= 0 ;
25164 char *kwnames
[] = {
25165 (char *) "self",(char *) "self",(char *) "_class", NULL
25168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
25170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25175 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25177 wxPyEndAllowThreads(__tstate
);
25178 if (PyErr_Occurred()) SWIG_fail
;
25180 Py_INCREF(Py_None
); resultobj
= Py_None
;
25187 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25188 PyObject
*resultobj
;
25189 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
25190 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
25191 PyObject
* obj0
= 0 ;
25192 PyObject
* obj1
= 0 ;
25193 char *kwnames
[] = {
25194 (char *) "self",(char *) "preview", NULL
25197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
25198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
25199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25200 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintPreview
,
25201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25204 (arg1
)->SetPrintPreview(arg2
);
25206 wxPyEndAllowThreads(__tstate
);
25207 if (PyErr_Occurred()) SWIG_fail
;
25209 Py_INCREF(Py_None
); resultobj
= Py_None
;
25216 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25217 PyObject
*resultobj
;
25218 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
25219 PyObject
* obj0
= 0 ;
25220 char *kwnames
[] = {
25221 (char *) "self", NULL
25224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
25225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
25226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25229 (arg1
)->base_CreateButtons();
25231 wxPyEndAllowThreads(__tstate
);
25232 if (PyErr_Occurred()) SWIG_fail
;
25234 Py_INCREF(Py_None
); resultobj
= Py_None
;
25241 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25242 PyObject
*resultobj
;
25243 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
25245 PyObject
* obj0
= 0 ;
25246 PyObject
* obj1
= 0 ;
25247 char *kwnames
[] = {
25248 (char *) "self",(char *) "zoom", NULL
25251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
25252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
25253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25254 arg2
= (int)SWIG_As_int(obj1
);
25255 if (PyErr_Occurred()) SWIG_fail
;
25257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25258 (arg1
)->base_SetZoomControl(arg2
);
25260 wxPyEndAllowThreads(__tstate
);
25261 if (PyErr_Occurred()) SWIG_fail
;
25263 Py_INCREF(Py_None
); resultobj
= Py_None
;
25270 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
25272 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25273 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
25275 return Py_BuildValue((char *)"");
25277 static PyMethodDef SwigMethods
[] = {
25278 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25279 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25280 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25281 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25282 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25283 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
25284 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25285 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25286 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25287 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25288 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25289 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25290 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25291 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25292 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25293 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25294 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25295 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25296 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25297 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25298 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
25299 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
25300 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25301 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25302 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25303 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25304 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25305 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25306 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
25307 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25308 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25309 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25310 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25311 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25312 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25313 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25314 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25315 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25316 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25317 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25318 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25319 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25320 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25321 { (char *)"TopLevelWindow_IsActive", (PyCFunction
) _wrap_TopLevelWindow_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25322 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25323 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacGetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25324 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
25325 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25326 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25327 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25328 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25329 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25330 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25331 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25332 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25333 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25334 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25335 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25336 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25337 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25338 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25339 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25340 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25341 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25342 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25343 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25344 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25345 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25346 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25347 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25348 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
25349 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25350 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25351 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25352 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25353 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25354 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25355 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25356 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25357 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25358 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25359 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25360 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
25361 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25362 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25363 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25364 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
25365 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25366 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25367 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25368 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
25369 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25370 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25371 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25372 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25373 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
25374 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25375 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25376 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25377 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25378 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25379 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25380 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25381 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25382 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25383 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25384 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25385 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25386 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25387 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25388 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25389 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25390 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
25391 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25392 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25393 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25394 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25395 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25396 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25397 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25398 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25399 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25400 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25401 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25402 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25403 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25404 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25405 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25406 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25407 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25408 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25409 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25410 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25411 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25412 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25413 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25414 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25415 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25416 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25417 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25418 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
25419 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25420 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25421 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25422 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25423 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25424 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25425 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
25426 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25427 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25428 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25429 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25430 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25431 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25432 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25433 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25434 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25435 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25436 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25437 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25438 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25439 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25440 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25441 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25442 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25443 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25444 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25445 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25446 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25447 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25448 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
25449 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25450 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25451 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25452 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25453 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25454 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25455 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25456 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
25457 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25458 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25459 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25460 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25461 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25462 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25463 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25464 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25465 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25466 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25467 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25468 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
25469 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25470 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25471 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25472 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25473 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25474 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
25475 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25476 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25477 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25478 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25479 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25480 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25481 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25482 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25483 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
25484 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25485 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25486 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25487 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25488 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25489 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
25490 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25491 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25492 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25493 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25494 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
25495 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25496 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25497 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25498 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25499 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
) _wrap_PopupTransientWindow_Dismiss
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25500 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
25501 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25502 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25503 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25504 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
25505 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25506 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25507 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25508 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25509 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25510 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25511 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25512 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25513 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25514 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25515 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25516 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25517 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25518 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25519 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25520 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25521 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25522 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
25523 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25524 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25525 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25526 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25527 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25528 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25529 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25530 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25531 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25532 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25533 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25534 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25535 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25536 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25537 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25538 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25539 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25540 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25541 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25542 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25543 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25544 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25545 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25546 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25547 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25548 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
25549 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25550 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25551 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25552 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25553 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25554 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25555 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
) _wrap_HtmlListBox_GetFileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25556 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
25557 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25558 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25559 { (char *)"TaskBarIcon_Destroy", (PyCFunction
) _wrap_TaskBarIcon_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25560 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25561 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25562 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25563 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25564 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25565 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
25566 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25567 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
25568 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25569 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25570 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25571 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25572 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25573 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25574 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25575 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25576 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
25577 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25578 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25579 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
25580 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25581 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25582 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25583 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25584 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25585 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25586 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
25587 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25588 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25589 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25590 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25591 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25592 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25593 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25594 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25595 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25596 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25597 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25598 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25599 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25600 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25601 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25602 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25603 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25604 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
25605 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25606 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25607 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25608 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
25609 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25610 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25611 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25612 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25613 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
25614 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25615 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25616 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25617 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
25618 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25619 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25620 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25621 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25622 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25623 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25624 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25625 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25626 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25627 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25628 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25629 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25630 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25631 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25632 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25633 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
25634 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25635 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25636 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
25637 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25638 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
25639 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25640 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25641 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25642 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
25643 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25644 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25645 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25646 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25647 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25648 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25649 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25650 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25651 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
25652 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25653 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25654 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25655 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25656 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25657 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25658 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25659 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25660 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
25661 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25662 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25663 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25664 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25665 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25666 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
25667 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25668 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25669 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25670 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25671 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25672 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25673 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25674 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25675 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25676 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25677 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25678 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
25679 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25680 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25681 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25682 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25683 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25684 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25685 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
25686 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25687 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25688 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25689 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
25690 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25691 { (char *)"new_PrePyWindow", (PyCFunction
) _wrap_new_PrePyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25692 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25693 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25694 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25695 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25696 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25697 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25698 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25699 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25700 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25701 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25702 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25703 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25704 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25705 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25706 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25707 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25708 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25709 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25710 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25711 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25712 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25713 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25714 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25715 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
25716 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25717 { (char *)"new_PrePyPanel", (PyCFunction
) _wrap_new_PrePyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25718 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25719 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25720 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25721 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25722 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25723 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25724 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25725 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25726 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25727 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25728 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25729 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25730 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25731 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25732 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25733 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25734 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25735 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25736 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25737 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25738 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction
) _wrap_PyPanel_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25739 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyPanel_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25740 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyPanel_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25741 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
25742 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25743 { (char *)"new_PrePyScrolledWindow", (PyCFunction
) _wrap_new_PrePyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25744 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25745 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25746 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25747 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25748 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25749 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25750 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25751 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25752 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25753 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25754 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25755 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction
) _wrap_PyScrolledWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25756 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25757 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25758 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction
) _wrap_PyScrolledWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25759 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25760 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25761 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyScrolledWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25762 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction
) _wrap_PyScrolledWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25763 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction
) _wrap_PyScrolledWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25764 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyScrolledWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25765 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25766 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyScrolledWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25767 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
25768 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
25769 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25770 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25771 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25772 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25773 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25774 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25775 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25776 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25777 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25778 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25779 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25780 { (char *)"PrintData_GetBin", (PyCFunction
) _wrap_PrintData_GetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25781 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25782 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25783 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25784 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25785 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25786 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25787 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25788 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25789 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25790 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25791 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25792 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25793 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25794 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25795 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25796 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25797 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25798 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25799 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25800 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25801 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25802 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25803 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25804 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25805 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25806 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25807 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25808 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25809 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25810 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25811 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25812 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25813 { (char *)"PrintData_GetOutputStream", (PyCFunction
) _wrap_PrintData_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25814 { (char *)"PrintData_SetOutputStream", (PyCFunction
) _wrap_PrintData_SetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25815 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
25816 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
25817 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25818 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25819 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25820 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25821 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25822 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25823 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25824 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25825 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25826 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25827 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25828 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25829 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25830 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25831 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25832 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25833 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25834 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25835 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25836 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25837 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25838 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25839 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25840 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25841 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25842 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25843 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25844 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25845 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25846 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25847 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
25848 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25849 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25850 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25851 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
25852 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
25853 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25854 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25855 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25856 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25857 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25858 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25859 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25860 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25861 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25862 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25863 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25864 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25865 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25866 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25867 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25868 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25869 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25870 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25871 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25872 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25873 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25874 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25875 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25876 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25877 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25878 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25879 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25880 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25881 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25882 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25883 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25884 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25885 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
25886 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25887 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25888 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25889 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25890 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
25891 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25892 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25893 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25894 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25895 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25896 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25897 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25898 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25899 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25900 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25901 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
25902 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25903 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25904 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25905 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25906 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25907 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25908 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25909 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25910 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25911 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25912 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25913 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25914 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25915 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25916 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25917 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25918 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25919 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25920 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25921 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25922 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25923 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25924 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
25925 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25926 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
25927 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25928 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25929 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25930 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25931 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25932 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
25933 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25934 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25935 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25936 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25937 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25938 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25939 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25940 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25941 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25942 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
25943 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
25944 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25945 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25946 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25947 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25948 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25949 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25950 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25951 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25952 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25953 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25954 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25955 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25956 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25957 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25958 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25959 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25960 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25961 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25962 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25963 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25964 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25965 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25966 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
25967 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
25968 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25969 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25970 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25971 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25972 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25973 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25974 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25975 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25976 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
25977 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25978 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25979 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25980 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25981 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25982 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25983 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25984 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
25985 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25986 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25987 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25988 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25989 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25990 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
25991 { NULL
, NULL
, 0, NULL
}
25995 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25997 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
25998 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26000 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
26001 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26003 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
26004 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
26006 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
26007 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
26009 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
26010 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
26012 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
26013 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
26015 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
26016 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
26018 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
26019 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26021 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
26022 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
26024 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
26025 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
26027 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
26028 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
26030 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
26031 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
26033 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
26034 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26036 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
26037 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
26039 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
26040 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
26042 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
26043 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26045 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
26046 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
26048 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
26049 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
26051 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
26052 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
26054 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
26055 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
26057 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
26058 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
26060 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
26061 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
26063 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
26064 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
26066 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
26067 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
26069 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
26070 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26072 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
26073 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
26075 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
26076 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
26078 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
26079 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
26081 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
26082 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
26084 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
26085 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
26087 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
26088 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
26090 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
26091 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26093 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
26094 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
26096 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
26097 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
26099 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
26100 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
26102 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
26103 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
26105 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
26106 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26108 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
26109 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26111 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
26112 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
26114 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
26115 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
26117 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
26118 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
26120 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
26121 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
26123 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
26124 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26126 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
26127 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
26129 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
26130 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26132 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
26133 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
26135 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
26136 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
26138 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
26139 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
26141 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
26142 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
26144 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
26145 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
26147 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
26148 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
26150 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
26151 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26153 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
26154 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26156 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
26157 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
26159 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
26160 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
26162 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
26163 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26165 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
26166 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26168 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
26169 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
26171 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
26172 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
26174 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
26175 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26177 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
26178 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26180 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
26181 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26183 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
26184 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
26186 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
26187 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26189 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
26190 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
26192 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
26193 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
26195 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
26196 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
26198 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
26199 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
26201 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
26202 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
26204 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
26205 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
26207 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
26208 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
26210 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
26211 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26213 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
26214 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
26216 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
26217 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
26219 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
26220 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26222 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
26223 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26225 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
26226 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
26228 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
26229 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
26231 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
26232 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
26234 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
26235 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26237 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
26238 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26240 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
26241 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26243 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
26244 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
26246 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
26247 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26249 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
26250 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
26252 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
26253 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
26255 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
26256 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26258 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
26259 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26261 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
26262 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26264 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
26265 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
26267 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
26268 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
26270 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
26271 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
26273 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
26274 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26276 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
26277 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26279 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
26280 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
26282 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
26283 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
26285 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
26286 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
26288 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
26289 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26291 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
26292 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
26294 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
26295 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
26297 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
26298 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
26300 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
26301 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
26303 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
26304 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
26306 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
26307 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
26309 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
26310 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26312 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
26313 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
26315 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
26316 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
26318 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
26319 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
26321 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
26322 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
26324 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
26325 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
26327 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
26328 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
26330 static void *_p_wxSizerTo_p_wxObject(void *x
) {
26331 return (void *)((wxObject
*) ((wxSizer
*) x
));
26333 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
26334 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
26336 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
26337 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26339 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
26340 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
26342 static void *_p_wxEventTo_p_wxObject(void *x
) {
26343 return (void *)((wxObject
*) ((wxEvent
*) x
));
26345 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
26346 return (void *)((wxObject
*) ((wxFontData
*) x
));
26348 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
26349 return (void *)((wxObject
*) ((wxPrintData
*) x
));
26351 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
26352 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
26354 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
26355 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
26357 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
26358 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
26360 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
26361 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
26363 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
26364 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
26366 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
26367 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
26369 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
26370 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
26372 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
26373 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
26375 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
26376 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
26378 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
26379 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
26381 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
26382 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
26384 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
26385 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
26387 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
26388 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26390 static void *_p_wxControlTo_p_wxObject(void *x
) {
26391 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
26393 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
26394 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
26396 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
26397 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26399 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
26400 return (void *)((wxObject
*) ((wxFSFile
*) x
));
26402 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
26403 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
26405 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
26406 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
26408 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
26409 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26411 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
26412 return (void *)((wxObject
*) ((wxColourData
*) x
));
26414 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
26415 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
26417 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
26418 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26420 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
26421 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
26423 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
26424 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
26426 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
26427 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
26429 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
26430 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26432 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
26433 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26435 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
26436 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
26438 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
26439 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
26441 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
26442 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26444 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
26445 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26447 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
26448 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
26450 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
26451 return (void *)((wxObject
*) ((wxPrinter
*) x
));
26453 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
26454 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
26456 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
26457 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
26459 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
26460 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26462 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
26463 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
26465 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
26466 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
26468 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
26469 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
26471 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
26472 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
26474 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
26475 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
26477 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
26478 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
26480 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
26481 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
26483 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
26484 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
26486 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
26487 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
26489 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
26490 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
26492 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
26493 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
26495 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
26496 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
26498 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
26499 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
26501 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
26502 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
26504 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
26505 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
26507 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
26508 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
26510 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
26511 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
26513 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
26514 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
26516 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
26517 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
26519 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
26520 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
26522 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
26523 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26525 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
26526 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26528 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
26529 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
26531 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
26532 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26534 static void *_p_wxImageTo_p_wxObject(void *x
) {
26535 return (void *)((wxObject
*) ((wxImage
*) x
));
26537 static void *_p_wxFrameTo_p_wxObject(void *x
) {
26538 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
26540 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
26541 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
26543 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
26544 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
26546 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
26547 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
26549 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
26550 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
26552 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
26553 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26555 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
26556 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26558 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
26559 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
26561 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
26562 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
26564 static void *_p_wxWindowTo_p_wxObject(void *x
) {
26565 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
26567 static void *_p_wxMenuTo_p_wxObject(void *x
) {
26568 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
26570 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
26571 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
26573 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
26574 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
26576 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
26577 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
26579 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
26580 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
26582 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
26583 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
26585 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
26586 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
26588 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
26589 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26591 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
26592 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
26594 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
26595 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26597 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
26598 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26600 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
26601 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26603 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
26604 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
26606 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
26607 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26609 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
26610 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
26612 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
26613 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
26615 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
26616 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
26618 static void *_p_wxPanelTo_p_wxObject(void *x
) {
26619 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
26621 static void *_p_wxDialogTo_p_wxObject(void *x
) {
26622 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
26624 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
26625 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26627 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
26628 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26630 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
26631 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26633 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
26634 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
26636 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
26637 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
26639 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
26640 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
26642 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
26643 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26645 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
26646 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
26648 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
26649 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
26651 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
26652 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
26654 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
26655 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
26657 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
26658 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
26660 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
26661 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26663 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
26664 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
26666 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
26667 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
26669 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
26670 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26672 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
26673 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
26675 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
26676 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
26678 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
26679 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26681 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
26682 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
26684 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
26685 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
26687 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
26688 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
26690 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
26691 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
26693 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
26694 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
26696 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
26697 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26699 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
26700 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26702 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
26703 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26705 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
26706 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26708 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
26709 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26711 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
26712 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26714 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
26715 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
26717 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
26718 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
26720 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
26721 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
26723 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
26724 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
26726 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
26727 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
26729 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
26730 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
26732 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
26733 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
26735 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x
) {
26736 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPrintDialog
*) x
));
26738 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
26739 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
26741 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
26742 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
26744 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
26745 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
26747 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
26748 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
26750 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
26751 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
26753 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
26754 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
26756 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
26757 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
26759 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
26760 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26762 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
26763 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26765 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
26766 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
26768 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
26769 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
26771 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
26772 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26774 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
26775 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
26777 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
26778 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26780 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
26781 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
26783 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
26784 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
26786 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
26787 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26789 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
26790 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26792 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
26793 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
26795 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
26796 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
26798 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
26799 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26801 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
26802 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26804 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
26805 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
26807 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
26808 return (void *)((wxWindow
*) ((wxPanel
*) x
));
26810 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
26811 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
26813 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
26814 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
26816 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
26817 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26819 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
26820 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26822 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
26823 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26825 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
26826 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
26828 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
26829 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26831 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
26832 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
26834 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
26835 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
26837 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
26838 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
26840 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
26841 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
26843 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
26844 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
26846 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
26847 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26849 static void *_p_wxControlTo_p_wxWindow(void *x
) {
26850 return (void *)((wxWindow
*) ((wxControl
*) x
));
26852 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
26853 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
26855 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
26856 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26858 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
26859 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26861 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
26862 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
26864 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
26865 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
26867 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
26868 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26870 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
26871 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26873 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
26874 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26876 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
26877 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
26879 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
26880 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26882 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
26883 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
26885 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
26886 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26888 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
26889 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26891 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
26892 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26894 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
26895 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
26897 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
26898 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
26900 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
26901 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
26903 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
26904 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26906 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
26907 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26909 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
26910 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26912 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
26913 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
26915 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
26916 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
26918 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
26919 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
26921 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
26922 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
26924 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x
) {
26925 return (void *)((wxDialog
*) ((wxPageSetupDialog
*) x
));
26927 static void *_p_wxPrintDialogTo_p_wxDialog(void *x
) {
26928 return (void *)((wxDialog
*) ((wxPrintDialog
*) x
));
26930 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
26931 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
26933 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
26934 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26936 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
26937 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26939 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
26940 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
26942 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
26943 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
26945 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
26946 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
26948 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
26949 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
26951 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
26952 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26954 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
26955 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26957 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
26958 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26960 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
26961 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26963 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
26964 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
26966 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
26967 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26969 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
26970 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
26972 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
26973 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26975 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
26976 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26978 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
26979 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
26981 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
26982 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26984 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
26985 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26987 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
26988 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
26990 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
26991 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26993 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
26994 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26996 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
26997 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26999 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
27000 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
27002 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
27003 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
27005 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
27006 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
27008 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
27009 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
27011 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}};
27012 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}};
27013 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}};
27014 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}};
27015 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}};
27016 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}};
27017 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}};
27018 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}};
27019 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}};
27020 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}};
27021 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}};
27022 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}};
27023 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}};
27024 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}};
27025 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}};
27026 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}};
27027 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}};
27028 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}};
27029 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}};
27030 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}};
27031 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}};
27032 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}};
27033 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}};
27034 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}};
27035 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}};
27036 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}};
27037 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}};
27038 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}};
27039 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}};
27040 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}};
27041 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}};
27042 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}};
27043 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}};
27044 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}};
27045 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}};
27046 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}};
27047 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}};
27048 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}};
27049 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}};
27050 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}};
27051 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}};
27052 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}};
27053 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}};
27054 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}};
27055 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}};
27056 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}};
27057 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}};
27058 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}};
27059 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}};
27060 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}};
27061 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}};
27062 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}};
27063 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}};
27064 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}};
27065 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}};
27066 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}};
27067 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}};
27068 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}};
27069 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}};
27070 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}};
27071 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}};
27072 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}};
27073 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}};
27074 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}};
27075 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}};
27076 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}};
27077 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}};
27078 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}};
27079 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}};
27080 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}};
27081 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}};
27082 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}};
27083 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}};
27084 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}};
27085 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}};
27086 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}};
27087 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}};
27088 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}};
27089 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}};
27090 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}};
27091 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}};
27092 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}};
27093 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}};
27094 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}};
27095 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}};
27096 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}};
27097 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}};
27099 static swig_type_info
*swig_types_initial
[] = {
27100 _swigt__p_wxQueryLayoutInfoEvent
,
27101 _swigt__p_wxPreviewFrame
,
27102 _swigt__p_wxPyPreviewFrame
,
27103 _swigt__p_wxPyPanel
,
27105 _swigt__p_wxFontData
,
27107 _swigt__p_wxPrintData
,
27108 _swigt__p_wxTaskBarIcon
,
27109 _swigt__p_wxPyTaskBarIcon
,
27110 _swigt__p_wxIconBundle
,
27111 _swigt__p_wxLayoutAlgorithm
,
27112 _swigt__p_wxFindDialogEvent
,
27113 _swigt__p_wxPreviewCanvas
,
27115 _swigt__p_wxSplitterEvent
,
27116 _swigt__p_wxRegion
,
27117 _swigt__p_wxFindReplaceData
,
27122 _swigt__p_wxVisualAttributes
,
27123 _swigt__p_wxMDIChildFrame
,
27124 _swigt__p_wxColourData
,
27125 _swigt__p_wxNotifyEvent
,
27126 _swigt__p_wxPyWindow
,
27127 _swigt__p_wxSplashScreen
,
27128 _swigt__p_wxFindReplaceDialog
,
27129 _swigt__p_wxProgressDialog
,
27130 _swigt__p_wxMessageDialog
,
27131 _swigt__p_wxTextEntryDialog
,
27132 _swigt__p_wxSingleChoiceDialog
,
27133 _swigt__p_wxMultiChoiceDialog
,
27134 _swigt__p_wxFileDialog
,
27135 _swigt__p_wxPrinter
,
27136 _swigt__p_wxArrayInt
,
27137 _swigt__p_wxEvtHandler
,
27138 _swigt__p_wxCalculateLayoutEvent
,
27139 _swigt__p_wxPyHtmlListBox
,
27140 _swigt__p_wxPyVListBox
,
27143 _swigt__p_wxMiniFrame
,
27145 _swigt__p_wxPyPrintout
,
27146 _swigt__p_wxTaskBarIconEvent
,
27147 _swigt__p_wxScrollWinEvent
,
27148 _swigt__p_wxStatusBar
,
27149 _swigt__p_wxMDIParentFrame
,
27151 _swigt__p_wxObject
,
27152 _swigt__p_wxOutputStream
,
27153 _swigt__p_wxMDIClientWindow
,
27154 _swigt__p_wxTipWindow
,
27155 _swigt__p_wxSashLayoutWindow
,
27156 _swigt__p_wxSplitterWindow
,
27157 _swigt__p_wxSplashScreenWindow
,
27158 _swigt__p_wxPyVScrolledWindow
,
27159 _swigt__p_wxPyPopupTransientWindow
,
27160 _swigt__p_wxPopupWindow
,
27161 _swigt__p_wxSashWindow
,
27162 _swigt__p_wxTopLevelWindow
,
27163 _swigt__p_wxWindow
,
27164 _swigt__p_wxScrolledWindow
,
27165 _swigt__p_wxMenuBar
,
27166 _swigt__p_wxPyScrolledWindow
,
27167 _swigt__p_wxPrintPreview
,
27168 _swigt__p_wxSashEvent
,
27169 _swigt__p_wxString
,
27170 _swigt__p_wxPyPrintPreview
,
27171 _swigt__p_wxFontDialog
,
27172 _swigt__p_wxDirDialog
,
27173 _swigt__p_wxColourDialog
,
27174 _swigt__p_wxDialog
,
27176 _swigt__p_wxPageSetupDialog
,
27177 _swigt__p_wxPrintDialog
,
27178 _swigt__p_wxFileSystem
,
27179 _swigt__p_wxBitmap
,
27180 _swigt__p_wxCommandEvent
,
27181 _swigt__p_wxPreviewControlBar
,
27182 _swigt__p_wxPyPreviewControlBar
,
27183 _swigt__p_wxColour
,
27184 _swigt__p_wxToolBar
,
27185 _swigt__p_wxPageSetupDialogData
,
27186 _swigt__p_wxPrintDialogData
,
27191 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
27193 static swig_const_info swig_const_table
[] = {
27194 {0, 0, 0, 0.0, 0, 0}};
27203 SWIGEXPORT(void) SWIG_init(void) {
27204 static PyObject
*SWIG_globals
= 0;
27205 static int typeinit
= 0;
27208 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
27209 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
27210 d
= PyModule_GetDict(m
);
27213 for (i
= 0; swig_types_initial
[i
]; i
++) {
27214 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
27218 SWIG_InstallConstants(d
,swig_const_table
);
27220 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
27221 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
27222 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
27223 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
27224 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
27225 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_From_int((int)wxSTAY_ON_TOP
));
27226 PyDict_SetItemString(d
,"ICONIZE", SWIG_From_int((int)wxICONIZE
));
27227 PyDict_SetItemString(d
,"MINIMIZE", SWIG_From_int((int)wxMINIMIZE
));
27228 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_From_int((int)wxMAXIMIZE
));
27229 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_From_int((int)wxCLOSE_BOX
));
27230 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_From_int((int)wxTHICK_FRAME
));
27231 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_From_int((int)wxSYSTEM_MENU
));
27232 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_From_int((int)wxMINIMIZE_BOX
));
27233 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_From_int((int)wxMAXIMIZE_BOX
));
27234 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_From_int((int)wxTINY_CAPTION_HORIZ
));
27235 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_From_int((int)wxTINY_CAPTION_VERT
));
27236 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_From_int((int)wxRESIZE_BOX
));
27237 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_From_int((int)wxRESIZE_BORDER
));
27238 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_From_int((int)wxDIALOG_NO_PARENT
));
27239 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)wxDEFAULT_FRAME_STYLE
));
27240 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)wxDEFAULT_DIALOG_STYLE
));
27241 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_From_int((int)wxFRAME_TOOL_WINDOW
));
27242 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)wxFRAME_FLOAT_ON_PARENT
));
27243 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)wxFRAME_NO_WINDOW_MENU
));
27244 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_From_int((int)wxFRAME_NO_TASKBAR
));
27245 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_From_int((int)wxFRAME_SHAPED
));
27246 PyDict_SetItemString(d
,"FRAME_DRAWER", SWIG_From_int((int)wxFRAME_DRAWER
));
27247 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_From_int((int)wxDIALOG_MODAL
));
27248 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_From_int((int)wxDIALOG_MODELESS
));
27249 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_From_int((int)wxUSER_COLOURS
));
27250 PyDict_SetItemString(d
,"NO_3D", SWIG_From_int((int)wxNO_3D
));
27251 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)wxFULLSCREEN_NOMENUBAR
));
27252 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)wxFULLSCREEN_NOTOOLBAR
));
27253 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)wxFULLSCREEN_NOSTATUSBAR
));
27254 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_From_int((int)wxFULLSCREEN_NOBORDER
));
27255 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)wxFULLSCREEN_NOCAPTION
));
27256 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_From_int((int)wxFULLSCREEN_ALL
));
27257 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)wxTOPLEVEL_EX_DIALOG
));
27258 PyDict_SetItemString(d
,"USER_ATTENTION_INFO", SWIG_From_int((int)wxUSER_ATTENTION_INFO
));
27259 PyDict_SetItemString(d
,"USER_ATTENTION_ERROR", SWIG_From_int((int)wxUSER_ATTENTION_ERROR
));
27260 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)wxSPLASH_CENTRE_ON_PARENT
));
27261 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)wxSPLASH_CENTRE_ON_SCREEN
));
27262 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_From_int((int)wxSPLASH_NO_CENTRE
));
27263 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_From_int((int)wxSPLASH_TIMEOUT
));
27264 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)wxSPLASH_NO_TIMEOUT
));
27265 PyDict_SetItemString(d
,"SB_NORMAL", SWIG_From_int((int)wxSB_NORMAL
));
27266 PyDict_SetItemString(d
,"SB_FLAT", SWIG_From_int((int)wxSB_FLAT
));
27267 PyDict_SetItemString(d
,"SB_RAISED", SWIG_From_int((int)wxSB_RAISED
));
27268 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
27269 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_From_int((int)wxSP_NOBORDER
));
27270 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_From_int((int)wxSP_NOSASH
));
27271 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)wxSP_PERMIT_UNSPLIT
));
27272 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_From_int((int)wxSP_LIVE_UPDATE
));
27273 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_From_int((int)wxSP_3DSASH
));
27274 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_From_int((int)wxSP_3DBORDER
));
27275 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_From_int((int)wxSP_NO_XP_THEME
));
27276 PyDict_SetItemString(d
,"SP_BORDER", SWIG_From_int((int)wxSP_BORDER
));
27277 PyDict_SetItemString(d
,"SP_3D", SWIG_From_int((int)wxSP_3D
));
27278 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_From_int((int)wxSPLIT_HORIZONTAL
));
27279 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_From_int((int)wxSPLIT_VERTICAL
));
27280 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_From_int((int)wxSPLIT_DRAG_NONE
));
27281 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)wxSPLIT_DRAG_DRAGGING
));
27282 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSPLIT_DRAG_LEFT_DOWN
));
27283 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
27284 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
27285 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
27286 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
27287 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
27288 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
27289 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_From_int((int)wxSASH_DRAG_NONE
));
27290 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_From_int((int)wxSASH_DRAG_DRAGGING
));
27291 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSASH_DRAG_LEFT_DOWN
));
27292 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_From_int((int)wxSW_NOBORDER
));
27293 PyDict_SetItemString(d
,"SW_BORDER", SWIG_From_int((int)wxSW_BORDER
));
27294 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_From_int((int)wxSW_3DSASH
));
27295 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_From_int((int)wxSW_3DBORDER
));
27296 PyDict_SetItemString(d
,"SW_3D", SWIG_From_int((int)wxSW_3D
));
27297 PyDict_SetItemString(d
,"SASH_TOP", SWIG_From_int((int)wxSASH_TOP
));
27298 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_From_int((int)wxSASH_RIGHT
));
27299 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_From_int((int)wxSASH_BOTTOM
));
27300 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_From_int((int)wxSASH_LEFT
));
27301 PyDict_SetItemString(d
,"SASH_NONE", SWIG_From_int((int)wxSASH_NONE
));
27302 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_From_int((int)wxSASH_STATUS_OK
));
27303 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)wxSASH_STATUS_OUT_OF_RANGE
));
27304 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
27305 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_From_int((int)wxLAYOUT_HORIZONTAL
));
27306 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_From_int((int)wxLAYOUT_VERTICAL
));
27307 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_From_int((int)wxLAYOUT_NONE
));
27308 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_From_int((int)wxLAYOUT_TOP
));
27309 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_From_int((int)wxLAYOUT_LEFT
));
27310 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_From_int((int)wxLAYOUT_RIGHT
));
27311 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_From_int((int)wxLAYOUT_BOTTOM
));
27312 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_From_int((int)wxLAYOUT_LENGTH_Y
));
27313 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_From_int((int)wxLAYOUT_LENGTH_X
));
27314 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)wxLAYOUT_MRU_LENGTH
));
27315 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_From_int((int)wxLAYOUT_QUERY
));
27316 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
27317 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
27318 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
27320 // Map renamed classes back to their common name for OOR
27321 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
27322 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
27323 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
27325 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
27326 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
27327 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
27328 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
27329 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
27330 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
27331 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
27332 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
27333 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
27334 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
27335 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
27336 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
27337 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
27338 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_From_int((int)wxCHOICEDLG_STYLE
));
27339 PyDict_SetItemString(d
,"FR_DOWN", SWIG_From_int((int)wxFR_DOWN
));
27340 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_From_int((int)wxFR_WHOLEWORD
));
27341 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_From_int((int)wxFR_MATCHCASE
));
27342 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_From_int((int)wxFR_REPLACEDIALOG
));
27343 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_From_int((int)wxFR_NOUPDOWN
));
27344 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_From_int((int)wxFR_NOMATCHCASE
));
27345 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_From_int((int)wxFR_NOWHOLEWORD
));
27346 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
27347 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
27348 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
27349 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
27350 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
27351 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_From_int((int)4001));
27352 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_From_int((int)4001));
27353 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_From_int((int)4002));
27354 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_From_int((int)4003));
27355 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_From_int((int)4004));
27356 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_From_int((int)4005));
27357 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_From_int((int)4100));
27358 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_From_int((int)4600));
27359 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
27360 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
27361 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_From_int((int)wxPRINT_MODE_NONE
));
27362 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_From_int((int)wxPRINT_MODE_PREVIEW
));
27363 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_From_int((int)wxPRINT_MODE_FILE
));
27364 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_From_int((int)wxPRINT_MODE_PRINTER
));
27365 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_From_int((int)wxPRINT_MODE_STREAM
));
27366 PyDict_SetItemString(d
,"PRINTBIN_DEFAULT", SWIG_From_int((int)wxPRINTBIN_DEFAULT
));
27367 PyDict_SetItemString(d
,"PRINTBIN_ONLYONE", SWIG_From_int((int)wxPRINTBIN_ONLYONE
));
27368 PyDict_SetItemString(d
,"PRINTBIN_LOWER", SWIG_From_int((int)wxPRINTBIN_LOWER
));
27369 PyDict_SetItemString(d
,"PRINTBIN_MIDDLE", SWIG_From_int((int)wxPRINTBIN_MIDDLE
));
27370 PyDict_SetItemString(d
,"PRINTBIN_MANUAL", SWIG_From_int((int)wxPRINTBIN_MANUAL
));
27371 PyDict_SetItemString(d
,"PRINTBIN_ENVELOPE", SWIG_From_int((int)wxPRINTBIN_ENVELOPE
));
27372 PyDict_SetItemString(d
,"PRINTBIN_ENVMANUAL", SWIG_From_int((int)wxPRINTBIN_ENVMANUAL
));
27373 PyDict_SetItemString(d
,"PRINTBIN_AUTO", SWIG_From_int((int)wxPRINTBIN_AUTO
));
27374 PyDict_SetItemString(d
,"PRINTBIN_TRACTOR", SWIG_From_int((int)wxPRINTBIN_TRACTOR
));
27375 PyDict_SetItemString(d
,"PRINTBIN_SMALLFMT", SWIG_From_int((int)wxPRINTBIN_SMALLFMT
));
27376 PyDict_SetItemString(d
,"PRINTBIN_LARGEFMT", SWIG_From_int((int)wxPRINTBIN_LARGEFMT
));
27377 PyDict_SetItemString(d
,"PRINTBIN_LARGECAPACITY", SWIG_From_int((int)wxPRINTBIN_LARGECAPACITY
));
27378 PyDict_SetItemString(d
,"PRINTBIN_CASSETTE", SWIG_From_int((int)wxPRINTBIN_CASSETTE
));
27379 PyDict_SetItemString(d
,"PRINTBIN_FORMSOURCE", SWIG_From_int((int)wxPRINTBIN_FORMSOURCE
));
27380 PyDict_SetItemString(d
,"PRINTBIN_USER", SWIG_From_int((int)wxPRINTBIN_USER
));
27381 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_From_int((int)wxPRINTER_NO_ERROR
));
27382 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_From_int((int)wxPRINTER_CANCELLED
));
27383 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_From_int((int)wxPRINTER_ERROR
));
27384 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_From_int((int)wxPREVIEW_PRINT
));
27385 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_From_int((int)wxPREVIEW_PREVIOUS
));
27386 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_From_int((int)wxPREVIEW_NEXT
));
27387 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_From_int((int)wxPREVIEW_ZOOM
));
27388 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_From_int((int)wxPREVIEW_FIRST
));
27389 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_From_int((int)wxPREVIEW_LAST
));
27390 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_From_int((int)wxPREVIEW_GOTO
));
27391 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_From_int((int)wxPREVIEW_DEFAULT
));
27392 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_From_int((int)wxID_PREVIEW_CLOSE
));
27393 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_From_int((int)wxID_PREVIEW_NEXT
));
27394 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)wxID_PREVIEW_PREVIOUS
));
27395 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_From_int((int)wxID_PREVIEW_PRINT
));
27396 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_From_int((int)wxID_PREVIEW_ZOOM
));
27397 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_From_int((int)wxID_PREVIEW_FIRST
));
27398 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_From_int((int)wxID_PREVIEW_LAST
));
27399 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_From_int((int)wxID_PREVIEW_GOTO
));
27401 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");