1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypePrettyName SWIG_Python_TypePrettyName
47 #define SWIG_TypeQuery SWIG_Python_TypeQuery
48 #define SWIG_TypeClientData SWIG_Python_TypeClientData
49 #define SWIG_PackData SWIG_Python_PackData
50 #define SWIG_UnpackData SWIG_Python_UnpackData
53 /***********************************************************************
54 * common.swg for wxPython
56 * Include only the function prototypes and such from SWIG's common.swg,
57 * but not the runtime functions themselves. This helps keep the
58 * wrapper files clean of unnecessary stuff that is in the libpy.c file
61 ************************************************************************/
65 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
66 # if defined(_MSC_VER) || defined(__GNUC__)
67 # if defined(STATIC_LINKED)
68 # define SWIGEXPORT(a) a
69 # define SWIGIMPORT(a) extern a
71 # define SWIGEXPORT(a) __declspec(dllexport) a
72 # define SWIGIMPORT(a) extern a
75 # if defined(__BORLANDC__)
76 # define SWIGEXPORT(a) a _export
77 # define SWIGIMPORT(a) a _export
79 # define SWIGEXPORT(a) a
80 # define SWIGIMPORT(a) a
84 # define SWIGEXPORT(a) a
85 # define SWIGIMPORT(a) a
89 # define SWIGRUNTIME(a) SWIGEXPORT(a)
91 # define SWIGRUNTIME(a) static a
98 typedef void *(*swig_converter_func
)(void *);
99 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
101 typedef struct swig_type_info
{
103 swig_converter_func converter
;
106 swig_dycast_func dcast
;
107 struct swig_type_info
*next
;
108 struct swig_type_info
*prev
;
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
113 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
114 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
115 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
116 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
117 SWIGIMPORT(const char *) SWIG_TypePrettyName(const swig_type_info
*);
118 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
119 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
120 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
121 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
129 /***********************************************************************
130 * pyrun.swg for wxPython
132 * Include only the function prototypes and such from SWIG's pyrun.swg,
133 * but not the runtime functions themselves. This helps keep the
134 * wrapper files clean of unnecessary stuff that is in the libpy.c file
137 ************************************************************************/
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
149 /* Flags for pointer conversion */
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
157 /* Constant information structure */
158 typedef struct swig_const_info
{
164 swig_type_info
**ptype
;
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
187 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
190 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
192 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
195 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
199 /* Contract support */
201 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
209 /* -------- TYPES TABLE (BEGIN) -------- */
211 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
212 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
213 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
214 #define SWIGTYPE_p_wxPyPanel swig_types[3]
215 #define SWIGTYPE_p_wxMenu swig_types[4]
216 #define SWIGTYPE_p_wxFontData swig_types[5]
217 #define SWIGTYPE_p_wxEvent swig_types[6]
218 #define SWIGTYPE_p_wxPrintData swig_types[7]
219 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
220 #define SWIGTYPE_p_wxIconBundle swig_types[9]
221 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[10]
222 #define SWIGTYPE_p_wxFindDialogEvent swig_types[11]
223 #define SWIGTYPE_p_wxPreviewCanvas swig_types[12]
224 #define SWIGTYPE_p_wxFont swig_types[13]
225 #define SWIGTYPE_p_wxSplitterEvent swig_types[14]
226 #define SWIGTYPE_p_wxRegion swig_types[15]
227 #define SWIGTYPE_p_wxFindReplaceData swig_types[16]
228 #define SWIGTYPE_p_int swig_types[17]
229 #define SWIGTYPE_p_wxSize swig_types[18]
230 #define SWIGTYPE_p_wxDC swig_types[19]
231 #define SWIGTYPE_p_wxIcon swig_types[20]
232 #define SWIGTYPE_p_wxVisualAttributes swig_types[21]
233 #define SWIGTYPE_p_wxMDIChildFrame swig_types[22]
234 #define SWIGTYPE_p_wxColourData swig_types[23]
235 #define SWIGTYPE_p_wxNotifyEvent swig_types[24]
236 #define SWIGTYPE_p_wxPyWindow swig_types[25]
237 #define SWIGTYPE_p_wxSplashScreen swig_types[26]
238 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[27]
239 #define SWIGTYPE_p_wxProgressDialog swig_types[28]
240 #define SWIGTYPE_p_wxMessageDialog swig_types[29]
241 #define SWIGTYPE_p_wxTextEntryDialog swig_types[30]
242 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[31]
243 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[32]
244 #define SWIGTYPE_p_wxFileDialog swig_types[33]
245 #define SWIGTYPE_p_wxPrinter swig_types[34]
246 #define SWIGTYPE_p_wxArrayInt swig_types[35]
247 #define SWIGTYPE_p_wxEvtHandler swig_types[36]
248 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[37]
249 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[38]
250 #define SWIGTYPE_p_wxPyVListBox swig_types[39]
251 #define SWIGTYPE_p_wxRect swig_types[40]
252 #define SWIGTYPE_p_char swig_types[41]
253 #define SWIGTYPE_p_wxMiniFrame swig_types[42]
254 #define SWIGTYPE_p_wxFrame swig_types[43]
255 #define SWIGTYPE_p_wxPyPrintout swig_types[44]
256 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[45]
257 #define SWIGTYPE_p_wxScrollWinEvent swig_types[46]
258 #define SWIGTYPE_p_wxStatusBar swig_types[47]
259 #define SWIGTYPE_p_wxMDIParentFrame swig_types[48]
260 #define SWIGTYPE_p_wxPoint swig_types[49]
261 #define SWIGTYPE_p_wxObject swig_types[50]
262 #define SWIGTYPE_p_wxOutputStream swig_types[51]
263 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[52]
264 #define SWIGTYPE_p_wxMDIClientWindow swig_types[53]
265 #define SWIGTYPE_p_wxTipWindow swig_types[54]
266 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[55]
267 #define SWIGTYPE_p_wxSplitterWindow swig_types[56]
268 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[57]
269 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[58]
270 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[59]
271 #define SWIGTYPE_p_wxPopupWindow swig_types[60]
272 #define SWIGTYPE_p_wxSashWindow swig_types[61]
273 #define SWIGTYPE_p_wxTopLevelWindow swig_types[62]
274 #define SWIGTYPE_p_wxWindow swig_types[63]
275 #define SWIGTYPE_p_wxScrolledWindow swig_types[64]
276 #define SWIGTYPE_p_wxMenuBar swig_types[65]
277 #define SWIGTYPE_p_wxPrintPreview swig_types[66]
278 #define SWIGTYPE_p_wxSashEvent swig_types[67]
279 #define SWIGTYPE_p_wxString swig_types[68]
280 #define SWIGTYPE_p_wxPyPrintPreview swig_types[69]
281 #define SWIGTYPE_p_wxFontDialog swig_types[70]
282 #define SWIGTYPE_p_wxDirDialog swig_types[71]
283 #define SWIGTYPE_p_wxColourDialog swig_types[72]
284 #define SWIGTYPE_p_wxDialog swig_types[73]
285 #define SWIGTYPE_p_wxPanel swig_types[74]
286 #define SWIGTYPE_p_wxPageSetupDialog swig_types[75]
287 #define SWIGTYPE_p_wxPrintDialog swig_types[76]
288 #define SWIGTYPE_p_wxFileSystem swig_types[77]
289 #define SWIGTYPE_p_wxBitmap swig_types[78]
290 #define SWIGTYPE_p_wxCommandEvent swig_types[79]
291 #define SWIGTYPE_p_wxPreviewControlBar swig_types[80]
292 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[81]
293 #define SWIGTYPE_p_wxColour swig_types[82]
294 #define SWIGTYPE_p_wxToolBar swig_types[83]
295 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[84]
296 #define SWIGTYPE_p_wxPrintDialogData swig_types[85]
297 static swig_type_info
*swig_types
[87];
299 /* -------- TYPES TABLE (END) -------- */
302 /*-----------------------------------------------
303 @(target):= _windows_.so
304 ------------------------------------------------*/
305 #define SWIG_init init_windows_
307 #define SWIG_name "_windows_"
309 /* Auxiliar swig macros that appear in the header */
311 #define SWIG_OLDOBJ 1
312 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
313 #define SWIG_PYSTR SWIG_NEWOBJ + 1
316 #define SWIGSTATICINLINE(a) static inline a
317 #define SWIGSTATIC(a) static a
318 #define swig_new_array(size,Type) (new Type[(size)])
319 #define swig_delete(cptr) delete cptr
320 #define swig_delete_array(cptr) delete[] cptr
321 #define swig_const_cast(a,Type) const_cast<Type >(a)
322 #define swig_static_cast(a,Type) static_cast<Type >(a)
323 #define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a)
324 #define swig_new_copy(ptr,Type) (new Type(*ptr))
325 #define swig_numeric_cast(a,Type) static_cast<Type >(a)
329 #define SWIGSTATICINLINE(a) static a
330 #define SWIGSTATIC(a) static a
331 #define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type)))
332 #define swig_delete(cptr) free((char*)cptr)
333 #define swig_delete_array(cptr) free((char*)cptr)
334 #define swig_const_cast(a,Type) (Type)(a)
335 #define swig_static_cast(a,Type) (Type)(a)
336 #define swig_reinterpret_cast(a,Type) (Type)(a)
337 #define swig_numeric_cast(a,Type) (Type)(a)
338 #define swig_new_copy(ptr,Type) ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type)))
340 #endif /* __cplusplus */
343 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
344 #define SWIG_From_signed_SS_char PyInt_FromLong
346 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
347 #define SWIG_From_unsigned_SS_char PyInt_FromLong
349 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
350 #define SWIG_From_short PyInt_FromLong
352 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
353 #define SWIG_From_unsigned_SS_short PyInt_FromLong
355 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
356 #define SWIG_From_int PyInt_FromLong
358 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
359 #define SWIG_From_long PyInt_FromLong
361 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
362 #define SWIG_From_float PyFloat_FromDouble
364 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
365 #define SWIG_From_double PyFloat_FromDouble
369 #include "wx/wxPython/wxPython.h"
370 #include "wx/wxPython/pyclasses.h"
373 static const wxString
wxPyEmptyString(wxEmptyString
);
374 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
381 SWIGSTATICINLINE(int)
382 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
385 if (value
< min_value
) {
387 PyErr_Format(PyExc_OverflowError
,
388 "value %ld is less than '%s' minimum %ld",
389 value
, errmsg
, min_value
);
392 } else if (value
> max_value
) {
394 PyErr_Format(PyExc_OverflowError
,
395 "value %ld is greater than '%s' maximum %ld",
396 value
, errmsg
, max_value
);
404 // See my_fragments.i
405 SWIGSTATICINLINE(int)
406 SWIG_AsVal_long(PyObject
* obj
, long* val
)
408 if (PyNumber_Check(obj
)) {
409 if (val
) *val
= PyInt_AsLong(obj
);
413 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
414 obj
->ob_type
->tp_name
);
415 PyErr_SetObject(PyExc_TypeError
, errmsg
);
422 #if INT_MAX != LONG_MAX
423 SWIGSTATICINLINE(int)
424 SWIG_AsVal_int(PyObject
*obj
, int *val
)
426 const char* errmsg
= val
? "int" : 0;
428 if (SWIG_AsVal_long(obj
, &v
)) {
429 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
430 if (val
) *val
= swig_numeric_cast(v
, int);
439 PyErr_SetString(PyExc_TypeError
, "an int is expected");
444 SWIGSTATICINLINE(int)
445 SWIG_AsVal_int(PyObject
*obj
, int *val
)
447 return SWIG_AsVal_long(obj
,(long*)val
);
452 SWIGSTATICINLINE(int)
453 SWIG_As_int(PyObject
* obj
)
456 if (!SWIG_AsVal_int(obj
, &v
)) {
458 this is needed to make valgrind/purify happier. the other
459 solution is throw an exception, but since this code should work
462 memset((void*)&v
, 0, sizeof(int));
468 SWIGSTATICINLINE(long)
469 SWIG_As_long(PyObject
* obj
)
472 if (!SWIG_AsVal_long(obj
, &v
)) {
474 this is needed to make valgrind/purify happier. the other
475 solution is throw an exception, but since this code should work
478 memset((void*)&v
, 0, sizeof(long));
484 SWIGSTATICINLINE(int)
485 SWIG_Check_int(PyObject
* obj
)
487 return SWIG_AsVal_int(obj
, (int*)0);
491 SWIGSTATICINLINE(int)
492 SWIG_Check_long(PyObject
* obj
)
494 return SWIG_AsVal_long(obj
, (long*)0);
498 SWIGSTATICINLINE(int)
499 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
501 /* if (val) *val = PyObject_IsTrue(obj); return 1; */
502 if (obj
== Py_True
) {
503 if (val
) *val
= true;
506 if (obj
== Py_False
) {
507 if (val
) *val
= false;
511 if (SWIG_AsVal_int(obj
, &res
)) {
512 if (val
) *val
= (bool)res
;
516 PyErr_SetString(PyExc_TypeError
, "a bool is expected");
522 SWIGSTATICINLINE(bool)
523 SWIG_As_bool(PyObject
* obj
)
526 if (!SWIG_AsVal_bool(obj
, &v
)) {
528 this is needed to make valgrind/purify happier. the other
529 solution is throw an exception, but since this code should work
532 memset((void*)&v
, 0, sizeof(bool));
538 SWIGSTATICINLINE(int)
539 SWIG_Check_bool(PyObject
* obj
)
541 return SWIG_AsVal_bool(obj
, (bool*)0);
545 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
551 } else if (target
== Py_None
) {
556 target
= PyTuple_New(1);
557 PyTuple_SetItem(target
, 0, o2
);
560 PyTuple_SetItem(o3
, 0, o
);
563 target
= PySequence_Concat(o2
, o3
);
572 // See my_fragments.i
573 SWIGSTATICINLINE(int)
574 SWIG_AsVal_double(PyObject
*obj
, double* val
)
576 if (PyNumber_Check(obj
)) {
577 if (val
) *val
= PyFloat_AsDouble(obj
);
581 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
582 obj
->ob_type
->tp_name
);
583 PyErr_SetObject(PyExc_TypeError
, errmsg
);
590 SWIGSTATICINLINE(double)
591 SWIG_As_double(PyObject
* obj
)
594 if (!SWIG_AsVal_double(obj
, &v
)) {
596 this is needed to make valgrind/purify happier. the other
597 solution is throw an exception, but since this code should work
600 memset((void*)&v
, 0, sizeof(double));
606 SWIGSTATICINLINE(int)
607 SWIG_Check_double(PyObject
* obj
)
609 return SWIG_AsVal_double(obj
, (double*)0);
612 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
613 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
614 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
615 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
618 wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
620 self
->GetFieldRect(i
, r
);
623 static const wxString
wxPySplitterNameStr(wxT("splitter"));
624 static const wxString
wxPySashNameStr(wxT("sashWindow"));
625 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
627 #include <wx/popupwin.h>
630 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
633 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
634 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
635 : wxPopupTransientWindow(parent
, style
) {}
637 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
638 DEC_PYCALLBACK__(OnDismiss
);
639 DEC_PYCALLBACK_BOOL_(CanDismiss
);
644 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
645 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
646 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
649 #include <wx/tipwin.h>
651 wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
,wxRect
*rectBound
){
652 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
655 #include <wx/tipwin.h>
658 #include <wx/vscroll.h>
661 class wxPyVScrolledWindow
: public wxVScrolledWindow
663 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
);
665 wxPyVScrolledWindow() : wxVScrolledWindow() {}
667 wxPyVScrolledWindow(wxWindow
*parent
,
668 wxWindowID id
= wxID_ANY
,
669 const wxPoint
& pos
= wxDefaultPosition
,
670 const wxSize
& size
= wxDefaultSize
,
672 const wxString
& name
= wxPyPanelNameStr
)
673 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
676 // Overridable virtuals
678 // this function must be overridden in the derived class and it should
679 // return the height of the given line in pixels
680 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
683 // this function doesn't have to be overridden but it may be useful to do
684 // it if calculating the lines heights is a relatively expensive operation
685 // as it gives the user code a possibility to calculate several of them at
688 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
689 // shouldn't rely on the latter being called for all lines in the interval
690 // specified here. It is also possible that OnGetLineHeight() will be
691 // called for the lines outside of this interval, so this is really just a
692 // hint, not a promise.
694 // finally note that lineMin is inclusive, while lineMax is exclusive, as
696 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
699 // when the number of lines changes, we try to estimate the total height
700 // of all lines which is a rather expensive operation in terms of lines
701 // access, so if the user code may estimate the average height
702 // better/faster than we do, it should override this function to implement
705 // this function should return the best guess for the total height it may
707 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
710 // Also expose some other interesting protected methods
713 // find the index of the line we need to show at the top of the window such
714 // that the last (fully or partially) visible line is the given one
715 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= False
)
716 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
718 // get the total height of the lines between lineMin (inclusive) and
719 // lineMax (exclusive)
720 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
721 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
727 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
729 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
730 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
731 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
734 // See my_fragments.i
735 SWIGSTATICINLINE(int)
736 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
739 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
740 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
744 *val
= (unsigned long)v
;
749 SWIGSTATICINLINE(unsigned long)
750 SWIG_As_unsigned_SS_long(PyObject
* obj
)
753 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
755 this is needed to make valgrind/purify happier. the other
756 solution is throw an exception, but since this code should work
759 memset((void*)&v
, 0, sizeof(unsigned long));
765 SWIGSTATICINLINE(int)
766 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
768 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
772 SWIGSTATICINLINE(PyObject
* )
773 SWIG_From_unsigned_SS_long(unsigned long value
)
775 return (value
> LONG_MAX
) ?
776 PyLong_FromUnsignedLong(value
)
777 : PyInt_FromLong(swig_numeric_cast(value
,long));
781 #include <wx/vlbox.h>
783 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
785 class wxPyVListBox
: public wxVListBox
787 DECLARE_ABSTRACT_CLASS(wxPyVListBox
);
789 wxPyVListBox() : wxVListBox() {}
791 wxPyVListBox(wxWindow
*parent
,
792 wxWindowID id
= wxID_ANY
,
793 const wxPoint
& pos
= wxDefaultPosition
,
794 const wxSize
& size
= wxDefaultSize
,
796 const wxString
& name
= wxPyVListBoxNameStr
)
797 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
800 // Overridable virtuals
802 // the derived class must implement this function to actually draw the item
803 // with the given index on the provided DC
804 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
805 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
808 // the derived class must implement this method to return the height of the
810 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
811 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
814 // this method may be used to draw separators between the lines; note that
815 // the rectangle may be modified, typically to deflate it a bit before
816 // passing to OnDrawItem()
818 // the base class version doesn't do anything
819 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
820 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
823 // this method is used to draw the items background and, maybe, a border
826 // the base class version implements a reasonable default behaviour which
827 // consists in drawing the selected item with the standard background
828 // colour and drawing a border around the item if it is either selected or
830 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
831 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
837 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
839 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
840 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
841 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
842 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
845 PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
846 unsigned long cookie
= 0;
847 int selected
= self
->GetFirstSelected(cookie
);
848 bool blocked
= wxPyBeginBlockThreads();
849 PyObject
* tup
= PyTuple_New(2);
850 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
851 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
852 wxPyEndBlockThreads(blocked
);
855 PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
856 int selected
= self
->GetNextSelected(cookie
);
857 bool blocked
= wxPyBeginBlockThreads();
858 PyObject
* tup
= PyTuple_New(2);
859 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
860 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
861 wxPyEndBlockThreads(blocked
);
865 #include <wx/htmllbox.h>
868 class wxPyHtmlListBox
: public wxHtmlListBox
870 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
);
872 wxPyHtmlListBox() : wxHtmlListBox() {}
874 wxPyHtmlListBox(wxWindow
*parent
,
875 wxWindowID id
= wxID_ANY
,
876 const wxPoint
& pos
= wxDefaultPosition
,
877 const wxSize
& size
= wxDefaultSize
,
879 const wxString
& name
= wxPyVListBoxNameStr
)
880 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
883 // Overridable virtuals
885 // this method must be implemented in the derived class and should return
886 // the body (i.e. without <html>) of the HTML for the given item
887 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
889 // this function may be overridden to decorate HTML returned by OnGetItem()
890 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
893 // // this method allows to customize the selection appearance: it may be used
894 // // to specify the colour of the text which normally has the given colour
895 // // colFg when it is inside the selection
897 // // by default, the original colour is not used at all and all text has the
898 // // same (default for this system) colour inside selection
899 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
901 // // this is the same as GetSelectedTextColour() but allows to customize the
902 // // background colour -- this is even more rarely used as you can change it
903 // // globally using SetSelectionBackground()
904 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
911 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
913 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
914 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
921 // implement dummy classes and such for wxMac
923 class wxTaskBarIcon
: public wxEvtHandler
926 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
930 class wxTaskBarIconEvent
: public wxEvent
933 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
934 { wxPyRaiseNotImplemented(); }
935 virtual wxEvent
* Clone() const { return NULL
; }
939 wxEVT_TASKBAR_MOVE
= 0,
940 wxEVT_TASKBAR_LEFT_DOWN
= 0,
941 wxEVT_TASKBAR_LEFT_UP
= 0,
942 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
943 wxEVT_TASKBAR_RIGHT_UP
= 0,
944 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
945 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
950 // // Otherwise make a class that can virtualize CreatePopupMenu
951 // class wxPyTaskBarIcon : public wxTaskBarIcon
953 // DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon);
955 // wxPyTaskBarIcon() : wxTaskBarIcon()
958 // wxMenu* CreatePopupMenu() {
959 // wxMenu *rval = NULL;
961 // bool blocked = wxPyBeginBlockThreads();
962 // if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
965 // ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
967 // if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
972 // wxPyEndBlockThreads(blocked);
974 // rval = wxTaskBarIcon::CreatePopupMenu();
981 // IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
985 void wxTaskBarIcon_Destroy(wxTaskBarIcon
*self
){
990 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
991 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
992 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
993 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
994 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
995 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
996 PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
998 self
->GetFilenames(arr
);
999 return wxArrayString2PyList_helper(arr
);
1001 PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
1003 self
->GetPaths(arr
);
1004 return wxArrayString2PyList_helper(arr
);
1006 PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
1007 return wxArrayInt2PyList_helper(self
->GetSelections());
1009 wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
const &message
,wxString
const &caption
,int choices
,wxString
*choices_array
,long style
,wxPoint
const &pos
){
1010 return new wxSingleChoiceDialog(parent
, message
, caption
,
1011 choices
, choices_array
, NULL
, style
, pos
);
1016 // C++ version of Python aware wxWindow
1017 class wxPyWindow
: public wxWindow
1019 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
1021 wxPyWindow() : wxWindow() {}
1022 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
1023 const wxPoint
& pos
= wxDefaultPosition
,
1024 const wxSize
& size
= wxDefaultSize
,
1026 const wxString
& name
= wxPyPanelNameStr
)
1027 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
1029 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
1031 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1032 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1033 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1034 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1036 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1037 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1038 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1040 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1041 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1043 DEC_PYCALLBACK__(InitDialog
);
1044 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1045 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1046 DEC_PYCALLBACK_BOOL_(Validate
);
1048 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1049 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1050 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1052 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1053 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1055 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
1056 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1057 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
1062 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
1064 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
1065 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
1066 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
1067 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
1069 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
1070 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
1071 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
1073 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
1074 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
1076 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
1077 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
1078 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
1079 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
1081 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
1082 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
1083 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
1085 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
1086 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
1088 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
1089 IMP_PYCALLBACK__COLOUR(wxPyWindow
, wxWindow
, ApplyParentThemeBackground
);
1090 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
1093 // C++ version of Python aware wxPanel
1094 class wxPyPanel
: public wxPanel
1096 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
1098 wxPyPanel() : wxPanel() {}
1099 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
1100 const wxPoint
& pos
= wxDefaultPosition
,
1101 const wxSize
& size
= wxDefaultSize
,
1103 const wxString
& name
= wxPyPanelNameStr
)
1104 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
1106 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
1109 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1110 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1111 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1112 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1114 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1115 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1116 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1118 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1119 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1121 DEC_PYCALLBACK__(InitDialog
);
1122 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1123 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1124 DEC_PYCALLBACK_BOOL_(Validate
);
1126 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1127 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1128 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1130 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1131 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1133 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
1134 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1135 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
1140 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
1142 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
1143 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
1144 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
1145 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
1147 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
1148 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
1149 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
1151 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
1152 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
1154 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
1155 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
1156 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
1157 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
1159 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
1160 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
1161 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
1163 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
1164 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
1166 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
1167 IMP_PYCALLBACK__COLOUR(wxPyPanel
, wxPanel
, ApplyParentThemeBackground
);
1168 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
1171 // C++ version of Python aware wxScrolledWindow
1172 class wxPyScrolledWindow
: public wxScrolledWindow
1174 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
1176 wxPyScrolledWindow() : wxScrolledWindow() {}
1177 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
1178 const wxPoint
& pos
= wxDefaultPosition
,
1179 const wxSize
& size
= wxDefaultSize
,
1181 const wxString
& name
= wxPyPanelNameStr
)
1182 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
1184 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
1186 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1187 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1188 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1189 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1191 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1192 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1193 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1195 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1196 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1198 DEC_PYCALLBACK__(InitDialog
);
1199 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1200 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1201 DEC_PYCALLBACK_BOOL_(Validate
);
1203 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1204 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1205 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1207 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1208 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1210 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
1211 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1212 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
1217 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
1219 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
1220 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
1221 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
1222 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
1224 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
1225 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
1226 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
1228 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
1229 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
1231 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
1232 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
1233 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
1234 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
1236 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
1237 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
1238 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
1240 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
1241 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
1243 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
1244 IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow
, wxScrolledWindow
, ApplyParentThemeBackground
);
1245 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
1249 #include "wx/wxPython/printfw.h"
1252 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
1253 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1257 // Since this one would be tough and ugly to do with the Macros...
1258 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1259 bool hadErr
= False
;
1262 bool blocked
= wxPyBeginBlockThreads();
1263 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
1264 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1265 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
1268 val
= PyTuple_GetItem(result
, 0);
1269 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
1272 val
= PyTuple_GetItem(result
, 1);
1273 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
1276 val
= PyTuple_GetItem(result
, 2);
1277 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
1280 val
= PyTuple_GetItem(result
, 3);
1281 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
1288 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
1293 wxPyEndBlockThreads(blocked
);
1295 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1298 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1299 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1303 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
1304 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
1305 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
1306 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
1307 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
1308 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
1309 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
1315 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1316 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1317 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1320 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1321 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1324 bool blocked = wxPyBeginBlockThreads(); \
1325 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1326 PyObject* win = wxPyMake_wxObject(a,false); \
1327 PyObject* dc = wxPyMake_wxObject(&b,false); \
1328 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
1332 wxPyEndBlockThreads(blocked); \
1334 rval = PCLASS::CBNAME(a, b); \
1337 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1338 return PCLASS::CBNAME(a, b); \
1344 class wxPyPrintPreview
: public wxPrintPreview
1346 DECLARE_CLASS(wxPyPrintPreview
)
1348 wxPyPrintPreview(wxPyPrintout
* printout
,
1349 wxPyPrintout
* printoutForPrinting
,
1350 wxPrintDialogData
* data
=NULL
)
1351 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1353 wxPyPrintPreview(wxPyPrintout
* printout
,
1354 wxPyPrintout
* printoutForPrinting
,
1355 wxPrintData
* data
=NULL
)
1356 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1359 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
1360 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
1361 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
1362 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
1363 DEC_PYCALLBACK_VOID_INT(SetZoom
);
1364 DEC_PYCALLBACK_BOOL_BOOL(Print
);
1365 DEC_PYCALLBACK_VOID_(DetermineScaling
);
1370 // Stupid renamed classes... Fix this in 2.5...
1371 #if defined(__WXMSW__)
1372 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
1373 #elif defined(__WXMAC__)
1374 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
1376 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
1379 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
1380 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
1381 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
1382 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
1383 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
1384 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
1385 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
1388 class wxPyPreviewFrame
: public wxPreviewFrame
1390 DECLARE_CLASS(wxPyPreviewFrame
);
1392 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
1393 const wxString
& title
,
1394 const wxPoint
& pos
= wxDefaultPosition
,
1395 const wxSize
& size
= wxDefaultSize
,
1396 long style
= wxDEFAULT_FRAME_STYLE
,
1397 const wxString
& name
= wxPyFrameNameStr
)
1398 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
1401 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
1402 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
1404 DEC_PYCALLBACK_VOID_(Initialize
);
1405 DEC_PYCALLBACK_VOID_(CreateCanvas
);
1406 DEC_PYCALLBACK_VOID_(CreateControlBar
);
1411 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
1413 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
1414 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
1415 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
1418 class wxPyPreviewControlBar
: public wxPreviewControlBar
1420 DECLARE_CLASS(wxPyPreviewControlBar
);
1422 wxPyPreviewControlBar(wxPrintPreview
*preview
,
1425 const wxPoint
& pos
= wxDefaultPosition
,
1426 const wxSize
& size
= wxDefaultSize
,
1428 const wxString
& name
= wxPyPanelNameStr
)
1429 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
1432 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
1434 DEC_PYCALLBACK_VOID_(CreateButtons
);
1435 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
1440 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
1441 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
1442 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
1447 static PyObject
*_wrap_new_Panel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1448 PyObject
*resultobj
;
1449 wxWindow
*arg1
= (wxWindow
*) 0 ;
1450 int arg2
= (int) (int)-1 ;
1451 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1452 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1453 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1454 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1455 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1456 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1457 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1461 bool temp6
= False
;
1462 PyObject
* obj0
= 0 ;
1463 PyObject
* obj1
= 0 ;
1464 PyObject
* obj2
= 0 ;
1465 PyObject
* obj3
= 0 ;
1466 PyObject
* obj4
= 0 ;
1467 PyObject
* obj5
= 0 ;
1469 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1476 arg2
= (int)SWIG_As_int(obj1
);
1477 if (PyErr_Occurred()) SWIG_fail
;
1482 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1488 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1492 arg5
= (long)SWIG_As_long(obj4
);
1493 if (PyErr_Occurred()) SWIG_fail
;
1497 arg6
= wxString_in_helper(obj5
);
1498 if (arg6
== NULL
) SWIG_fail
;
1503 if (!wxPyCheckForApp()) SWIG_fail
;
1504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1505 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1507 wxPyEndAllowThreads(__tstate
);
1508 if (PyErr_Occurred()) SWIG_fail
;
1510 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
1525 static PyObject
*_wrap_new_PrePanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1526 PyObject
*resultobj
;
1532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
1534 if (!wxPyCheckForApp()) SWIG_fail
;
1535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1536 result
= (wxPanel
*)new wxPanel();
1538 wxPyEndAllowThreads(__tstate
);
1539 if (PyErr_Occurred()) SWIG_fail
;
1541 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
1548 static PyObject
*_wrap_Panel_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1549 PyObject
*resultobj
;
1550 wxPanel
*arg1
= (wxPanel
*) 0 ;
1551 wxWindow
*arg2
= (wxWindow
*) 0 ;
1552 int arg3
= (int) (int)-1 ;
1553 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1554 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1555 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1556 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1557 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1558 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1559 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1563 bool temp7
= False
;
1564 PyObject
* obj0
= 0 ;
1565 PyObject
* obj1
= 0 ;
1566 PyObject
* obj2
= 0 ;
1567 PyObject
* obj3
= 0 ;
1568 PyObject
* obj4
= 0 ;
1569 PyObject
* obj5
= 0 ;
1570 PyObject
* obj6
= 0 ;
1572 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1578 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1581 arg3
= (int)SWIG_As_int(obj2
);
1582 if (PyErr_Occurred()) SWIG_fail
;
1587 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1593 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1597 arg6
= (long)SWIG_As_long(obj5
);
1598 if (PyErr_Occurred()) SWIG_fail
;
1602 arg7
= wxString_in_helper(obj6
);
1603 if (arg7
== NULL
) SWIG_fail
;
1608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1609 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1611 wxPyEndAllowThreads(__tstate
);
1612 if (PyErr_Occurred()) SWIG_fail
;
1615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1631 static PyObject
*_wrap_Panel_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1632 PyObject
*resultobj
;
1633 wxPanel
*arg1
= (wxPanel
*) 0 ;
1634 PyObject
* obj0
= 0 ;
1636 (char *) "self", NULL
1639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
1640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1644 (arg1
)->InitDialog();
1646 wxPyEndAllowThreads(__tstate
);
1647 if (PyErr_Occurred()) SWIG_fail
;
1649 Py_INCREF(Py_None
); resultobj
= Py_None
;
1656 static PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1657 PyObject
*resultobj
;
1658 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
1659 wxVisualAttributes result
;
1660 PyObject
* obj0
= 0 ;
1662 (char *) "variant", NULL
1665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
1667 arg1
= (int)SWIG_As_int(obj0
);
1668 if (PyErr_Occurred()) SWIG_fail
;
1671 if (!wxPyCheckForApp()) SWIG_fail
;
1672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1673 result
= wxPanel::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
1675 wxPyEndAllowThreads(__tstate
);
1676 if (PyErr_Occurred()) SWIG_fail
;
1679 wxVisualAttributes
* resultptr
;
1680 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
1681 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
1689 static PyObject
* Panel_swigregister(PyObject
*, PyObject
*args
) {
1691 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1692 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
1694 return Py_BuildValue((char *)"");
1696 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1697 PyObject
*resultobj
;
1698 wxWindow
*arg1
= (wxWindow
*) 0 ;
1699 int arg2
= (int) (int)-1 ;
1700 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1701 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1702 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1703 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1704 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
1705 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1706 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1707 wxScrolledWindow
*result
;
1710 bool temp6
= False
;
1711 PyObject
* obj0
= 0 ;
1712 PyObject
* obj1
= 0 ;
1713 PyObject
* obj2
= 0 ;
1714 PyObject
* obj3
= 0 ;
1715 PyObject
* obj4
= 0 ;
1716 PyObject
* obj5
= 0 ;
1718 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1725 arg2
= (int)SWIG_As_int(obj1
);
1726 if (PyErr_Occurred()) SWIG_fail
;
1731 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1737 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1741 arg5
= (long)SWIG_As_long(obj4
);
1742 if (PyErr_Occurred()) SWIG_fail
;
1746 arg6
= wxString_in_helper(obj5
);
1747 if (arg6
== NULL
) SWIG_fail
;
1752 if (!wxPyCheckForApp()) SWIG_fail
;
1753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1754 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1756 wxPyEndAllowThreads(__tstate
);
1757 if (PyErr_Occurred()) SWIG_fail
;
1759 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1774 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1775 PyObject
*resultobj
;
1776 wxScrolledWindow
*result
;
1781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
1783 if (!wxPyCheckForApp()) SWIG_fail
;
1784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1785 result
= (wxScrolledWindow
*)new wxScrolledWindow();
1787 wxPyEndAllowThreads(__tstate
);
1788 if (PyErr_Occurred()) SWIG_fail
;
1790 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1797 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1798 PyObject
*resultobj
;
1799 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1800 wxWindow
*arg2
= (wxWindow
*) 0 ;
1801 int arg3
= (int) (int)-1 ;
1802 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1803 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1804 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1805 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1806 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
1807 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1808 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1812 bool temp7
= False
;
1813 PyObject
* obj0
= 0 ;
1814 PyObject
* obj1
= 0 ;
1815 PyObject
* obj2
= 0 ;
1816 PyObject
* obj3
= 0 ;
1817 PyObject
* obj4
= 0 ;
1818 PyObject
* obj5
= 0 ;
1819 PyObject
* obj6
= 0 ;
1821 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1827 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1830 arg3
= (int)SWIG_As_int(obj2
);
1831 if (PyErr_Occurred()) SWIG_fail
;
1836 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1842 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1846 arg6
= (long)SWIG_As_long(obj5
);
1847 if (PyErr_Occurred()) SWIG_fail
;
1851 arg7
= wxString_in_helper(obj6
);
1852 if (arg7
== NULL
) SWIG_fail
;
1857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1858 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1860 wxPyEndAllowThreads(__tstate
);
1861 if (PyErr_Occurred()) SWIG_fail
;
1864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1880 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1881 PyObject
*resultobj
;
1882 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1887 int arg6
= (int) 0 ;
1888 int arg7
= (int) 0 ;
1889 bool arg8
= (bool) False
;
1890 PyObject
* obj0
= 0 ;
1891 PyObject
* obj1
= 0 ;
1892 PyObject
* obj2
= 0 ;
1893 PyObject
* obj3
= 0 ;
1894 PyObject
* obj4
= 0 ;
1895 PyObject
* obj5
= 0 ;
1896 PyObject
* obj6
= 0 ;
1897 PyObject
* obj7
= 0 ;
1899 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1905 arg2
= (int)SWIG_As_int(obj1
);
1906 if (PyErr_Occurred()) SWIG_fail
;
1907 arg3
= (int)SWIG_As_int(obj2
);
1908 if (PyErr_Occurred()) SWIG_fail
;
1909 arg4
= (int)SWIG_As_int(obj3
);
1910 if (PyErr_Occurred()) SWIG_fail
;
1911 arg5
= (int)SWIG_As_int(obj4
);
1912 if (PyErr_Occurred()) SWIG_fail
;
1914 arg6
= (int)SWIG_As_int(obj5
);
1915 if (PyErr_Occurred()) SWIG_fail
;
1918 arg7
= (int)SWIG_As_int(obj6
);
1919 if (PyErr_Occurred()) SWIG_fail
;
1922 arg8
= (bool)SWIG_As_bool(obj7
);
1923 if (PyErr_Occurred()) SWIG_fail
;
1926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1927 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
1929 wxPyEndAllowThreads(__tstate
);
1930 if (PyErr_Occurred()) SWIG_fail
;
1932 Py_INCREF(Py_None
); resultobj
= Py_None
;
1939 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1940 PyObject
*resultobj
;
1941 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1944 PyObject
* obj0
= 0 ;
1945 PyObject
* obj1
= 0 ;
1946 PyObject
* obj2
= 0 ;
1948 (char *) "self",(char *) "x",(char *) "y", NULL
1951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1954 arg2
= (int)SWIG_As_int(obj1
);
1955 if (PyErr_Occurred()) SWIG_fail
;
1956 arg3
= (int)SWIG_As_int(obj2
);
1957 if (PyErr_Occurred()) SWIG_fail
;
1959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1960 (arg1
)->Scroll(arg2
,arg3
);
1962 wxPyEndAllowThreads(__tstate
);
1963 if (PyErr_Occurred()) SWIG_fail
;
1965 Py_INCREF(Py_None
); resultobj
= Py_None
;
1972 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1973 PyObject
*resultobj
;
1974 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1977 PyObject
* obj0
= 0 ;
1978 PyObject
* obj1
= 0 ;
1980 (char *) "self",(char *) "orient", NULL
1983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
1984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1986 arg2
= (int)SWIG_As_int(obj1
);
1987 if (PyErr_Occurred()) SWIG_fail
;
1989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1990 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
1992 wxPyEndAllowThreads(__tstate
);
1993 if (PyErr_Occurred()) SWIG_fail
;
1995 resultobj
= SWIG_From_int((int)result
);
2002 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2003 PyObject
*resultobj
;
2004 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2007 PyObject
* obj0
= 0 ;
2008 PyObject
* obj1
= 0 ;
2009 PyObject
* obj2
= 0 ;
2011 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
2014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2017 arg2
= (int)SWIG_As_int(obj1
);
2018 if (PyErr_Occurred()) SWIG_fail
;
2019 arg3
= (int)SWIG_As_int(obj2
);
2020 if (PyErr_Occurred()) SWIG_fail
;
2022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2023 (arg1
)->SetScrollPageSize(arg2
,arg3
);
2025 wxPyEndAllowThreads(__tstate
);
2026 if (PyErr_Occurred()) SWIG_fail
;
2028 Py_INCREF(Py_None
); resultobj
= Py_None
;
2035 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2036 PyObject
*resultobj
;
2037 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2040 PyObject
* obj0
= 0 ;
2041 PyObject
* obj1
= 0 ;
2042 PyObject
* obj2
= 0 ;
2044 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
2047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2050 arg2
= (int)SWIG_As_int(obj1
);
2051 if (PyErr_Occurred()) SWIG_fail
;
2052 arg3
= (int)SWIG_As_int(obj2
);
2053 if (PyErr_Occurred()) SWIG_fail
;
2055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2056 (arg1
)->SetScrollRate(arg2
,arg3
);
2058 wxPyEndAllowThreads(__tstate
);
2059 if (PyErr_Occurred()) SWIG_fail
;
2061 Py_INCREF(Py_None
); resultobj
= Py_None
;
2068 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2069 PyObject
*resultobj
;
2070 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2071 int *arg2
= (int *) 0 ;
2072 int *arg3
= (int *) 0 ;
2077 PyObject
* obj0
= 0 ;
2079 (char *) "self", NULL
2082 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
2083 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
2084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
2085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2089 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
2091 wxPyEndAllowThreads(__tstate
);
2092 if (PyErr_Occurred()) SWIG_fail
;
2094 Py_INCREF(Py_None
); resultobj
= Py_None
;
2095 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
2096 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
2097 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
2098 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
2105 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2106 PyObject
*resultobj
;
2107 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2110 PyObject
* obj0
= 0 ;
2111 PyObject
* obj1
= 0 ;
2112 PyObject
* obj2
= 0 ;
2114 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
2117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2120 arg2
= (bool)SWIG_As_bool(obj1
);
2121 if (PyErr_Occurred()) SWIG_fail
;
2122 arg3
= (bool)SWIG_As_bool(obj2
);
2123 if (PyErr_Occurred()) SWIG_fail
;
2125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2126 (arg1
)->EnableScrolling(arg2
,arg3
);
2128 wxPyEndAllowThreads(__tstate
);
2129 if (PyErr_Occurred()) SWIG_fail
;
2131 Py_INCREF(Py_None
); resultobj
= Py_None
;
2138 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2139 PyObject
*resultobj
;
2140 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2141 int *arg2
= (int *) 0 ;
2142 int *arg3
= (int *) 0 ;
2147 PyObject
* obj0
= 0 ;
2149 (char *) "self", NULL
2152 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
2153 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
2154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
2155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2159 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
2161 wxPyEndAllowThreads(__tstate
);
2162 if (PyErr_Occurred()) SWIG_fail
;
2164 Py_INCREF(Py_None
); resultobj
= Py_None
;
2165 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
2166 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
2167 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
2168 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
2175 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2176 PyObject
*resultobj
;
2177 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2180 PyObject
* obj0
= 0 ;
2181 PyObject
* obj1
= 0 ;
2182 PyObject
* obj2
= 0 ;
2184 (char *) "self",(char *) "xs",(char *) "ys", NULL
2187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2190 arg2
= (double)SWIG_As_double(obj1
);
2191 if (PyErr_Occurred()) SWIG_fail
;
2192 arg3
= (double)SWIG_As_double(obj2
);
2193 if (PyErr_Occurred()) SWIG_fail
;
2195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2196 (arg1
)->SetScale(arg2
,arg3
);
2198 wxPyEndAllowThreads(__tstate
);
2199 if (PyErr_Occurred()) SWIG_fail
;
2201 Py_INCREF(Py_None
); resultobj
= Py_None
;
2208 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2209 PyObject
*resultobj
;
2210 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2212 PyObject
* obj0
= 0 ;
2214 (char *) "self", NULL
2217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
2218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2222 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
2224 wxPyEndAllowThreads(__tstate
);
2225 if (PyErr_Occurred()) SWIG_fail
;
2227 resultobj
= SWIG_From_double((double)result
);
2234 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2235 PyObject
*resultobj
;
2236 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2238 PyObject
* obj0
= 0 ;
2240 (char *) "self", NULL
2243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
2244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2248 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
2250 wxPyEndAllowThreads(__tstate
);
2251 if (PyErr_Occurred()) SWIG_fail
;
2253 resultobj
= SWIG_From_double((double)result
);
2260 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
2261 PyObject
*resultobj
;
2262 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2266 PyObject
* obj0
= 0 ;
2267 PyObject
* obj1
= 0 ;
2269 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
2270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2274 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2278 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
2280 wxPyEndAllowThreads(__tstate
);
2281 if (PyErr_Occurred()) SWIG_fail
;
2284 wxPoint
* resultptr
;
2285 resultptr
= new wxPoint((wxPoint
&) result
);
2286 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2294 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
2295 PyObject
*resultobj
;
2296 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2299 int *arg4
= (int *) 0 ;
2300 int *arg5
= (int *) 0 ;
2305 PyObject
* obj0
= 0 ;
2306 PyObject
* obj1
= 0 ;
2307 PyObject
* obj2
= 0 ;
2309 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
2310 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
2311 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2314 arg2
= (int)SWIG_As_int(obj1
);
2315 if (PyErr_Occurred()) SWIG_fail
;
2316 arg3
= (int)SWIG_As_int(obj2
);
2317 if (PyErr_Occurred()) SWIG_fail
;
2319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2320 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
2322 wxPyEndAllowThreads(__tstate
);
2323 if (PyErr_Occurred()) SWIG_fail
;
2325 Py_INCREF(Py_None
); resultobj
= Py_None
;
2326 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
2327 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
2328 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
2329 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
2336 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
2341 argc
= PyObject_Length(args
);
2342 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2343 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2349 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2358 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2361 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
2369 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2377 _v
= SWIG_Check_int(argv
[1]);
2379 _v
= SWIG_Check_int(argv
[2]);
2381 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
2387 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2392 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
2393 PyObject
*resultobj
;
2394 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2398 PyObject
* obj0
= 0 ;
2399 PyObject
* obj1
= 0 ;
2401 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
2402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2406 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2410 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
2412 wxPyEndAllowThreads(__tstate
);
2413 if (PyErr_Occurred()) SWIG_fail
;
2416 wxPoint
* resultptr
;
2417 resultptr
= new wxPoint((wxPoint
&) result
);
2418 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2426 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
2427 PyObject
*resultobj
;
2428 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2431 int *arg4
= (int *) 0 ;
2432 int *arg5
= (int *) 0 ;
2437 PyObject
* obj0
= 0 ;
2438 PyObject
* obj1
= 0 ;
2439 PyObject
* obj2
= 0 ;
2441 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
2442 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
2443 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2446 arg2
= (int)SWIG_As_int(obj1
);
2447 if (PyErr_Occurred()) SWIG_fail
;
2448 arg3
= (int)SWIG_As_int(obj2
);
2449 if (PyErr_Occurred()) SWIG_fail
;
2451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2452 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
2454 wxPyEndAllowThreads(__tstate
);
2455 if (PyErr_Occurred()) SWIG_fail
;
2457 Py_INCREF(Py_None
); resultobj
= Py_None
;
2458 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
2459 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
2460 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
2461 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
2468 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
2473 argc
= PyObject_Length(args
);
2474 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2475 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2481 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2490 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2493 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
2501 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2509 _v
= SWIG_Check_int(argv
[1]);
2511 _v
= SWIG_Check_int(argv
[2]);
2513 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
2519 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2524 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2525 PyObject
*resultobj
;
2526 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2527 PyObject
* obj0
= 0 ;
2529 (char *) "self", NULL
2532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
2533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2537 (arg1
)->AdjustScrollbars();
2539 wxPyEndAllowThreads(__tstate
);
2540 if (PyErr_Occurred()) SWIG_fail
;
2542 Py_INCREF(Py_None
); resultobj
= Py_None
;
2549 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2550 PyObject
*resultobj
;
2551 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2552 wxScrollWinEvent
*arg2
= 0 ;
2554 PyObject
* obj0
= 0 ;
2555 PyObject
* obj1
= 0 ;
2557 (char *) "self",(char *) "event", NULL
2560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
2561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2563 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxScrollWinEvent
,
2564 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2567 PyErr_SetString(PyExc_TypeError
,"null reference");
2571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2572 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
2574 wxPyEndAllowThreads(__tstate
);
2575 if (PyErr_Occurred()) SWIG_fail
;
2577 resultobj
= SWIG_From_int((int)result
);
2584 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2585 PyObject
*resultobj
;
2586 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2587 wxWindow
*arg2
= (wxWindow
*) 0 ;
2588 PyObject
* obj0
= 0 ;
2589 PyObject
* obj1
= 0 ;
2591 (char *) "self",(char *) "target", NULL
2594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
2595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2597 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2601 (arg1
)->SetTargetWindow(arg2
);
2603 wxPyEndAllowThreads(__tstate
);
2604 if (PyErr_Occurred()) SWIG_fail
;
2606 Py_INCREF(Py_None
); resultobj
= Py_None
;
2613 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2614 PyObject
*resultobj
;
2615 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2617 PyObject
* obj0
= 0 ;
2619 (char *) "self", NULL
2622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
2623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2627 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
2629 wxPyEndAllowThreads(__tstate
);
2630 if (PyErr_Occurred()) SWIG_fail
;
2633 resultobj
= wxPyMake_wxObject(result
, 0);
2641 static PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2642 PyObject
*resultobj
;
2643 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2646 PyObject
* obj0
= 0 ;
2647 PyObject
* obj1
= 0 ;
2649 (char *) "self",(char *) "rect", NULL
2652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
2653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2657 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2661 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
2663 wxPyEndAllowThreads(__tstate
);
2664 if (PyErr_Occurred()) SWIG_fail
;
2666 Py_INCREF(Py_None
); resultobj
= Py_None
;
2673 static PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2674 PyObject
*resultobj
;
2675 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2677 PyObject
* obj0
= 0 ;
2679 (char *) "self", NULL
2682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetRect",kwnames
,&obj0
)) goto fail
;
2683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2687 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
2689 wxPyEndAllowThreads(__tstate
);
2690 if (PyErr_Occurred()) SWIG_fail
;
2694 resultptr
= new wxRect((wxRect
&) result
);
2695 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
2703 static PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2704 PyObject
*resultobj
;
2705 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2707 PyObject
* obj0
= 0 ;
2708 PyObject
* obj1
= 0 ;
2710 (char *) "self",(char *) "dc", NULL
2713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
2714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2716 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
2717 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2720 PyErr_SetString(PyExc_TypeError
,"null reference");
2724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2725 (arg1
)->DoPrepareDC(*arg2
);
2727 wxPyEndAllowThreads(__tstate
);
2728 if (PyErr_Occurred()) SWIG_fail
;
2730 Py_INCREF(Py_None
); resultobj
= Py_None
;
2737 static PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2738 PyObject
*resultobj
;
2739 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2740 wxVisualAttributes result
;
2741 PyObject
* obj0
= 0 ;
2743 (char *) "variant", NULL
2746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2748 arg1
= (int)SWIG_As_int(obj0
);
2749 if (PyErr_Occurred()) SWIG_fail
;
2752 if (!wxPyCheckForApp()) SWIG_fail
;
2753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2754 result
= wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2756 wxPyEndAllowThreads(__tstate
);
2757 if (PyErr_Occurred()) SWIG_fail
;
2760 wxVisualAttributes
* resultptr
;
2761 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2762 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2770 static PyObject
* ScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
2772 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2773 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
2775 return Py_BuildValue((char *)"");
2777 static int _wrap_FrameNameStr_set(PyObject
*) {
2778 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
2783 static PyObject
*_wrap_FrameNameStr_get() {
2788 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2790 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2797 static int _wrap_DialogNameStr_set(PyObject
*) {
2798 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
2803 static PyObject
*_wrap_DialogNameStr_get() {
2808 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2810 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2817 static int _wrap_StatusLineNameStr_set(PyObject
*) {
2818 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
2823 static PyObject
*_wrap_StatusLineNameStr_get() {
2828 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2830 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2837 static int _wrap_ToolBarNameStr_set(PyObject
*) {
2838 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
2843 static PyObject
*_wrap_ToolBarNameStr_get() {
2848 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2850 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2857 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2858 PyObject
*resultobj
;
2859 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2860 bool arg2
= (bool) True
;
2861 PyObject
* obj0
= 0 ;
2862 PyObject
* obj1
= 0 ;
2864 (char *) "self",(char *) "maximize", NULL
2867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
2868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2871 arg2
= (bool)SWIG_As_bool(obj1
);
2872 if (PyErr_Occurred()) SWIG_fail
;
2875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2876 (arg1
)->Maximize(arg2
);
2878 wxPyEndAllowThreads(__tstate
);
2879 if (PyErr_Occurred()) SWIG_fail
;
2881 Py_INCREF(Py_None
); resultobj
= Py_None
;
2888 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2889 PyObject
*resultobj
;
2890 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2891 PyObject
* obj0
= 0 ;
2893 (char *) "self", NULL
2896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
2897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2903 wxPyEndAllowThreads(__tstate
);
2904 if (PyErr_Occurred()) SWIG_fail
;
2906 Py_INCREF(Py_None
); resultobj
= Py_None
;
2913 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2914 PyObject
*resultobj
;
2915 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2916 bool arg2
= (bool) True
;
2917 PyObject
* obj0
= 0 ;
2918 PyObject
* obj1
= 0 ;
2920 (char *) "self",(char *) "iconize", NULL
2923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
2924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2927 arg2
= (bool)SWIG_As_bool(obj1
);
2928 if (PyErr_Occurred()) SWIG_fail
;
2931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2932 (arg1
)->Iconize(arg2
);
2934 wxPyEndAllowThreads(__tstate
);
2935 if (PyErr_Occurred()) SWIG_fail
;
2937 Py_INCREF(Py_None
); resultobj
= Py_None
;
2944 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2945 PyObject
*resultobj
;
2946 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2948 PyObject
* obj0
= 0 ;
2950 (char *) "self", NULL
2953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
2954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2958 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
2960 wxPyEndAllowThreads(__tstate
);
2961 if (PyErr_Occurred()) SWIG_fail
;
2964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2972 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2973 PyObject
*resultobj
;
2974 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2976 PyObject
* obj0
= 0 ;
2978 (char *) "self", NULL
2981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
2982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2986 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
2988 wxPyEndAllowThreads(__tstate
);
2989 if (PyErr_Occurred()) SWIG_fail
;
2992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3000 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3001 PyObject
*resultobj
;
3002 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3004 PyObject
* obj0
= 0 ;
3006 (char *) "self", NULL
3009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
3010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3014 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
3016 wxPyEndAllowThreads(__tstate
);
3017 if (PyErr_Occurred()) SWIG_fail
;
3021 resultptr
= new wxIcon((wxIcon
&) result
);
3022 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
3030 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3031 PyObject
*resultobj
;
3032 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3034 PyObject
* obj0
= 0 ;
3035 PyObject
* obj1
= 0 ;
3037 (char *) "self",(char *) "icon", NULL
3040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
3041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3043 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
3044 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3047 PyErr_SetString(PyExc_TypeError
,"null reference");
3051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3052 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
3054 wxPyEndAllowThreads(__tstate
);
3055 if (PyErr_Occurred()) SWIG_fail
;
3057 Py_INCREF(Py_None
); resultobj
= Py_None
;
3064 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3065 PyObject
*resultobj
;
3066 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3067 wxIconBundle
*arg2
= 0 ;
3068 PyObject
* obj0
= 0 ;
3069 PyObject
* obj1
= 0 ;
3071 (char *) "self",(char *) "icons", NULL
3074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
3075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3077 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIconBundle
,
3078 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3081 PyErr_SetString(PyExc_TypeError
,"null reference");
3085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3086 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
3088 wxPyEndAllowThreads(__tstate
);
3089 if (PyErr_Occurred()) SWIG_fail
;
3091 Py_INCREF(Py_None
); resultobj
= Py_None
;
3098 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3099 PyObject
*resultobj
;
3100 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3102 long arg3
= (long) wxFULLSCREEN_ALL
;
3104 PyObject
* obj0
= 0 ;
3105 PyObject
* obj1
= 0 ;
3106 PyObject
* obj2
= 0 ;
3108 (char *) "self",(char *) "show",(char *) "style", NULL
3111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3114 arg2
= (bool)SWIG_As_bool(obj1
);
3115 if (PyErr_Occurred()) SWIG_fail
;
3117 arg3
= (long)SWIG_As_long(obj2
);
3118 if (PyErr_Occurred()) SWIG_fail
;
3121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3122 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
3124 wxPyEndAllowThreads(__tstate
);
3125 if (PyErr_Occurred()) SWIG_fail
;
3128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3136 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3137 PyObject
*resultobj
;
3138 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3140 PyObject
* obj0
= 0 ;
3142 (char *) "self", NULL
3145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
3146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3150 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
3152 wxPyEndAllowThreads(__tstate
);
3153 if (PyErr_Occurred()) SWIG_fail
;
3156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3164 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3165 PyObject
*resultobj
;
3166 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3167 wxString
*arg2
= 0 ;
3168 bool temp2
= False
;
3169 PyObject
* obj0
= 0 ;
3170 PyObject
* obj1
= 0 ;
3172 (char *) "self",(char *) "title", NULL
3175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
3176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3179 arg2
= wxString_in_helper(obj1
);
3180 if (arg2
== NULL
) SWIG_fail
;
3184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3185 (arg1
)->SetTitle((wxString
const &)*arg2
);
3187 wxPyEndAllowThreads(__tstate
);
3188 if (PyErr_Occurred()) SWIG_fail
;
3190 Py_INCREF(Py_None
); resultobj
= Py_None
;
3205 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3206 PyObject
*resultobj
;
3207 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3209 PyObject
* obj0
= 0 ;
3211 (char *) "self", NULL
3214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
3215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3219 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
3221 wxPyEndAllowThreads(__tstate
);
3222 if (PyErr_Occurred()) SWIG_fail
;
3226 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3228 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3237 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3238 PyObject
*resultobj
;
3239 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3240 wxRegion
*arg2
= 0 ;
3242 PyObject
* obj0
= 0 ;
3243 PyObject
* obj1
= 0 ;
3245 (char *) "self",(char *) "region", NULL
3248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
3249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3251 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
3252 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3255 PyErr_SetString(PyExc_TypeError
,"null reference");
3259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3260 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
3262 wxPyEndAllowThreads(__tstate
);
3263 if (PyErr_Occurred()) SWIG_fail
;
3266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3274 static PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3275 PyObject
*resultobj
;
3276 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3277 int arg2
= (int) wxUSER_ATTENTION_INFO
;
3278 PyObject
* obj0
= 0 ;
3279 PyObject
* obj1
= 0 ;
3281 (char *) "self",(char *) "flags", NULL
3284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) goto fail
;
3285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3288 arg2
= (int)SWIG_As_int(obj1
);
3289 if (PyErr_Occurred()) SWIG_fail
;
3292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3293 (arg1
)->RequestUserAttention(arg2
);
3295 wxPyEndAllowThreads(__tstate
);
3296 if (PyErr_Occurred()) SWIG_fail
;
3298 Py_INCREF(Py_None
); resultobj
= Py_None
;
3305 static PyObject
* TopLevelWindow_swigregister(PyObject
*, PyObject
*args
) {
3307 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3308 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
3310 return Py_BuildValue((char *)"");
3312 static PyObject
*_wrap_new_Frame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3313 PyObject
*resultobj
;
3314 wxWindow
*arg1
= (wxWindow
*) 0 ;
3315 int arg2
= (int) (int)-1 ;
3316 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3317 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3318 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3319 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3320 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3321 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3322 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
3323 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
3324 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3326 bool temp3
= False
;
3329 bool temp7
= False
;
3330 PyObject
* obj0
= 0 ;
3331 PyObject
* obj1
= 0 ;
3332 PyObject
* obj2
= 0 ;
3333 PyObject
* obj3
= 0 ;
3334 PyObject
* obj4
= 0 ;
3335 PyObject
* obj5
= 0 ;
3336 PyObject
* obj6
= 0 ;
3338 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3345 arg2
= (int)SWIG_As_int(obj1
);
3346 if (PyErr_Occurred()) SWIG_fail
;
3350 arg3
= wxString_in_helper(obj2
);
3351 if (arg3
== NULL
) SWIG_fail
;
3358 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3364 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3368 arg6
= (long)SWIG_As_long(obj5
);
3369 if (PyErr_Occurred()) SWIG_fail
;
3373 arg7
= wxString_in_helper(obj6
);
3374 if (arg7
== NULL
) SWIG_fail
;
3379 if (!wxPyCheckForApp()) SWIG_fail
;
3380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3381 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3383 wxPyEndAllowThreads(__tstate
);
3384 if (PyErr_Occurred()) SWIG_fail
;
3386 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
3409 static PyObject
*_wrap_new_PreFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3410 PyObject
*resultobj
;
3416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
3418 if (!wxPyCheckForApp()) SWIG_fail
;
3419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3420 result
= (wxFrame
*)new wxFrame();
3422 wxPyEndAllowThreads(__tstate
);
3423 if (PyErr_Occurred()) SWIG_fail
;
3425 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
3432 static PyObject
*_wrap_Frame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3433 PyObject
*resultobj
;
3434 wxFrame
*arg1
= (wxFrame
*) 0 ;
3435 wxWindow
*arg2
= (wxWindow
*) 0 ;
3436 int arg3
= (int) (int)-1 ;
3437 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3438 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3439 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3440 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3441 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3442 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3443 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
3444 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
3445 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3447 bool temp4
= False
;
3450 bool temp8
= False
;
3451 PyObject
* obj0
= 0 ;
3452 PyObject
* obj1
= 0 ;
3453 PyObject
* obj2
= 0 ;
3454 PyObject
* obj3
= 0 ;
3455 PyObject
* obj4
= 0 ;
3456 PyObject
* obj5
= 0 ;
3457 PyObject
* obj6
= 0 ;
3458 PyObject
* obj7
= 0 ;
3460 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3466 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3469 arg3
= (int)SWIG_As_int(obj2
);
3470 if (PyErr_Occurred()) SWIG_fail
;
3474 arg4
= wxString_in_helper(obj3
);
3475 if (arg4
== NULL
) SWIG_fail
;
3482 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3488 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3492 arg7
= (long)SWIG_As_long(obj6
);
3493 if (PyErr_Occurred()) SWIG_fail
;
3497 arg8
= wxString_in_helper(obj7
);
3498 if (arg8
== NULL
) SWIG_fail
;
3503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3504 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3506 wxPyEndAllowThreads(__tstate
);
3507 if (PyErr_Occurred()) SWIG_fail
;
3510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3534 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3535 PyObject
*resultobj
;
3536 wxFrame
*arg1
= (wxFrame
*) 0 ;
3538 PyObject
* obj0
= 0 ;
3540 (char *) "self", NULL
3543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
3544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3548 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
3550 wxPyEndAllowThreads(__tstate
);
3551 if (PyErr_Occurred()) SWIG_fail
;
3554 wxPoint
* resultptr
;
3555 resultptr
= new wxPoint((wxPoint
&) result
);
3556 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3564 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3565 PyObject
*resultobj
;
3566 wxFrame
*arg1
= (wxFrame
*) 0 ;
3567 PyObject
* obj0
= 0 ;
3569 (char *) "self", NULL
3572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
3573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3577 (arg1
)->SendSizeEvent();
3579 wxPyEndAllowThreads(__tstate
);
3580 if (PyErr_Occurred()) SWIG_fail
;
3582 Py_INCREF(Py_None
); resultobj
= Py_None
;
3589 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3590 PyObject
*resultobj
;
3591 wxFrame
*arg1
= (wxFrame
*) 0 ;
3592 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
3593 PyObject
* obj0
= 0 ;
3594 PyObject
* obj1
= 0 ;
3596 (char *) "self",(char *) "menubar", NULL
3599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3602 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBar
,
3603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3606 (arg1
)->SetMenuBar(arg2
);
3608 wxPyEndAllowThreads(__tstate
);
3609 if (PyErr_Occurred()) SWIG_fail
;
3611 Py_INCREF(Py_None
); resultobj
= Py_None
;
3618 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3619 PyObject
*resultobj
;
3620 wxFrame
*arg1
= (wxFrame
*) 0 ;
3622 PyObject
* obj0
= 0 ;
3624 (char *) "self", NULL
3627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
3628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3632 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
3634 wxPyEndAllowThreads(__tstate
);
3635 if (PyErr_Occurred()) SWIG_fail
;
3638 resultobj
= wxPyMake_wxObject(result
, 0);
3646 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3647 PyObject
*resultobj
;
3648 wxFrame
*arg1
= (wxFrame
*) 0 ;
3651 PyObject
* obj0
= 0 ;
3652 PyObject
* obj1
= 0 ;
3654 (char *) "self",(char *) "winid", NULL
3657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
3658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3660 arg2
= (int)SWIG_As_int(obj1
);
3661 if (PyErr_Occurred()) SWIG_fail
;
3663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3664 result
= (bool)(arg1
)->ProcessCommand(arg2
);
3666 wxPyEndAllowThreads(__tstate
);
3667 if (PyErr_Occurred()) SWIG_fail
;
3670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3678 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3679 PyObject
*resultobj
;
3680 wxFrame
*arg1
= (wxFrame
*) 0 ;
3681 int arg2
= (int) 1 ;
3682 long arg3
= (long) wxST_SIZEGRIP
;
3683 int arg4
= (int) 0 ;
3684 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
3685 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3686 wxStatusBar
*result
;
3687 bool temp5
= False
;
3688 PyObject
* obj0
= 0 ;
3689 PyObject
* obj1
= 0 ;
3690 PyObject
* obj2
= 0 ;
3691 PyObject
* obj3
= 0 ;
3692 PyObject
* obj4
= 0 ;
3694 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3701 arg2
= (int)SWIG_As_int(obj1
);
3702 if (PyErr_Occurred()) SWIG_fail
;
3705 arg3
= (long)SWIG_As_long(obj2
);
3706 if (PyErr_Occurred()) SWIG_fail
;
3709 arg4
= (int)SWIG_As_int(obj3
);
3710 if (PyErr_Occurred()) SWIG_fail
;
3714 arg5
= wxString_in_helper(obj4
);
3715 if (arg5
== NULL
) SWIG_fail
;
3720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3721 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
3723 wxPyEndAllowThreads(__tstate
);
3724 if (PyErr_Occurred()) SWIG_fail
;
3727 resultobj
= wxPyMake_wxObject(result
, 0);
3743 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3744 PyObject
*resultobj
;
3745 wxFrame
*arg1
= (wxFrame
*) 0 ;
3746 wxStatusBar
*result
;
3747 PyObject
* obj0
= 0 ;
3749 (char *) "self", NULL
3752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
3753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3757 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
3759 wxPyEndAllowThreads(__tstate
);
3760 if (PyErr_Occurred()) SWIG_fail
;
3763 resultobj
= wxPyMake_wxObject(result
, 0);
3771 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3772 PyObject
*resultobj
;
3773 wxFrame
*arg1
= (wxFrame
*) 0 ;
3774 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
3775 PyObject
* obj0
= 0 ;
3776 PyObject
* obj1
= 0 ;
3778 (char *) "self",(char *) "statBar", NULL
3781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3784 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxStatusBar
,
3785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3788 (arg1
)->SetStatusBar(arg2
);
3790 wxPyEndAllowThreads(__tstate
);
3791 if (PyErr_Occurred()) SWIG_fail
;
3793 Py_INCREF(Py_None
); resultobj
= Py_None
;
3800 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3801 PyObject
*resultobj
;
3802 wxFrame
*arg1
= (wxFrame
*) 0 ;
3803 wxString
*arg2
= 0 ;
3804 int arg3
= (int) 0 ;
3805 bool temp2
= False
;
3806 PyObject
* obj0
= 0 ;
3807 PyObject
* obj1
= 0 ;
3808 PyObject
* obj2
= 0 ;
3810 (char *) "self",(char *) "text",(char *) "number", NULL
3813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3817 arg2
= wxString_in_helper(obj1
);
3818 if (arg2
== NULL
) SWIG_fail
;
3822 arg3
= (int)SWIG_As_int(obj2
);
3823 if (PyErr_Occurred()) SWIG_fail
;
3826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3827 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
3829 wxPyEndAllowThreads(__tstate
);
3830 if (PyErr_Occurred()) SWIG_fail
;
3832 Py_INCREF(Py_None
); resultobj
= Py_None
;
3847 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3848 PyObject
*resultobj
;
3849 wxFrame
*arg1
= (wxFrame
*) 0 ;
3851 int *arg3
= (int *) 0 ;
3852 PyObject
* obj0
= 0 ;
3853 PyObject
* obj1
= 0 ;
3855 (char *) "self",(char *) "widths", NULL
3858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
3859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3862 arg2
= PyList_Size(obj1
);
3863 arg3
= int_LIST_helper(obj1
);
3864 if (arg3
== NULL
) SWIG_fail
;
3867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3868 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
3870 wxPyEndAllowThreads(__tstate
);
3871 if (PyErr_Occurred()) SWIG_fail
;
3873 Py_INCREF(Py_None
); resultobj
= Py_None
;
3875 if (arg3
) delete [] arg3
;
3880 if (arg3
) delete [] arg3
;
3886 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3887 PyObject
*resultobj
;
3888 wxFrame
*arg1
= (wxFrame
*) 0 ;
3889 wxString
*arg2
= 0 ;
3890 int arg3
= (int) 0 ;
3891 bool temp2
= False
;
3892 PyObject
* obj0
= 0 ;
3893 PyObject
* obj1
= 0 ;
3894 PyObject
* obj2
= 0 ;
3896 (char *) "self",(char *) "text",(char *) "number", NULL
3899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3903 arg2
= wxString_in_helper(obj1
);
3904 if (arg2
== NULL
) SWIG_fail
;
3908 arg3
= (int)SWIG_As_int(obj2
);
3909 if (PyErr_Occurred()) SWIG_fail
;
3912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3913 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
3915 wxPyEndAllowThreads(__tstate
);
3916 if (PyErr_Occurred()) SWIG_fail
;
3918 Py_INCREF(Py_None
); resultobj
= Py_None
;
3933 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3934 PyObject
*resultobj
;
3935 wxFrame
*arg1
= (wxFrame
*) 0 ;
3936 int arg2
= (int) 0 ;
3937 PyObject
* obj0
= 0 ;
3938 PyObject
* obj1
= 0 ;
3940 (char *) "self",(char *) "number", NULL
3943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
3944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3947 arg2
= (int)SWIG_As_int(obj1
);
3948 if (PyErr_Occurred()) SWIG_fail
;
3951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3952 (arg1
)->PopStatusText(arg2
);
3954 wxPyEndAllowThreads(__tstate
);
3955 if (PyErr_Occurred()) SWIG_fail
;
3957 Py_INCREF(Py_None
); resultobj
= Py_None
;
3964 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3965 PyObject
*resultobj
;
3966 wxFrame
*arg1
= (wxFrame
*) 0 ;
3968 PyObject
* obj0
= 0 ;
3969 PyObject
* obj1
= 0 ;
3971 (char *) "self",(char *) "n", NULL
3974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
3975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3977 arg2
= (int)SWIG_As_int(obj1
);
3978 if (PyErr_Occurred()) SWIG_fail
;
3980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3981 (arg1
)->SetStatusBarPane(arg2
);
3983 wxPyEndAllowThreads(__tstate
);
3984 if (PyErr_Occurred()) SWIG_fail
;
3986 Py_INCREF(Py_None
); resultobj
= Py_None
;
3993 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3994 PyObject
*resultobj
;
3995 wxFrame
*arg1
= (wxFrame
*) 0 ;
3997 PyObject
* obj0
= 0 ;
3999 (char *) "self", NULL
4002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
4003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4007 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
4009 wxPyEndAllowThreads(__tstate
);
4010 if (PyErr_Occurred()) SWIG_fail
;
4012 resultobj
= SWIG_From_int((int)result
);
4019 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4020 PyObject
*resultobj
;
4021 wxFrame
*arg1
= (wxFrame
*) 0 ;
4022 long arg2
= (long) -1 ;
4023 int arg3
= (int) -1 ;
4024 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
4025 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4027 bool temp4
= False
;
4028 PyObject
* obj0
= 0 ;
4029 PyObject
* obj1
= 0 ;
4030 PyObject
* obj2
= 0 ;
4031 PyObject
* obj3
= 0 ;
4033 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
4036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4040 arg2
= (long)SWIG_As_long(obj1
);
4041 if (PyErr_Occurred()) SWIG_fail
;
4044 arg3
= (int)SWIG_As_int(obj2
);
4045 if (PyErr_Occurred()) SWIG_fail
;
4049 arg4
= wxString_in_helper(obj3
);
4050 if (arg4
== NULL
) SWIG_fail
;
4055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4056 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
4058 wxPyEndAllowThreads(__tstate
);
4059 if (PyErr_Occurred()) SWIG_fail
;
4062 resultobj
= wxPyMake_wxObject(result
, 0);
4078 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4079 PyObject
*resultobj
;
4080 wxFrame
*arg1
= (wxFrame
*) 0 ;
4082 PyObject
* obj0
= 0 ;
4084 (char *) "self", NULL
4087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
4088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4092 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
4094 wxPyEndAllowThreads(__tstate
);
4095 if (PyErr_Occurred()) SWIG_fail
;
4098 resultobj
= wxPyMake_wxObject(result
, 0);
4106 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4107 PyObject
*resultobj
;
4108 wxFrame
*arg1
= (wxFrame
*) 0 ;
4109 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
4110 PyObject
* obj0
= 0 ;
4111 PyObject
* obj1
= 0 ;
4113 (char *) "self",(char *) "toolbar", NULL
4116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
4117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4119 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBar
,
4120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4123 (arg1
)->SetToolBar(arg2
);
4125 wxPyEndAllowThreads(__tstate
);
4126 if (PyErr_Occurred()) SWIG_fail
;
4128 Py_INCREF(Py_None
); resultobj
= Py_None
;
4135 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4136 PyObject
*resultobj
;
4137 wxFrame
*arg1
= (wxFrame
*) 0 ;
4138 wxString
*arg2
= 0 ;
4140 bool temp2
= False
;
4141 PyObject
* obj0
= 0 ;
4142 PyObject
* obj1
= 0 ;
4143 PyObject
* obj2
= 0 ;
4145 (char *) "self",(char *) "text",(char *) "show", NULL
4148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4152 arg2
= wxString_in_helper(obj1
);
4153 if (arg2
== NULL
) SWIG_fail
;
4156 arg3
= (bool)SWIG_As_bool(obj2
);
4157 if (PyErr_Occurred()) SWIG_fail
;
4159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4160 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
4162 wxPyEndAllowThreads(__tstate
);
4163 if (PyErr_Occurred()) SWIG_fail
;
4165 Py_INCREF(Py_None
); resultobj
= Py_None
;
4180 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4181 PyObject
*resultobj
;
4182 wxFrame
*arg1
= (wxFrame
*) 0 ;
4183 wxMenu
*arg2
= (wxMenu
*) NULL
;
4184 PyObject
* obj0
= 0 ;
4185 PyObject
* obj1
= 0 ;
4187 (char *) "self",(char *) "menu", NULL
4190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
4191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4194 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
4195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4199 (arg1
)->DoMenuUpdates(arg2
);
4201 wxPyEndAllowThreads(__tstate
);
4202 if (PyErr_Occurred()) SWIG_fail
;
4204 Py_INCREF(Py_None
); resultobj
= Py_None
;
4211 static PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4212 PyObject
*resultobj
;
4213 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4214 wxVisualAttributes result
;
4215 PyObject
* obj0
= 0 ;
4217 (char *) "variant", NULL
4220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4222 arg1
= (int)SWIG_As_int(obj0
);
4223 if (PyErr_Occurred()) SWIG_fail
;
4226 if (!wxPyCheckForApp()) SWIG_fail
;
4227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4228 result
= wxFrame::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4230 wxPyEndAllowThreads(__tstate
);
4231 if (PyErr_Occurred()) SWIG_fail
;
4234 wxVisualAttributes
* resultptr
;
4235 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4236 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4244 static PyObject
* Frame_swigregister(PyObject
*, PyObject
*args
) {
4246 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4247 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
4249 return Py_BuildValue((char *)"");
4251 static PyObject
*_wrap_new_Dialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4252 PyObject
*resultobj
;
4253 wxWindow
*arg1
= (wxWindow
*) 0 ;
4254 int arg2
= (int) (int)-1 ;
4255 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4256 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4257 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4258 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4259 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4260 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4261 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
4262 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
4263 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4265 bool temp3
= False
;
4268 bool temp7
= False
;
4269 PyObject
* obj0
= 0 ;
4270 PyObject
* obj1
= 0 ;
4271 PyObject
* obj2
= 0 ;
4272 PyObject
* obj3
= 0 ;
4273 PyObject
* obj4
= 0 ;
4274 PyObject
* obj5
= 0 ;
4275 PyObject
* obj6
= 0 ;
4277 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4284 arg2
= (int)SWIG_As_int(obj1
);
4285 if (PyErr_Occurred()) SWIG_fail
;
4289 arg3
= wxString_in_helper(obj2
);
4290 if (arg3
== NULL
) SWIG_fail
;
4297 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4303 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4307 arg6
= (long)SWIG_As_long(obj5
);
4308 if (PyErr_Occurred()) SWIG_fail
;
4312 arg7
= wxString_in_helper(obj6
);
4313 if (arg7
== NULL
) SWIG_fail
;
4318 if (!wxPyCheckForApp()) SWIG_fail
;
4319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4320 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4322 wxPyEndAllowThreads(__tstate
);
4323 if (PyErr_Occurred()) SWIG_fail
;
4325 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
4348 static PyObject
*_wrap_new_PreDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4349 PyObject
*resultobj
;
4355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
4357 if (!wxPyCheckForApp()) SWIG_fail
;
4358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4359 result
= (wxDialog
*)new wxDialog();
4361 wxPyEndAllowThreads(__tstate
);
4362 if (PyErr_Occurred()) SWIG_fail
;
4364 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
4371 static PyObject
*_wrap_Dialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4372 PyObject
*resultobj
;
4373 wxDialog
*arg1
= (wxDialog
*) 0 ;
4374 wxWindow
*arg2
= (wxWindow
*) 0 ;
4375 int arg3
= (int) (int)-1 ;
4376 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4377 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4378 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4379 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4380 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4381 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4382 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
4383 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
4384 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4386 bool temp4
= False
;
4389 bool temp8
= False
;
4390 PyObject
* obj0
= 0 ;
4391 PyObject
* obj1
= 0 ;
4392 PyObject
* obj2
= 0 ;
4393 PyObject
* obj3
= 0 ;
4394 PyObject
* obj4
= 0 ;
4395 PyObject
* obj5
= 0 ;
4396 PyObject
* obj6
= 0 ;
4397 PyObject
* obj7
= 0 ;
4399 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4405 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4408 arg3
= (int)SWIG_As_int(obj2
);
4409 if (PyErr_Occurred()) SWIG_fail
;
4413 arg4
= wxString_in_helper(obj3
);
4414 if (arg4
== NULL
) SWIG_fail
;
4421 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4427 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4431 arg7
= (long)SWIG_As_long(obj6
);
4432 if (PyErr_Occurred()) SWIG_fail
;
4436 arg8
= wxString_in_helper(obj7
);
4437 if (arg8
== NULL
) SWIG_fail
;
4442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4443 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4445 wxPyEndAllowThreads(__tstate
);
4446 if (PyErr_Occurred()) SWIG_fail
;
4449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4473 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4474 PyObject
*resultobj
;
4475 wxDialog
*arg1
= (wxDialog
*) 0 ;
4477 PyObject
* obj0
= 0 ;
4478 PyObject
* obj1
= 0 ;
4480 (char *) "self",(char *) "returnCode", NULL
4483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
4484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4486 arg2
= (int)SWIG_As_int(obj1
);
4487 if (PyErr_Occurred()) SWIG_fail
;
4489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4490 (arg1
)->SetReturnCode(arg2
);
4492 wxPyEndAllowThreads(__tstate
);
4493 if (PyErr_Occurred()) SWIG_fail
;
4495 Py_INCREF(Py_None
); resultobj
= Py_None
;
4502 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4503 PyObject
*resultobj
;
4504 wxDialog
*arg1
= (wxDialog
*) 0 ;
4506 PyObject
* obj0
= 0 ;
4508 (char *) "self", NULL
4511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
4512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4516 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
4518 wxPyEndAllowThreads(__tstate
);
4519 if (PyErr_Occurred()) SWIG_fail
;
4521 resultobj
= SWIG_From_int((int)result
);
4528 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4529 PyObject
*resultobj
;
4530 wxDialog
*arg1
= (wxDialog
*) 0 ;
4531 wxString
*arg2
= 0 ;
4533 bool temp2
= False
;
4534 PyObject
* obj0
= 0 ;
4535 PyObject
* obj1
= 0 ;
4537 (char *) "self",(char *) "message", NULL
4540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4544 arg2
= wxString_in_helper(obj1
);
4545 if (arg2
== NULL
) SWIG_fail
;
4549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4550 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
4552 wxPyEndAllowThreads(__tstate
);
4553 if (PyErr_Occurred()) SWIG_fail
;
4556 resultobj
= wxPyMake_wxSizer(result
, 0);
4572 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4573 PyObject
*resultobj
;
4574 wxDialog
*arg1
= (wxDialog
*) 0 ;
4577 PyObject
* obj0
= 0 ;
4578 PyObject
* obj1
= 0 ;
4580 (char *) "self",(char *) "flags", NULL
4583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4586 arg2
= (long)SWIG_As_long(obj1
);
4587 if (PyErr_Occurred()) SWIG_fail
;
4589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4590 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
4592 wxPyEndAllowThreads(__tstate
);
4593 if (PyErr_Occurred()) SWIG_fail
;
4596 resultobj
= wxPyMake_wxSizer(result
, 0);
4604 static PyObject
*_wrap_Dialog_IsModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4605 PyObject
*resultobj
;
4606 wxDialog
*arg1
= (wxDialog
*) 0 ;
4608 PyObject
* obj0
= 0 ;
4610 (char *) "self", NULL
4613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
4614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4618 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
4620 wxPyEndAllowThreads(__tstate
);
4621 if (PyErr_Occurred()) SWIG_fail
;
4624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4632 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4633 PyObject
*resultobj
;
4634 wxDialog
*arg1
= (wxDialog
*) 0 ;
4636 PyObject
* obj0
= 0 ;
4638 (char *) "self", NULL
4641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
4642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4646 result
= (int)(arg1
)->ShowModal();
4648 wxPyEndAllowThreads(__tstate
);
4649 if (PyErr_Occurred()) SWIG_fail
;
4651 resultobj
= SWIG_From_int((int)result
);
4658 static PyObject
*_wrap_Dialog_EndModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4659 PyObject
*resultobj
;
4660 wxDialog
*arg1
= (wxDialog
*) 0 ;
4662 PyObject
* obj0
= 0 ;
4663 PyObject
* obj1
= 0 ;
4665 (char *) "self",(char *) "retCode", NULL
4668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
4669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4671 arg2
= (int)SWIG_As_int(obj1
);
4672 if (PyErr_Occurred()) SWIG_fail
;
4674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4675 (arg1
)->EndModal(arg2
);
4677 wxPyEndAllowThreads(__tstate
);
4678 if (PyErr_Occurred()) SWIG_fail
;
4680 Py_INCREF(Py_None
); resultobj
= Py_None
;
4687 static PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4688 PyObject
*resultobj
;
4689 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4690 wxVisualAttributes result
;
4691 PyObject
* obj0
= 0 ;
4693 (char *) "variant", NULL
4696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4698 arg1
= (int)SWIG_As_int(obj0
);
4699 if (PyErr_Occurred()) SWIG_fail
;
4702 if (!wxPyCheckForApp()) SWIG_fail
;
4703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4704 result
= wxDialog::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4706 wxPyEndAllowThreads(__tstate
);
4707 if (PyErr_Occurred()) SWIG_fail
;
4710 wxVisualAttributes
* resultptr
;
4711 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4712 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4720 static PyObject
* Dialog_swigregister(PyObject
*, PyObject
*args
) {
4722 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4723 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
4725 return Py_BuildValue((char *)"");
4727 static PyObject
*_wrap_new_MiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4728 PyObject
*resultobj
;
4729 wxWindow
*arg1
= (wxWindow
*) 0 ;
4730 int arg2
= (int) (int)-1 ;
4731 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4732 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4733 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4734 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4735 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4736 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4737 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4738 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4739 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4740 wxMiniFrame
*result
;
4741 bool temp3
= False
;
4744 bool temp7
= False
;
4745 PyObject
* obj0
= 0 ;
4746 PyObject
* obj1
= 0 ;
4747 PyObject
* obj2
= 0 ;
4748 PyObject
* obj3
= 0 ;
4749 PyObject
* obj4
= 0 ;
4750 PyObject
* obj5
= 0 ;
4751 PyObject
* obj6
= 0 ;
4753 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4760 arg2
= (int)SWIG_As_int(obj1
);
4761 if (PyErr_Occurred()) SWIG_fail
;
4765 arg3
= wxString_in_helper(obj2
);
4766 if (arg3
== NULL
) SWIG_fail
;
4773 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4779 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4783 arg6
= (long)SWIG_As_long(obj5
);
4784 if (PyErr_Occurred()) SWIG_fail
;
4788 arg7
= wxString_in_helper(obj6
);
4789 if (arg7
== NULL
) SWIG_fail
;
4794 if (!wxPyCheckForApp()) SWIG_fail
;
4795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4796 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4798 wxPyEndAllowThreads(__tstate
);
4799 if (PyErr_Occurred()) SWIG_fail
;
4801 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4824 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4825 PyObject
*resultobj
;
4826 wxMiniFrame
*result
;
4831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
4833 if (!wxPyCheckForApp()) SWIG_fail
;
4834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4835 result
= (wxMiniFrame
*)new wxMiniFrame();
4837 wxPyEndAllowThreads(__tstate
);
4838 if (PyErr_Occurred()) SWIG_fail
;
4840 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4847 static PyObject
*_wrap_MiniFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4848 PyObject
*resultobj
;
4849 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
4850 wxWindow
*arg2
= (wxWindow
*) 0 ;
4851 int arg3
= (int) (int)-1 ;
4852 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4853 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4854 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4855 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4856 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4857 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4858 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4859 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4860 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4862 bool temp4
= False
;
4865 bool temp8
= False
;
4866 PyObject
* obj0
= 0 ;
4867 PyObject
* obj1
= 0 ;
4868 PyObject
* obj2
= 0 ;
4869 PyObject
* obj3
= 0 ;
4870 PyObject
* obj4
= 0 ;
4871 PyObject
* obj5
= 0 ;
4872 PyObject
* obj6
= 0 ;
4873 PyObject
* obj7
= 0 ;
4875 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMiniFrame
,
4880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4881 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4884 arg3
= (int)SWIG_As_int(obj2
);
4885 if (PyErr_Occurred()) SWIG_fail
;
4889 arg4
= wxString_in_helper(obj3
);
4890 if (arg4
== NULL
) SWIG_fail
;
4897 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4903 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4907 arg7
= (long)SWIG_As_long(obj6
);
4908 if (PyErr_Occurred()) SWIG_fail
;
4912 arg8
= wxString_in_helper(obj7
);
4913 if (arg8
== NULL
) SWIG_fail
;
4918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4919 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4921 wxPyEndAllowThreads(__tstate
);
4922 if (PyErr_Occurred()) SWIG_fail
;
4925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4949 static PyObject
* MiniFrame_swigregister(PyObject
*, PyObject
*args
) {
4951 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4952 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
4954 return Py_BuildValue((char *)"");
4956 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4957 PyObject
*resultobj
;
4958 wxBitmap
*arg1
= 0 ;
4959 wxWindow
*arg2
= (wxWindow
*) 0 ;
4961 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4962 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4963 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4964 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4965 long arg6
= (long) wxNO_BORDER
;
4966 wxSplashScreenWindow
*result
;
4969 PyObject
* obj0
= 0 ;
4970 PyObject
* obj1
= 0 ;
4971 PyObject
* obj2
= 0 ;
4972 PyObject
* obj3
= 0 ;
4973 PyObject
* obj4
= 0 ;
4974 PyObject
* obj5
= 0 ;
4976 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4981 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4984 PyErr_SetString(PyExc_TypeError
,"null reference");
4987 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4989 arg3
= (int)SWIG_As_int(obj2
);
4990 if (PyErr_Occurred()) SWIG_fail
;
4994 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5000 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5004 arg6
= (long)SWIG_As_long(obj5
);
5005 if (PyErr_Occurred()) SWIG_fail
;
5008 if (!wxPyCheckForApp()) SWIG_fail
;
5009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5010 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
5012 wxPyEndAllowThreads(__tstate
);
5013 if (PyErr_Occurred()) SWIG_fail
;
5015 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
5022 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5023 PyObject
*resultobj
;
5024 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
5025 wxBitmap
*arg2
= 0 ;
5026 PyObject
* obj0
= 0 ;
5027 PyObject
* obj1
= 0 ;
5029 (char *) "self",(char *) "bitmap", NULL
5032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
5034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5035 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5036 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5039 PyErr_SetString(PyExc_TypeError
,"null reference");
5043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5044 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
5046 wxPyEndAllowThreads(__tstate
);
5047 if (PyErr_Occurred()) SWIG_fail
;
5049 Py_INCREF(Py_None
); resultobj
= Py_None
;
5056 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5057 PyObject
*resultobj
;
5058 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
5060 PyObject
* obj0
= 0 ;
5062 (char *) "self", NULL
5065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
5066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
5067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5071 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
5072 result
= (wxBitmap
*) &_result_ref
;
5075 wxPyEndAllowThreads(__tstate
);
5076 if (PyErr_Occurred()) SWIG_fail
;
5079 wxBitmap
* resultptr
= new wxBitmap(*result
);
5080 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5088 static PyObject
* SplashScreenWindow_swigregister(PyObject
*, PyObject
*args
) {
5090 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5091 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
5093 return Py_BuildValue((char *)"");
5095 static PyObject
*_wrap_new_SplashScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5096 PyObject
*resultobj
;
5097 wxBitmap
*arg1
= 0 ;
5100 wxWindow
*arg4
= (wxWindow
*) 0 ;
5101 int arg5
= (int) -1 ;
5102 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
5103 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
5104 wxSize
const &arg7_defvalue
= wxDefaultSize
;
5105 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
5106 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
5107 wxSplashScreen
*result
;
5110 PyObject
* obj0
= 0 ;
5111 PyObject
* obj1
= 0 ;
5112 PyObject
* obj2
= 0 ;
5113 PyObject
* obj3
= 0 ;
5114 PyObject
* obj4
= 0 ;
5115 PyObject
* obj5
= 0 ;
5116 PyObject
* obj6
= 0 ;
5117 PyObject
* obj7
= 0 ;
5119 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
5122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
5124 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5127 PyErr_SetString(PyExc_TypeError
,"null reference");
5130 arg2
= (long)SWIG_As_long(obj1
);
5131 if (PyErr_Occurred()) SWIG_fail
;
5132 arg3
= (int)SWIG_As_int(obj2
);
5133 if (PyErr_Occurred()) SWIG_fail
;
5134 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
5135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5137 arg5
= (int)SWIG_As_int(obj4
);
5138 if (PyErr_Occurred()) SWIG_fail
;
5143 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
5149 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
5153 arg8
= (long)SWIG_As_long(obj7
);
5154 if (PyErr_Occurred()) SWIG_fail
;
5157 if (!wxPyCheckForApp()) SWIG_fail
;
5158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5159 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
5161 wxPyEndAllowThreads(__tstate
);
5162 if (PyErr_Occurred()) SWIG_fail
;
5164 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
5171 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5172 PyObject
*resultobj
;
5173 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
5175 PyObject
* obj0
= 0 ;
5177 (char *) "self", NULL
5180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
5181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
5182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5185 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
5187 wxPyEndAllowThreads(__tstate
);
5188 if (PyErr_Occurred()) SWIG_fail
;
5190 resultobj
= SWIG_From_long((long)result
);
5197 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5198 PyObject
*resultobj
;
5199 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
5200 wxSplashScreenWindow
*result
;
5201 PyObject
* obj0
= 0 ;
5203 (char *) "self", NULL
5206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
5207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
5208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5211 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
5213 wxPyEndAllowThreads(__tstate
);
5214 if (PyErr_Occurred()) SWIG_fail
;
5216 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
5223 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5224 PyObject
*resultobj
;
5225 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
5227 PyObject
* obj0
= 0 ;
5229 (char *) "self", NULL
5232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
5233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
5234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5237 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
5239 wxPyEndAllowThreads(__tstate
);
5240 if (PyErr_Occurred()) SWIG_fail
;
5242 resultobj
= SWIG_From_int((int)result
);
5249 static PyObject
* SplashScreen_swigregister(PyObject
*, PyObject
*args
) {
5251 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5252 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
5254 return Py_BuildValue((char *)"");
5256 static PyObject
*_wrap_new_StatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5257 PyObject
*resultobj
;
5258 wxWindow
*arg1
= (wxWindow
*) 0 ;
5259 int arg2
= (int) -1 ;
5260 long arg3
= (long) wxST_SIZEGRIP
;
5261 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
5262 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5263 wxStatusBar
*result
;
5264 bool temp4
= False
;
5265 PyObject
* obj0
= 0 ;
5266 PyObject
* obj1
= 0 ;
5267 PyObject
* obj2
= 0 ;
5268 PyObject
* obj3
= 0 ;
5270 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5277 arg2
= (int)SWIG_As_int(obj1
);
5278 if (PyErr_Occurred()) SWIG_fail
;
5281 arg3
= (long)SWIG_As_long(obj2
);
5282 if (PyErr_Occurred()) SWIG_fail
;
5286 arg4
= wxString_in_helper(obj3
);
5287 if (arg4
== NULL
) SWIG_fail
;
5292 if (!wxPyCheckForApp()) SWIG_fail
;
5293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5294 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
5296 wxPyEndAllowThreads(__tstate
);
5297 if (PyErr_Occurred()) SWIG_fail
;
5299 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
5314 static PyObject
*_wrap_new_PreStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5315 PyObject
*resultobj
;
5316 wxStatusBar
*result
;
5321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
5323 if (!wxPyCheckForApp()) SWIG_fail
;
5324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5325 result
= (wxStatusBar
*)new wxStatusBar();
5327 wxPyEndAllowThreads(__tstate
);
5328 if (PyErr_Occurred()) SWIG_fail
;
5330 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
5337 static PyObject
*_wrap_StatusBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5338 PyObject
*resultobj
;
5339 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5340 wxWindow
*arg2
= (wxWindow
*) 0 ;
5341 int arg3
= (int) -1 ;
5342 long arg4
= (long) wxST_SIZEGRIP
;
5343 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
5344 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5346 bool temp5
= False
;
5347 PyObject
* obj0
= 0 ;
5348 PyObject
* obj1
= 0 ;
5349 PyObject
* obj2
= 0 ;
5350 PyObject
* obj3
= 0 ;
5351 PyObject
* obj4
= 0 ;
5353 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5359 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5362 arg3
= (int)SWIG_As_int(obj2
);
5363 if (PyErr_Occurred()) SWIG_fail
;
5366 arg4
= (long)SWIG_As_long(obj3
);
5367 if (PyErr_Occurred()) SWIG_fail
;
5371 arg5
= wxString_in_helper(obj4
);
5372 if (arg5
== NULL
) SWIG_fail
;
5377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5378 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
5380 wxPyEndAllowThreads(__tstate
);
5381 if (PyErr_Occurred()) SWIG_fail
;
5384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5400 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5401 PyObject
*resultobj
;
5402 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5403 int arg2
= (int) 1 ;
5404 PyObject
* obj0
= 0 ;
5405 PyObject
* obj1
= 0 ;
5407 (char *) "self",(char *) "number", NULL
5410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
5411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5414 arg2
= (int)SWIG_As_int(obj1
);
5415 if (PyErr_Occurred()) SWIG_fail
;
5418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5419 (arg1
)->SetFieldsCount(arg2
);
5421 wxPyEndAllowThreads(__tstate
);
5422 if (PyErr_Occurred()) SWIG_fail
;
5424 Py_INCREF(Py_None
); resultobj
= Py_None
;
5431 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5432 PyObject
*resultobj
;
5433 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5435 PyObject
* obj0
= 0 ;
5437 (char *) "self", NULL
5440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
5441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5445 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
5447 wxPyEndAllowThreads(__tstate
);
5448 if (PyErr_Occurred()) SWIG_fail
;
5450 resultobj
= SWIG_From_int((int)result
);
5457 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5458 PyObject
*resultobj
;
5459 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5460 wxString
*arg2
= 0 ;
5461 int arg3
= (int) 0 ;
5462 bool temp2
= False
;
5463 PyObject
* obj0
= 0 ;
5464 PyObject
* obj1
= 0 ;
5465 PyObject
* obj2
= 0 ;
5467 (char *) "self",(char *) "text",(char *) "number", NULL
5470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5474 arg2
= wxString_in_helper(obj1
);
5475 if (arg2
== NULL
) SWIG_fail
;
5479 arg3
= (int)SWIG_As_int(obj2
);
5480 if (PyErr_Occurred()) SWIG_fail
;
5483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5484 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
5486 wxPyEndAllowThreads(__tstate
);
5487 if (PyErr_Occurred()) SWIG_fail
;
5489 Py_INCREF(Py_None
); resultobj
= Py_None
;
5504 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5505 PyObject
*resultobj
;
5506 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5507 int arg2
= (int) 0 ;
5509 PyObject
* obj0
= 0 ;
5510 PyObject
* obj1
= 0 ;
5512 (char *) "self",(char *) "number", NULL
5515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5519 arg2
= (int)SWIG_As_int(obj1
);
5520 if (PyErr_Occurred()) SWIG_fail
;
5523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5524 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
5526 wxPyEndAllowThreads(__tstate
);
5527 if (PyErr_Occurred()) SWIG_fail
;
5531 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5533 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5542 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5543 PyObject
*resultobj
;
5544 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5545 wxString
*arg2
= 0 ;
5546 int arg3
= (int) 0 ;
5547 bool temp2
= False
;
5548 PyObject
* obj0
= 0 ;
5549 PyObject
* obj1
= 0 ;
5550 PyObject
* obj2
= 0 ;
5552 (char *) "self",(char *) "text",(char *) "number", NULL
5555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5559 arg2
= wxString_in_helper(obj1
);
5560 if (arg2
== NULL
) SWIG_fail
;
5564 arg3
= (int)SWIG_As_int(obj2
);
5565 if (PyErr_Occurred()) SWIG_fail
;
5568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5569 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5571 wxPyEndAllowThreads(__tstate
);
5572 if (PyErr_Occurred()) SWIG_fail
;
5574 Py_INCREF(Py_None
); resultobj
= Py_None
;
5589 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5590 PyObject
*resultobj
;
5591 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5592 int arg2
= (int) 0 ;
5593 PyObject
* obj0
= 0 ;
5594 PyObject
* obj1
= 0 ;
5596 (char *) "self",(char *) "number", NULL
5599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5603 arg2
= (int)SWIG_As_int(obj1
);
5604 if (PyErr_Occurred()) SWIG_fail
;
5607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5608 (arg1
)->PopStatusText(arg2
);
5610 wxPyEndAllowThreads(__tstate
);
5611 if (PyErr_Occurred()) SWIG_fail
;
5613 Py_INCREF(Py_None
); resultobj
= Py_None
;
5620 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5621 PyObject
*resultobj
;
5622 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5624 int *arg3
= (int *) 0 ;
5625 PyObject
* obj0
= 0 ;
5626 PyObject
* obj1
= 0 ;
5628 (char *) "self",(char *) "widths", NULL
5631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5635 arg2
= PyList_Size(obj1
);
5636 arg3
= int_LIST_helper(obj1
);
5637 if (arg3
== NULL
) SWIG_fail
;
5640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5641 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5643 wxPyEndAllowThreads(__tstate
);
5644 if (PyErr_Occurred()) SWIG_fail
;
5646 Py_INCREF(Py_None
); resultobj
= Py_None
;
5648 if (arg3
) delete [] arg3
;
5653 if (arg3
) delete [] arg3
;
5659 static PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5660 PyObject
*resultobj
;
5661 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5663 int *arg3
= (int *) 0 ;
5664 PyObject
* obj0
= 0 ;
5665 PyObject
* obj1
= 0 ;
5667 (char *) "self",(char *) "styles", NULL
5670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) goto fail
;
5671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5674 arg2
= PyList_Size(obj1
);
5675 arg3
= int_LIST_helper(obj1
);
5676 if (arg3
== NULL
) SWIG_fail
;
5679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5680 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
5682 wxPyEndAllowThreads(__tstate
);
5683 if (PyErr_Occurred()) SWIG_fail
;
5685 Py_INCREF(Py_None
); resultobj
= Py_None
;
5687 if (arg3
) delete [] arg3
;
5692 if (arg3
) delete [] arg3
;
5698 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5699 PyObject
*resultobj
;
5700 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5703 PyObject
* obj0
= 0 ;
5704 PyObject
* obj1
= 0 ;
5706 (char *) "self",(char *) "i", NULL
5709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5712 arg2
= (int)SWIG_As_int(obj1
);
5713 if (PyErr_Occurred()) SWIG_fail
;
5715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5716 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
5718 wxPyEndAllowThreads(__tstate
);
5719 if (PyErr_Occurred()) SWIG_fail
;
5723 resultptr
= new wxRect((wxRect
&) result
);
5724 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5732 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5733 PyObject
*resultobj
;
5734 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5736 PyObject
* obj0
= 0 ;
5737 PyObject
* obj1
= 0 ;
5739 (char *) "self",(char *) "height", NULL
5742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5745 arg2
= (int)SWIG_As_int(obj1
);
5746 if (PyErr_Occurred()) SWIG_fail
;
5748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5749 (arg1
)->SetMinHeight(arg2
);
5751 wxPyEndAllowThreads(__tstate
);
5752 if (PyErr_Occurred()) SWIG_fail
;
5754 Py_INCREF(Py_None
); resultobj
= Py_None
;
5761 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5762 PyObject
*resultobj
;
5763 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5765 PyObject
* obj0
= 0 ;
5767 (char *) "self", NULL
5770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
5771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5775 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
5777 wxPyEndAllowThreads(__tstate
);
5778 if (PyErr_Occurred()) SWIG_fail
;
5780 resultobj
= SWIG_From_int((int)result
);
5787 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5788 PyObject
*resultobj
;
5789 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5791 PyObject
* obj0
= 0 ;
5793 (char *) "self", NULL
5796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
5797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5801 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
5803 wxPyEndAllowThreads(__tstate
);
5804 if (PyErr_Occurred()) SWIG_fail
;
5806 resultobj
= SWIG_From_int((int)result
);
5813 static PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5814 PyObject
*resultobj
;
5815 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5816 wxVisualAttributes result
;
5817 PyObject
* obj0
= 0 ;
5819 (char *) "variant", NULL
5822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5824 arg1
= (int)SWIG_As_int(obj0
);
5825 if (PyErr_Occurred()) SWIG_fail
;
5828 if (!wxPyCheckForApp()) SWIG_fail
;
5829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5830 result
= wxStatusBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5832 wxPyEndAllowThreads(__tstate
);
5833 if (PyErr_Occurred()) SWIG_fail
;
5836 wxVisualAttributes
* resultptr
;
5837 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5838 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5846 static PyObject
* StatusBar_swigregister(PyObject
*, PyObject
*args
) {
5848 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5849 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
5851 return Py_BuildValue((char *)"");
5853 static int _wrap_SplitterNameStr_set(PyObject
*) {
5854 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
5859 static PyObject
*_wrap_SplitterNameStr_get() {
5864 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5866 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5873 static PyObject
*_wrap_new_SplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5874 PyObject
*resultobj
;
5875 wxWindow
*arg1
= (wxWindow
*) 0 ;
5876 int arg2
= (int) -1 ;
5877 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5878 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5879 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5880 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5881 long arg5
= (long) wxSP_3D
;
5882 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
5883 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5884 wxSplitterWindow
*result
;
5887 bool temp6
= False
;
5888 PyObject
* obj0
= 0 ;
5889 PyObject
* obj1
= 0 ;
5890 PyObject
* obj2
= 0 ;
5891 PyObject
* obj3
= 0 ;
5892 PyObject
* obj4
= 0 ;
5893 PyObject
* obj5
= 0 ;
5895 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5902 arg2
= (int)SWIG_As_int(obj1
);
5903 if (PyErr_Occurred()) SWIG_fail
;
5908 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5914 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5918 arg5
= (long)SWIG_As_long(obj4
);
5919 if (PyErr_Occurred()) SWIG_fail
;
5923 arg6
= wxString_in_helper(obj5
);
5924 if (arg6
== NULL
) SWIG_fail
;
5929 if (!wxPyCheckForApp()) SWIG_fail
;
5930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5931 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
5933 wxPyEndAllowThreads(__tstate
);
5934 if (PyErr_Occurred()) SWIG_fail
;
5936 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5951 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5952 PyObject
*resultobj
;
5953 wxSplitterWindow
*result
;
5958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
5960 if (!wxPyCheckForApp()) SWIG_fail
;
5961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5962 result
= (wxSplitterWindow
*)new wxSplitterWindow();
5964 wxPyEndAllowThreads(__tstate
);
5965 if (PyErr_Occurred()) SWIG_fail
;
5967 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5974 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5975 PyObject
*resultobj
;
5976 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5977 wxWindow
*arg2
= (wxWindow
*) 0 ;
5978 int arg3
= (int) -1 ;
5979 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5980 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5981 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5982 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5983 long arg6
= (long) wxSP_3D
;
5984 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
5985 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5989 bool temp7
= False
;
5990 PyObject
* obj0
= 0 ;
5991 PyObject
* obj1
= 0 ;
5992 PyObject
* obj2
= 0 ;
5993 PyObject
* obj3
= 0 ;
5994 PyObject
* obj4
= 0 ;
5995 PyObject
* obj5
= 0 ;
5996 PyObject
* obj6
= 0 ;
5998 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6004 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6007 arg3
= (int)SWIG_As_int(obj2
);
6008 if (PyErr_Occurred()) SWIG_fail
;
6013 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6019 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6023 arg6
= (long)SWIG_As_long(obj5
);
6024 if (PyErr_Occurred()) SWIG_fail
;
6028 arg7
= wxString_in_helper(obj6
);
6029 if (arg7
== NULL
) SWIG_fail
;
6034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6035 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6037 wxPyEndAllowThreads(__tstate
);
6038 if (PyErr_Occurred()) SWIG_fail
;
6041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6057 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6058 PyObject
*resultobj
;
6059 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6061 PyObject
* obj0
= 0 ;
6063 (char *) "self", NULL
6066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
6067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6071 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
6073 wxPyEndAllowThreads(__tstate
);
6074 if (PyErr_Occurred()) SWIG_fail
;
6077 resultobj
= wxPyMake_wxObject(result
, 0);
6085 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6086 PyObject
*resultobj
;
6087 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6089 PyObject
* obj0
= 0 ;
6091 (char *) "self", NULL
6094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
6095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6099 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
6101 wxPyEndAllowThreads(__tstate
);
6102 if (PyErr_Occurred()) SWIG_fail
;
6105 resultobj
= wxPyMake_wxObject(result
, 0);
6113 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6114 PyObject
*resultobj
;
6115 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6117 PyObject
* obj0
= 0 ;
6118 PyObject
* obj1
= 0 ;
6120 (char *) "self",(char *) "mode", NULL
6123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
6124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6126 arg2
= (int)SWIG_As_int(obj1
);
6127 if (PyErr_Occurred()) SWIG_fail
;
6129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6130 (arg1
)->SetSplitMode(arg2
);
6132 wxPyEndAllowThreads(__tstate
);
6133 if (PyErr_Occurred()) SWIG_fail
;
6135 Py_INCREF(Py_None
); resultobj
= Py_None
;
6142 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6143 PyObject
*resultobj
;
6144 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6146 PyObject
* obj0
= 0 ;
6148 (char *) "self", NULL
6151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
6152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6156 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
6158 wxPyEndAllowThreads(__tstate
);
6159 if (PyErr_Occurred()) SWIG_fail
;
6161 resultobj
= SWIG_From_int((int)result
);
6168 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6169 PyObject
*resultobj
;
6170 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6171 wxWindow
*arg2
= (wxWindow
*) 0 ;
6172 PyObject
* obj0
= 0 ;
6173 PyObject
* obj1
= 0 ;
6175 (char *) "self",(char *) "window", NULL
6178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
6179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6181 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6185 (arg1
)->Initialize(arg2
);
6187 wxPyEndAllowThreads(__tstate
);
6188 if (PyErr_Occurred()) SWIG_fail
;
6190 Py_INCREF(Py_None
); resultobj
= Py_None
;
6197 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6198 PyObject
*resultobj
;
6199 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6200 wxWindow
*arg2
= (wxWindow
*) 0 ;
6201 wxWindow
*arg3
= (wxWindow
*) 0 ;
6202 int arg4
= (int) 0 ;
6204 PyObject
* obj0
= 0 ;
6205 PyObject
* obj1
= 0 ;
6206 PyObject
* obj2
= 0 ;
6207 PyObject
* obj3
= 0 ;
6209 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6215 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6217 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6220 arg4
= (int)SWIG_As_int(obj3
);
6221 if (PyErr_Occurred()) SWIG_fail
;
6224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6225 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
6227 wxPyEndAllowThreads(__tstate
);
6228 if (PyErr_Occurred()) SWIG_fail
;
6231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6239 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6240 PyObject
*resultobj
;
6241 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6242 wxWindow
*arg2
= (wxWindow
*) 0 ;
6243 wxWindow
*arg3
= (wxWindow
*) 0 ;
6244 int arg4
= (int) 0 ;
6246 PyObject
* obj0
= 0 ;
6247 PyObject
* obj1
= 0 ;
6248 PyObject
* obj2
= 0 ;
6249 PyObject
* obj3
= 0 ;
6251 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6257 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6259 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6262 arg4
= (int)SWIG_As_int(obj3
);
6263 if (PyErr_Occurred()) SWIG_fail
;
6266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6267 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
6269 wxPyEndAllowThreads(__tstate
);
6270 if (PyErr_Occurred()) SWIG_fail
;
6273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6281 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6282 PyObject
*resultobj
;
6283 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6284 wxWindow
*arg2
= (wxWindow
*) NULL
;
6286 PyObject
* obj0
= 0 ;
6287 PyObject
* obj1
= 0 ;
6289 (char *) "self",(char *) "toRemove", NULL
6292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
6293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6296 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6301 result
= (bool)(arg1
)->Unsplit(arg2
);
6303 wxPyEndAllowThreads(__tstate
);
6304 if (PyErr_Occurred()) SWIG_fail
;
6307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6315 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6316 PyObject
*resultobj
;
6317 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6318 wxWindow
*arg2
= (wxWindow
*) 0 ;
6319 wxWindow
*arg3
= (wxWindow
*) 0 ;
6321 PyObject
* obj0
= 0 ;
6322 PyObject
* obj1
= 0 ;
6323 PyObject
* obj2
= 0 ;
6325 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
6328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6331 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6333 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6337 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
6339 wxPyEndAllowThreads(__tstate
);
6340 if (PyErr_Occurred()) SWIG_fail
;
6343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6351 static PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6352 PyObject
*resultobj
;
6353 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6354 PyObject
* obj0
= 0 ;
6356 (char *) "self", NULL
6359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_UpdateSize",kwnames
,&obj0
)) goto fail
;
6360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6364 (arg1
)->UpdateSize();
6366 wxPyEndAllowThreads(__tstate
);
6367 if (PyErr_Occurred()) SWIG_fail
;
6369 Py_INCREF(Py_None
); resultobj
= Py_None
;
6376 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6377 PyObject
*resultobj
;
6378 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6380 PyObject
* obj0
= 0 ;
6382 (char *) "self", NULL
6385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
6386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6390 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
6392 wxPyEndAllowThreads(__tstate
);
6393 if (PyErr_Occurred()) SWIG_fail
;
6396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6404 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6405 PyObject
*resultobj
;
6406 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6408 PyObject
* obj0
= 0 ;
6409 PyObject
* obj1
= 0 ;
6411 (char *) "self",(char *) "width", NULL
6414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6417 arg2
= (int)SWIG_As_int(obj1
);
6418 if (PyErr_Occurred()) SWIG_fail
;
6420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6421 (arg1
)->SetSashSize(arg2
);
6423 wxPyEndAllowThreads(__tstate
);
6424 if (PyErr_Occurred()) SWIG_fail
;
6426 Py_INCREF(Py_None
); resultobj
= Py_None
;
6433 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6434 PyObject
*resultobj
;
6435 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6437 PyObject
* obj0
= 0 ;
6438 PyObject
* obj1
= 0 ;
6440 (char *) "self",(char *) "width", NULL
6443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6446 arg2
= (int)SWIG_As_int(obj1
);
6447 if (PyErr_Occurred()) SWIG_fail
;
6449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6450 (arg1
)->SetBorderSize(arg2
);
6452 wxPyEndAllowThreads(__tstate
);
6453 if (PyErr_Occurred()) SWIG_fail
;
6455 Py_INCREF(Py_None
); resultobj
= Py_None
;
6462 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6463 PyObject
*resultobj
;
6464 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6466 PyObject
* obj0
= 0 ;
6468 (char *) "self", NULL
6471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
6472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6476 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
6478 wxPyEndAllowThreads(__tstate
);
6479 if (PyErr_Occurred()) SWIG_fail
;
6481 resultobj
= SWIG_From_int((int)result
);
6488 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6489 PyObject
*resultobj
;
6490 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6492 PyObject
* obj0
= 0 ;
6494 (char *) "self", NULL
6497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
6498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6502 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
6504 wxPyEndAllowThreads(__tstate
);
6505 if (PyErr_Occurred()) SWIG_fail
;
6507 resultobj
= SWIG_From_int((int)result
);
6514 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6515 PyObject
*resultobj
;
6516 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6518 bool arg3
= (bool) True
;
6519 PyObject
* obj0
= 0 ;
6520 PyObject
* obj1
= 0 ;
6521 PyObject
* obj2
= 0 ;
6523 (char *) "self",(char *) "position",(char *) "redraw", NULL
6526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6529 arg2
= (int)SWIG_As_int(obj1
);
6530 if (PyErr_Occurred()) SWIG_fail
;
6532 arg3
= (bool)SWIG_As_bool(obj2
);
6533 if (PyErr_Occurred()) SWIG_fail
;
6536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6537 (arg1
)->SetSashPosition(arg2
,arg3
);
6539 wxPyEndAllowThreads(__tstate
);
6540 if (PyErr_Occurred()) SWIG_fail
;
6542 Py_INCREF(Py_None
); resultobj
= Py_None
;
6549 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6550 PyObject
*resultobj
;
6551 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6553 PyObject
* obj0
= 0 ;
6555 (char *) "self", NULL
6558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6563 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
6565 wxPyEndAllowThreads(__tstate
);
6566 if (PyErr_Occurred()) SWIG_fail
;
6568 resultobj
= SWIG_From_int((int)result
);
6575 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6576 PyObject
*resultobj
;
6577 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6579 PyObject
* obj0
= 0 ;
6580 PyObject
* obj1
= 0 ;
6582 (char *) "self",(char *) "min", NULL
6585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6588 arg2
= (int)SWIG_As_int(obj1
);
6589 if (PyErr_Occurred()) SWIG_fail
;
6591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6592 (arg1
)->SetMinimumPaneSize(arg2
);
6594 wxPyEndAllowThreads(__tstate
);
6595 if (PyErr_Occurred()) SWIG_fail
;
6597 Py_INCREF(Py_None
); resultobj
= Py_None
;
6604 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6605 PyObject
*resultobj
;
6606 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6608 PyObject
* obj0
= 0 ;
6610 (char *) "self", NULL
6613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
6614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6618 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
6620 wxPyEndAllowThreads(__tstate
);
6621 if (PyErr_Occurred()) SWIG_fail
;
6623 resultobj
= SWIG_From_int((int)result
);
6630 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6631 PyObject
*resultobj
;
6632 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6635 int arg4
= (int) 5 ;
6637 PyObject
* obj0
= 0 ;
6638 PyObject
* obj1
= 0 ;
6639 PyObject
* obj2
= 0 ;
6640 PyObject
* obj3
= 0 ;
6642 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6648 arg2
= (int)SWIG_As_int(obj1
);
6649 if (PyErr_Occurred()) SWIG_fail
;
6650 arg3
= (int)SWIG_As_int(obj2
);
6651 if (PyErr_Occurred()) SWIG_fail
;
6653 arg4
= (int)SWIG_As_int(obj3
);
6654 if (PyErr_Occurred()) SWIG_fail
;
6657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6658 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
6660 wxPyEndAllowThreads(__tstate
);
6661 if (PyErr_Occurred()) SWIG_fail
;
6664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6672 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6673 PyObject
*resultobj
;
6674 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6675 PyObject
* obj0
= 0 ;
6677 (char *) "self", NULL
6680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
6681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6685 (arg1
)->SizeWindows();
6687 wxPyEndAllowThreads(__tstate
);
6688 if (PyErr_Occurred()) SWIG_fail
;
6690 Py_INCREF(Py_None
); resultobj
= Py_None
;
6697 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6698 PyObject
*resultobj
;
6699 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6701 PyObject
* obj0
= 0 ;
6702 PyObject
* obj1
= 0 ;
6704 (char *) "self",(char *) "needUpdating", NULL
6707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
6708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6710 arg2
= (bool)SWIG_As_bool(obj1
);
6711 if (PyErr_Occurred()) SWIG_fail
;
6713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6714 (arg1
)->SetNeedUpdating(arg2
);
6716 wxPyEndAllowThreads(__tstate
);
6717 if (PyErr_Occurred()) SWIG_fail
;
6719 Py_INCREF(Py_None
); resultobj
= Py_None
;
6726 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6727 PyObject
*resultobj
;
6728 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6730 PyObject
* obj0
= 0 ;
6732 (char *) "self", NULL
6735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
6736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6740 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
6742 wxPyEndAllowThreads(__tstate
);
6743 if (PyErr_Occurred()) SWIG_fail
;
6746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6754 static PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6755 PyObject
*resultobj
;
6756 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
6757 wxVisualAttributes result
;
6758 PyObject
* obj0
= 0 ;
6760 (char *) "variant", NULL
6763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6765 arg1
= (int)SWIG_As_int(obj0
);
6766 if (PyErr_Occurred()) SWIG_fail
;
6769 if (!wxPyCheckForApp()) SWIG_fail
;
6770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6771 result
= wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6773 wxPyEndAllowThreads(__tstate
);
6774 if (PyErr_Occurred()) SWIG_fail
;
6777 wxVisualAttributes
* resultptr
;
6778 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
6779 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6787 static PyObject
* SplitterWindow_swigregister(PyObject
*, PyObject
*args
) {
6789 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6790 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
6792 return Py_BuildValue((char *)"");
6794 static PyObject
*_wrap_new_SplitterEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6795 PyObject
*resultobj
;
6796 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
6797 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
6798 wxSplitterEvent
*result
;
6799 PyObject
* obj0
= 0 ;
6800 PyObject
* obj1
= 0 ;
6802 (char *) "type",(char *) "splitter", NULL
6805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6807 arg1
= (wxEventType
)SWIG_As_int(obj0
);
6808 if (PyErr_Occurred()) SWIG_fail
;
6811 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSplitterWindow
,
6812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6816 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
6818 wxPyEndAllowThreads(__tstate
);
6819 if (PyErr_Occurred()) SWIG_fail
;
6821 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
6828 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6829 PyObject
*resultobj
;
6830 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6832 PyObject
* obj0
= 0 ;
6833 PyObject
* obj1
= 0 ;
6835 (char *) "self",(char *) "pos", NULL
6838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
6839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6841 arg2
= (int)SWIG_As_int(obj1
);
6842 if (PyErr_Occurred()) SWIG_fail
;
6844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6845 (arg1
)->SetSashPosition(arg2
);
6847 wxPyEndAllowThreads(__tstate
);
6848 if (PyErr_Occurred()) SWIG_fail
;
6850 Py_INCREF(Py_None
); resultobj
= Py_None
;
6857 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6858 PyObject
*resultobj
;
6859 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6861 PyObject
* obj0
= 0 ;
6863 (char *) "self", NULL
6866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6871 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
6873 wxPyEndAllowThreads(__tstate
);
6874 if (PyErr_Occurred()) SWIG_fail
;
6876 resultobj
= SWIG_From_int((int)result
);
6883 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6884 PyObject
*resultobj
;
6885 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6887 PyObject
* obj0
= 0 ;
6889 (char *) "self", NULL
6892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
6893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6897 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
6899 wxPyEndAllowThreads(__tstate
);
6900 if (PyErr_Occurred()) SWIG_fail
;
6903 resultobj
= wxPyMake_wxObject(result
, 0);
6911 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6912 PyObject
*resultobj
;
6913 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6915 PyObject
* obj0
= 0 ;
6917 (char *) "self", NULL
6920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
6921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6925 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
6927 wxPyEndAllowThreads(__tstate
);
6928 if (PyErr_Occurred()) SWIG_fail
;
6930 resultobj
= SWIG_From_int((int)result
);
6937 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6938 PyObject
*resultobj
;
6939 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6941 PyObject
* obj0
= 0 ;
6943 (char *) "self", NULL
6946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
6947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6951 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
6953 wxPyEndAllowThreads(__tstate
);
6954 if (PyErr_Occurred()) SWIG_fail
;
6956 resultobj
= SWIG_From_int((int)result
);
6963 static PyObject
* SplitterEvent_swigregister(PyObject
*, PyObject
*args
) {
6965 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6966 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
6968 return Py_BuildValue((char *)"");
6970 static int _wrap_SashNameStr_set(PyObject
*) {
6971 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
6976 static PyObject
*_wrap_SashNameStr_get() {
6981 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6983 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6990 static int _wrap_SashLayoutNameStr_set(PyObject
*) {
6991 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
6996 static PyObject
*_wrap_SashLayoutNameStr_get() {
7001 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
7003 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
7010 static PyObject
*_wrap_new_SashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7011 PyObject
*resultobj
;
7012 wxWindow
*arg1
= (wxWindow
*) 0 ;
7013 int arg2
= (int) -1 ;
7014 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7015 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7016 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7017 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7018 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7019 wxString
const &arg6_defvalue
= wxPySashNameStr
;
7020 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7021 wxSashWindow
*result
;
7024 bool temp6
= False
;
7025 PyObject
* obj0
= 0 ;
7026 PyObject
* obj1
= 0 ;
7027 PyObject
* obj2
= 0 ;
7028 PyObject
* obj3
= 0 ;
7029 PyObject
* obj4
= 0 ;
7030 PyObject
* obj5
= 0 ;
7032 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
7037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7039 arg2
= (int)SWIG_As_int(obj1
);
7040 if (PyErr_Occurred()) SWIG_fail
;
7045 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7051 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7055 arg5
= (long)SWIG_As_long(obj4
);
7056 if (PyErr_Occurred()) SWIG_fail
;
7060 arg6
= wxString_in_helper(obj5
);
7061 if (arg6
== NULL
) SWIG_fail
;
7066 if (!wxPyCheckForApp()) SWIG_fail
;
7067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7068 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7070 wxPyEndAllowThreads(__tstate
);
7071 if (PyErr_Occurred()) SWIG_fail
;
7073 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
7088 static PyObject
*_wrap_new_PreSashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7089 PyObject
*resultobj
;
7090 wxSashWindow
*result
;
7095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
7097 if (!wxPyCheckForApp()) SWIG_fail
;
7098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7099 result
= (wxSashWindow
*)new wxSashWindow();
7101 wxPyEndAllowThreads(__tstate
);
7102 if (PyErr_Occurred()) SWIG_fail
;
7104 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
7111 static PyObject
*_wrap_SashWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7112 PyObject
*resultobj
;
7113 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7114 wxWindow
*arg2
= (wxWindow
*) 0 ;
7115 int arg3
= (int) -1 ;
7116 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7117 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7118 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7119 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7120 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7121 wxString
const &arg7_defvalue
= wxPySashNameStr
;
7122 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7126 bool temp7
= False
;
7127 PyObject
* obj0
= 0 ;
7128 PyObject
* obj1
= 0 ;
7129 PyObject
* obj2
= 0 ;
7130 PyObject
* obj3
= 0 ;
7131 PyObject
* obj4
= 0 ;
7132 PyObject
* obj5
= 0 ;
7133 PyObject
* obj6
= 0 ;
7135 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7141 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7144 arg3
= (int)SWIG_As_int(obj2
);
7145 if (PyErr_Occurred()) SWIG_fail
;
7150 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7156 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7160 arg6
= (long)SWIG_As_long(obj5
);
7161 if (PyErr_Occurred()) SWIG_fail
;
7165 arg7
= wxString_in_helper(obj6
);
7166 if (arg7
== NULL
) SWIG_fail
;
7171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7172 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7174 wxPyEndAllowThreads(__tstate
);
7175 if (PyErr_Occurred()) SWIG_fail
;
7178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7194 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7195 PyObject
*resultobj
;
7196 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7199 PyObject
* obj0
= 0 ;
7200 PyObject
* obj1
= 0 ;
7201 PyObject
* obj2
= 0 ;
7203 (char *) "self",(char *) "edge",(char *) "sash", NULL
7206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7209 arg2
= (int)SWIG_As_int(obj1
);
7210 if (PyErr_Occurred()) SWIG_fail
;
7211 arg3
= (bool)SWIG_As_bool(obj2
);
7212 if (PyErr_Occurred()) SWIG_fail
;
7214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7215 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
7217 wxPyEndAllowThreads(__tstate
);
7218 if (PyErr_Occurred()) SWIG_fail
;
7220 Py_INCREF(Py_None
); resultobj
= Py_None
;
7227 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7228 PyObject
*resultobj
;
7229 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7232 PyObject
* obj0
= 0 ;
7233 PyObject
* obj1
= 0 ;
7235 (char *) "self",(char *) "edge", NULL
7238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
7239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7241 arg2
= (int)SWIG_As_int(obj1
);
7242 if (PyErr_Occurred()) SWIG_fail
;
7244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7245 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
7247 wxPyEndAllowThreads(__tstate
);
7248 if (PyErr_Occurred()) SWIG_fail
;
7251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7259 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7260 PyObject
*resultobj
;
7261 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7264 PyObject
* obj0
= 0 ;
7265 PyObject
* obj1
= 0 ;
7266 PyObject
* obj2
= 0 ;
7268 (char *) "self",(char *) "edge",(char *) "border", NULL
7271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7274 arg2
= (int)SWIG_As_int(obj1
);
7275 if (PyErr_Occurred()) SWIG_fail
;
7276 arg3
= (bool)SWIG_As_bool(obj2
);
7277 if (PyErr_Occurred()) SWIG_fail
;
7279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7280 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
7282 wxPyEndAllowThreads(__tstate
);
7283 if (PyErr_Occurred()) SWIG_fail
;
7285 Py_INCREF(Py_None
); resultobj
= Py_None
;
7292 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7293 PyObject
*resultobj
;
7294 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7297 PyObject
* obj0
= 0 ;
7298 PyObject
* obj1
= 0 ;
7300 (char *) "self",(char *) "edge", NULL
7303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
7304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7306 arg2
= (int)SWIG_As_int(obj1
);
7307 if (PyErr_Occurred()) SWIG_fail
;
7309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7310 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
7312 wxPyEndAllowThreads(__tstate
);
7313 if (PyErr_Occurred()) SWIG_fail
;
7316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7324 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7325 PyObject
*resultobj
;
7326 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7329 PyObject
* obj0
= 0 ;
7330 PyObject
* obj1
= 0 ;
7332 (char *) "self",(char *) "edge", NULL
7335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
7336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7338 arg2
= (int)SWIG_As_int(obj1
);
7339 if (PyErr_Occurred()) SWIG_fail
;
7341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7342 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
7344 wxPyEndAllowThreads(__tstate
);
7345 if (PyErr_Occurred()) SWIG_fail
;
7347 resultobj
= SWIG_From_int((int)result
);
7354 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7355 PyObject
*resultobj
;
7356 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7358 PyObject
* obj0
= 0 ;
7359 PyObject
* obj1
= 0 ;
7361 (char *) "self",(char *) "width", NULL
7364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7367 arg2
= (int)SWIG_As_int(obj1
);
7368 if (PyErr_Occurred()) SWIG_fail
;
7370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7371 (arg1
)->SetDefaultBorderSize(arg2
);
7373 wxPyEndAllowThreads(__tstate
);
7374 if (PyErr_Occurred()) SWIG_fail
;
7376 Py_INCREF(Py_None
); resultobj
= Py_None
;
7383 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7384 PyObject
*resultobj
;
7385 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7387 PyObject
* obj0
= 0 ;
7389 (char *) "self", NULL
7392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
7393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7397 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
7399 wxPyEndAllowThreads(__tstate
);
7400 if (PyErr_Occurred()) SWIG_fail
;
7402 resultobj
= SWIG_From_int((int)result
);
7409 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7410 PyObject
*resultobj
;
7411 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7413 PyObject
* obj0
= 0 ;
7414 PyObject
* obj1
= 0 ;
7416 (char *) "self",(char *) "width", NULL
7419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7422 arg2
= (int)SWIG_As_int(obj1
);
7423 if (PyErr_Occurred()) SWIG_fail
;
7425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7426 (arg1
)->SetExtraBorderSize(arg2
);
7428 wxPyEndAllowThreads(__tstate
);
7429 if (PyErr_Occurred()) SWIG_fail
;
7431 Py_INCREF(Py_None
); resultobj
= Py_None
;
7438 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7439 PyObject
*resultobj
;
7440 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7442 PyObject
* obj0
= 0 ;
7444 (char *) "self", NULL
7447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
7448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7452 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
7454 wxPyEndAllowThreads(__tstate
);
7455 if (PyErr_Occurred()) SWIG_fail
;
7457 resultobj
= SWIG_From_int((int)result
);
7464 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7465 PyObject
*resultobj
;
7466 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7468 PyObject
* obj0
= 0 ;
7469 PyObject
* obj1
= 0 ;
7471 (char *) "self",(char *) "min", NULL
7474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7477 arg2
= (int)SWIG_As_int(obj1
);
7478 if (PyErr_Occurred()) SWIG_fail
;
7480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7481 (arg1
)->SetMinimumSizeX(arg2
);
7483 wxPyEndAllowThreads(__tstate
);
7484 if (PyErr_Occurred()) SWIG_fail
;
7486 Py_INCREF(Py_None
); resultobj
= Py_None
;
7493 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7494 PyObject
*resultobj
;
7495 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7497 PyObject
* obj0
= 0 ;
7498 PyObject
* obj1
= 0 ;
7500 (char *) "self",(char *) "min", NULL
7503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7506 arg2
= (int)SWIG_As_int(obj1
);
7507 if (PyErr_Occurred()) SWIG_fail
;
7509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7510 (arg1
)->SetMinimumSizeY(arg2
);
7512 wxPyEndAllowThreads(__tstate
);
7513 if (PyErr_Occurred()) SWIG_fail
;
7515 Py_INCREF(Py_None
); resultobj
= Py_None
;
7522 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7523 PyObject
*resultobj
;
7524 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7526 PyObject
* obj0
= 0 ;
7528 (char *) "self", NULL
7531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
7532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7536 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
7538 wxPyEndAllowThreads(__tstate
);
7539 if (PyErr_Occurred()) SWIG_fail
;
7541 resultobj
= SWIG_From_int((int)result
);
7548 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7549 PyObject
*resultobj
;
7550 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7552 PyObject
* obj0
= 0 ;
7554 (char *) "self", NULL
7557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
7558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7562 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
7564 wxPyEndAllowThreads(__tstate
);
7565 if (PyErr_Occurred()) SWIG_fail
;
7567 resultobj
= SWIG_From_int((int)result
);
7574 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7575 PyObject
*resultobj
;
7576 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7578 PyObject
* obj0
= 0 ;
7579 PyObject
* obj1
= 0 ;
7581 (char *) "self",(char *) "max", NULL
7584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7587 arg2
= (int)SWIG_As_int(obj1
);
7588 if (PyErr_Occurred()) SWIG_fail
;
7590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7591 (arg1
)->SetMaximumSizeX(arg2
);
7593 wxPyEndAllowThreads(__tstate
);
7594 if (PyErr_Occurred()) SWIG_fail
;
7596 Py_INCREF(Py_None
); resultobj
= Py_None
;
7603 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7604 PyObject
*resultobj
;
7605 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7607 PyObject
* obj0
= 0 ;
7608 PyObject
* obj1
= 0 ;
7610 (char *) "self",(char *) "max", NULL
7613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7616 arg2
= (int)SWIG_As_int(obj1
);
7617 if (PyErr_Occurred()) SWIG_fail
;
7619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7620 (arg1
)->SetMaximumSizeY(arg2
);
7622 wxPyEndAllowThreads(__tstate
);
7623 if (PyErr_Occurred()) SWIG_fail
;
7625 Py_INCREF(Py_None
); resultobj
= Py_None
;
7632 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7633 PyObject
*resultobj
;
7634 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7636 PyObject
* obj0
= 0 ;
7638 (char *) "self", NULL
7641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
7642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7646 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
7648 wxPyEndAllowThreads(__tstate
);
7649 if (PyErr_Occurred()) SWIG_fail
;
7651 resultobj
= SWIG_From_int((int)result
);
7658 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7659 PyObject
*resultobj
;
7660 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7662 PyObject
* obj0
= 0 ;
7664 (char *) "self", NULL
7667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
7668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7672 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
7674 wxPyEndAllowThreads(__tstate
);
7675 if (PyErr_Occurred()) SWIG_fail
;
7677 resultobj
= SWIG_From_int((int)result
);
7684 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7685 PyObject
*resultobj
;
7686 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7689 int arg4
= (int) 2 ;
7691 PyObject
* obj0
= 0 ;
7692 PyObject
* obj1
= 0 ;
7693 PyObject
* obj2
= 0 ;
7694 PyObject
* obj3
= 0 ;
7696 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7702 arg2
= (int)SWIG_As_int(obj1
);
7703 if (PyErr_Occurred()) SWIG_fail
;
7704 arg3
= (int)SWIG_As_int(obj2
);
7705 if (PyErr_Occurred()) SWIG_fail
;
7707 arg4
= (int)SWIG_As_int(obj3
);
7708 if (PyErr_Occurred()) SWIG_fail
;
7711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7712 result
= (int)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
7714 wxPyEndAllowThreads(__tstate
);
7715 if (PyErr_Occurred()) SWIG_fail
;
7717 resultobj
= SWIG_From_int((int)result
);
7724 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7725 PyObject
*resultobj
;
7726 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7727 PyObject
* obj0
= 0 ;
7729 (char *) "self", NULL
7732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
7733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7737 (arg1
)->SizeWindows();
7739 wxPyEndAllowThreads(__tstate
);
7740 if (PyErr_Occurred()) SWIG_fail
;
7742 Py_INCREF(Py_None
); resultobj
= Py_None
;
7749 static PyObject
* SashWindow_swigregister(PyObject
*, PyObject
*args
) {
7751 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7752 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
7754 return Py_BuildValue((char *)"");
7756 static PyObject
*_wrap_new_SashEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7757 PyObject
*resultobj
;
7758 int arg1
= (int) 0 ;
7759 int arg2
= (int) wxSASH_NONE
;
7760 wxSashEvent
*result
;
7761 PyObject
* obj0
= 0 ;
7762 PyObject
* obj1
= 0 ;
7764 (char *) "id",(char *) "edge", NULL
7767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7769 arg1
= (int)SWIG_As_int(obj0
);
7770 if (PyErr_Occurred()) SWIG_fail
;
7773 arg2
= (int)SWIG_As_int(obj1
);
7774 if (PyErr_Occurred()) SWIG_fail
;
7777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7778 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
7780 wxPyEndAllowThreads(__tstate
);
7781 if (PyErr_Occurred()) SWIG_fail
;
7783 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
7790 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7791 PyObject
*resultobj
;
7792 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7794 PyObject
* obj0
= 0 ;
7795 PyObject
* obj1
= 0 ;
7797 (char *) "self",(char *) "edge", NULL
7800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
7801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7803 arg2
= (int)SWIG_As_int(obj1
);
7804 if (PyErr_Occurred()) SWIG_fail
;
7806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7807 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
7809 wxPyEndAllowThreads(__tstate
);
7810 if (PyErr_Occurred()) SWIG_fail
;
7812 Py_INCREF(Py_None
); resultobj
= Py_None
;
7819 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7820 PyObject
*resultobj
;
7821 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7823 PyObject
* obj0
= 0 ;
7825 (char *) "self", NULL
7828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
7829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7833 result
= (int)((wxSashEvent
const *)arg1
)->GetEdge();
7835 wxPyEndAllowThreads(__tstate
);
7836 if (PyErr_Occurred()) SWIG_fail
;
7838 resultobj
= SWIG_From_int((int)result
);
7845 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7846 PyObject
*resultobj
;
7847 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7850 PyObject
* obj0
= 0 ;
7851 PyObject
* obj1
= 0 ;
7853 (char *) "self",(char *) "rect", NULL
7856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7861 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7865 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
7867 wxPyEndAllowThreads(__tstate
);
7868 if (PyErr_Occurred()) SWIG_fail
;
7870 Py_INCREF(Py_None
); resultobj
= Py_None
;
7877 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7878 PyObject
*resultobj
;
7879 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7881 PyObject
* obj0
= 0 ;
7883 (char *) "self", NULL
7886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
7887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7891 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
7893 wxPyEndAllowThreads(__tstate
);
7894 if (PyErr_Occurred()) SWIG_fail
;
7898 resultptr
= new wxRect((wxRect
&) result
);
7899 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7907 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7908 PyObject
*resultobj
;
7909 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7911 PyObject
* obj0
= 0 ;
7912 PyObject
* obj1
= 0 ;
7914 (char *) "self",(char *) "status", NULL
7917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
7918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7920 arg2
= (int)SWIG_As_int(obj1
);
7921 if (PyErr_Occurred()) SWIG_fail
;
7923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7924 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
7926 wxPyEndAllowThreads(__tstate
);
7927 if (PyErr_Occurred()) SWIG_fail
;
7929 Py_INCREF(Py_None
); resultobj
= Py_None
;
7936 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7937 PyObject
*resultobj
;
7938 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7940 PyObject
* obj0
= 0 ;
7942 (char *) "self", NULL
7945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
7946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7950 result
= (int)((wxSashEvent
const *)arg1
)->GetDragStatus();
7952 wxPyEndAllowThreads(__tstate
);
7953 if (PyErr_Occurred()) SWIG_fail
;
7955 resultobj
= SWIG_From_int((int)result
);
7962 static PyObject
* SashEvent_swigregister(PyObject
*, PyObject
*args
) {
7964 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7965 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
7967 return Py_BuildValue((char *)"");
7969 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7970 PyObject
*resultobj
;
7971 int arg1
= (int) 0 ;
7972 wxQueryLayoutInfoEvent
*result
;
7973 PyObject
* obj0
= 0 ;
7978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
7980 arg1
= (int)SWIG_As_int(obj0
);
7981 if (PyErr_Occurred()) SWIG_fail
;
7984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7985 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
7987 wxPyEndAllowThreads(__tstate
);
7988 if (PyErr_Occurred()) SWIG_fail
;
7990 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
7997 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7998 PyObject
*resultobj
;
7999 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8001 PyObject
* obj0
= 0 ;
8002 PyObject
* obj1
= 0 ;
8004 (char *) "self",(char *) "length", NULL
8007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8010 arg2
= (int)SWIG_As_int(obj1
);
8011 if (PyErr_Occurred()) SWIG_fail
;
8013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8014 (arg1
)->SetRequestedLength(arg2
);
8016 wxPyEndAllowThreads(__tstate
);
8017 if (PyErr_Occurred()) SWIG_fail
;
8019 Py_INCREF(Py_None
); resultobj
= Py_None
;
8026 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8027 PyObject
*resultobj
;
8028 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8030 PyObject
* obj0
= 0 ;
8032 (char *) "self", NULL
8035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
8036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8040 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
8042 wxPyEndAllowThreads(__tstate
);
8043 if (PyErr_Occurred()) SWIG_fail
;
8045 resultobj
= SWIG_From_int((int)result
);
8052 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8053 PyObject
*resultobj
;
8054 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8056 PyObject
* obj0
= 0 ;
8057 PyObject
* obj1
= 0 ;
8059 (char *) "self",(char *) "flags", NULL
8062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
8063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8065 arg2
= (int)SWIG_As_int(obj1
);
8066 if (PyErr_Occurred()) SWIG_fail
;
8068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8069 (arg1
)->SetFlags(arg2
);
8071 wxPyEndAllowThreads(__tstate
);
8072 if (PyErr_Occurred()) SWIG_fail
;
8074 Py_INCREF(Py_None
); resultobj
= Py_None
;
8081 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8082 PyObject
*resultobj
;
8083 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8085 PyObject
* obj0
= 0 ;
8087 (char *) "self", NULL
8090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
8091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8095 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
8097 wxPyEndAllowThreads(__tstate
);
8098 if (PyErr_Occurred()) SWIG_fail
;
8100 resultobj
= SWIG_From_int((int)result
);
8107 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8108 PyObject
*resultobj
;
8109 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8112 PyObject
* obj0
= 0 ;
8113 PyObject
* obj1
= 0 ;
8115 (char *) "self",(char *) "size", NULL
8118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8123 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8127 (arg1
)->SetSize((wxSize
const &)*arg2
);
8129 wxPyEndAllowThreads(__tstate
);
8130 if (PyErr_Occurred()) SWIG_fail
;
8132 Py_INCREF(Py_None
); resultobj
= Py_None
;
8139 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8140 PyObject
*resultobj
;
8141 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8143 PyObject
* obj0
= 0 ;
8145 (char *) "self", NULL
8148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
8149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8153 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
8155 wxPyEndAllowThreads(__tstate
);
8156 if (PyErr_Occurred()) SWIG_fail
;
8160 resultptr
= new wxSize((wxSize
&) result
);
8161 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
8169 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8170 PyObject
*resultobj
;
8171 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8173 PyObject
* obj0
= 0 ;
8174 PyObject
* obj1
= 0 ;
8176 (char *) "self",(char *) "orient", NULL
8179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8182 arg2
= (int)SWIG_As_int(obj1
);
8183 if (PyErr_Occurred()) SWIG_fail
;
8185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8186 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8188 wxPyEndAllowThreads(__tstate
);
8189 if (PyErr_Occurred()) SWIG_fail
;
8191 Py_INCREF(Py_None
); resultobj
= Py_None
;
8198 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8199 PyObject
*resultobj
;
8200 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8202 PyObject
* obj0
= 0 ;
8204 (char *) "self", NULL
8207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
8208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8212 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
8214 wxPyEndAllowThreads(__tstate
);
8215 if (PyErr_Occurred()) SWIG_fail
;
8217 resultobj
= SWIG_From_int((int)result
);
8224 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8225 PyObject
*resultobj
;
8226 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8228 PyObject
* obj0
= 0 ;
8229 PyObject
* obj1
= 0 ;
8231 (char *) "self",(char *) "align", NULL
8234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8237 arg2
= (int)SWIG_As_int(obj1
);
8238 if (PyErr_Occurred()) SWIG_fail
;
8240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8241 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8243 wxPyEndAllowThreads(__tstate
);
8244 if (PyErr_Occurred()) SWIG_fail
;
8246 Py_INCREF(Py_None
); resultobj
= Py_None
;
8253 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8254 PyObject
*resultobj
;
8255 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8257 PyObject
* obj0
= 0 ;
8259 (char *) "self", NULL
8262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
8263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8267 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
8269 wxPyEndAllowThreads(__tstate
);
8270 if (PyErr_Occurred()) SWIG_fail
;
8272 resultobj
= SWIG_From_int((int)result
);
8279 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*, PyObject
*args
) {
8281 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8282 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
8284 return Py_BuildValue((char *)"");
8286 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8287 PyObject
*resultobj
;
8288 int arg1
= (int) 0 ;
8289 wxCalculateLayoutEvent
*result
;
8290 PyObject
* obj0
= 0 ;
8295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
8297 arg1
= (int)SWIG_As_int(obj0
);
8298 if (PyErr_Occurred()) SWIG_fail
;
8301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8302 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
8304 wxPyEndAllowThreads(__tstate
);
8305 if (PyErr_Occurred()) SWIG_fail
;
8307 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
8314 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8315 PyObject
*resultobj
;
8316 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8318 PyObject
* obj0
= 0 ;
8319 PyObject
* obj1
= 0 ;
8321 (char *) "self",(char *) "flags", NULL
8324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
8325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8327 arg2
= (int)SWIG_As_int(obj1
);
8328 if (PyErr_Occurred()) SWIG_fail
;
8330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8331 (arg1
)->SetFlags(arg2
);
8333 wxPyEndAllowThreads(__tstate
);
8334 if (PyErr_Occurred()) SWIG_fail
;
8336 Py_INCREF(Py_None
); resultobj
= Py_None
;
8343 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8344 PyObject
*resultobj
;
8345 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8347 PyObject
* obj0
= 0 ;
8349 (char *) "self", NULL
8352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
8353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8357 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
8359 wxPyEndAllowThreads(__tstate
);
8360 if (PyErr_Occurred()) SWIG_fail
;
8362 resultobj
= SWIG_From_int((int)result
);
8369 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8370 PyObject
*resultobj
;
8371 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8374 PyObject
* obj0
= 0 ;
8375 PyObject
* obj1
= 0 ;
8377 (char *) "self",(char *) "rect", NULL
8380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
8381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8385 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8389 (arg1
)->SetRect((wxRect
const &)*arg2
);
8391 wxPyEndAllowThreads(__tstate
);
8392 if (PyErr_Occurred()) SWIG_fail
;
8394 Py_INCREF(Py_None
); resultobj
= Py_None
;
8401 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8402 PyObject
*resultobj
;
8403 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8405 PyObject
* obj0
= 0 ;
8407 (char *) "self", NULL
8410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
8411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8415 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
8417 wxPyEndAllowThreads(__tstate
);
8418 if (PyErr_Occurred()) SWIG_fail
;
8422 resultptr
= new wxRect((wxRect
&) result
);
8423 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
8431 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*, PyObject
*args
) {
8433 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8434 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
8436 return Py_BuildValue((char *)"");
8438 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8439 PyObject
*resultobj
;
8440 wxWindow
*arg1
= (wxWindow
*) 0 ;
8441 int arg2
= (int) -1 ;
8442 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8443 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8444 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8445 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8446 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8447 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
8448 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8449 wxSashLayoutWindow
*result
;
8452 bool temp6
= False
;
8453 PyObject
* obj0
= 0 ;
8454 PyObject
* obj1
= 0 ;
8455 PyObject
* obj2
= 0 ;
8456 PyObject
* obj3
= 0 ;
8457 PyObject
* obj4
= 0 ;
8458 PyObject
* obj5
= 0 ;
8460 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8467 arg2
= (int)SWIG_As_int(obj1
);
8468 if (PyErr_Occurred()) SWIG_fail
;
8473 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8479 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8483 arg5
= (long)SWIG_As_long(obj4
);
8484 if (PyErr_Occurred()) SWIG_fail
;
8488 arg6
= wxString_in_helper(obj5
);
8489 if (arg6
== NULL
) SWIG_fail
;
8494 if (!wxPyCheckForApp()) SWIG_fail
;
8495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8496 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8498 wxPyEndAllowThreads(__tstate
);
8499 if (PyErr_Occurred()) SWIG_fail
;
8501 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8516 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8517 PyObject
*resultobj
;
8518 wxSashLayoutWindow
*result
;
8523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
8525 if (!wxPyCheckForApp()) SWIG_fail
;
8526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8527 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
8529 wxPyEndAllowThreads(__tstate
);
8530 if (PyErr_Occurred()) SWIG_fail
;
8532 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8539 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8540 PyObject
*resultobj
;
8541 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8542 wxWindow
*arg2
= (wxWindow
*) 0 ;
8543 int arg3
= (int) -1 ;
8544 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8545 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8546 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8547 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8548 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8549 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
8550 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8554 bool temp7
= False
;
8555 PyObject
* obj0
= 0 ;
8556 PyObject
* obj1
= 0 ;
8557 PyObject
* obj2
= 0 ;
8558 PyObject
* obj3
= 0 ;
8559 PyObject
* obj4
= 0 ;
8560 PyObject
* obj5
= 0 ;
8561 PyObject
* obj6
= 0 ;
8563 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8569 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8572 arg3
= (int)SWIG_As_int(obj2
);
8573 if (PyErr_Occurred()) SWIG_fail
;
8578 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8584 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8588 arg6
= (long)SWIG_As_long(obj5
);
8589 if (PyErr_Occurred()) SWIG_fail
;
8593 arg7
= wxString_in_helper(obj6
);
8594 if (arg7
== NULL
) SWIG_fail
;
8599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8600 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8602 wxPyEndAllowThreads(__tstate
);
8603 if (PyErr_Occurred()) SWIG_fail
;
8606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8622 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8623 PyObject
*resultobj
;
8624 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8626 PyObject
* obj0
= 0 ;
8628 (char *) "self", NULL
8631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
8632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8636 result
= (int)(arg1
)->GetAlignment();
8638 wxPyEndAllowThreads(__tstate
);
8639 if (PyErr_Occurred()) SWIG_fail
;
8641 resultobj
= SWIG_From_int((int)result
);
8648 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8649 PyObject
*resultobj
;
8650 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8652 PyObject
* obj0
= 0 ;
8654 (char *) "self", NULL
8657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
8658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8662 result
= (int)(arg1
)->GetOrientation();
8664 wxPyEndAllowThreads(__tstate
);
8665 if (PyErr_Occurred()) SWIG_fail
;
8667 resultobj
= SWIG_From_int((int)result
);
8674 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8675 PyObject
*resultobj
;
8676 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8678 PyObject
* obj0
= 0 ;
8679 PyObject
* obj1
= 0 ;
8681 (char *) "self",(char *) "alignment", NULL
8684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8687 arg2
= (int)SWIG_As_int(obj1
);
8688 if (PyErr_Occurred()) SWIG_fail
;
8690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8691 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8693 wxPyEndAllowThreads(__tstate
);
8694 if (PyErr_Occurred()) SWIG_fail
;
8696 Py_INCREF(Py_None
); resultobj
= Py_None
;
8703 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8704 PyObject
*resultobj
;
8705 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8708 PyObject
* obj0
= 0 ;
8709 PyObject
* obj1
= 0 ;
8711 (char *) "self",(char *) "size", NULL
8714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8719 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8723 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
8725 wxPyEndAllowThreads(__tstate
);
8726 if (PyErr_Occurred()) SWIG_fail
;
8728 Py_INCREF(Py_None
); resultobj
= Py_None
;
8735 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8736 PyObject
*resultobj
;
8737 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8739 PyObject
* obj0
= 0 ;
8740 PyObject
* obj1
= 0 ;
8742 (char *) "self",(char *) "orientation", NULL
8745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8748 arg2
= (int)SWIG_As_int(obj1
);
8749 if (PyErr_Occurred()) SWIG_fail
;
8751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8752 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8754 wxPyEndAllowThreads(__tstate
);
8755 if (PyErr_Occurred()) SWIG_fail
;
8757 Py_INCREF(Py_None
); resultobj
= Py_None
;
8764 static PyObject
* SashLayoutWindow_swigregister(PyObject
*, PyObject
*args
) {
8766 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8767 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
8769 return Py_BuildValue((char *)"");
8771 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8772 PyObject
*resultobj
;
8773 wxLayoutAlgorithm
*result
;
8778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
8780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8781 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
8783 wxPyEndAllowThreads(__tstate
);
8784 if (PyErr_Occurred()) SWIG_fail
;
8786 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
8793 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8794 PyObject
*resultobj
;
8795 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8796 PyObject
* obj0
= 0 ;
8798 (char *) "self", NULL
8801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
8802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8808 wxPyEndAllowThreads(__tstate
);
8809 if (PyErr_Occurred()) SWIG_fail
;
8811 Py_INCREF(Py_None
); resultobj
= Py_None
;
8818 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8819 PyObject
*resultobj
;
8820 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8821 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
8822 wxRect
*arg3
= (wxRect
*) NULL
;
8824 PyObject
* obj0
= 0 ;
8825 PyObject
* obj1
= 0 ;
8826 PyObject
* obj2
= 0 ;
8828 (char *) "self",(char *) "frame",(char *) "rect", NULL
8831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8834 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
8835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8837 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
8838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8842 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
8844 wxPyEndAllowThreads(__tstate
);
8845 if (PyErr_Occurred()) SWIG_fail
;
8848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8856 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8857 PyObject
*resultobj
;
8858 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8859 wxFrame
*arg2
= (wxFrame
*) 0 ;
8860 wxWindow
*arg3
= (wxWindow
*) NULL
;
8862 PyObject
* obj0
= 0 ;
8863 PyObject
* obj1
= 0 ;
8864 PyObject
* obj2
= 0 ;
8866 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8872 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
8873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8875 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8880 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
8882 wxPyEndAllowThreads(__tstate
);
8883 if (PyErr_Occurred()) SWIG_fail
;
8886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8894 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8895 PyObject
*resultobj
;
8896 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8897 wxWindow
*arg2
= (wxWindow
*) 0 ;
8898 wxWindow
*arg3
= (wxWindow
*) NULL
;
8900 PyObject
* obj0
= 0 ;
8901 PyObject
* obj1
= 0 ;
8902 PyObject
* obj2
= 0 ;
8904 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8910 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8913 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8918 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
8920 wxPyEndAllowThreads(__tstate
);
8921 if (PyErr_Occurred()) SWIG_fail
;
8924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8932 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*, PyObject
*args
) {
8934 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8935 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
8937 return Py_BuildValue((char *)"");
8939 static PyObject
*_wrap_new_PopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8940 PyObject
*resultobj
;
8941 wxWindow
*arg1
= (wxWindow
*) 0 ;
8942 int arg2
= (int) wxBORDER_NONE
;
8943 wxPopupWindow
*result
;
8944 PyObject
* obj0
= 0 ;
8945 PyObject
* obj1
= 0 ;
8947 (char *) "parent",(char *) "flags", NULL
8950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8954 arg2
= (int)SWIG_As_int(obj1
);
8955 if (PyErr_Occurred()) SWIG_fail
;
8958 if (!wxPyCheckForApp()) SWIG_fail
;
8959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8960 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
8962 wxPyEndAllowThreads(__tstate
);
8963 if (PyErr_Occurred()) SWIG_fail
;
8965 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8972 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8973 PyObject
*resultobj
;
8974 wxPopupWindow
*result
;
8979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
8981 if (!wxPyCheckForApp()) SWIG_fail
;
8982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8983 result
= (wxPopupWindow
*)new wxPopupWindow();
8985 wxPyEndAllowThreads(__tstate
);
8986 if (PyErr_Occurred()) SWIG_fail
;
8988 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8995 static PyObject
*_wrap_PopupWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8996 PyObject
*resultobj
;
8997 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
8998 wxWindow
*arg2
= (wxWindow
*) 0 ;
8999 int arg3
= (int) wxBORDER_NONE
;
9001 PyObject
* obj0
= 0 ;
9002 PyObject
* obj1
= 0 ;
9003 PyObject
* obj2
= 0 ;
9005 (char *) "self",(char *) "parent",(char *) "flags", NULL
9008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPopupWindow
,
9010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9011 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9014 arg3
= (int)SWIG_As_int(obj2
);
9015 if (PyErr_Occurred()) SWIG_fail
;
9018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9019 result
= (bool)(arg1
)->Create(arg2
,arg3
);
9021 wxPyEndAllowThreads(__tstate
);
9022 if (PyErr_Occurred()) SWIG_fail
;
9025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9033 static PyObject
*_wrap_PopupWindow_Position(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9034 PyObject
*resultobj
;
9035 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
9040 PyObject
* obj0
= 0 ;
9041 PyObject
* obj1
= 0 ;
9042 PyObject
* obj2
= 0 ;
9044 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
9047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPopupWindow
,
9049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9052 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9056 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
9059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9060 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
9062 wxPyEndAllowThreads(__tstate
);
9063 if (PyErr_Occurred()) SWIG_fail
;
9065 Py_INCREF(Py_None
); resultobj
= Py_None
;
9072 static PyObject
* PopupWindow_swigregister(PyObject
*, PyObject
*args
) {
9074 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9075 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
9077 return Py_BuildValue((char *)"");
9079 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9080 PyObject
*resultobj
;
9081 wxWindow
*arg1
= (wxWindow
*) 0 ;
9082 int arg2
= (int) wxBORDER_NONE
;
9083 wxPyPopupTransientWindow
*result
;
9084 PyObject
* obj0
= 0 ;
9085 PyObject
* obj1
= 0 ;
9087 (char *) "parent",(char *) "style", NULL
9090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
9091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9094 arg2
= (int)SWIG_As_int(obj1
);
9095 if (PyErr_Occurred()) SWIG_fail
;
9098 if (!wxPyCheckForApp()) SWIG_fail
;
9099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9100 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
9102 wxPyEndAllowThreads(__tstate
);
9103 if (PyErr_Occurred()) SWIG_fail
;
9105 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
9112 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9113 PyObject
*resultobj
;
9114 wxPyPopupTransientWindow
*result
;
9119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
9121 if (!wxPyCheckForApp()) SWIG_fail
;
9122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9123 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
9125 wxPyEndAllowThreads(__tstate
);
9126 if (PyErr_Occurred()) SWIG_fail
;
9128 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
9135 static PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9136 PyObject
*resultobj
;
9137 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
9138 PyObject
*arg2
= (PyObject
*) 0 ;
9139 PyObject
*arg3
= (PyObject
*) 0 ;
9140 PyObject
* obj0
= 0 ;
9141 PyObject
* obj1
= 0 ;
9142 PyObject
* obj2
= 0 ;
9144 (char *) "self",(char *) "self",(char *) "_class", NULL
9147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
9149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9154 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9156 wxPyEndAllowThreads(__tstate
);
9157 if (PyErr_Occurred()) SWIG_fail
;
9159 Py_INCREF(Py_None
); resultobj
= Py_None
;
9166 static PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9167 PyObject
*resultobj
;
9168 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
9169 wxWindow
*arg2
= (wxWindow
*) NULL
;
9170 PyObject
* obj0
= 0 ;
9171 PyObject
* obj1
= 0 ;
9173 (char *) "self",(char *) "focus", NULL
9176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) goto fail
;
9177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
9178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9180 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9185 (arg1
)->Popup(arg2
);
9187 wxPyEndAllowThreads(__tstate
);
9188 if (PyErr_Occurred()) SWIG_fail
;
9190 Py_INCREF(Py_None
); resultobj
= Py_None
;
9197 static PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9198 PyObject
*resultobj
;
9199 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
9200 PyObject
* obj0
= 0 ;
9202 (char *) "self", NULL
9205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PopupTransientWindow_Dismiss",kwnames
,&obj0
)) goto fail
;
9206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
9207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9212 wxPyEndAllowThreads(__tstate
);
9213 if (PyErr_Occurred()) SWIG_fail
;
9215 Py_INCREF(Py_None
); resultobj
= Py_None
;
9222 static PyObject
* PopupTransientWindow_swigregister(PyObject
*, PyObject
*args
) {
9224 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9225 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
9227 return Py_BuildValue((char *)"");
9229 static PyObject
*_wrap_new_TipWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9230 PyObject
*resultobj
;
9231 wxWindow
*arg1
= (wxWindow
*) 0 ;
9232 wxString
*arg2
= 0 ;
9233 int arg3
= (int) 100 ;
9234 wxRect
*arg4
= (wxRect
*) NULL
;
9235 wxTipWindow
*result
;
9236 bool temp2
= False
;
9237 PyObject
* obj0
= 0 ;
9238 PyObject
* obj1
= 0 ;
9239 PyObject
* obj2
= 0 ;
9240 PyObject
* obj3
= 0 ;
9242 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
9245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9249 arg2
= wxString_in_helper(obj1
);
9250 if (arg2
== NULL
) SWIG_fail
;
9254 arg3
= (int)SWIG_As_int(obj2
);
9255 if (PyErr_Occurred()) SWIG_fail
;
9258 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
9259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9262 if (!wxPyCheckForApp()) SWIG_fail
;
9263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9264 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9266 wxPyEndAllowThreads(__tstate
);
9267 if (PyErr_Occurred()) SWIG_fail
;
9269 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
9284 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9285 PyObject
*resultobj
;
9286 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
9289 PyObject
* obj0
= 0 ;
9290 PyObject
* obj1
= 0 ;
9292 (char *) "self",(char *) "rectBound", NULL
9295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
9296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
9297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9300 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9304 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
9306 wxPyEndAllowThreads(__tstate
);
9307 if (PyErr_Occurred()) SWIG_fail
;
9309 Py_INCREF(Py_None
); resultobj
= Py_None
;
9316 static PyObject
*_wrap_TipWindow_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9317 PyObject
*resultobj
;
9318 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
9319 PyObject
* obj0
= 0 ;
9321 (char *) "self", NULL
9324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
9325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
9326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9331 wxPyEndAllowThreads(__tstate
);
9332 if (PyErr_Occurred()) SWIG_fail
;
9334 Py_INCREF(Py_None
); resultobj
= Py_None
;
9341 static PyObject
* TipWindow_swigregister(PyObject
*, PyObject
*args
) {
9343 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9344 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
9346 return Py_BuildValue((char *)"");
9348 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9349 PyObject
*resultobj
;
9350 wxWindow
*arg1
= (wxWindow
*) 0 ;
9351 int arg2
= (int) wxID_ANY
;
9352 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9353 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9354 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9355 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9356 long arg5
= (long) 0 ;
9357 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
9358 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9359 wxPyVScrolledWindow
*result
;
9362 bool temp6
= False
;
9363 PyObject
* obj0
= 0 ;
9364 PyObject
* obj1
= 0 ;
9365 PyObject
* obj2
= 0 ;
9366 PyObject
* obj3
= 0 ;
9367 PyObject
* obj4
= 0 ;
9368 PyObject
* obj5
= 0 ;
9370 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9377 arg2
= (int)SWIG_As_int(obj1
);
9378 if (PyErr_Occurred()) SWIG_fail
;
9383 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9389 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9393 arg5
= (long)SWIG_As_long(obj4
);
9394 if (PyErr_Occurred()) SWIG_fail
;
9398 arg6
= wxString_in_helper(obj5
);
9399 if (arg6
== NULL
) SWIG_fail
;
9404 if (!wxPyCheckForApp()) SWIG_fail
;
9405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9406 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9408 wxPyEndAllowThreads(__tstate
);
9409 if (PyErr_Occurred()) SWIG_fail
;
9411 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
9426 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9427 PyObject
*resultobj
;
9428 wxPyVScrolledWindow
*result
;
9433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
9435 if (!wxPyCheckForApp()) SWIG_fail
;
9436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9437 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
9439 wxPyEndAllowThreads(__tstate
);
9440 if (PyErr_Occurred()) SWIG_fail
;
9442 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
9449 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9450 PyObject
*resultobj
;
9451 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9452 PyObject
*arg2
= (PyObject
*) 0 ;
9453 PyObject
*arg3
= (PyObject
*) 0 ;
9454 PyObject
* obj0
= 0 ;
9455 PyObject
* obj1
= 0 ;
9456 PyObject
* obj2
= 0 ;
9458 (char *) "self",(char *) "self",(char *) "_class", NULL
9461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9468 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9470 wxPyEndAllowThreads(__tstate
);
9471 if (PyErr_Occurred()) SWIG_fail
;
9473 Py_INCREF(Py_None
); resultobj
= Py_None
;
9480 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9481 PyObject
*resultobj
;
9482 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9483 wxWindow
*arg2
= (wxWindow
*) 0 ;
9484 int arg3
= (int) wxID_ANY
;
9485 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9486 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9487 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9488 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9489 long arg6
= (long) 0 ;
9490 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
9491 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9495 bool temp7
= False
;
9496 PyObject
* obj0
= 0 ;
9497 PyObject
* obj1
= 0 ;
9498 PyObject
* obj2
= 0 ;
9499 PyObject
* obj3
= 0 ;
9500 PyObject
* obj4
= 0 ;
9501 PyObject
* obj5
= 0 ;
9502 PyObject
* obj6
= 0 ;
9504 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9510 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9513 arg3
= (int)SWIG_As_int(obj2
);
9514 if (PyErr_Occurred()) SWIG_fail
;
9519 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9525 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9529 arg6
= (long)SWIG_As_long(obj5
);
9530 if (PyErr_Occurred()) SWIG_fail
;
9534 arg7
= wxString_in_helper(obj6
);
9535 if (arg7
== NULL
) SWIG_fail
;
9540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9541 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9543 wxPyEndAllowThreads(__tstate
);
9544 if (PyErr_Occurred()) SWIG_fail
;
9547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9563 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9564 PyObject
*resultobj
;
9565 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9567 PyObject
* obj0
= 0 ;
9568 PyObject
* obj1
= 0 ;
9570 (char *) "self",(char *) "count", NULL
9573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9576 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9577 if (PyErr_Occurred()) SWIG_fail
;
9579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9580 (arg1
)->SetLineCount(arg2
);
9582 wxPyEndAllowThreads(__tstate
);
9583 if (PyErr_Occurred()) SWIG_fail
;
9585 Py_INCREF(Py_None
); resultobj
= Py_None
;
9592 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9593 PyObject
*resultobj
;
9594 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9597 PyObject
* obj0
= 0 ;
9598 PyObject
* obj1
= 0 ;
9600 (char *) "self",(char *) "line", NULL
9603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9606 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9607 if (PyErr_Occurred()) SWIG_fail
;
9609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9610 result
= (bool)(arg1
)->ScrollToLine(arg2
);
9612 wxPyEndAllowThreads(__tstate
);
9613 if (PyErr_Occurred()) SWIG_fail
;
9616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9624 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9625 PyObject
*resultobj
;
9626 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9629 PyObject
* obj0
= 0 ;
9630 PyObject
* obj1
= 0 ;
9632 (char *) "self",(char *) "lines", NULL
9635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
9636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9638 arg2
= (int)SWIG_As_int(obj1
);
9639 if (PyErr_Occurred()) SWIG_fail
;
9641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9642 result
= (bool)(arg1
)->ScrollLines(arg2
);
9644 wxPyEndAllowThreads(__tstate
);
9645 if (PyErr_Occurred()) SWIG_fail
;
9648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9656 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9657 PyObject
*resultobj
;
9658 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9661 PyObject
* obj0
= 0 ;
9662 PyObject
* obj1
= 0 ;
9664 (char *) "self",(char *) "pages", NULL
9667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
9668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9670 arg2
= (int)SWIG_As_int(obj1
);
9671 if (PyErr_Occurred()) SWIG_fail
;
9673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9674 result
= (bool)(arg1
)->ScrollPages(arg2
);
9676 wxPyEndAllowThreads(__tstate
);
9677 if (PyErr_Occurred()) SWIG_fail
;
9680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9688 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9689 PyObject
*resultobj
;
9690 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9692 PyObject
* obj0
= 0 ;
9693 PyObject
* obj1
= 0 ;
9695 (char *) "self",(char *) "line", NULL
9698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",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
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9702 if (PyErr_Occurred()) SWIG_fail
;
9704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9705 (arg1
)->RefreshLine(arg2
);
9707 wxPyEndAllowThreads(__tstate
);
9708 if (PyErr_Occurred()) SWIG_fail
;
9710 Py_INCREF(Py_None
); resultobj
= Py_None
;
9717 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9718 PyObject
*resultobj
;
9719 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9722 PyObject
* obj0
= 0 ;
9723 PyObject
* obj1
= 0 ;
9724 PyObject
* obj2
= 0 ;
9726 (char *) "self",(char *) "from",(char *) "to", NULL
9729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) 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
;
9734 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
9735 if (PyErr_Occurred()) SWIG_fail
;
9737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9738 (arg1
)->RefreshLines(arg2
,arg3
);
9740 wxPyEndAllowThreads(__tstate
);
9741 if (PyErr_Occurred()) SWIG_fail
;
9743 Py_INCREF(Py_None
); resultobj
= Py_None
;
9750 static PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9751 PyObject
*resultobj
;
9752 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9756 PyObject
* obj0
= 0 ;
9757 PyObject
* obj1
= 0 ;
9758 PyObject
* obj2
= 0 ;
9760 (char *) "self",(char *) "x",(char *) "y", NULL
9763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9766 arg2
= (int)SWIG_As_int(obj1
);
9767 if (PyErr_Occurred()) SWIG_fail
;
9768 arg3
= (int)SWIG_As_int(obj2
);
9769 if (PyErr_Occurred()) SWIG_fail
;
9771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9772 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
9774 wxPyEndAllowThreads(__tstate
);
9775 if (PyErr_Occurred()) SWIG_fail
;
9777 resultobj
= SWIG_From_int((int)result
);
9784 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9785 PyObject
*resultobj
;
9786 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9790 PyObject
* obj0
= 0 ;
9791 PyObject
* obj1
= 0 ;
9793 (char *) "self",(char *) "pt", NULL
9796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9801 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9805 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9807 wxPyEndAllowThreads(__tstate
);
9808 if (PyErr_Occurred()) SWIG_fail
;
9810 resultobj
= SWIG_From_int((int)result
);
9817 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9818 PyObject
*resultobj
;
9819 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9820 PyObject
* obj0
= 0 ;
9822 (char *) "self", NULL
9825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
9826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9830 (arg1
)->RefreshAll();
9832 wxPyEndAllowThreads(__tstate
);
9833 if (PyErr_Occurred()) SWIG_fail
;
9835 Py_INCREF(Py_None
); resultobj
= Py_None
;
9842 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9843 PyObject
*resultobj
;
9844 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9846 PyObject
* obj0
= 0 ;
9848 (char *) "self", NULL
9851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
9852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9856 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
9858 wxPyEndAllowThreads(__tstate
);
9859 if (PyErr_Occurred()) SWIG_fail
;
9861 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
9868 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9869 PyObject
*resultobj
;
9870 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9872 PyObject
* obj0
= 0 ;
9874 (char *) "self", NULL
9877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
9878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9882 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
9884 wxPyEndAllowThreads(__tstate
);
9885 if (PyErr_Occurred()) SWIG_fail
;
9887 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
9894 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9895 PyObject
*resultobj
;
9896 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9898 PyObject
* obj0
= 0 ;
9900 (char *) "self", NULL
9903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
9904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9908 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
9910 wxPyEndAllowThreads(__tstate
);
9911 if (PyErr_Occurred()) SWIG_fail
;
9913 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
9920 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9921 PyObject
*resultobj
;
9922 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9925 PyObject
* obj0
= 0 ;
9926 PyObject
* obj1
= 0 ;
9928 (char *) "self",(char *) "line", NULL
9931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
9932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9934 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9935 if (PyErr_Occurred()) SWIG_fail
;
9937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9938 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
9940 wxPyEndAllowThreads(__tstate
);
9941 if (PyErr_Occurred()) SWIG_fail
;
9944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9952 static PyObject
* VScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
9954 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9955 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
9957 return Py_BuildValue((char *)"");
9959 static int _wrap_VListBoxNameStr_set(PyObject
*) {
9960 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
9965 static PyObject
*_wrap_VListBoxNameStr_get() {
9970 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9972 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9979 static PyObject
*_wrap_new_VListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9980 PyObject
*resultobj
;
9981 wxWindow
*arg1
= (wxWindow
*) 0 ;
9982 int arg2
= (int) wxID_ANY
;
9983 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9984 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9985 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9986 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9987 long arg5
= (long) 0 ;
9988 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
9989 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9990 wxPyVListBox
*result
;
9993 bool temp6
= False
;
9994 PyObject
* obj0
= 0 ;
9995 PyObject
* obj1
= 0 ;
9996 PyObject
* obj2
= 0 ;
9997 PyObject
* obj3
= 0 ;
9998 PyObject
* obj4
= 0 ;
9999 PyObject
* obj5
= 0 ;
10000 char *kwnames
[] = {
10001 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10008 arg2
= (int)SWIG_As_int(obj1
);
10009 if (PyErr_Occurred()) SWIG_fail
;
10014 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10020 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10024 arg5
= (long)SWIG_As_long(obj4
);
10025 if (PyErr_Occurred()) SWIG_fail
;
10029 arg6
= wxString_in_helper(obj5
);
10030 if (arg6
== NULL
) SWIG_fail
;
10035 if (!wxPyCheckForApp()) SWIG_fail
;
10036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10037 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10039 wxPyEndAllowThreads(__tstate
);
10040 if (PyErr_Occurred()) SWIG_fail
;
10042 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
10057 static PyObject
*_wrap_new_PreVListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10058 PyObject
*resultobj
;
10059 wxPyVListBox
*result
;
10060 char *kwnames
[] = {
10064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
10066 if (!wxPyCheckForApp()) SWIG_fail
;
10067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10068 result
= (wxPyVListBox
*)new wxPyVListBox();
10070 wxPyEndAllowThreads(__tstate
);
10071 if (PyErr_Occurred()) SWIG_fail
;
10073 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
10080 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10081 PyObject
*resultobj
;
10082 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10083 PyObject
*arg2
= (PyObject
*) 0 ;
10084 PyObject
*arg3
= (PyObject
*) 0 ;
10085 PyObject
* obj0
= 0 ;
10086 PyObject
* obj1
= 0 ;
10087 PyObject
* obj2
= 0 ;
10088 char *kwnames
[] = {
10089 (char *) "self",(char *) "self",(char *) "_class", NULL
10092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10099 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10101 wxPyEndAllowThreads(__tstate
);
10102 if (PyErr_Occurred()) SWIG_fail
;
10104 Py_INCREF(Py_None
); resultobj
= Py_None
;
10111 static PyObject
*_wrap_VListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10112 PyObject
*resultobj
;
10113 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10114 wxWindow
*arg2
= (wxWindow
*) 0 ;
10115 int arg3
= (int) wxID_ANY
;
10116 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10117 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10118 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10119 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10120 long arg6
= (long) 0 ;
10121 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
10122 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10126 bool temp7
= False
;
10127 PyObject
* obj0
= 0 ;
10128 PyObject
* obj1
= 0 ;
10129 PyObject
* obj2
= 0 ;
10130 PyObject
* obj3
= 0 ;
10131 PyObject
* obj4
= 0 ;
10132 PyObject
* obj5
= 0 ;
10133 PyObject
* obj6
= 0 ;
10134 char *kwnames
[] = {
10135 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10141 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10144 arg3
= (int)SWIG_As_int(obj2
);
10145 if (PyErr_Occurred()) SWIG_fail
;
10150 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10156 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10160 arg6
= (long)SWIG_As_long(obj5
);
10161 if (PyErr_Occurred()) SWIG_fail
;
10165 arg7
= wxString_in_helper(obj6
);
10166 if (arg7
== NULL
) SWIG_fail
;
10171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10172 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10174 wxPyEndAllowThreads(__tstate
);
10175 if (PyErr_Occurred()) SWIG_fail
;
10178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10194 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10195 PyObject
*resultobj
;
10196 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10198 PyObject
* obj0
= 0 ;
10199 char *kwnames
[] = {
10200 (char *) "self", NULL
10203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
10204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10208 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
10210 wxPyEndAllowThreads(__tstate
);
10211 if (PyErr_Occurred()) SWIG_fail
;
10213 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
10220 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10221 PyObject
*resultobj
;
10222 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10224 PyObject
* obj0
= 0 ;
10225 char *kwnames
[] = {
10226 (char *) "self", NULL
10229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
10230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10234 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
10236 wxPyEndAllowThreads(__tstate
);
10237 if (PyErr_Occurred()) SWIG_fail
;
10240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10248 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10249 PyObject
*resultobj
;
10250 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10252 PyObject
* obj0
= 0 ;
10253 char *kwnames
[] = {
10254 (char *) "self", NULL
10257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
10258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10262 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
10264 wxPyEndAllowThreads(__tstate
);
10265 if (PyErr_Occurred()) SWIG_fail
;
10267 resultobj
= SWIG_From_int((int)result
);
10274 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10275 PyObject
*resultobj
;
10276 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10279 PyObject
* obj0
= 0 ;
10280 PyObject
* obj1
= 0 ;
10281 char *kwnames
[] = {
10282 (char *) "self",(char *) "item", NULL
10285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
10286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10288 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10289 if (PyErr_Occurred()) SWIG_fail
;
10291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10292 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
10294 wxPyEndAllowThreads(__tstate
);
10295 if (PyErr_Occurred()) SWIG_fail
;
10298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10306 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10307 PyObject
*resultobj
;
10308 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10311 PyObject
* obj0
= 0 ;
10312 PyObject
* obj1
= 0 ;
10313 char *kwnames
[] = {
10314 (char *) "self",(char *) "item", NULL
10317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
10318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10320 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10321 if (PyErr_Occurred()) SWIG_fail
;
10323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10324 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
10326 wxPyEndAllowThreads(__tstate
);
10327 if (PyErr_Occurred()) SWIG_fail
;
10330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10338 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10339 PyObject
*resultobj
;
10340 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10342 PyObject
* obj0
= 0 ;
10343 char *kwnames
[] = {
10344 (char *) "self", NULL
10347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
10348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10352 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
10354 wxPyEndAllowThreads(__tstate
);
10355 if (PyErr_Occurred()) SWIG_fail
;
10357 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
10364 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10365 PyObject
*resultobj
;
10366 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10368 PyObject
* obj0
= 0 ;
10369 char *kwnames
[] = {
10370 (char *) "self", NULL
10373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
10374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10378 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
10380 wxPyEndAllowThreads(__tstate
);
10381 if (PyErr_Occurred()) SWIG_fail
;
10383 resultobj
= result
;
10390 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10391 PyObject
*resultobj
;
10392 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10393 unsigned long arg2
;
10395 PyObject
* obj0
= 0 ;
10396 PyObject
* obj1
= 0 ;
10397 char *kwnames
[] = {
10398 (char *) "self",(char *) "cookie", NULL
10401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
10402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10404 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
10405 if (PyErr_Occurred()) SWIG_fail
;
10407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10408 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
10410 wxPyEndAllowThreads(__tstate
);
10411 if (PyErr_Occurred()) SWIG_fail
;
10413 resultobj
= result
;
10420 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10421 PyObject
*resultobj
;
10422 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10424 PyObject
* obj0
= 0 ;
10425 char *kwnames
[] = {
10426 (char *) "self", NULL
10429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
10430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10434 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
10436 wxPyEndAllowThreads(__tstate
);
10437 if (PyErr_Occurred()) SWIG_fail
;
10440 wxPoint
* resultptr
;
10441 resultptr
= new wxPoint((wxPoint
&) result
);
10442 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
10450 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10451 PyObject
*resultobj
;
10452 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10454 PyObject
* obj0
= 0 ;
10455 char *kwnames
[] = {
10456 (char *) "self", NULL
10459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
10460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10465 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
10466 result
= (wxColour
*) &_result_ref
;
10469 wxPyEndAllowThreads(__tstate
);
10470 if (PyErr_Occurred()) SWIG_fail
;
10472 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
10479 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10480 PyObject
*resultobj
;
10481 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10483 PyObject
* obj0
= 0 ;
10484 PyObject
* obj1
= 0 ;
10485 char *kwnames
[] = {
10486 (char *) "self",(char *) "count", NULL
10489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10492 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10493 if (PyErr_Occurred()) SWIG_fail
;
10495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10496 (arg1
)->SetItemCount(arg2
);
10498 wxPyEndAllowThreads(__tstate
);
10499 if (PyErr_Occurred()) SWIG_fail
;
10501 Py_INCREF(Py_None
); resultobj
= Py_None
;
10508 static PyObject
*_wrap_VListBox_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10509 PyObject
*resultobj
;
10510 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10511 PyObject
* obj0
= 0 ;
10512 char *kwnames
[] = {
10513 (char *) "self", NULL
10516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
10517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10523 wxPyEndAllowThreads(__tstate
);
10524 if (PyErr_Occurred()) SWIG_fail
;
10526 Py_INCREF(Py_None
); resultobj
= Py_None
;
10533 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10534 PyObject
*resultobj
;
10535 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10537 PyObject
* obj0
= 0 ;
10538 PyObject
* obj1
= 0 ;
10539 char *kwnames
[] = {
10540 (char *) "self",(char *) "selection", NULL
10543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
10544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10546 arg2
= (int)SWIG_As_int(obj1
);
10547 if (PyErr_Occurred()) SWIG_fail
;
10549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10550 (arg1
)->SetSelection(arg2
);
10552 wxPyEndAllowThreads(__tstate
);
10553 if (PyErr_Occurred()) SWIG_fail
;
10555 Py_INCREF(Py_None
); resultobj
= Py_None
;
10562 static PyObject
*_wrap_VListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10563 PyObject
*resultobj
;
10564 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10566 bool arg3
= (bool) True
;
10568 PyObject
* obj0
= 0 ;
10569 PyObject
* obj1
= 0 ;
10570 PyObject
* obj2
= 0 ;
10571 char *kwnames
[] = {
10572 (char *) "self",(char *) "item",(char *) "select", NULL
10575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10578 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10579 if (PyErr_Occurred()) SWIG_fail
;
10581 arg3
= (bool)SWIG_As_bool(obj2
);
10582 if (PyErr_Occurred()) SWIG_fail
;
10585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10586 result
= (bool)(arg1
)->Select(arg2
,arg3
);
10588 wxPyEndAllowThreads(__tstate
);
10589 if (PyErr_Occurred()) SWIG_fail
;
10592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10600 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10601 PyObject
*resultobj
;
10602 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10606 PyObject
* obj0
= 0 ;
10607 PyObject
* obj1
= 0 ;
10608 PyObject
* obj2
= 0 ;
10609 char *kwnames
[] = {
10610 (char *) "self",(char *) "from",(char *) "to", NULL
10613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10616 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10617 if (PyErr_Occurred()) SWIG_fail
;
10618 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
10619 if (PyErr_Occurred()) SWIG_fail
;
10621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10622 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
10624 wxPyEndAllowThreads(__tstate
);
10625 if (PyErr_Occurred()) SWIG_fail
;
10628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10636 static PyObject
*_wrap_VListBox_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10637 PyObject
*resultobj
;
10638 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10640 PyObject
* obj0
= 0 ;
10641 PyObject
* obj1
= 0 ;
10642 char *kwnames
[] = {
10643 (char *) "self",(char *) "item", NULL
10646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
10647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10649 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10650 if (PyErr_Occurred()) SWIG_fail
;
10652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10653 (arg1
)->Toggle(arg2
);
10655 wxPyEndAllowThreads(__tstate
);
10656 if (PyErr_Occurred()) SWIG_fail
;
10658 Py_INCREF(Py_None
); resultobj
= Py_None
;
10665 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10666 PyObject
*resultobj
;
10667 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10669 PyObject
* obj0
= 0 ;
10670 char *kwnames
[] = {
10671 (char *) "self", NULL
10674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
10675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10679 result
= (bool)(arg1
)->SelectAll();
10681 wxPyEndAllowThreads(__tstate
);
10682 if (PyErr_Occurred()) SWIG_fail
;
10685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10693 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10694 PyObject
*resultobj
;
10695 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10697 PyObject
* obj0
= 0 ;
10698 char *kwnames
[] = {
10699 (char *) "self", NULL
10702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
10703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10707 result
= (bool)(arg1
)->DeselectAll();
10709 wxPyEndAllowThreads(__tstate
);
10710 if (PyErr_Occurred()) SWIG_fail
;
10713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10721 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10722 PyObject
*resultobj
;
10723 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10724 wxPoint
*arg2
= 0 ;
10726 PyObject
* obj0
= 0 ;
10727 PyObject
* obj1
= 0 ;
10728 char *kwnames
[] = {
10729 (char *) "self",(char *) "pt", NULL
10732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
10733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10737 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10741 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
10743 wxPyEndAllowThreads(__tstate
);
10744 if (PyErr_Occurred()) SWIG_fail
;
10746 Py_INCREF(Py_None
); resultobj
= Py_None
;
10753 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10754 PyObject
*resultobj
;
10755 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10758 PyObject
* obj0
= 0 ;
10759 PyObject
* obj1
= 0 ;
10760 PyObject
* obj2
= 0 ;
10761 char *kwnames
[] = {
10762 (char *) "self",(char *) "x",(char *) "y", NULL
10765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10768 arg2
= (int)SWIG_As_int(obj1
);
10769 if (PyErr_Occurred()) SWIG_fail
;
10770 arg3
= (int)SWIG_As_int(obj2
);
10771 if (PyErr_Occurred()) SWIG_fail
;
10773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10774 (arg1
)->SetMargins(arg2
,arg3
);
10776 wxPyEndAllowThreads(__tstate
);
10777 if (PyErr_Occurred()) SWIG_fail
;
10779 Py_INCREF(Py_None
); resultobj
= Py_None
;
10786 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10787 PyObject
*resultobj
;
10788 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10789 wxColour
*arg2
= 0 ;
10791 PyObject
* obj0
= 0 ;
10792 PyObject
* obj1
= 0 ;
10793 char *kwnames
[] = {
10794 (char *) "self",(char *) "col", NULL
10797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
10798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10802 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10806 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
10808 wxPyEndAllowThreads(__tstate
);
10809 if (PyErr_Occurred()) SWIG_fail
;
10811 Py_INCREF(Py_None
); resultobj
= Py_None
;
10818 static PyObject
* VListBox_swigregister(PyObject
*, PyObject
*args
) {
10820 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10821 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
10823 return Py_BuildValue((char *)"");
10825 static PyObject
*_wrap_new_HtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10826 PyObject
*resultobj
;
10827 wxWindow
*arg1
= (wxWindow
*) 0 ;
10828 int arg2
= (int) wxID_ANY
;
10829 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10830 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10831 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10832 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10833 long arg5
= (long) 0 ;
10834 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
10835 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10836 wxPyHtmlListBox
*result
;
10839 bool temp6
= False
;
10840 PyObject
* obj0
= 0 ;
10841 PyObject
* obj1
= 0 ;
10842 PyObject
* obj2
= 0 ;
10843 PyObject
* obj3
= 0 ;
10844 PyObject
* obj4
= 0 ;
10845 PyObject
* obj5
= 0 ;
10846 char *kwnames
[] = {
10847 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10854 arg2
= (int)SWIG_As_int(obj1
);
10855 if (PyErr_Occurred()) SWIG_fail
;
10860 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10866 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10870 arg5
= (long)SWIG_As_long(obj4
);
10871 if (PyErr_Occurred()) SWIG_fail
;
10875 arg6
= wxString_in_helper(obj5
);
10876 if (arg6
== NULL
) SWIG_fail
;
10881 if (!wxPyCheckForApp()) SWIG_fail
;
10882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10883 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10885 wxPyEndAllowThreads(__tstate
);
10886 if (PyErr_Occurred()) SWIG_fail
;
10888 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10903 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10904 PyObject
*resultobj
;
10905 wxPyHtmlListBox
*result
;
10906 char *kwnames
[] = {
10910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
10912 if (!wxPyCheckForApp()) SWIG_fail
;
10913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10914 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
10916 wxPyEndAllowThreads(__tstate
);
10917 if (PyErr_Occurred()) SWIG_fail
;
10919 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10926 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10927 PyObject
*resultobj
;
10928 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10929 PyObject
*arg2
= (PyObject
*) 0 ;
10930 PyObject
*arg3
= (PyObject
*) 0 ;
10931 PyObject
* obj0
= 0 ;
10932 PyObject
* obj1
= 0 ;
10933 PyObject
* obj2
= 0 ;
10934 char *kwnames
[] = {
10935 (char *) "self",(char *) "self",(char *) "_class", NULL
10938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10945 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10947 wxPyEndAllowThreads(__tstate
);
10948 if (PyErr_Occurred()) SWIG_fail
;
10950 Py_INCREF(Py_None
); resultobj
= Py_None
;
10957 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10958 PyObject
*resultobj
;
10959 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10960 wxWindow
*arg2
= (wxWindow
*) 0 ;
10961 int arg3
= (int) wxID_ANY
;
10962 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10963 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10964 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10965 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10966 long arg6
= (long) 0 ;
10967 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
10968 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10972 bool temp7
= False
;
10973 PyObject
* obj0
= 0 ;
10974 PyObject
* obj1
= 0 ;
10975 PyObject
* obj2
= 0 ;
10976 PyObject
* obj3
= 0 ;
10977 PyObject
* obj4
= 0 ;
10978 PyObject
* obj5
= 0 ;
10979 PyObject
* obj6
= 0 ;
10980 char *kwnames
[] = {
10981 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10987 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10990 arg3
= (int)SWIG_As_int(obj2
);
10991 if (PyErr_Occurred()) SWIG_fail
;
10996 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11002 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11006 arg6
= (long)SWIG_As_long(obj5
);
11007 if (PyErr_Occurred()) SWIG_fail
;
11011 arg7
= wxString_in_helper(obj6
);
11012 if (arg7
== NULL
) SWIG_fail
;
11017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11018 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11020 wxPyEndAllowThreads(__tstate
);
11021 if (PyErr_Occurred()) SWIG_fail
;
11024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11040 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11041 PyObject
*resultobj
;
11042 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
11043 PyObject
* obj0
= 0 ;
11044 char *kwnames
[] = {
11045 (char *) "self", NULL
11048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
11049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
11050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11053 (arg1
)->RefreshAll();
11055 wxPyEndAllowThreads(__tstate
);
11056 if (PyErr_Occurred()) SWIG_fail
;
11058 Py_INCREF(Py_None
); resultobj
= Py_None
;
11065 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11066 PyObject
*resultobj
;
11067 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
11069 PyObject
* obj0
= 0 ;
11070 PyObject
* obj1
= 0 ;
11071 char *kwnames
[] = {
11072 (char *) "self",(char *) "count", NULL
11075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
11076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
11077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11078 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
11079 if (PyErr_Occurred()) SWIG_fail
;
11081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11082 (arg1
)->SetItemCount(arg2
);
11084 wxPyEndAllowThreads(__tstate
);
11085 if (PyErr_Occurred()) SWIG_fail
;
11087 Py_INCREF(Py_None
); resultobj
= Py_None
;
11094 static PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11095 PyObject
*resultobj
;
11096 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
11097 wxFileSystem
*result
;
11098 PyObject
* obj0
= 0 ;
11099 char *kwnames
[] = {
11100 (char *) "self", NULL
11103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_GetFileSystem",kwnames
,&obj0
)) goto fail
;
11104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
11105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11109 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
11110 result
= (wxFileSystem
*) &_result_ref
;
11113 wxPyEndAllowThreads(__tstate
);
11114 if (PyErr_Occurred()) SWIG_fail
;
11116 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileSystem
, 0);
11123 static PyObject
* HtmlListBox_swigregister(PyObject
*, PyObject
*args
) {
11125 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11126 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
11128 return Py_BuildValue((char *)"");
11130 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11131 PyObject
*resultobj
;
11132 wxTaskBarIcon
*result
;
11133 char *kwnames
[] = {
11137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
11139 if (!wxPyCheckForApp()) SWIG_fail
;
11140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11141 result
= (wxTaskBarIcon
*)new wxTaskBarIcon();
11143 wxPyEndAllowThreads(__tstate
);
11144 if (PyErr_Occurred()) SWIG_fail
;
11146 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIcon
, 1);
11153 static PyObject
*_wrap_delete_TaskBarIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11154 PyObject
*resultobj
;
11155 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
11156 PyObject
* obj0
= 0 ;
11157 char *kwnames
[] = {
11158 (char *) "self", NULL
11161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TaskBarIcon",kwnames
,&obj0
)) goto fail
;
11162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
11163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11168 wxPyEndAllowThreads(__tstate
);
11169 if (PyErr_Occurred()) SWIG_fail
;
11171 Py_INCREF(Py_None
); resultobj
= Py_None
;
11178 static PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11179 PyObject
*resultobj
;
11180 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
11181 PyObject
* obj0
= 0 ;
11182 char *kwnames
[] = {
11183 (char *) "self", NULL
11186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_Destroy",kwnames
,&obj0
)) goto fail
;
11187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
11188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11191 wxTaskBarIcon_Destroy(arg1
);
11193 wxPyEndAllowThreads(__tstate
);
11194 if (PyErr_Occurred()) SWIG_fail
;
11196 Py_INCREF(Py_None
); resultobj
= Py_None
;
11203 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11204 PyObject
*resultobj
;
11205 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
11207 PyObject
* obj0
= 0 ;
11208 char *kwnames
[] = {
11209 (char *) "self", NULL
11212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
11213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
11214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11217 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsOk();
11219 wxPyEndAllowThreads(__tstate
);
11220 if (PyErr_Occurred()) SWIG_fail
;
11223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11231 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11232 PyObject
*resultobj
;
11233 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
11235 PyObject
* obj0
= 0 ;
11236 char *kwnames
[] = {
11237 (char *) "self", NULL
11240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
11241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
11242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11245 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsIconInstalled();
11247 wxPyEndAllowThreads(__tstate
);
11248 if (PyErr_Occurred()) SWIG_fail
;
11251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11259 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11260 PyObject
*resultobj
;
11261 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
11263 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11264 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11266 bool temp3
= False
;
11267 PyObject
* obj0
= 0 ;
11268 PyObject
* obj1
= 0 ;
11269 PyObject
* obj2
= 0 ;
11270 char *kwnames
[] = {
11271 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
11274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
11276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11277 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11278 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11280 if (arg2
== NULL
) {
11281 PyErr_SetString(PyExc_TypeError
,"null reference");
11286 arg3
= wxString_in_helper(obj2
);
11287 if (arg3
== NULL
) SWIG_fail
;
11292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11293 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
11295 wxPyEndAllowThreads(__tstate
);
11296 if (PyErr_Occurred()) SWIG_fail
;
11299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11315 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11316 PyObject
*resultobj
;
11317 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
11319 PyObject
* obj0
= 0 ;
11320 char *kwnames
[] = {
11321 (char *) "self", NULL
11324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
11325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
11326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11329 result
= (bool)(arg1
)->RemoveIcon();
11331 wxPyEndAllowThreads(__tstate
);
11332 if (PyErr_Occurred()) SWIG_fail
;
11335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11343 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11344 PyObject
*resultobj
;
11345 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
11346 wxMenu
*arg2
= (wxMenu
*) 0 ;
11348 PyObject
* obj0
= 0 ;
11349 PyObject
* obj1
= 0 ;
11350 char *kwnames
[] = {
11351 (char *) "self",(char *) "menu", NULL
11354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
11355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
11356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11357 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
11358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11361 result
= (bool)(arg1
)->PopupMenu(arg2
);
11363 wxPyEndAllowThreads(__tstate
);
11364 if (PyErr_Occurred()) SWIG_fail
;
11367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11375 static PyObject
* TaskBarIcon_swigregister(PyObject
*, PyObject
*args
) {
11377 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11378 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon
, obj
);
11380 return Py_BuildValue((char *)"");
11382 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11383 PyObject
*resultobj
;
11385 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
11386 wxTaskBarIconEvent
*result
;
11387 PyObject
* obj0
= 0 ;
11388 PyObject
* obj1
= 0 ;
11389 char *kwnames
[] = {
11390 (char *) "evtType",(char *) "tbIcon", NULL
11393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11394 arg1
= (wxEventType
)SWIG_As_int(obj0
);
11395 if (PyErr_Occurred()) SWIG_fail
;
11396 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTaskBarIcon
,
11397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11400 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
11402 wxPyEndAllowThreads(__tstate
);
11403 if (PyErr_Occurred()) SWIG_fail
;
11405 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
11412 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*, PyObject
*args
) {
11414 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11415 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
11417 return Py_BuildValue((char *)"");
11419 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
11420 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
11425 static PyObject
*_wrap_FileSelectorPromptStr_get() {
11430 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
11432 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
11439 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
11440 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
11445 static PyObject
*_wrap_DirSelectorPromptStr_get() {
11450 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
11452 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
11459 static int _wrap_DirDialogNameStr_set(PyObject
*) {
11460 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
11465 static PyObject
*_wrap_DirDialogNameStr_get() {
11470 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
11472 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
11479 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
11480 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
11485 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
11490 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
11492 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
11499 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*) {
11500 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
11505 static PyObject
*_wrap_GetTextFromUserPromptStr_get() {
11510 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
11512 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
11519 static int _wrap_MessageBoxCaptionStr_set(PyObject
*) {
11520 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
11525 static PyObject
*_wrap_MessageBoxCaptionStr_get() {
11530 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
11532 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
11539 static PyObject
*_wrap_new_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11540 PyObject
*resultobj
;
11541 wxColourData
*result
;
11542 char *kwnames
[] = {
11546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
11548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11549 result
= (wxColourData
*)new wxColourData();
11551 wxPyEndAllowThreads(__tstate
);
11552 if (PyErr_Occurred()) SWIG_fail
;
11554 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
11561 static PyObject
*_wrap_delete_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11562 PyObject
*resultobj
;
11563 wxColourData
*arg1
= (wxColourData
*) 0 ;
11564 PyObject
* obj0
= 0 ;
11565 char *kwnames
[] = {
11566 (char *) "self", NULL
11569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
11570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11576 wxPyEndAllowThreads(__tstate
);
11577 if (PyErr_Occurred()) SWIG_fail
;
11579 Py_INCREF(Py_None
); resultobj
= Py_None
;
11586 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11587 PyObject
*resultobj
;
11588 wxColourData
*arg1
= (wxColourData
*) 0 ;
11590 PyObject
* obj0
= 0 ;
11591 char *kwnames
[] = {
11592 (char *) "self", NULL
11595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
11596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11600 result
= (bool)(arg1
)->GetChooseFull();
11602 wxPyEndAllowThreads(__tstate
);
11603 if (PyErr_Occurred()) SWIG_fail
;
11606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11614 static PyObject
*_wrap_ColourData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11615 PyObject
*resultobj
;
11616 wxColourData
*arg1
= (wxColourData
*) 0 ;
11618 PyObject
* obj0
= 0 ;
11619 char *kwnames
[] = {
11620 (char *) "self", NULL
11623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
11624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11628 result
= (arg1
)->GetColour();
11630 wxPyEndAllowThreads(__tstate
);
11631 if (PyErr_Occurred()) SWIG_fail
;
11634 wxColour
* resultptr
;
11635 resultptr
= new wxColour((wxColour
&) result
);
11636 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11644 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11645 PyObject
*resultobj
;
11646 wxColourData
*arg1
= (wxColourData
*) 0 ;
11649 PyObject
* obj0
= 0 ;
11650 PyObject
* obj1
= 0 ;
11651 char *kwnames
[] = {
11652 (char *) "self",(char *) "i", NULL
11655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11658 arg2
= (int)SWIG_As_int(obj1
);
11659 if (PyErr_Occurred()) SWIG_fail
;
11661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11662 result
= (arg1
)->GetCustomColour(arg2
);
11664 wxPyEndAllowThreads(__tstate
);
11665 if (PyErr_Occurred()) SWIG_fail
;
11668 wxColour
* resultptr
;
11669 resultptr
= new wxColour((wxColour
&) result
);
11670 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11678 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11679 PyObject
*resultobj
;
11680 wxColourData
*arg1
= (wxColourData
*) 0 ;
11682 PyObject
* obj0
= 0 ;
11683 PyObject
* obj1
= 0 ;
11684 char *kwnames
[] = {
11685 (char *) "self",(char *) "flag", NULL
11688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
11689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11691 arg2
= (int)SWIG_As_int(obj1
);
11692 if (PyErr_Occurred()) SWIG_fail
;
11694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11695 (arg1
)->SetChooseFull(arg2
);
11697 wxPyEndAllowThreads(__tstate
);
11698 if (PyErr_Occurred()) SWIG_fail
;
11700 Py_INCREF(Py_None
); resultobj
= Py_None
;
11707 static PyObject
*_wrap_ColourData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11708 PyObject
*resultobj
;
11709 wxColourData
*arg1
= (wxColourData
*) 0 ;
11710 wxColour
*arg2
= 0 ;
11712 PyObject
* obj0
= 0 ;
11713 PyObject
* obj1
= 0 ;
11714 char *kwnames
[] = {
11715 (char *) "self",(char *) "colour", NULL
11718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11723 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11727 (arg1
)->SetColour((wxColour
const &)*arg2
);
11729 wxPyEndAllowThreads(__tstate
);
11730 if (PyErr_Occurred()) SWIG_fail
;
11732 Py_INCREF(Py_None
); resultobj
= Py_None
;
11739 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11740 PyObject
*resultobj
;
11741 wxColourData
*arg1
= (wxColourData
*) 0 ;
11743 wxColour
*arg3
= 0 ;
11745 PyObject
* obj0
= 0 ;
11746 PyObject
* obj1
= 0 ;
11747 PyObject
* obj2
= 0 ;
11748 char *kwnames
[] = {
11749 (char *) "self",(char *) "i",(char *) "colour", NULL
11752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11755 arg2
= (int)SWIG_As_int(obj1
);
11756 if (PyErr_Occurred()) SWIG_fail
;
11759 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11763 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
11765 wxPyEndAllowThreads(__tstate
);
11766 if (PyErr_Occurred()) SWIG_fail
;
11768 Py_INCREF(Py_None
); resultobj
= Py_None
;
11775 static PyObject
* ColourData_swigregister(PyObject
*, PyObject
*args
) {
11777 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11778 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
11780 return Py_BuildValue((char *)"");
11782 static PyObject
*_wrap_new_ColourDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11783 PyObject
*resultobj
;
11784 wxWindow
*arg1
= (wxWindow
*) 0 ;
11785 wxColourData
*arg2
= (wxColourData
*) NULL
;
11786 wxColourDialog
*result
;
11787 PyObject
* obj0
= 0 ;
11788 PyObject
* obj1
= 0 ;
11789 char *kwnames
[] = {
11790 (char *) "parent",(char *) "data", NULL
11793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
11794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11797 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColourData
,
11798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11801 if (!wxPyCheckForApp()) SWIG_fail
;
11802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11803 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
11805 wxPyEndAllowThreads(__tstate
);
11806 if (PyErr_Occurred()) SWIG_fail
;
11808 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
11815 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11816 PyObject
*resultobj
;
11817 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
11818 wxColourData
*result
;
11819 PyObject
* obj0
= 0 ;
11820 char *kwnames
[] = {
11821 (char *) "self", NULL
11824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
11825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDialog
,
11826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11830 wxColourData
&_result_ref
= (arg1
)->GetColourData();
11831 result
= (wxColourData
*) &_result_ref
;
11834 wxPyEndAllowThreads(__tstate
);
11835 if (PyErr_Occurred()) SWIG_fail
;
11837 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
11844 static PyObject
* ColourDialog_swigregister(PyObject
*, PyObject
*args
) {
11846 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11847 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
11849 return Py_BuildValue((char *)"");
11851 static PyObject
*_wrap_new_DirDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11852 PyObject
*resultobj
;
11853 wxWindow
*arg1
= (wxWindow
*) 0 ;
11854 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
11855 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11856 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11857 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11858 long arg4
= (long) 0 ;
11859 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11860 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11861 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11862 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11863 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
11864 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11865 wxDirDialog
*result
;
11866 bool temp2
= False
;
11867 bool temp3
= False
;
11870 bool temp7
= False
;
11871 PyObject
* obj0
= 0 ;
11872 PyObject
* obj1
= 0 ;
11873 PyObject
* obj2
= 0 ;
11874 PyObject
* obj3
= 0 ;
11875 PyObject
* obj4
= 0 ;
11876 PyObject
* obj5
= 0 ;
11877 PyObject
* obj6
= 0 ;
11878 char *kwnames
[] = {
11879 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11887 arg2
= wxString_in_helper(obj1
);
11888 if (arg2
== NULL
) SWIG_fail
;
11894 arg3
= wxString_in_helper(obj2
);
11895 if (arg3
== NULL
) SWIG_fail
;
11900 arg4
= (long)SWIG_As_long(obj3
);
11901 if (PyErr_Occurred()) SWIG_fail
;
11906 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11912 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11917 arg7
= wxString_in_helper(obj6
);
11918 if (arg7
== NULL
) SWIG_fail
;
11923 if (!wxPyCheckForApp()) SWIG_fail
;
11924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11925 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
11927 wxPyEndAllowThreads(__tstate
);
11928 if (PyErr_Occurred()) SWIG_fail
;
11930 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
11961 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11962 PyObject
*resultobj
;
11963 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11965 PyObject
* obj0
= 0 ;
11966 char *kwnames
[] = {
11967 (char *) "self", NULL
11970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
11971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11975 result
= (arg1
)->GetPath();
11977 wxPyEndAllowThreads(__tstate
);
11978 if (PyErr_Occurred()) SWIG_fail
;
11982 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11984 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11993 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11994 PyObject
*resultobj
;
11995 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11997 PyObject
* obj0
= 0 ;
11998 char *kwnames
[] = {
11999 (char *) "self", NULL
12002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
12003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
12004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12007 result
= (arg1
)->GetMessage();
12009 wxPyEndAllowThreads(__tstate
);
12010 if (PyErr_Occurred()) SWIG_fail
;
12014 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12016 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12025 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12026 PyObject
*resultobj
;
12027 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
12029 PyObject
* obj0
= 0 ;
12030 char *kwnames
[] = {
12031 (char *) "self", NULL
12034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
12035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
12036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12039 result
= (long)(arg1
)->GetStyle();
12041 wxPyEndAllowThreads(__tstate
);
12042 if (PyErr_Occurred()) SWIG_fail
;
12044 resultobj
= SWIG_From_long((long)result
);
12051 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12052 PyObject
*resultobj
;
12053 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
12054 wxString
*arg2
= 0 ;
12055 bool temp2
= False
;
12056 PyObject
* obj0
= 0 ;
12057 PyObject
* obj1
= 0 ;
12058 char *kwnames
[] = {
12059 (char *) "self",(char *) "message", NULL
12062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
12063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
12064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12066 arg2
= wxString_in_helper(obj1
);
12067 if (arg2
== NULL
) SWIG_fail
;
12071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12072 (arg1
)->SetMessage((wxString
const &)*arg2
);
12074 wxPyEndAllowThreads(__tstate
);
12075 if (PyErr_Occurred()) SWIG_fail
;
12077 Py_INCREF(Py_None
); resultobj
= Py_None
;
12092 static PyObject
*_wrap_DirDialog_SetPath(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 *) "path", NULL
12103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",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
)->SetPath((wxString
const &)*arg2
);
12115 wxPyEndAllowThreads(__tstate
);
12116 if (PyErr_Occurred()) SWIG_fail
;
12118 Py_INCREF(Py_None
); resultobj
= Py_None
;
12133 static PyObject
* DirDialog_swigregister(PyObject
*, PyObject
*args
) {
12135 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12136 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
12138 return Py_BuildValue((char *)"");
12140 static PyObject
*_wrap_new_FileDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12141 PyObject
*resultobj
;
12142 wxWindow
*arg1
= (wxWindow
*) 0 ;
12143 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
12144 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12145 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12146 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12147 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12148 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12149 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
12150 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
12151 long arg6
= (long) 0 ;
12152 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12153 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12154 wxFileDialog
*result
;
12155 bool temp2
= False
;
12156 bool temp3
= False
;
12157 bool temp4
= False
;
12158 bool temp5
= False
;
12160 PyObject
* obj0
= 0 ;
12161 PyObject
* obj1
= 0 ;
12162 PyObject
* obj2
= 0 ;
12163 PyObject
* obj3
= 0 ;
12164 PyObject
* obj4
= 0 ;
12165 PyObject
* obj5
= 0 ;
12166 PyObject
* obj6
= 0 ;
12167 char *kwnames
[] = {
12168 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
12171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12176 arg2
= wxString_in_helper(obj1
);
12177 if (arg2
== NULL
) SWIG_fail
;
12183 arg3
= wxString_in_helper(obj2
);
12184 if (arg3
== NULL
) SWIG_fail
;
12190 arg4
= wxString_in_helper(obj3
);
12191 if (arg4
== NULL
) SWIG_fail
;
12197 arg5
= wxString_in_helper(obj4
);
12198 if (arg5
== NULL
) SWIG_fail
;
12203 arg6
= (long)SWIG_As_long(obj5
);
12204 if (PyErr_Occurred()) SWIG_fail
;
12209 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
12213 if (!wxPyCheckForApp()) SWIG_fail
;
12214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12215 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
12217 wxPyEndAllowThreads(__tstate
);
12218 if (PyErr_Occurred()) SWIG_fail
;
12220 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
12259 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12260 PyObject
*resultobj
;
12261 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12262 wxString
*arg2
= 0 ;
12263 bool temp2
= False
;
12264 PyObject
* obj0
= 0 ;
12265 PyObject
* obj1
= 0 ;
12266 char *kwnames
[] = {
12267 (char *) "self",(char *) "message", NULL
12270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
12271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12274 arg2
= wxString_in_helper(obj1
);
12275 if (arg2
== NULL
) SWIG_fail
;
12279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12280 (arg1
)->SetMessage((wxString
const &)*arg2
);
12282 wxPyEndAllowThreads(__tstate
);
12283 if (PyErr_Occurred()) SWIG_fail
;
12285 Py_INCREF(Py_None
); resultobj
= Py_None
;
12300 static PyObject
*_wrap_FileDialog_SetPath(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 *) "path", NULL
12311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",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
)->SetPath((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_SetDirectory(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 *) "dir", NULL
12352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",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
)->SetDirectory((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_SetFilename(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 *) "name", NULL
12393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",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
)->SetFilename((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_SetWildcard(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 *) "wildCard", NULL
12434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",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
)->SetWildcard((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_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12465 PyObject
*resultobj
;
12466 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12468 PyObject
* obj0
= 0 ;
12469 PyObject
* obj1
= 0 ;
12470 char *kwnames
[] = {
12471 (char *) "self",(char *) "style", NULL
12474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
12475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12477 arg2
= (long)SWIG_As_long(obj1
);
12478 if (PyErr_Occurred()) SWIG_fail
;
12480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12481 (arg1
)->SetStyle(arg2
);
12483 wxPyEndAllowThreads(__tstate
);
12484 if (PyErr_Occurred()) SWIG_fail
;
12486 Py_INCREF(Py_None
); resultobj
= Py_None
;
12493 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12494 PyObject
*resultobj
;
12495 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12497 PyObject
* obj0
= 0 ;
12498 PyObject
* obj1
= 0 ;
12499 char *kwnames
[] = {
12500 (char *) "self",(char *) "filterIndex", NULL
12503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
12504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12506 arg2
= (int)SWIG_As_int(obj1
);
12507 if (PyErr_Occurred()) SWIG_fail
;
12509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12510 (arg1
)->SetFilterIndex(arg2
);
12512 wxPyEndAllowThreads(__tstate
);
12513 if (PyErr_Occurred()) SWIG_fail
;
12515 Py_INCREF(Py_None
); resultobj
= Py_None
;
12522 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12523 PyObject
*resultobj
;
12524 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12526 PyObject
* obj0
= 0 ;
12527 char *kwnames
[] = {
12528 (char *) "self", NULL
12531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
12532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12536 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
12538 wxPyEndAllowThreads(__tstate
);
12539 if (PyErr_Occurred()) SWIG_fail
;
12543 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12545 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12554 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12555 PyObject
*resultobj
;
12556 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12558 PyObject
* obj0
= 0 ;
12559 char *kwnames
[] = {
12560 (char *) "self", NULL
12563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
12564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12568 result
= ((wxFileDialog
const *)arg1
)->GetPath();
12570 wxPyEndAllowThreads(__tstate
);
12571 if (PyErr_Occurred()) SWIG_fail
;
12575 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12577 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12586 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12587 PyObject
*resultobj
;
12588 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12590 PyObject
* obj0
= 0 ;
12591 char *kwnames
[] = {
12592 (char *) "self", NULL
12595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
12596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12600 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
12602 wxPyEndAllowThreads(__tstate
);
12603 if (PyErr_Occurred()) SWIG_fail
;
12607 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12609 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12618 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12619 PyObject
*resultobj
;
12620 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12622 PyObject
* obj0
= 0 ;
12623 char *kwnames
[] = {
12624 (char *) "self", NULL
12627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
12628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12632 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
12634 wxPyEndAllowThreads(__tstate
);
12635 if (PyErr_Occurred()) SWIG_fail
;
12639 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12641 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12650 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12651 PyObject
*resultobj
;
12652 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12654 PyObject
* obj0
= 0 ;
12655 char *kwnames
[] = {
12656 (char *) "self", NULL
12659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
12660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12664 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
12666 wxPyEndAllowThreads(__tstate
);
12667 if (PyErr_Occurred()) SWIG_fail
;
12671 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12673 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12682 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12683 PyObject
*resultobj
;
12684 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12686 PyObject
* obj0
= 0 ;
12687 char *kwnames
[] = {
12688 (char *) "self", NULL
12691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
12692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12696 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
12698 wxPyEndAllowThreads(__tstate
);
12699 if (PyErr_Occurred()) SWIG_fail
;
12701 resultobj
= SWIG_From_long((long)result
);
12708 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12709 PyObject
*resultobj
;
12710 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12712 PyObject
* obj0
= 0 ;
12713 char *kwnames
[] = {
12714 (char *) "self", NULL
12717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
12718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12722 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
12724 wxPyEndAllowThreads(__tstate
);
12725 if (PyErr_Occurred()) SWIG_fail
;
12727 resultobj
= SWIG_From_int((int)result
);
12734 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12735 PyObject
*resultobj
;
12736 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12738 PyObject
* obj0
= 0 ;
12739 char *kwnames
[] = {
12740 (char *) "self", NULL
12743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
12744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12748 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
12750 wxPyEndAllowThreads(__tstate
);
12751 if (PyErr_Occurred()) SWIG_fail
;
12753 resultobj
= result
;
12760 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12761 PyObject
*resultobj
;
12762 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12764 PyObject
* obj0
= 0 ;
12765 char *kwnames
[] = {
12766 (char *) "self", NULL
12769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
12770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12774 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
12776 wxPyEndAllowThreads(__tstate
);
12777 if (PyErr_Occurred()) SWIG_fail
;
12779 resultobj
= result
;
12786 static PyObject
* FileDialog_swigregister(PyObject
*, PyObject
*args
) {
12788 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12789 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
12791 return Py_BuildValue((char *)"");
12793 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12794 PyObject
*resultobj
;
12795 wxWindow
*arg1
= (wxWindow
*) 0 ;
12796 wxString
*arg2
= 0 ;
12797 wxString
*arg3
= 0 ;
12798 int arg4
= (int) 0 ;
12799 wxString
*arg5
= (wxString
*) NULL
;
12800 long arg6
= (long) wxCHOICEDLG_STYLE
;
12801 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12802 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12803 wxMultiChoiceDialog
*result
;
12804 bool temp2
= False
;
12805 bool temp3
= False
;
12807 PyObject
* obj0
= 0 ;
12808 PyObject
* obj1
= 0 ;
12809 PyObject
* obj2
= 0 ;
12810 PyObject
* obj3
= 0 ;
12811 PyObject
* obj4
= 0 ;
12812 PyObject
* obj5
= 0 ;
12813 char *kwnames
[] = {
12814 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12821 arg2
= wxString_in_helper(obj1
);
12822 if (arg2
== NULL
) SWIG_fail
;
12826 arg3
= wxString_in_helper(obj2
);
12827 if (arg3
== NULL
) SWIG_fail
;
12832 arg4
= PyList_Size(obj3
);
12833 arg5
= wxString_LIST_helper(obj3
);
12834 if (arg5
== NULL
) SWIG_fail
;
12838 arg6
= (long)SWIG_As_long(obj4
);
12839 if (PyErr_Occurred()) SWIG_fail
;
12844 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12848 if (!wxPyCheckForApp()) SWIG_fail
;
12849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12850 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12852 wxPyEndAllowThreads(__tstate
);
12853 if (PyErr_Occurred()) SWIG_fail
;
12855 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
12865 if (arg5
) delete [] arg5
;
12878 if (arg5
) delete [] arg5
;
12884 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12885 PyObject
*resultobj
;
12886 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12887 wxArrayInt
*arg2
= 0 ;
12888 bool temp2
= False
;
12889 PyObject
* obj0
= 0 ;
12890 PyObject
* obj1
= 0 ;
12891 char *kwnames
[] = {
12892 (char *) "self",(char *) "selections", NULL
12895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
12896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12899 if (! PySequence_Check(obj1
)) {
12900 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
12903 arg2
= new wxArrayInt
;
12905 int i
, len
=PySequence_Length(obj1
);
12906 for (i
=0; i
<len
; i
++) {
12907 PyObject
* item
= PySequence_GetItem(obj1
, i
);
12908 PyObject
* number
= PyNumber_Int(item
);
12909 arg2
->Add(PyInt_AS_LONG(number
));
12915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12916 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
12918 wxPyEndAllowThreads(__tstate
);
12919 if (PyErr_Occurred()) SWIG_fail
;
12921 Py_INCREF(Py_None
); resultobj
= Py_None
;
12923 if (temp2
) delete arg2
;
12928 if (temp2
) delete arg2
;
12934 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12935 PyObject
*resultobj
;
12936 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12938 PyObject
* obj0
= 0 ;
12939 char *kwnames
[] = {
12940 (char *) "self", NULL
12943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
12944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12948 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
12950 wxPyEndAllowThreads(__tstate
);
12951 if (PyErr_Occurred()) SWIG_fail
;
12953 resultobj
= result
;
12960 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
12962 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12963 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
12965 return Py_BuildValue((char *)"");
12967 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12968 PyObject
*resultobj
;
12969 wxWindow
*arg1
= (wxWindow
*) 0 ;
12970 wxString
*arg2
= 0 ;
12971 wxString
*arg3
= 0 ;
12973 wxString
*arg5
= (wxString
*) 0 ;
12974 long arg6
= (long) wxCHOICEDLG_STYLE
;
12975 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12976 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12977 wxSingleChoiceDialog
*result
;
12978 bool temp2
= False
;
12979 bool temp3
= False
;
12981 PyObject
* obj0
= 0 ;
12982 PyObject
* obj1
= 0 ;
12983 PyObject
* obj2
= 0 ;
12984 PyObject
* obj3
= 0 ;
12985 PyObject
* obj4
= 0 ;
12986 PyObject
* obj5
= 0 ;
12987 char *kwnames
[] = {
12988 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12995 arg2
= wxString_in_helper(obj1
);
12996 if (arg2
== NULL
) SWIG_fail
;
13000 arg3
= wxString_in_helper(obj2
);
13001 if (arg3
== NULL
) SWIG_fail
;
13005 arg4
= PyList_Size(obj3
);
13006 arg5
= wxString_LIST_helper(obj3
);
13007 if (arg5
== NULL
) SWIG_fail
;
13010 arg6
= (long)SWIG_As_long(obj4
);
13011 if (PyErr_Occurred()) SWIG_fail
;
13016 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
13020 if (!wxPyCheckForApp()) SWIG_fail
;
13021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13022 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
13024 wxPyEndAllowThreads(__tstate
);
13025 if (PyErr_Occurred()) SWIG_fail
;
13027 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
13037 if (arg5
) delete [] arg5
;
13050 if (arg5
) delete [] arg5
;
13056 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13057 PyObject
*resultobj
;
13058 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
13060 PyObject
* obj0
= 0 ;
13061 char *kwnames
[] = {
13062 (char *) "self", NULL
13065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
13066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
13067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13070 result
= (int)(arg1
)->GetSelection();
13072 wxPyEndAllowThreads(__tstate
);
13073 if (PyErr_Occurred()) SWIG_fail
;
13075 resultobj
= SWIG_From_int((int)result
);
13082 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13083 PyObject
*resultobj
;
13084 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
13086 PyObject
* obj0
= 0 ;
13087 char *kwnames
[] = {
13088 (char *) "self", NULL
13091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
13092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
13093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13096 result
= (arg1
)->GetStringSelection();
13098 wxPyEndAllowThreads(__tstate
);
13099 if (PyErr_Occurred()) SWIG_fail
;
13103 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13105 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13114 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13115 PyObject
*resultobj
;
13116 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
13118 PyObject
* obj0
= 0 ;
13119 PyObject
* obj1
= 0 ;
13120 char *kwnames
[] = {
13121 (char *) "self",(char *) "sel", NULL
13124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
13126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13127 arg2
= (int)SWIG_As_int(obj1
);
13128 if (PyErr_Occurred()) SWIG_fail
;
13130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13131 (arg1
)->SetSelection(arg2
);
13133 wxPyEndAllowThreads(__tstate
);
13134 if (PyErr_Occurred()) SWIG_fail
;
13136 Py_INCREF(Py_None
); resultobj
= Py_None
;
13143 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
13145 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13146 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
13148 return Py_BuildValue((char *)"");
13150 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13151 PyObject
*resultobj
;
13152 wxWindow
*arg1
= (wxWindow
*) 0 ;
13153 wxString
*arg2
= 0 ;
13154 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
13155 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13156 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13157 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13158 long arg5
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
13159 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
13160 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
13161 wxTextEntryDialog
*result
;
13162 bool temp2
= False
;
13163 bool temp3
= False
;
13164 bool temp4
= False
;
13166 PyObject
* obj0
= 0 ;
13167 PyObject
* obj1
= 0 ;
13168 PyObject
* obj2
= 0 ;
13169 PyObject
* obj3
= 0 ;
13170 PyObject
* obj4
= 0 ;
13171 PyObject
* obj5
= 0 ;
13172 char *kwnames
[] = {
13173 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
13176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13180 arg2
= wxString_in_helper(obj1
);
13181 if (arg2
== NULL
) SWIG_fail
;
13186 arg3
= wxString_in_helper(obj2
);
13187 if (arg3
== NULL
) SWIG_fail
;
13193 arg4
= wxString_in_helper(obj3
);
13194 if (arg4
== NULL
) SWIG_fail
;
13199 arg5
= (long)SWIG_As_long(obj4
);
13200 if (PyErr_Occurred()) SWIG_fail
;
13205 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
13209 if (!wxPyCheckForApp()) SWIG_fail
;
13210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13211 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
13213 wxPyEndAllowThreads(__tstate
);
13214 if (PyErr_Occurred()) SWIG_fail
;
13216 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
13247 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13248 PyObject
*resultobj
;
13249 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
13251 PyObject
* obj0
= 0 ;
13252 char *kwnames
[] = {
13253 (char *) "self", NULL
13256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
13257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
13258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13261 result
= (arg1
)->GetValue();
13263 wxPyEndAllowThreads(__tstate
);
13264 if (PyErr_Occurred()) SWIG_fail
;
13268 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13270 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13279 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13280 PyObject
*resultobj
;
13281 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
13282 wxString
*arg2
= 0 ;
13283 bool temp2
= False
;
13284 PyObject
* obj0
= 0 ;
13285 PyObject
* obj1
= 0 ;
13286 char *kwnames
[] = {
13287 (char *) "self",(char *) "value", NULL
13290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
13292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13294 arg2
= wxString_in_helper(obj1
);
13295 if (arg2
== NULL
) SWIG_fail
;
13299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13300 (arg1
)->SetValue((wxString
const &)*arg2
);
13302 wxPyEndAllowThreads(__tstate
);
13303 if (PyErr_Occurred()) SWIG_fail
;
13305 Py_INCREF(Py_None
); resultobj
= Py_None
;
13320 static PyObject
* TextEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
13322 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13323 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
13325 return Py_BuildValue((char *)"");
13327 static PyObject
*_wrap_new_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13328 PyObject
*resultobj
;
13329 wxFontData
*result
;
13330 char *kwnames
[] = {
13334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
13336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13337 result
= (wxFontData
*)new wxFontData();
13339 wxPyEndAllowThreads(__tstate
);
13340 if (PyErr_Occurred()) SWIG_fail
;
13342 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
13349 static PyObject
*_wrap_delete_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13350 PyObject
*resultobj
;
13351 wxFontData
*arg1
= (wxFontData
*) 0 ;
13352 PyObject
* obj0
= 0 ;
13353 char *kwnames
[] = {
13354 (char *) "self", NULL
13357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
13358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13364 wxPyEndAllowThreads(__tstate
);
13365 if (PyErr_Occurred()) SWIG_fail
;
13367 Py_INCREF(Py_None
); resultobj
= Py_None
;
13374 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13375 PyObject
*resultobj
;
13376 wxFontData
*arg1
= (wxFontData
*) 0 ;
13378 PyObject
* obj0
= 0 ;
13379 PyObject
* obj1
= 0 ;
13380 char *kwnames
[] = {
13381 (char *) "self",(char *) "enable", NULL
13384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
13385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13387 arg2
= (bool)SWIG_As_bool(obj1
);
13388 if (PyErr_Occurred()) SWIG_fail
;
13390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13391 (arg1
)->EnableEffects(arg2
);
13393 wxPyEndAllowThreads(__tstate
);
13394 if (PyErr_Occurred()) SWIG_fail
;
13396 Py_INCREF(Py_None
); resultobj
= Py_None
;
13403 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13404 PyObject
*resultobj
;
13405 wxFontData
*arg1
= (wxFontData
*) 0 ;
13407 PyObject
* obj0
= 0 ;
13408 char *kwnames
[] = {
13409 (char *) "self", NULL
13412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
13413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13417 result
= (bool)(arg1
)->GetAllowSymbols();
13419 wxPyEndAllowThreads(__tstate
);
13420 if (PyErr_Occurred()) SWIG_fail
;
13423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13431 static PyObject
*_wrap_FontData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13432 PyObject
*resultobj
;
13433 wxFontData
*arg1
= (wxFontData
*) 0 ;
13435 PyObject
* obj0
= 0 ;
13436 char *kwnames
[] = {
13437 (char *) "self", NULL
13440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
13441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13445 result
= (arg1
)->GetColour();
13447 wxPyEndAllowThreads(__tstate
);
13448 if (PyErr_Occurred()) SWIG_fail
;
13451 wxColour
* resultptr
;
13452 resultptr
= new wxColour((wxColour
&) result
);
13453 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13461 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13462 PyObject
*resultobj
;
13463 wxFontData
*arg1
= (wxFontData
*) 0 ;
13465 PyObject
* obj0
= 0 ;
13466 char *kwnames
[] = {
13467 (char *) "self", NULL
13470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
13471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13475 result
= (arg1
)->GetChosenFont();
13477 wxPyEndAllowThreads(__tstate
);
13478 if (PyErr_Occurred()) SWIG_fail
;
13481 wxFont
* resultptr
;
13482 resultptr
= new wxFont((wxFont
&) result
);
13483 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13491 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13492 PyObject
*resultobj
;
13493 wxFontData
*arg1
= (wxFontData
*) 0 ;
13495 PyObject
* obj0
= 0 ;
13496 char *kwnames
[] = {
13497 (char *) "self", NULL
13500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
13501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13505 result
= (bool)(arg1
)->GetEnableEffects();
13507 wxPyEndAllowThreads(__tstate
);
13508 if (PyErr_Occurred()) SWIG_fail
;
13511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13519 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13520 PyObject
*resultobj
;
13521 wxFontData
*arg1
= (wxFontData
*) 0 ;
13523 PyObject
* obj0
= 0 ;
13524 char *kwnames
[] = {
13525 (char *) "self", NULL
13528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
13529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13533 result
= (arg1
)->GetInitialFont();
13535 wxPyEndAllowThreads(__tstate
);
13536 if (PyErr_Occurred()) SWIG_fail
;
13539 wxFont
* resultptr
;
13540 resultptr
= new wxFont((wxFont
&) result
);
13541 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13549 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13550 PyObject
*resultobj
;
13551 wxFontData
*arg1
= (wxFontData
*) 0 ;
13553 PyObject
* obj0
= 0 ;
13554 char *kwnames
[] = {
13555 (char *) "self", NULL
13558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
13559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13563 result
= (bool)(arg1
)->GetShowHelp();
13565 wxPyEndAllowThreads(__tstate
);
13566 if (PyErr_Occurred()) SWIG_fail
;
13569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13577 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13578 PyObject
*resultobj
;
13579 wxFontData
*arg1
= (wxFontData
*) 0 ;
13581 PyObject
* obj0
= 0 ;
13582 PyObject
* obj1
= 0 ;
13583 char *kwnames
[] = {
13584 (char *) "self",(char *) "allowSymbols", NULL
13587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
13588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13590 arg2
= (bool)SWIG_As_bool(obj1
);
13591 if (PyErr_Occurred()) SWIG_fail
;
13593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13594 (arg1
)->SetAllowSymbols(arg2
);
13596 wxPyEndAllowThreads(__tstate
);
13597 if (PyErr_Occurred()) SWIG_fail
;
13599 Py_INCREF(Py_None
); resultobj
= Py_None
;
13606 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13607 PyObject
*resultobj
;
13608 wxFontData
*arg1
= (wxFontData
*) 0 ;
13610 PyObject
* obj0
= 0 ;
13611 PyObject
* obj1
= 0 ;
13612 char *kwnames
[] = {
13613 (char *) "self",(char *) "font", NULL
13616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13619 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13620 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13622 if (arg2
== NULL
) {
13623 PyErr_SetString(PyExc_TypeError
,"null reference");
13627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13628 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
13630 wxPyEndAllowThreads(__tstate
);
13631 if (PyErr_Occurred()) SWIG_fail
;
13633 Py_INCREF(Py_None
); resultobj
= Py_None
;
13640 static PyObject
*_wrap_FontData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13641 PyObject
*resultobj
;
13642 wxFontData
*arg1
= (wxFontData
*) 0 ;
13643 wxColour
*arg2
= 0 ;
13645 PyObject
* obj0
= 0 ;
13646 PyObject
* obj1
= 0 ;
13647 char *kwnames
[] = {
13648 (char *) "self",(char *) "colour", NULL
13651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13656 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13660 (arg1
)->SetColour((wxColour
const &)*arg2
);
13662 wxPyEndAllowThreads(__tstate
);
13663 if (PyErr_Occurred()) SWIG_fail
;
13665 Py_INCREF(Py_None
); resultobj
= Py_None
;
13672 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13673 PyObject
*resultobj
;
13674 wxFontData
*arg1
= (wxFontData
*) 0 ;
13676 PyObject
* obj0
= 0 ;
13677 PyObject
* obj1
= 0 ;
13678 char *kwnames
[] = {
13679 (char *) "self",(char *) "font", NULL
13682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13685 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13686 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13688 if (arg2
== NULL
) {
13689 PyErr_SetString(PyExc_TypeError
,"null reference");
13693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13694 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
13696 wxPyEndAllowThreads(__tstate
);
13697 if (PyErr_Occurred()) SWIG_fail
;
13699 Py_INCREF(Py_None
); resultobj
= Py_None
;
13706 static PyObject
*_wrap_FontData_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13707 PyObject
*resultobj
;
13708 wxFontData
*arg1
= (wxFontData
*) 0 ;
13711 PyObject
* obj0
= 0 ;
13712 PyObject
* obj1
= 0 ;
13713 PyObject
* obj2
= 0 ;
13714 char *kwnames
[] = {
13715 (char *) "self",(char *) "min",(char *) "max", NULL
13718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13721 arg2
= (int)SWIG_As_int(obj1
);
13722 if (PyErr_Occurred()) SWIG_fail
;
13723 arg3
= (int)SWIG_As_int(obj2
);
13724 if (PyErr_Occurred()) SWIG_fail
;
13726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13727 (arg1
)->SetRange(arg2
,arg3
);
13729 wxPyEndAllowThreads(__tstate
);
13730 if (PyErr_Occurred()) SWIG_fail
;
13732 Py_INCREF(Py_None
); resultobj
= Py_None
;
13739 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13740 PyObject
*resultobj
;
13741 wxFontData
*arg1
= (wxFontData
*) 0 ;
13743 PyObject
* obj0
= 0 ;
13744 PyObject
* obj1
= 0 ;
13745 char *kwnames
[] = {
13746 (char *) "self",(char *) "showHelp", NULL
13749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
13750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13752 arg2
= (bool)SWIG_As_bool(obj1
);
13753 if (PyErr_Occurred()) SWIG_fail
;
13755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13756 (arg1
)->SetShowHelp(arg2
);
13758 wxPyEndAllowThreads(__tstate
);
13759 if (PyErr_Occurred()) SWIG_fail
;
13761 Py_INCREF(Py_None
); resultobj
= Py_None
;
13768 static PyObject
* FontData_swigregister(PyObject
*, PyObject
*args
) {
13770 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13771 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
13773 return Py_BuildValue((char *)"");
13775 static PyObject
*_wrap_new_FontDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13776 PyObject
*resultobj
;
13777 wxWindow
*arg1
= (wxWindow
*) 0 ;
13778 wxFontData
*arg2
= 0 ;
13779 wxFontDialog
*result
;
13780 PyObject
* obj0
= 0 ;
13781 PyObject
* obj1
= 0 ;
13782 char *kwnames
[] = {
13783 (char *) "parent",(char *) "data", NULL
13786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
13787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13789 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFontData
,
13790 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13792 if (arg2
== NULL
) {
13793 PyErr_SetString(PyExc_TypeError
,"null reference");
13797 if (!wxPyCheckForApp()) SWIG_fail
;
13798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13799 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
13801 wxPyEndAllowThreads(__tstate
);
13802 if (PyErr_Occurred()) SWIG_fail
;
13804 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
13811 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13812 PyObject
*resultobj
;
13813 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
13814 wxFontData
*result
;
13815 PyObject
* obj0
= 0 ;
13816 char *kwnames
[] = {
13817 (char *) "self", NULL
13820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
13821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontDialog
,
13822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13826 wxFontData
&_result_ref
= (arg1
)->GetFontData();
13827 result
= (wxFontData
*) &_result_ref
;
13830 wxPyEndAllowThreads(__tstate
);
13831 if (PyErr_Occurred()) SWIG_fail
;
13833 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
13840 static PyObject
* FontDialog_swigregister(PyObject
*, PyObject
*args
) {
13842 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13843 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
13845 return Py_BuildValue((char *)"");
13847 static PyObject
*_wrap_new_MessageDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13848 PyObject
*resultobj
;
13849 wxWindow
*arg1
= (wxWindow
*) 0 ;
13850 wxString
*arg2
= 0 ;
13851 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
13852 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13853 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
13854 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13855 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13856 wxMessageDialog
*result
;
13857 bool temp2
= False
;
13858 bool temp3
= False
;
13860 PyObject
* obj0
= 0 ;
13861 PyObject
* obj1
= 0 ;
13862 PyObject
* obj2
= 0 ;
13863 PyObject
* obj3
= 0 ;
13864 PyObject
* obj4
= 0 ;
13865 char *kwnames
[] = {
13866 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13873 arg2
= wxString_in_helper(obj1
);
13874 if (arg2
== NULL
) SWIG_fail
;
13879 arg3
= wxString_in_helper(obj2
);
13880 if (arg3
== NULL
) SWIG_fail
;
13885 arg4
= (long)SWIG_As_long(obj3
);
13886 if (PyErr_Occurred()) SWIG_fail
;
13891 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13895 if (!wxPyCheckForApp()) SWIG_fail
;
13896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13897 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
13899 wxPyEndAllowThreads(__tstate
);
13900 if (PyErr_Occurred()) SWIG_fail
;
13902 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
13925 static PyObject
* MessageDialog_swigregister(PyObject
*, PyObject
*args
) {
13927 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13928 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
13930 return Py_BuildValue((char *)"");
13932 static PyObject
*_wrap_new_ProgressDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13933 PyObject
*resultobj
;
13934 wxString
*arg1
= 0 ;
13935 wxString
*arg2
= 0 ;
13936 int arg3
= (int) 100 ;
13937 wxWindow
*arg4
= (wxWindow
*) NULL
;
13938 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
13939 wxProgressDialog
*result
;
13940 bool temp1
= False
;
13941 bool temp2
= False
;
13942 PyObject
* obj0
= 0 ;
13943 PyObject
* obj1
= 0 ;
13944 PyObject
* obj2
= 0 ;
13945 PyObject
* obj3
= 0 ;
13946 PyObject
* obj4
= 0 ;
13947 char *kwnames
[] = {
13948 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13953 arg1
= wxString_in_helper(obj0
);
13954 if (arg1
== NULL
) SWIG_fail
;
13958 arg2
= wxString_in_helper(obj1
);
13959 if (arg2
== NULL
) SWIG_fail
;
13963 arg3
= (int)SWIG_As_int(obj2
);
13964 if (PyErr_Occurred()) SWIG_fail
;
13967 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
13968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13971 arg5
= (int)SWIG_As_int(obj4
);
13972 if (PyErr_Occurred()) SWIG_fail
;
13975 if (!wxPyCheckForApp()) SWIG_fail
;
13976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13977 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
13979 wxPyEndAllowThreads(__tstate
);
13980 if (PyErr_Occurred()) SWIG_fail
;
13982 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
14005 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14006 PyObject
*resultobj
;
14007 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
14009 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14010 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14012 bool temp3
= False
;
14013 PyObject
* obj0
= 0 ;
14014 PyObject
* obj1
= 0 ;
14015 PyObject
* obj2
= 0 ;
14016 char *kwnames
[] = {
14017 (char *) "self",(char *) "value",(char *) "newmsg", NULL
14020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
14022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14023 arg2
= (int)SWIG_As_int(obj1
);
14024 if (PyErr_Occurred()) SWIG_fail
;
14027 arg3
= wxString_in_helper(obj2
);
14028 if (arg3
== NULL
) SWIG_fail
;
14033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14034 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
14036 wxPyEndAllowThreads(__tstate
);
14037 if (PyErr_Occurred()) SWIG_fail
;
14040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14056 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14057 PyObject
*resultobj
;
14058 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
14059 PyObject
* obj0
= 0 ;
14060 char *kwnames
[] = {
14061 (char *) "self", NULL
14064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
14065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
14066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14071 wxPyEndAllowThreads(__tstate
);
14072 if (PyErr_Occurred()) SWIG_fail
;
14074 Py_INCREF(Py_None
); resultobj
= Py_None
;
14081 static PyObject
* ProgressDialog_swigregister(PyObject
*, PyObject
*args
) {
14083 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14084 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
14086 return Py_BuildValue((char *)"");
14088 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14089 PyObject
*resultobj
;
14090 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14091 int arg2
= (int) 0 ;
14092 wxFindDialogEvent
*result
;
14093 PyObject
* obj0
= 0 ;
14094 PyObject
* obj1
= 0 ;
14095 char *kwnames
[] = {
14096 (char *) "commandType",(char *) "id", NULL
14099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14101 arg1
= (wxEventType
)SWIG_As_int(obj0
);
14102 if (PyErr_Occurred()) SWIG_fail
;
14105 arg2
= (int)SWIG_As_int(obj1
);
14106 if (PyErr_Occurred()) SWIG_fail
;
14109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14110 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
14112 wxPyEndAllowThreads(__tstate
);
14113 if (PyErr_Occurred()) SWIG_fail
;
14115 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
14122 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14123 PyObject
*resultobj
;
14124 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14126 PyObject
* obj0
= 0 ;
14127 char *kwnames
[] = {
14128 (char *) "self", NULL
14131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
14132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14136 result
= (int)(arg1
)->GetFlags();
14138 wxPyEndAllowThreads(__tstate
);
14139 if (PyErr_Occurred()) SWIG_fail
;
14141 resultobj
= SWIG_From_int((int)result
);
14148 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14149 PyObject
*resultobj
;
14150 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14152 PyObject
* obj0
= 0 ;
14153 char *kwnames
[] = {
14154 (char *) "self", NULL
14157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
14158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14163 wxString
const &_result_ref
= (arg1
)->GetFindString();
14164 result
= (wxString
*) &_result_ref
;
14167 wxPyEndAllowThreads(__tstate
);
14168 if (PyErr_Occurred()) SWIG_fail
;
14172 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14174 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14183 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14184 PyObject
*resultobj
;
14185 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14187 PyObject
* obj0
= 0 ;
14188 char *kwnames
[] = {
14189 (char *) "self", NULL
14192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
14193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14198 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
14199 result
= (wxString
*) &_result_ref
;
14202 wxPyEndAllowThreads(__tstate
);
14203 if (PyErr_Occurred()) SWIG_fail
;
14207 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14209 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14218 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14219 PyObject
*resultobj
;
14220 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14221 wxFindReplaceDialog
*result
;
14222 PyObject
* obj0
= 0 ;
14223 char *kwnames
[] = {
14224 (char *) "self", NULL
14227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
14228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14232 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
14234 wxPyEndAllowThreads(__tstate
);
14235 if (PyErr_Occurred()) SWIG_fail
;
14237 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
14244 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14245 PyObject
*resultobj
;
14246 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14248 PyObject
* obj0
= 0 ;
14249 PyObject
* obj1
= 0 ;
14250 char *kwnames
[] = {
14251 (char *) "self",(char *) "flags", NULL
14254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
14255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14257 arg2
= (int)SWIG_As_int(obj1
);
14258 if (PyErr_Occurred()) SWIG_fail
;
14260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14261 (arg1
)->SetFlags(arg2
);
14263 wxPyEndAllowThreads(__tstate
);
14264 if (PyErr_Occurred()) SWIG_fail
;
14266 Py_INCREF(Py_None
); resultobj
= Py_None
;
14273 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14274 PyObject
*resultobj
;
14275 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14276 wxString
*arg2
= 0 ;
14277 bool temp2
= False
;
14278 PyObject
* obj0
= 0 ;
14279 PyObject
* obj1
= 0 ;
14280 char *kwnames
[] = {
14281 (char *) "self",(char *) "str", NULL
14284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
14285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14288 arg2
= wxString_in_helper(obj1
);
14289 if (arg2
== NULL
) SWIG_fail
;
14293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14294 (arg1
)->SetFindString((wxString
const &)*arg2
);
14296 wxPyEndAllowThreads(__tstate
);
14297 if (PyErr_Occurred()) SWIG_fail
;
14299 Py_INCREF(Py_None
); resultobj
= Py_None
;
14314 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(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_SetReplaceString",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
)->SetReplaceString((wxString
const &)*arg2
);
14337 wxPyEndAllowThreads(__tstate
);
14338 if (PyErr_Occurred()) SWIG_fail
;
14340 Py_INCREF(Py_None
); resultobj
= Py_None
;
14355 static PyObject
* FindDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
14357 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14358 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
14360 return Py_BuildValue((char *)"");
14362 static PyObject
*_wrap_new_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14363 PyObject
*resultobj
;
14364 int arg1
= (int) 0 ;
14365 wxFindReplaceData
*result
;
14366 PyObject
* obj0
= 0 ;
14367 char *kwnames
[] = {
14368 (char *) "flags", NULL
14371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
14373 arg1
= (int)SWIG_As_int(obj0
);
14374 if (PyErr_Occurred()) SWIG_fail
;
14377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14378 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
14380 wxPyEndAllowThreads(__tstate
);
14381 if (PyErr_Occurred()) SWIG_fail
;
14383 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
14390 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14391 PyObject
*resultobj
;
14392 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14393 PyObject
* obj0
= 0 ;
14394 char *kwnames
[] = {
14395 (char *) "self", NULL
14398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
14399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14405 wxPyEndAllowThreads(__tstate
);
14406 if (PyErr_Occurred()) SWIG_fail
;
14408 Py_INCREF(Py_None
); resultobj
= Py_None
;
14415 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14416 PyObject
*resultobj
;
14417 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14419 PyObject
* obj0
= 0 ;
14420 char *kwnames
[] = {
14421 (char *) "self", NULL
14424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
14425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14430 wxString
const &_result_ref
= (arg1
)->GetFindString();
14431 result
= (wxString
*) &_result_ref
;
14434 wxPyEndAllowThreads(__tstate
);
14435 if (PyErr_Occurred()) SWIG_fail
;
14439 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14441 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14450 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14451 PyObject
*resultobj
;
14452 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14454 PyObject
* obj0
= 0 ;
14455 char *kwnames
[] = {
14456 (char *) "self", NULL
14459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
14460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14465 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
14466 result
= (wxString
*) &_result_ref
;
14469 wxPyEndAllowThreads(__tstate
);
14470 if (PyErr_Occurred()) SWIG_fail
;
14474 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14476 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14485 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14486 PyObject
*resultobj
;
14487 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14489 PyObject
* obj0
= 0 ;
14490 char *kwnames
[] = {
14491 (char *) "self", NULL
14494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
14495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14499 result
= (int)(arg1
)->GetFlags();
14501 wxPyEndAllowThreads(__tstate
);
14502 if (PyErr_Occurred()) SWIG_fail
;
14504 resultobj
= SWIG_From_int((int)result
);
14511 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14512 PyObject
*resultobj
;
14513 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14515 PyObject
* obj0
= 0 ;
14516 PyObject
* obj1
= 0 ;
14517 char *kwnames
[] = {
14518 (char *) "self",(char *) "flags", NULL
14521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
14522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14524 arg2
= (int)SWIG_As_int(obj1
);
14525 if (PyErr_Occurred()) SWIG_fail
;
14527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14528 (arg1
)->SetFlags(arg2
);
14530 wxPyEndAllowThreads(__tstate
);
14531 if (PyErr_Occurred()) SWIG_fail
;
14533 Py_INCREF(Py_None
); resultobj
= Py_None
;
14540 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14541 PyObject
*resultobj
;
14542 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14543 wxString
*arg2
= 0 ;
14544 bool temp2
= False
;
14545 PyObject
* obj0
= 0 ;
14546 PyObject
* obj1
= 0 ;
14547 char *kwnames
[] = {
14548 (char *) "self",(char *) "str", NULL
14551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
14552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14555 arg2
= wxString_in_helper(obj1
);
14556 if (arg2
== NULL
) SWIG_fail
;
14560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14561 (arg1
)->SetFindString((wxString
const &)*arg2
);
14563 wxPyEndAllowThreads(__tstate
);
14564 if (PyErr_Occurred()) SWIG_fail
;
14566 Py_INCREF(Py_None
); resultobj
= Py_None
;
14581 static PyObject
*_wrap_FindReplaceData_SetReplaceString(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_SetReplaceString",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
)->SetReplaceString((wxString
const &)*arg2
);
14604 wxPyEndAllowThreads(__tstate
);
14605 if (PyErr_Occurred()) SWIG_fail
;
14607 Py_INCREF(Py_None
); resultobj
= Py_None
;
14622 static PyObject
* FindReplaceData_swigregister(PyObject
*, PyObject
*args
) {
14624 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14625 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
14627 return Py_BuildValue((char *)"");
14629 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14630 PyObject
*resultobj
;
14631 wxWindow
*arg1
= (wxWindow
*) 0 ;
14632 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14633 wxString
*arg3
= 0 ;
14634 int arg4
= (int) 0 ;
14635 wxFindReplaceDialog
*result
;
14636 bool temp3
= False
;
14637 PyObject
* obj0
= 0 ;
14638 PyObject
* obj1
= 0 ;
14639 PyObject
* obj2
= 0 ;
14640 PyObject
* obj3
= 0 ;
14641 char *kwnames
[] = {
14642 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14648 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14651 arg3
= wxString_in_helper(obj2
);
14652 if (arg3
== NULL
) SWIG_fail
;
14656 arg4
= (int)SWIG_As_int(obj3
);
14657 if (PyErr_Occurred()) SWIG_fail
;
14660 if (!wxPyCheckForApp()) SWIG_fail
;
14661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14662 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
14664 wxPyEndAllowThreads(__tstate
);
14665 if (PyErr_Occurred()) SWIG_fail
;
14667 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14682 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14683 PyObject
*resultobj
;
14684 wxFindReplaceDialog
*result
;
14685 char *kwnames
[] = {
14689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
14691 if (!wxPyCheckForApp()) SWIG_fail
;
14692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14693 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
14695 wxPyEndAllowThreads(__tstate
);
14696 if (PyErr_Occurred()) SWIG_fail
;
14698 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14705 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14706 PyObject
*resultobj
;
14707 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14708 wxWindow
*arg2
= (wxWindow
*) 0 ;
14709 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
14710 wxString
*arg4
= 0 ;
14711 int arg5
= (int) 0 ;
14713 bool temp4
= False
;
14714 PyObject
* obj0
= 0 ;
14715 PyObject
* obj1
= 0 ;
14716 PyObject
* obj2
= 0 ;
14717 PyObject
* obj3
= 0 ;
14718 PyObject
* obj4
= 0 ;
14719 char *kwnames
[] = {
14720 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14726 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14728 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFindReplaceData
,
14729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14731 arg4
= wxString_in_helper(obj3
);
14732 if (arg4
== NULL
) SWIG_fail
;
14736 arg5
= (int)SWIG_As_int(obj4
);
14737 if (PyErr_Occurred()) SWIG_fail
;
14740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14741 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14743 wxPyEndAllowThreads(__tstate
);
14744 if (PyErr_Occurred()) SWIG_fail
;
14747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14763 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14764 PyObject
*resultobj
;
14765 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14766 wxFindReplaceData
*result
;
14767 PyObject
* obj0
= 0 ;
14768 char *kwnames
[] = {
14769 (char *) "self", NULL
14772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
14773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14777 result
= (wxFindReplaceData
*)(arg1
)->GetData();
14779 wxPyEndAllowThreads(__tstate
);
14780 if (PyErr_Occurred()) SWIG_fail
;
14782 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
14789 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14790 PyObject
*resultobj
;
14791 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14792 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14793 PyObject
* obj0
= 0 ;
14794 PyObject
* obj1
= 0 ;
14795 char *kwnames
[] = {
14796 (char *) "self",(char *) "data", NULL
14799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
14800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14802 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14806 (arg1
)->SetData(arg2
);
14808 wxPyEndAllowThreads(__tstate
);
14809 if (PyErr_Occurred()) SWIG_fail
;
14811 Py_INCREF(Py_None
); resultobj
= Py_None
;
14818 static PyObject
* FindReplaceDialog_swigregister(PyObject
*, PyObject
*args
) {
14820 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14821 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
14823 return Py_BuildValue((char *)"");
14825 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14826 PyObject
*resultobj
;
14827 wxWindow
*arg1
= (wxWindow
*) 0 ;
14828 int arg2
= (int) (int)-1 ;
14829 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14830 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14831 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14832 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14833 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14834 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14835 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14836 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14837 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14838 wxMDIParentFrame
*result
;
14839 bool temp3
= False
;
14842 bool temp7
= False
;
14843 PyObject
* obj0
= 0 ;
14844 PyObject
* obj1
= 0 ;
14845 PyObject
* obj2
= 0 ;
14846 PyObject
* obj3
= 0 ;
14847 PyObject
* obj4
= 0 ;
14848 PyObject
* obj5
= 0 ;
14849 PyObject
* obj6
= 0 ;
14850 char *kwnames
[] = {
14851 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14858 arg2
= (int)SWIG_As_int(obj1
);
14859 if (PyErr_Occurred()) SWIG_fail
;
14863 arg3
= wxString_in_helper(obj2
);
14864 if (arg3
== NULL
) SWIG_fail
;
14871 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14877 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14881 arg6
= (long)SWIG_As_long(obj5
);
14882 if (PyErr_Occurred()) SWIG_fail
;
14886 arg7
= wxString_in_helper(obj6
);
14887 if (arg7
== NULL
) SWIG_fail
;
14892 if (!wxPyCheckForApp()) SWIG_fail
;
14893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14894 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14896 wxPyEndAllowThreads(__tstate
);
14897 if (PyErr_Occurred()) SWIG_fail
;
14899 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14922 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14923 PyObject
*resultobj
;
14924 wxMDIParentFrame
*result
;
14925 char *kwnames
[] = {
14929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
14931 if (!wxPyCheckForApp()) SWIG_fail
;
14932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14933 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
14935 wxPyEndAllowThreads(__tstate
);
14936 if (PyErr_Occurred()) SWIG_fail
;
14938 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14945 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14946 PyObject
*resultobj
;
14947 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14948 wxWindow
*arg2
= (wxWindow
*) 0 ;
14949 int arg3
= (int) (int)-1 ;
14950 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14951 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14952 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14953 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14954 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14955 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14956 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14957 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14958 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14960 bool temp4
= False
;
14963 bool temp8
= False
;
14964 PyObject
* obj0
= 0 ;
14965 PyObject
* obj1
= 0 ;
14966 PyObject
* obj2
= 0 ;
14967 PyObject
* obj3
= 0 ;
14968 PyObject
* obj4
= 0 ;
14969 PyObject
* obj5
= 0 ;
14970 PyObject
* obj6
= 0 ;
14971 PyObject
* obj7
= 0 ;
14972 char *kwnames
[] = {
14973 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14979 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14982 arg3
= (int)SWIG_As_int(obj2
);
14983 if (PyErr_Occurred()) SWIG_fail
;
14987 arg4
= wxString_in_helper(obj3
);
14988 if (arg4
== NULL
) SWIG_fail
;
14995 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15001 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15005 arg7
= (long)SWIG_As_long(obj6
);
15006 if (PyErr_Occurred()) SWIG_fail
;
15010 arg8
= wxString_in_helper(obj7
);
15011 if (arg8
== NULL
) SWIG_fail
;
15016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15017 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
15019 wxPyEndAllowThreads(__tstate
);
15020 if (PyErr_Occurred()) SWIG_fail
;
15023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15047 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15048 PyObject
*resultobj
;
15049 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15050 PyObject
* obj0
= 0 ;
15051 char *kwnames
[] = {
15052 (char *) "self", NULL
15055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
15056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15060 (arg1
)->ActivateNext();
15062 wxPyEndAllowThreads(__tstate
);
15063 if (PyErr_Occurred()) SWIG_fail
;
15065 Py_INCREF(Py_None
); resultobj
= Py_None
;
15072 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15073 PyObject
*resultobj
;
15074 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15075 PyObject
* obj0
= 0 ;
15076 char *kwnames
[] = {
15077 (char *) "self", NULL
15080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
15081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15085 (arg1
)->ActivatePrevious();
15087 wxPyEndAllowThreads(__tstate
);
15088 if (PyErr_Occurred()) SWIG_fail
;
15090 Py_INCREF(Py_None
); resultobj
= Py_None
;
15097 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15098 PyObject
*resultobj
;
15099 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15100 PyObject
* obj0
= 0 ;
15101 char *kwnames
[] = {
15102 (char *) "self", NULL
15105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
15106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15110 (arg1
)->ArrangeIcons();
15112 wxPyEndAllowThreads(__tstate
);
15113 if (PyErr_Occurred()) SWIG_fail
;
15115 Py_INCREF(Py_None
); resultobj
= Py_None
;
15122 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15123 PyObject
*resultobj
;
15124 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15125 PyObject
* obj0
= 0 ;
15126 char *kwnames
[] = {
15127 (char *) "self", NULL
15130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
15131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15137 wxPyEndAllowThreads(__tstate
);
15138 if (PyErr_Occurred()) SWIG_fail
;
15140 Py_INCREF(Py_None
); resultobj
= Py_None
;
15147 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15148 PyObject
*resultobj
;
15149 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15150 wxMDIChildFrame
*result
;
15151 PyObject
* obj0
= 0 ;
15152 char *kwnames
[] = {
15153 (char *) "self", NULL
15156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
15157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15161 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
15163 wxPyEndAllowThreads(__tstate
);
15164 if (PyErr_Occurred()) SWIG_fail
;
15167 resultobj
= wxPyMake_wxObject(result
, 0);
15175 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15176 PyObject
*resultobj
;
15177 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15178 wxMDIClientWindow
*result
;
15179 PyObject
* obj0
= 0 ;
15180 char *kwnames
[] = {
15181 (char *) "self", NULL
15184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
15185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15189 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
15191 wxPyEndAllowThreads(__tstate
);
15192 if (PyErr_Occurred()) SWIG_fail
;
15195 resultobj
= wxPyMake_wxObject(result
, 0);
15203 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15204 PyObject
*resultobj
;
15205 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15207 PyObject
* obj0
= 0 ;
15208 char *kwnames
[] = {
15209 (char *) "self", NULL
15212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
15213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15217 result
= (wxWindow
*)(arg1
)->GetToolBar();
15219 wxPyEndAllowThreads(__tstate
);
15220 if (PyErr_Occurred()) SWIG_fail
;
15223 resultobj
= wxPyMake_wxObject(result
, 0);
15231 static PyObject
*_wrap_MDIParentFrame_GetWindowMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15232 PyObject
*resultobj
;
15233 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15235 PyObject
* obj0
= 0 ;
15236 char *kwnames
[] = {
15237 (char *) "self", NULL
15240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetWindowMenu",kwnames
,&obj0
)) goto fail
;
15241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15245 result
= (wxMenu
*)(arg1
)->GetWindowMenu();
15247 wxPyEndAllowThreads(__tstate
);
15248 if (PyErr_Occurred()) SWIG_fail
;
15251 resultobj
= wxPyMake_wxObject(result
, 0);
15259 static PyObject
*_wrap_MDIParentFrame_SetWindowMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15260 PyObject
*resultobj
;
15261 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15262 wxMenu
*arg2
= (wxMenu
*) 0 ;
15263 PyObject
* obj0
= 0 ;
15264 PyObject
* obj1
= 0 ;
15265 char *kwnames
[] = {
15266 (char *) "self",(char *) "menu", NULL
15269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
15270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15272 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
15273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15276 (arg1
)->SetWindowMenu(arg2
);
15278 wxPyEndAllowThreads(__tstate
);
15279 if (PyErr_Occurred()) SWIG_fail
;
15281 Py_INCREF(Py_None
); resultobj
= Py_None
;
15288 static PyObject
*_wrap_MDIParentFrame_SetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15289 PyObject
*resultobj
;
15290 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15291 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
15292 PyObject
* obj0
= 0 ;
15293 PyObject
* obj1
= 0 ;
15294 char *kwnames
[] = {
15295 (char *) "self",(char *) "toolbar", NULL
15298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
15299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15301 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBar
,
15302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15305 (arg1
)->SetToolBar(arg2
);
15307 wxPyEndAllowThreads(__tstate
);
15308 if (PyErr_Occurred()) SWIG_fail
;
15310 Py_INCREF(Py_None
); resultobj
= Py_None
;
15317 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15318 PyObject
*resultobj
;
15319 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15320 PyObject
* obj0
= 0 ;
15321 char *kwnames
[] = {
15322 (char *) "self", NULL
15325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
15326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15332 wxPyEndAllowThreads(__tstate
);
15333 if (PyErr_Occurred()) SWIG_fail
;
15335 Py_INCREF(Py_None
); resultobj
= Py_None
;
15342 static PyObject
* MDIParentFrame_swigregister(PyObject
*, PyObject
*args
) {
15344 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15345 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
15347 return Py_BuildValue((char *)"");
15349 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15350 PyObject
*resultobj
;
15351 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15352 int arg2
= (int) (int)-1 ;
15353 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15354 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15355 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15356 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15357 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15358 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15359 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
15360 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
15361 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15362 wxMDIChildFrame
*result
;
15363 bool temp3
= False
;
15366 bool temp7
= False
;
15367 PyObject
* obj0
= 0 ;
15368 PyObject
* obj1
= 0 ;
15369 PyObject
* obj2
= 0 ;
15370 PyObject
* obj3
= 0 ;
15371 PyObject
* obj4
= 0 ;
15372 PyObject
* obj5
= 0 ;
15373 PyObject
* obj6
= 0 ;
15374 char *kwnames
[] = {
15375 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15382 arg2
= (int)SWIG_As_int(obj1
);
15383 if (PyErr_Occurred()) SWIG_fail
;
15387 arg3
= wxString_in_helper(obj2
);
15388 if (arg3
== NULL
) SWIG_fail
;
15395 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15401 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15405 arg6
= (long)SWIG_As_long(obj5
);
15406 if (PyErr_Occurred()) SWIG_fail
;
15410 arg7
= wxString_in_helper(obj6
);
15411 if (arg7
== NULL
) SWIG_fail
;
15416 if (!wxPyCheckForApp()) SWIG_fail
;
15417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15418 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15420 wxPyEndAllowThreads(__tstate
);
15421 if (PyErr_Occurred()) SWIG_fail
;
15423 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
15446 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15447 PyObject
*resultobj
;
15448 wxMDIChildFrame
*result
;
15449 char *kwnames
[] = {
15453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
15455 if (!wxPyCheckForApp()) SWIG_fail
;
15456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15457 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
15459 wxPyEndAllowThreads(__tstate
);
15460 if (PyErr_Occurred()) SWIG_fail
;
15462 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
15469 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15470 PyObject
*resultobj
;
15471 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15472 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
15473 int arg3
= (int) (int)-1 ;
15474 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15475 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15476 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15477 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15478 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15479 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15480 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
15481 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
15482 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15484 bool temp4
= False
;
15487 bool temp8
= False
;
15488 PyObject
* obj0
= 0 ;
15489 PyObject
* obj1
= 0 ;
15490 PyObject
* obj2
= 0 ;
15491 PyObject
* obj3
= 0 ;
15492 PyObject
* obj4
= 0 ;
15493 PyObject
* obj5
= 0 ;
15494 PyObject
* obj6
= 0 ;
15495 PyObject
* obj7
= 0 ;
15496 char *kwnames
[] = {
15497 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
15501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15503 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
15504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15506 arg3
= (int)SWIG_As_int(obj2
);
15507 if (PyErr_Occurred()) SWIG_fail
;
15511 arg4
= wxString_in_helper(obj3
);
15512 if (arg4
== NULL
) SWIG_fail
;
15519 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15525 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15529 arg7
= (long)SWIG_As_long(obj6
);
15530 if (PyErr_Occurred()) SWIG_fail
;
15534 arg8
= wxString_in_helper(obj7
);
15535 if (arg8
== NULL
) SWIG_fail
;
15540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15541 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
15543 wxPyEndAllowThreads(__tstate
);
15544 if (PyErr_Occurred()) SWIG_fail
;
15547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15571 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15572 PyObject
*resultobj
;
15573 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15574 PyObject
* obj0
= 0 ;
15575 char *kwnames
[] = {
15576 (char *) "self", NULL
15579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
15580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15584 (arg1
)->Activate();
15586 wxPyEndAllowThreads(__tstate
);
15587 if (PyErr_Occurred()) SWIG_fail
;
15589 Py_INCREF(Py_None
); resultobj
= Py_None
;
15596 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15597 PyObject
*resultobj
;
15598 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15600 PyObject
* obj0
= 0 ;
15601 PyObject
* obj1
= 0 ;
15602 char *kwnames
[] = {
15603 (char *) "self",(char *) "maximize", NULL
15606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
15607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15609 arg2
= (bool)SWIG_As_bool(obj1
);
15610 if (PyErr_Occurred()) SWIG_fail
;
15612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15613 (arg1
)->Maximize(arg2
);
15615 wxPyEndAllowThreads(__tstate
);
15616 if (PyErr_Occurred()) SWIG_fail
;
15618 Py_INCREF(Py_None
); resultobj
= Py_None
;
15625 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15626 PyObject
*resultobj
;
15627 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15628 PyObject
* obj0
= 0 ;
15629 char *kwnames
[] = {
15630 (char *) "self", NULL
15633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
15634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15640 wxPyEndAllowThreads(__tstate
);
15641 if (PyErr_Occurred()) SWIG_fail
;
15643 Py_INCREF(Py_None
); resultobj
= Py_None
;
15650 static PyObject
* MDIChildFrame_swigregister(PyObject
*, PyObject
*args
) {
15652 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15653 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
15655 return Py_BuildValue((char *)"");
15657 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15658 PyObject
*resultobj
;
15659 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15660 long arg2
= (long) 0 ;
15661 wxMDIClientWindow
*result
;
15662 PyObject
* obj0
= 0 ;
15663 PyObject
* obj1
= 0 ;
15664 char *kwnames
[] = {
15665 (char *) "parent",(char *) "style", NULL
15668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
15669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15672 arg2
= (long)SWIG_As_long(obj1
);
15673 if (PyErr_Occurred()) SWIG_fail
;
15676 if (!wxPyCheckForApp()) SWIG_fail
;
15677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15678 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
15680 wxPyEndAllowThreads(__tstate
);
15681 if (PyErr_Occurred()) SWIG_fail
;
15683 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
15690 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15691 PyObject
*resultobj
;
15692 wxMDIClientWindow
*result
;
15693 char *kwnames
[] = {
15697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
15699 if (!wxPyCheckForApp()) SWIG_fail
;
15700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15701 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
15703 wxPyEndAllowThreads(__tstate
);
15704 if (PyErr_Occurred()) SWIG_fail
;
15706 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
15713 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15714 PyObject
*resultobj
;
15715 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
15716 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
15717 long arg3
= (long) 0 ;
15719 PyObject
* obj0
= 0 ;
15720 PyObject
* obj1
= 0 ;
15721 PyObject
* obj2
= 0 ;
15722 char *kwnames
[] = {
15723 (char *) "self",(char *) "parent",(char *) "style", NULL
15726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIClientWindow
,
15728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15729 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
15730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15732 arg3
= (long)SWIG_As_long(obj2
);
15733 if (PyErr_Occurred()) SWIG_fail
;
15736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15737 result
= (bool)(arg1
)->Create(arg2
,arg3
);
15739 wxPyEndAllowThreads(__tstate
);
15740 if (PyErr_Occurred()) SWIG_fail
;
15743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15751 static PyObject
* MDIClientWindow_swigregister(PyObject
*, PyObject
*args
) {
15753 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15754 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
15756 return Py_BuildValue((char *)"");
15758 static PyObject
*_wrap_new_PyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15759 PyObject
*resultobj
;
15760 wxWindow
*arg1
= (wxWindow
*) 0 ;
15761 int arg2
= (int) (int)-1 ;
15762 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15763 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15764 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15765 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15766 long arg5
= (long) 0 ;
15767 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15768 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15769 wxPyWindow
*result
;
15772 bool temp6
= False
;
15773 PyObject
* obj0
= 0 ;
15774 PyObject
* obj1
= 0 ;
15775 PyObject
* obj2
= 0 ;
15776 PyObject
* obj3
= 0 ;
15777 PyObject
* obj4
= 0 ;
15778 PyObject
* obj5
= 0 ;
15779 char *kwnames
[] = {
15780 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15787 arg2
= (int)SWIG_As_int(obj1
);
15788 if (PyErr_Occurred()) SWIG_fail
;
15793 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15799 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15803 arg5
= (long)SWIG_As_long(obj4
);
15804 if (PyErr_Occurred()) SWIG_fail
;
15808 arg6
= wxString_in_helper(obj5
);
15809 if (arg6
== NULL
) SWIG_fail
;
15814 if (!wxPyCheckForApp()) SWIG_fail
;
15815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15816 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15818 wxPyEndAllowThreads(__tstate
);
15819 if (PyErr_Occurred()) SWIG_fail
;
15821 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15836 static PyObject
*_wrap_new_PrePyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15837 PyObject
*resultobj
;
15838 wxPyWindow
*result
;
15839 char *kwnames
[] = {
15843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyWindow",kwnames
)) goto fail
;
15845 if (!wxPyCheckForApp()) SWIG_fail
;
15846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15847 result
= (wxPyWindow
*)new wxPyWindow();
15849 wxPyEndAllowThreads(__tstate
);
15850 if (PyErr_Occurred()) SWIG_fail
;
15852 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15859 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15860 PyObject
*resultobj
;
15861 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15862 PyObject
*arg2
= (PyObject
*) 0 ;
15863 PyObject
*arg3
= (PyObject
*) 0 ;
15864 PyObject
* obj0
= 0 ;
15865 PyObject
* obj1
= 0 ;
15866 PyObject
* obj2
= 0 ;
15867 char *kwnames
[] = {
15868 (char *) "self",(char *) "self",(char *) "_class", NULL
15871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15878 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15880 wxPyEndAllowThreads(__tstate
);
15881 if (PyErr_Occurred()) SWIG_fail
;
15883 Py_INCREF(Py_None
); resultobj
= Py_None
;
15890 static PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15891 PyObject
*resultobj
;
15892 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15895 PyObject
* obj0
= 0 ;
15896 PyObject
* obj1
= 0 ;
15897 char *kwnames
[] = {
15898 (char *) "self",(char *) "size", NULL
15901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15906 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15910 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
15912 wxPyEndAllowThreads(__tstate
);
15913 if (PyErr_Occurred()) SWIG_fail
;
15915 Py_INCREF(Py_None
); resultobj
= Py_None
;
15922 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15923 PyObject
*resultobj
;
15924 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15929 PyObject
* obj0
= 0 ;
15930 PyObject
* obj1
= 0 ;
15931 PyObject
* obj2
= 0 ;
15932 PyObject
* obj3
= 0 ;
15933 PyObject
* obj4
= 0 ;
15934 char *kwnames
[] = {
15935 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15941 arg2
= (int)SWIG_As_int(obj1
);
15942 if (PyErr_Occurred()) SWIG_fail
;
15943 arg3
= (int)SWIG_As_int(obj2
);
15944 if (PyErr_Occurred()) SWIG_fail
;
15945 arg4
= (int)SWIG_As_int(obj3
);
15946 if (PyErr_Occurred()) SWIG_fail
;
15947 arg5
= (int)SWIG_As_int(obj4
);
15948 if (PyErr_Occurred()) SWIG_fail
;
15950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15951 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
15953 wxPyEndAllowThreads(__tstate
);
15954 if (PyErr_Occurred()) SWIG_fail
;
15956 Py_INCREF(Py_None
); resultobj
= Py_None
;
15963 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15964 PyObject
*resultobj
;
15965 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15970 int arg6
= (int) wxSIZE_AUTO
;
15971 PyObject
* obj0
= 0 ;
15972 PyObject
* obj1
= 0 ;
15973 PyObject
* obj2
= 0 ;
15974 PyObject
* obj3
= 0 ;
15975 PyObject
* obj4
= 0 ;
15976 PyObject
* obj5
= 0 ;
15977 char *kwnames
[] = {
15978 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15984 arg2
= (int)SWIG_As_int(obj1
);
15985 if (PyErr_Occurred()) SWIG_fail
;
15986 arg3
= (int)SWIG_As_int(obj2
);
15987 if (PyErr_Occurred()) SWIG_fail
;
15988 arg4
= (int)SWIG_As_int(obj3
);
15989 if (PyErr_Occurred()) SWIG_fail
;
15990 arg5
= (int)SWIG_As_int(obj4
);
15991 if (PyErr_Occurred()) SWIG_fail
;
15993 arg6
= (int)SWIG_As_int(obj5
);
15994 if (PyErr_Occurred()) SWIG_fail
;
15997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15998 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
16000 wxPyEndAllowThreads(__tstate
);
16001 if (PyErr_Occurred()) SWIG_fail
;
16003 Py_INCREF(Py_None
); resultobj
= Py_None
;
16010 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16011 PyObject
*resultobj
;
16012 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16015 PyObject
* obj0
= 0 ;
16016 PyObject
* obj1
= 0 ;
16017 PyObject
* obj2
= 0 ;
16018 char *kwnames
[] = {
16019 (char *) "self",(char *) "width",(char *) "height", NULL
16022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16025 arg2
= (int)SWIG_As_int(obj1
);
16026 if (PyErr_Occurred()) SWIG_fail
;
16027 arg3
= (int)SWIG_As_int(obj2
);
16028 if (PyErr_Occurred()) SWIG_fail
;
16030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16031 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
16033 wxPyEndAllowThreads(__tstate
);
16034 if (PyErr_Occurred()) SWIG_fail
;
16036 Py_INCREF(Py_None
); resultobj
= Py_None
;
16043 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16044 PyObject
*resultobj
;
16045 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16048 PyObject
* obj0
= 0 ;
16049 PyObject
* obj1
= 0 ;
16050 PyObject
* obj2
= 0 ;
16051 char *kwnames
[] = {
16052 (char *) "self",(char *) "x",(char *) "y", NULL
16055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16058 arg2
= (int)SWIG_As_int(obj1
);
16059 if (PyErr_Occurred()) SWIG_fail
;
16060 arg3
= (int)SWIG_As_int(obj2
);
16061 if (PyErr_Occurred()) SWIG_fail
;
16063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16064 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
16066 wxPyEndAllowThreads(__tstate
);
16067 if (PyErr_Occurred()) SWIG_fail
;
16069 Py_INCREF(Py_None
); resultobj
= Py_None
;
16076 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16077 PyObject
*resultobj
;
16078 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16079 int *arg2
= (int *) 0 ;
16080 int *arg3
= (int *) 0 ;
16085 PyObject
* obj0
= 0 ;
16086 char *kwnames
[] = {
16087 (char *) "self", NULL
16090 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16091 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
16093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16097 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
16099 wxPyEndAllowThreads(__tstate
);
16100 if (PyErr_Occurred()) SWIG_fail
;
16102 Py_INCREF(Py_None
); resultobj
= Py_None
;
16103 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16104 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16105 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16106 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16113 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16114 PyObject
*resultobj
;
16115 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16116 int *arg2
= (int *) 0 ;
16117 int *arg3
= (int *) 0 ;
16122 PyObject
* obj0
= 0 ;
16123 char *kwnames
[] = {
16124 (char *) "self", NULL
16127 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16128 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
16130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16134 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
16136 wxPyEndAllowThreads(__tstate
);
16137 if (PyErr_Occurred()) SWIG_fail
;
16139 Py_INCREF(Py_None
); resultobj
= Py_None
;
16140 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16141 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16142 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16143 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16150 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16151 PyObject
*resultobj
;
16152 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16153 int *arg2
= (int *) 0 ;
16154 int *arg3
= (int *) 0 ;
16159 PyObject
* obj0
= 0 ;
16160 char *kwnames
[] = {
16161 (char *) "self", NULL
16164 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16165 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
16167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16171 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
16173 wxPyEndAllowThreads(__tstate
);
16174 if (PyErr_Occurred()) SWIG_fail
;
16176 Py_INCREF(Py_None
); resultobj
= Py_None
;
16177 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16178 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16179 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16180 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16187 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16188 PyObject
*resultobj
;
16189 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16191 PyObject
* obj0
= 0 ;
16192 char *kwnames
[] = {
16193 (char *) "self", NULL
16196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
16197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16201 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
16203 wxPyEndAllowThreads(__tstate
);
16204 if (PyErr_Occurred()) SWIG_fail
;
16207 wxSize
* resultptr
;
16208 resultptr
= new wxSize((wxSize
&) result
);
16209 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16217 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16218 PyObject
*resultobj
;
16219 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16221 PyObject
* obj0
= 0 ;
16222 char *kwnames
[] = {
16223 (char *) "self", NULL
16226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
16227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16231 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
16233 wxPyEndAllowThreads(__tstate
);
16234 if (PyErr_Occurred()) SWIG_fail
;
16237 wxSize
* resultptr
;
16238 resultptr
= new wxSize((wxSize
&) result
);
16239 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16247 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16248 PyObject
*resultobj
;
16249 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16250 PyObject
* obj0
= 0 ;
16251 char *kwnames
[] = {
16252 (char *) "self", NULL
16255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
16256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16260 (arg1
)->base_InitDialog();
16262 wxPyEndAllowThreads(__tstate
);
16263 if (PyErr_Occurred()) SWIG_fail
;
16265 Py_INCREF(Py_None
); resultobj
= Py_None
;
16272 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16273 PyObject
*resultobj
;
16274 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16276 PyObject
* obj0
= 0 ;
16277 char *kwnames
[] = {
16278 (char *) "self", NULL
16281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
16282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16286 result
= (bool)(arg1
)->base_TransferDataToWindow();
16288 wxPyEndAllowThreads(__tstate
);
16289 if (PyErr_Occurred()) SWIG_fail
;
16292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16300 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16301 PyObject
*resultobj
;
16302 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16304 PyObject
* obj0
= 0 ;
16305 char *kwnames
[] = {
16306 (char *) "self", NULL
16309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
16310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16314 result
= (bool)(arg1
)->base_TransferDataFromWindow();
16316 wxPyEndAllowThreads(__tstate
);
16317 if (PyErr_Occurred()) SWIG_fail
;
16320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16328 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16329 PyObject
*resultobj
;
16330 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16332 PyObject
* obj0
= 0 ;
16333 char *kwnames
[] = {
16334 (char *) "self", NULL
16337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
16338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16342 result
= (bool)(arg1
)->base_Validate();
16344 wxPyEndAllowThreads(__tstate
);
16345 if (PyErr_Occurred()) SWIG_fail
;
16348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16356 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16357 PyObject
*resultobj
;
16358 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16360 PyObject
* obj0
= 0 ;
16361 char *kwnames
[] = {
16362 (char *) "self", NULL
16365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
16366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16370 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
16372 wxPyEndAllowThreads(__tstate
);
16373 if (PyErr_Occurred()) SWIG_fail
;
16376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16384 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16385 PyObject
*resultobj
;
16386 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16388 PyObject
* obj0
= 0 ;
16389 char *kwnames
[] = {
16390 (char *) "self", NULL
16393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
16394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16398 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
16400 wxPyEndAllowThreads(__tstate
);
16401 if (PyErr_Occurred()) SWIG_fail
;
16404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16412 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16413 PyObject
*resultobj
;
16414 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16416 PyObject
* obj0
= 0 ;
16417 char *kwnames
[] = {
16418 (char *) "self", NULL
16421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
16422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16426 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
16428 wxPyEndAllowThreads(__tstate
);
16429 if (PyErr_Occurred()) SWIG_fail
;
16432 wxSize
* resultptr
;
16433 resultptr
= new wxSize((wxSize
&) result
);
16434 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16442 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16443 PyObject
*resultobj
;
16444 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16445 wxWindow
*arg2
= (wxWindow
*) 0 ;
16446 PyObject
* obj0
= 0 ;
16447 PyObject
* obj1
= 0 ;
16448 char *kwnames
[] = {
16449 (char *) "self",(char *) "child", NULL
16452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16455 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16459 (arg1
)->base_AddChild(arg2
);
16461 wxPyEndAllowThreads(__tstate
);
16462 if (PyErr_Occurred()) SWIG_fail
;
16464 Py_INCREF(Py_None
); resultobj
= Py_None
;
16471 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16472 PyObject
*resultobj
;
16473 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16474 wxWindow
*arg2
= (wxWindow
*) 0 ;
16475 PyObject
* obj0
= 0 ;
16476 PyObject
* obj1
= 0 ;
16477 char *kwnames
[] = {
16478 (char *) "self",(char *) "child", NULL
16481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16484 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16488 (arg1
)->base_RemoveChild(arg2
);
16490 wxPyEndAllowThreads(__tstate
);
16491 if (PyErr_Occurred()) SWIG_fail
;
16493 Py_INCREF(Py_None
); resultobj
= Py_None
;
16500 static PyObject
*_wrap_PyWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16501 PyObject
*resultobj
;
16502 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16504 PyObject
* obj0
= 0 ;
16505 char *kwnames
[] = {
16506 (char *) "self", NULL
16509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
16510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16514 result
= (bool)((wxPyWindow
const *)arg1
)->base_ShouldInheritColours();
16516 wxPyEndAllowThreads(__tstate
);
16517 if (PyErr_Occurred()) SWIG_fail
;
16520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16528 static PyObject
*_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16529 PyObject
*resultobj
;
16530 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16531 wxColour
*arg2
= 0 ;
16533 PyObject
* obj0
= 0 ;
16534 PyObject
* obj1
= 0 ;
16535 char *kwnames
[] = {
16536 (char *) "self",(char *) "c", NULL
16539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
16540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16544 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16548 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
16550 wxPyEndAllowThreads(__tstate
);
16551 if (PyErr_Occurred()) SWIG_fail
;
16553 Py_INCREF(Py_None
); resultobj
= Py_None
;
16560 static PyObject
*_wrap_PyWindow_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16561 PyObject
*resultobj
;
16562 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16563 wxVisualAttributes result
;
16564 PyObject
* obj0
= 0 ;
16565 char *kwnames
[] = {
16566 (char *) "self", NULL
16569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16574 result
= (arg1
)->base_GetDefaultAttributes();
16576 wxPyEndAllowThreads(__tstate
);
16577 if (PyErr_Occurred()) SWIG_fail
;
16580 wxVisualAttributes
* resultptr
;
16581 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
16582 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16590 static PyObject
* PyWindow_swigregister(PyObject
*, PyObject
*args
) {
16592 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16593 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
16595 return Py_BuildValue((char *)"");
16597 static PyObject
*_wrap_new_PyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16598 PyObject
*resultobj
;
16599 wxWindow
*arg1
= (wxWindow
*) 0 ;
16600 int arg2
= (int) (int)-1 ;
16601 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16602 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16603 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16604 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16605 long arg5
= (long) 0 ;
16606 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
16607 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
16611 bool temp6
= False
;
16612 PyObject
* obj0
= 0 ;
16613 PyObject
* obj1
= 0 ;
16614 PyObject
* obj2
= 0 ;
16615 PyObject
* obj3
= 0 ;
16616 PyObject
* obj4
= 0 ;
16617 PyObject
* obj5
= 0 ;
16618 char *kwnames
[] = {
16619 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16626 arg2
= (int)SWIG_As_int(obj1
);
16627 if (PyErr_Occurred()) SWIG_fail
;
16632 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16638 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16642 arg5
= (long)SWIG_As_long(obj4
);
16643 if (PyErr_Occurred()) SWIG_fail
;
16647 arg6
= wxString_in_helper(obj5
);
16648 if (arg6
== NULL
) SWIG_fail
;
16653 if (!wxPyCheckForApp()) SWIG_fail
;
16654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16655 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
16657 wxPyEndAllowThreads(__tstate
);
16658 if (PyErr_Occurred()) SWIG_fail
;
16660 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
16675 static PyObject
*_wrap_new_PrePyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16676 PyObject
*resultobj
;
16678 char *kwnames
[] = {
16682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyPanel",kwnames
)) goto fail
;
16684 if (!wxPyCheckForApp()) SWIG_fail
;
16685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16686 result
= (wxPyPanel
*)new wxPyPanel();
16688 wxPyEndAllowThreads(__tstate
);
16689 if (PyErr_Occurred()) SWIG_fail
;
16691 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
16698 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16699 PyObject
*resultobj
;
16700 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16701 PyObject
*arg2
= (PyObject
*) 0 ;
16702 PyObject
*arg3
= (PyObject
*) 0 ;
16703 PyObject
* obj0
= 0 ;
16704 PyObject
* obj1
= 0 ;
16705 PyObject
* obj2
= 0 ;
16706 char *kwnames
[] = {
16707 (char *) "self",(char *) "self",(char *) "_class", NULL
16710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16717 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16719 wxPyEndAllowThreads(__tstate
);
16720 if (PyErr_Occurred()) SWIG_fail
;
16722 Py_INCREF(Py_None
); resultobj
= Py_None
;
16729 static PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16730 PyObject
*resultobj
;
16731 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16734 PyObject
* obj0
= 0 ;
16735 PyObject
* obj1
= 0 ;
16736 char *kwnames
[] = {
16737 (char *) "self",(char *) "size", NULL
16740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16745 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16749 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
16751 wxPyEndAllowThreads(__tstate
);
16752 if (PyErr_Occurred()) SWIG_fail
;
16754 Py_INCREF(Py_None
); resultobj
= Py_None
;
16761 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16762 PyObject
*resultobj
;
16763 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16768 PyObject
* obj0
= 0 ;
16769 PyObject
* obj1
= 0 ;
16770 PyObject
* obj2
= 0 ;
16771 PyObject
* obj3
= 0 ;
16772 PyObject
* obj4
= 0 ;
16773 char *kwnames
[] = {
16774 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16780 arg2
= (int)SWIG_As_int(obj1
);
16781 if (PyErr_Occurred()) SWIG_fail
;
16782 arg3
= (int)SWIG_As_int(obj2
);
16783 if (PyErr_Occurred()) SWIG_fail
;
16784 arg4
= (int)SWIG_As_int(obj3
);
16785 if (PyErr_Occurred()) SWIG_fail
;
16786 arg5
= (int)SWIG_As_int(obj4
);
16787 if (PyErr_Occurred()) SWIG_fail
;
16789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16790 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
16792 wxPyEndAllowThreads(__tstate
);
16793 if (PyErr_Occurred()) SWIG_fail
;
16795 Py_INCREF(Py_None
); resultobj
= Py_None
;
16802 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16803 PyObject
*resultobj
;
16804 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16809 int arg6
= (int) wxSIZE_AUTO
;
16810 PyObject
* obj0
= 0 ;
16811 PyObject
* obj1
= 0 ;
16812 PyObject
* obj2
= 0 ;
16813 PyObject
* obj3
= 0 ;
16814 PyObject
* obj4
= 0 ;
16815 PyObject
* obj5
= 0 ;
16816 char *kwnames
[] = {
16817 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16823 arg2
= (int)SWIG_As_int(obj1
);
16824 if (PyErr_Occurred()) SWIG_fail
;
16825 arg3
= (int)SWIG_As_int(obj2
);
16826 if (PyErr_Occurred()) SWIG_fail
;
16827 arg4
= (int)SWIG_As_int(obj3
);
16828 if (PyErr_Occurred()) SWIG_fail
;
16829 arg5
= (int)SWIG_As_int(obj4
);
16830 if (PyErr_Occurred()) SWIG_fail
;
16832 arg6
= (int)SWIG_As_int(obj5
);
16833 if (PyErr_Occurred()) SWIG_fail
;
16836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16837 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
16839 wxPyEndAllowThreads(__tstate
);
16840 if (PyErr_Occurred()) SWIG_fail
;
16842 Py_INCREF(Py_None
); resultobj
= Py_None
;
16849 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16850 PyObject
*resultobj
;
16851 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16854 PyObject
* obj0
= 0 ;
16855 PyObject
* obj1
= 0 ;
16856 PyObject
* obj2
= 0 ;
16857 char *kwnames
[] = {
16858 (char *) "self",(char *) "width",(char *) "height", NULL
16861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16864 arg2
= (int)SWIG_As_int(obj1
);
16865 if (PyErr_Occurred()) SWIG_fail
;
16866 arg3
= (int)SWIG_As_int(obj2
);
16867 if (PyErr_Occurred()) SWIG_fail
;
16869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16870 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
16872 wxPyEndAllowThreads(__tstate
);
16873 if (PyErr_Occurred()) SWIG_fail
;
16875 Py_INCREF(Py_None
); resultobj
= Py_None
;
16882 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16883 PyObject
*resultobj
;
16884 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16887 PyObject
* obj0
= 0 ;
16888 PyObject
* obj1
= 0 ;
16889 PyObject
* obj2
= 0 ;
16890 char *kwnames
[] = {
16891 (char *) "self",(char *) "x",(char *) "y", NULL
16894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16897 arg2
= (int)SWIG_As_int(obj1
);
16898 if (PyErr_Occurred()) SWIG_fail
;
16899 arg3
= (int)SWIG_As_int(obj2
);
16900 if (PyErr_Occurred()) SWIG_fail
;
16902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16903 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
16905 wxPyEndAllowThreads(__tstate
);
16906 if (PyErr_Occurred()) SWIG_fail
;
16908 Py_INCREF(Py_None
); resultobj
= Py_None
;
16915 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16916 PyObject
*resultobj
;
16917 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16918 int *arg2
= (int *) 0 ;
16919 int *arg3
= (int *) 0 ;
16924 PyObject
* obj0
= 0 ;
16925 char *kwnames
[] = {
16926 (char *) "self", NULL
16929 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16930 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
16932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16936 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
16938 wxPyEndAllowThreads(__tstate
);
16939 if (PyErr_Occurred()) SWIG_fail
;
16941 Py_INCREF(Py_None
); resultobj
= Py_None
;
16942 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16943 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16944 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16945 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16952 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16953 PyObject
*resultobj
;
16954 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16955 int *arg2
= (int *) 0 ;
16956 int *arg3
= (int *) 0 ;
16961 PyObject
* obj0
= 0 ;
16962 char *kwnames
[] = {
16963 (char *) "self", NULL
16966 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16967 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
16969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16973 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
16975 wxPyEndAllowThreads(__tstate
);
16976 if (PyErr_Occurred()) SWIG_fail
;
16978 Py_INCREF(Py_None
); resultobj
= Py_None
;
16979 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16980 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16981 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16982 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16989 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16990 PyObject
*resultobj
;
16991 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16992 int *arg2
= (int *) 0 ;
16993 int *arg3
= (int *) 0 ;
16998 PyObject
* obj0
= 0 ;
16999 char *kwnames
[] = {
17000 (char *) "self", NULL
17003 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17004 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
17006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17010 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
17012 wxPyEndAllowThreads(__tstate
);
17013 if (PyErr_Occurred()) SWIG_fail
;
17015 Py_INCREF(Py_None
); resultobj
= Py_None
;
17016 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17017 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17018 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17019 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17026 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17027 PyObject
*resultobj
;
17028 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17030 PyObject
* obj0
= 0 ;
17031 char *kwnames
[] = {
17032 (char *) "self", NULL
17035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
17036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17040 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
17042 wxPyEndAllowThreads(__tstate
);
17043 if (PyErr_Occurred()) SWIG_fail
;
17046 wxSize
* resultptr
;
17047 resultptr
= new wxSize((wxSize
&) result
);
17048 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17056 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17057 PyObject
*resultobj
;
17058 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17060 PyObject
* obj0
= 0 ;
17061 char *kwnames
[] = {
17062 (char *) "self", NULL
17065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
17066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17070 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
17072 wxPyEndAllowThreads(__tstate
);
17073 if (PyErr_Occurred()) SWIG_fail
;
17076 wxSize
* resultptr
;
17077 resultptr
= new wxSize((wxSize
&) result
);
17078 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17086 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17087 PyObject
*resultobj
;
17088 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17089 PyObject
* obj0
= 0 ;
17090 char *kwnames
[] = {
17091 (char *) "self", NULL
17094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
17095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17099 (arg1
)->base_InitDialog();
17101 wxPyEndAllowThreads(__tstate
);
17102 if (PyErr_Occurred()) SWIG_fail
;
17104 Py_INCREF(Py_None
); resultobj
= Py_None
;
17111 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17112 PyObject
*resultobj
;
17113 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17115 PyObject
* obj0
= 0 ;
17116 char *kwnames
[] = {
17117 (char *) "self", NULL
17120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
17121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17125 result
= (bool)(arg1
)->base_TransferDataToWindow();
17127 wxPyEndAllowThreads(__tstate
);
17128 if (PyErr_Occurred()) SWIG_fail
;
17131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17139 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17140 PyObject
*resultobj
;
17141 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17143 PyObject
* obj0
= 0 ;
17144 char *kwnames
[] = {
17145 (char *) "self", NULL
17148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
17149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17153 result
= (bool)(arg1
)->base_TransferDataFromWindow();
17155 wxPyEndAllowThreads(__tstate
);
17156 if (PyErr_Occurred()) SWIG_fail
;
17159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17167 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17168 PyObject
*resultobj
;
17169 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17171 PyObject
* obj0
= 0 ;
17172 char *kwnames
[] = {
17173 (char *) "self", NULL
17176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
17177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17181 result
= (bool)(arg1
)->base_Validate();
17183 wxPyEndAllowThreads(__tstate
);
17184 if (PyErr_Occurred()) SWIG_fail
;
17187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17195 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17196 PyObject
*resultobj
;
17197 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17199 PyObject
* obj0
= 0 ;
17200 char *kwnames
[] = {
17201 (char *) "self", NULL
17204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
17205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17209 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
17211 wxPyEndAllowThreads(__tstate
);
17212 if (PyErr_Occurred()) SWIG_fail
;
17215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17223 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17224 PyObject
*resultobj
;
17225 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17227 PyObject
* obj0
= 0 ;
17228 char *kwnames
[] = {
17229 (char *) "self", NULL
17232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
17233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17237 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
17239 wxPyEndAllowThreads(__tstate
);
17240 if (PyErr_Occurred()) SWIG_fail
;
17243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17251 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17252 PyObject
*resultobj
;
17253 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17255 PyObject
* obj0
= 0 ;
17256 char *kwnames
[] = {
17257 (char *) "self", NULL
17260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
17261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17265 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
17267 wxPyEndAllowThreads(__tstate
);
17268 if (PyErr_Occurred()) SWIG_fail
;
17271 wxSize
* resultptr
;
17272 resultptr
= new wxSize((wxSize
&) result
);
17273 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17281 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17282 PyObject
*resultobj
;
17283 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17284 wxWindow
*arg2
= (wxWindow
*) 0 ;
17285 PyObject
* obj0
= 0 ;
17286 PyObject
* obj1
= 0 ;
17287 char *kwnames
[] = {
17288 (char *) "self",(char *) "child", NULL
17291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17294 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17298 (arg1
)->base_AddChild(arg2
);
17300 wxPyEndAllowThreads(__tstate
);
17301 if (PyErr_Occurred()) SWIG_fail
;
17303 Py_INCREF(Py_None
); resultobj
= Py_None
;
17310 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17311 PyObject
*resultobj
;
17312 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17313 wxWindow
*arg2
= (wxWindow
*) 0 ;
17314 PyObject
* obj0
= 0 ;
17315 PyObject
* obj1
= 0 ;
17316 char *kwnames
[] = {
17317 (char *) "self",(char *) "child", NULL
17320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17323 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17327 (arg1
)->base_RemoveChild(arg2
);
17329 wxPyEndAllowThreads(__tstate
);
17330 if (PyErr_Occurred()) SWIG_fail
;
17332 Py_INCREF(Py_None
); resultobj
= Py_None
;
17339 static PyObject
*_wrap_PyPanel_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17340 PyObject
*resultobj
;
17341 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17343 PyObject
* obj0
= 0 ;
17344 char *kwnames
[] = {
17345 (char *) "self", NULL
17348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
17349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17353 result
= (bool)((wxPyPanel
const *)arg1
)->base_ShouldInheritColours();
17355 wxPyEndAllowThreads(__tstate
);
17356 if (PyErr_Occurred()) SWIG_fail
;
17359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17367 static PyObject
*_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17368 PyObject
*resultobj
;
17369 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17370 wxColour
*arg2
= 0 ;
17372 PyObject
* obj0
= 0 ;
17373 PyObject
* obj1
= 0 ;
17374 char *kwnames
[] = {
17375 (char *) "self",(char *) "c", NULL
17378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
17379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17383 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17387 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
17389 wxPyEndAllowThreads(__tstate
);
17390 if (PyErr_Occurred()) SWIG_fail
;
17392 Py_INCREF(Py_None
); resultobj
= Py_None
;
17399 static PyObject
*_wrap_PyPanel_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17400 PyObject
*resultobj
;
17401 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17402 wxVisualAttributes result
;
17403 PyObject
* obj0
= 0 ;
17404 char *kwnames
[] = {
17405 (char *) "self", NULL
17408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17413 result
= (arg1
)->base_GetDefaultAttributes();
17415 wxPyEndAllowThreads(__tstate
);
17416 if (PyErr_Occurred()) SWIG_fail
;
17419 wxVisualAttributes
* resultptr
;
17420 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
17421 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17429 static PyObject
* PyPanel_swigregister(PyObject
*, PyObject
*args
) {
17431 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17432 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
17434 return Py_BuildValue((char *)"");
17436 static PyObject
*_wrap_new_PyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17437 PyObject
*resultobj
;
17438 wxWindow
*arg1
= (wxWindow
*) 0 ;
17439 int arg2
= (int) (int)-1 ;
17440 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17441 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17442 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17443 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17444 long arg5
= (long) 0 ;
17445 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
17446 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17447 wxPyScrolledWindow
*result
;
17450 bool temp6
= False
;
17451 PyObject
* obj0
= 0 ;
17452 PyObject
* obj1
= 0 ;
17453 PyObject
* obj2
= 0 ;
17454 PyObject
* obj3
= 0 ;
17455 PyObject
* obj4
= 0 ;
17456 PyObject
* obj5
= 0 ;
17457 char *kwnames
[] = {
17458 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17465 arg2
= (int)SWIG_As_int(obj1
);
17466 if (PyErr_Occurred()) SWIG_fail
;
17471 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17477 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17481 arg5
= (long)SWIG_As_long(obj4
);
17482 if (PyErr_Occurred()) SWIG_fail
;
17486 arg6
= wxString_in_helper(obj5
);
17487 if (arg6
== NULL
) SWIG_fail
;
17492 if (!wxPyCheckForApp()) SWIG_fail
;
17493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17494 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17496 wxPyEndAllowThreads(__tstate
);
17497 if (PyErr_Occurred()) SWIG_fail
;
17499 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
17514 static PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17515 PyObject
*resultobj
;
17516 wxPyScrolledWindow
*result
;
17517 char *kwnames
[] = {
17521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyScrolledWindow",kwnames
)) goto fail
;
17523 if (!wxPyCheckForApp()) SWIG_fail
;
17524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17525 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
17527 wxPyEndAllowThreads(__tstate
);
17528 if (PyErr_Occurred()) SWIG_fail
;
17530 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
17537 static PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17538 PyObject
*resultobj
;
17539 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17540 PyObject
*arg2
= (PyObject
*) 0 ;
17541 PyObject
*arg3
= (PyObject
*) 0 ;
17542 PyObject
* obj0
= 0 ;
17543 PyObject
* obj1
= 0 ;
17544 PyObject
* obj2
= 0 ;
17545 char *kwnames
[] = {
17546 (char *) "self",(char *) "self",(char *) "_class", NULL
17549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17556 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17558 wxPyEndAllowThreads(__tstate
);
17559 if (PyErr_Occurred()) SWIG_fail
;
17561 Py_INCREF(Py_None
); resultobj
= Py_None
;
17568 static PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17569 PyObject
*resultobj
;
17570 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17573 PyObject
* obj0
= 0 ;
17574 PyObject
* obj1
= 0 ;
17575 char *kwnames
[] = {
17576 (char *) "self",(char *) "size", NULL
17579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17584 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17588 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
17590 wxPyEndAllowThreads(__tstate
);
17591 if (PyErr_Occurred()) SWIG_fail
;
17593 Py_INCREF(Py_None
); resultobj
= Py_None
;
17600 static PyObject
*_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17601 PyObject
*resultobj
;
17602 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17607 PyObject
* obj0
= 0 ;
17608 PyObject
* obj1
= 0 ;
17609 PyObject
* obj2
= 0 ;
17610 PyObject
* obj3
= 0 ;
17611 PyObject
* obj4
= 0 ;
17612 char *kwnames
[] = {
17613 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17619 arg2
= (int)SWIG_As_int(obj1
);
17620 if (PyErr_Occurred()) SWIG_fail
;
17621 arg3
= (int)SWIG_As_int(obj2
);
17622 if (PyErr_Occurred()) SWIG_fail
;
17623 arg4
= (int)SWIG_As_int(obj3
);
17624 if (PyErr_Occurred()) SWIG_fail
;
17625 arg5
= (int)SWIG_As_int(obj4
);
17626 if (PyErr_Occurred()) SWIG_fail
;
17628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17629 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
17631 wxPyEndAllowThreads(__tstate
);
17632 if (PyErr_Occurred()) SWIG_fail
;
17634 Py_INCREF(Py_None
); resultobj
= Py_None
;
17641 static PyObject
*_wrap_PyScrolledWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17642 PyObject
*resultobj
;
17643 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17648 int arg6
= (int) wxSIZE_AUTO
;
17649 PyObject
* obj0
= 0 ;
17650 PyObject
* obj1
= 0 ;
17651 PyObject
* obj2
= 0 ;
17652 PyObject
* obj3
= 0 ;
17653 PyObject
* obj4
= 0 ;
17654 PyObject
* obj5
= 0 ;
17655 char *kwnames
[] = {
17656 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17662 arg2
= (int)SWIG_As_int(obj1
);
17663 if (PyErr_Occurred()) SWIG_fail
;
17664 arg3
= (int)SWIG_As_int(obj2
);
17665 if (PyErr_Occurred()) SWIG_fail
;
17666 arg4
= (int)SWIG_As_int(obj3
);
17667 if (PyErr_Occurred()) SWIG_fail
;
17668 arg5
= (int)SWIG_As_int(obj4
);
17669 if (PyErr_Occurred()) SWIG_fail
;
17671 arg6
= (int)SWIG_As_int(obj5
);
17672 if (PyErr_Occurred()) SWIG_fail
;
17675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17676 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
17678 wxPyEndAllowThreads(__tstate
);
17679 if (PyErr_Occurred()) SWIG_fail
;
17681 Py_INCREF(Py_None
); resultobj
= Py_None
;
17688 static PyObject
*_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17689 PyObject
*resultobj
;
17690 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17693 PyObject
* obj0
= 0 ;
17694 PyObject
* obj1
= 0 ;
17695 PyObject
* obj2
= 0 ;
17696 char *kwnames
[] = {
17697 (char *) "self",(char *) "width",(char *) "height", NULL
17700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17703 arg2
= (int)SWIG_As_int(obj1
);
17704 if (PyErr_Occurred()) SWIG_fail
;
17705 arg3
= (int)SWIG_As_int(obj2
);
17706 if (PyErr_Occurred()) SWIG_fail
;
17708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17709 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
17711 wxPyEndAllowThreads(__tstate
);
17712 if (PyErr_Occurred()) SWIG_fail
;
17714 Py_INCREF(Py_None
); resultobj
= Py_None
;
17721 static PyObject
*_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17722 PyObject
*resultobj
;
17723 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17726 PyObject
* obj0
= 0 ;
17727 PyObject
* obj1
= 0 ;
17728 PyObject
* obj2
= 0 ;
17729 char *kwnames
[] = {
17730 (char *) "self",(char *) "x",(char *) "y", NULL
17733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17736 arg2
= (int)SWIG_As_int(obj1
);
17737 if (PyErr_Occurred()) SWIG_fail
;
17738 arg3
= (int)SWIG_As_int(obj2
);
17739 if (PyErr_Occurred()) SWIG_fail
;
17741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17742 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
17744 wxPyEndAllowThreads(__tstate
);
17745 if (PyErr_Occurred()) SWIG_fail
;
17747 Py_INCREF(Py_None
); resultobj
= Py_None
;
17754 static PyObject
*_wrap_PyScrolledWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17755 PyObject
*resultobj
;
17756 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17757 int *arg2
= (int *) 0 ;
17758 int *arg3
= (int *) 0 ;
17763 PyObject
* obj0
= 0 ;
17764 char *kwnames
[] = {
17765 (char *) "self", NULL
17768 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17769 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
17771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17775 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
17777 wxPyEndAllowThreads(__tstate
);
17778 if (PyErr_Occurred()) SWIG_fail
;
17780 Py_INCREF(Py_None
); resultobj
= Py_None
;
17781 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17782 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17783 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17784 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17791 static PyObject
*_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17792 PyObject
*resultobj
;
17793 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17794 int *arg2
= (int *) 0 ;
17795 int *arg3
= (int *) 0 ;
17800 PyObject
* obj0
= 0 ;
17801 char *kwnames
[] = {
17802 (char *) "self", NULL
17805 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17806 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
17808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17812 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
17814 wxPyEndAllowThreads(__tstate
);
17815 if (PyErr_Occurred()) SWIG_fail
;
17817 Py_INCREF(Py_None
); resultobj
= Py_None
;
17818 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17819 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17820 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17821 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17828 static PyObject
*_wrap_PyScrolledWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17829 PyObject
*resultobj
;
17830 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17831 int *arg2
= (int *) 0 ;
17832 int *arg3
= (int *) 0 ;
17837 PyObject
* obj0
= 0 ;
17838 char *kwnames
[] = {
17839 (char *) "self", NULL
17842 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17843 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
17845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17849 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
17851 wxPyEndAllowThreads(__tstate
);
17852 if (PyErr_Occurred()) SWIG_fail
;
17854 Py_INCREF(Py_None
); resultobj
= Py_None
;
17855 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17856 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17857 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17858 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17865 static PyObject
*_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17866 PyObject
*resultobj
;
17867 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17869 PyObject
* obj0
= 0 ;
17870 char *kwnames
[] = {
17871 (char *) "self", NULL
17874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
17875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17879 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetVirtualSize();
17881 wxPyEndAllowThreads(__tstate
);
17882 if (PyErr_Occurred()) SWIG_fail
;
17885 wxSize
* resultptr
;
17886 resultptr
= new wxSize((wxSize
&) result
);
17887 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17895 static PyObject
*_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17896 PyObject
*resultobj
;
17897 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17899 PyObject
* obj0
= 0 ;
17900 char *kwnames
[] = {
17901 (char *) "self", NULL
17904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
17905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17909 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetBestSize();
17911 wxPyEndAllowThreads(__tstate
);
17912 if (PyErr_Occurred()) SWIG_fail
;
17915 wxSize
* resultptr
;
17916 resultptr
= new wxSize((wxSize
&) result
);
17917 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17925 static PyObject
*_wrap_PyScrolledWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17926 PyObject
*resultobj
;
17927 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17928 PyObject
* obj0
= 0 ;
17929 char *kwnames
[] = {
17930 (char *) "self", NULL
17933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
17934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17938 (arg1
)->base_InitDialog();
17940 wxPyEndAllowThreads(__tstate
);
17941 if (PyErr_Occurred()) SWIG_fail
;
17943 Py_INCREF(Py_None
); resultobj
= Py_None
;
17950 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17951 PyObject
*resultobj
;
17952 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17954 PyObject
* obj0
= 0 ;
17955 char *kwnames
[] = {
17956 (char *) "self", NULL
17959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
17960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17964 result
= (bool)(arg1
)->base_TransferDataToWindow();
17966 wxPyEndAllowThreads(__tstate
);
17967 if (PyErr_Occurred()) SWIG_fail
;
17970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17978 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17979 PyObject
*resultobj
;
17980 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17982 PyObject
* obj0
= 0 ;
17983 char *kwnames
[] = {
17984 (char *) "self", NULL
17987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
17988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17992 result
= (bool)(arg1
)->base_TransferDataFromWindow();
17994 wxPyEndAllowThreads(__tstate
);
17995 if (PyErr_Occurred()) SWIG_fail
;
17998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18006 static PyObject
*_wrap_PyScrolledWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18007 PyObject
*resultobj
;
18008 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18010 PyObject
* obj0
= 0 ;
18011 char *kwnames
[] = {
18012 (char *) "self", NULL
18015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
18016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18020 result
= (bool)(arg1
)->base_Validate();
18022 wxPyEndAllowThreads(__tstate
);
18023 if (PyErr_Occurred()) SWIG_fail
;
18026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18034 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18035 PyObject
*resultobj
;
18036 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18038 PyObject
* obj0
= 0 ;
18039 char *kwnames
[] = {
18040 (char *) "self", NULL
18043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
18044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18048 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocus();
18050 wxPyEndAllowThreads(__tstate
);
18051 if (PyErr_Occurred()) SWIG_fail
;
18054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18062 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18063 PyObject
*resultobj
;
18064 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18066 PyObject
* obj0
= 0 ;
18067 char *kwnames
[] = {
18068 (char *) "self", NULL
18071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
18072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18076 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
18078 wxPyEndAllowThreads(__tstate
);
18079 if (PyErr_Occurred()) SWIG_fail
;
18082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18090 static PyObject
*_wrap_PyScrolledWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18091 PyObject
*resultobj
;
18092 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18094 PyObject
* obj0
= 0 ;
18095 char *kwnames
[] = {
18096 (char *) "self", NULL
18099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
18100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18104 result
= ((wxPyScrolledWindow
const *)arg1
)->base_GetMaxSize();
18106 wxPyEndAllowThreads(__tstate
);
18107 if (PyErr_Occurred()) SWIG_fail
;
18110 wxSize
* resultptr
;
18111 resultptr
= new wxSize((wxSize
&) result
);
18112 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18120 static PyObject
*_wrap_PyScrolledWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18121 PyObject
*resultobj
;
18122 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18123 wxWindow
*arg2
= (wxWindow
*) 0 ;
18124 PyObject
* obj0
= 0 ;
18125 PyObject
* obj1
= 0 ;
18126 char *kwnames
[] = {
18127 (char *) "self",(char *) "child", NULL
18130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
18131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18133 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18137 (arg1
)->base_AddChild(arg2
);
18139 wxPyEndAllowThreads(__tstate
);
18140 if (PyErr_Occurred()) SWIG_fail
;
18142 Py_INCREF(Py_None
); resultobj
= Py_None
;
18149 static PyObject
*_wrap_PyScrolledWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18150 PyObject
*resultobj
;
18151 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18152 wxWindow
*arg2
= (wxWindow
*) 0 ;
18153 PyObject
* obj0
= 0 ;
18154 PyObject
* obj1
= 0 ;
18155 char *kwnames
[] = {
18156 (char *) "self",(char *) "child", NULL
18159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
18160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18162 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18166 (arg1
)->base_RemoveChild(arg2
);
18168 wxPyEndAllowThreads(__tstate
);
18169 if (PyErr_Occurred()) SWIG_fail
;
18171 Py_INCREF(Py_None
); resultobj
= Py_None
;
18178 static PyObject
*_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18179 PyObject
*resultobj
;
18180 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18182 PyObject
* obj0
= 0 ;
18183 char *kwnames
[] = {
18184 (char *) "self", NULL
18187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
18188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18192 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_ShouldInheritColours();
18194 wxPyEndAllowThreads(__tstate
);
18195 if (PyErr_Occurred()) SWIG_fail
;
18198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18206 static PyObject
*_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18207 PyObject
*resultobj
;
18208 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18209 wxColour
*arg2
= 0 ;
18211 PyObject
* obj0
= 0 ;
18212 PyObject
* obj1
= 0 ;
18213 char *kwnames
[] = {
18214 (char *) "self",(char *) "c", NULL
18217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
18218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18222 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18226 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
18228 wxPyEndAllowThreads(__tstate
);
18229 if (PyErr_Occurred()) SWIG_fail
;
18231 Py_INCREF(Py_None
); resultobj
= Py_None
;
18238 static PyObject
*_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18239 PyObject
*resultobj
;
18240 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18241 wxVisualAttributes result
;
18242 PyObject
* obj0
= 0 ;
18243 char *kwnames
[] = {
18244 (char *) "self", NULL
18247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
18248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18252 result
= (arg1
)->base_GetDefaultAttributes();
18254 wxPyEndAllowThreads(__tstate
);
18255 if (PyErr_Occurred()) SWIG_fail
;
18258 wxVisualAttributes
* resultptr
;
18259 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
18260 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
18268 static PyObject
* PyScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
18270 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18271 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow
, obj
);
18273 return Py_BuildValue((char *)"");
18275 static int _wrap_PrintoutTitleStr_set(PyObject
*) {
18276 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
18281 static PyObject
*_wrap_PrintoutTitleStr_get() {
18286 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
18288 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
18295 static int _wrap_PreviewCanvasNameStr_set(PyObject
*) {
18296 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
18301 static PyObject
*_wrap_PreviewCanvasNameStr_get() {
18306 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
18308 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
18315 static PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*, PyObject
*args
) {
18316 PyObject
*resultobj
;
18317 wxPrintData
*result
;
18319 if(!PyArg_ParseTuple(args
,(char *)":new_PrintData")) goto fail
;
18321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18322 result
= (wxPrintData
*)new wxPrintData();
18324 wxPyEndAllowThreads(__tstate
);
18325 if (PyErr_Occurred()) SWIG_fail
;
18327 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
18334 static PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*, PyObject
*args
) {
18335 PyObject
*resultobj
;
18336 wxPrintData
*arg1
= 0 ;
18337 wxPrintData
*result
;
18338 PyObject
* obj0
= 0 ;
18340 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintData",&obj0
)) goto fail
;
18341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18342 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18344 if (arg1
== NULL
) {
18345 PyErr_SetString(PyExc_TypeError
,"null reference");
18349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18350 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
18352 wxPyEndAllowThreads(__tstate
);
18353 if (PyErr_Occurred()) SWIG_fail
;
18355 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
18362 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
18367 argc
= PyObject_Length(args
);
18368 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
18369 argv
[ii
] = PyTuple_GetItem(args
,ii
);
18372 return _wrap_new_PrintData__SWIG_0(self
,args
);
18378 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
18386 return _wrap_new_PrintData__SWIG_1(self
,args
);
18390 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintData'");
18395 static PyObject
*_wrap_delete_PrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18396 PyObject
*resultobj
;
18397 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18398 PyObject
* obj0
= 0 ;
18399 char *kwnames
[] = {
18400 (char *) "self", NULL
18403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
18404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18410 wxPyEndAllowThreads(__tstate
);
18411 if (PyErr_Occurred()) SWIG_fail
;
18413 Py_INCREF(Py_None
); resultobj
= Py_None
;
18420 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18421 PyObject
*resultobj
;
18422 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18424 PyObject
* obj0
= 0 ;
18425 char *kwnames
[] = {
18426 (char *) "self", NULL
18429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
18430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18434 result
= (int)(arg1
)->GetNoCopies();
18436 wxPyEndAllowThreads(__tstate
);
18437 if (PyErr_Occurred()) SWIG_fail
;
18439 resultobj
= SWIG_From_int((int)result
);
18446 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18447 PyObject
*resultobj
;
18448 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18450 PyObject
* obj0
= 0 ;
18451 char *kwnames
[] = {
18452 (char *) "self", NULL
18455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
18456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18460 result
= (bool)(arg1
)->GetCollate();
18462 wxPyEndAllowThreads(__tstate
);
18463 if (PyErr_Occurred()) SWIG_fail
;
18466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18474 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18475 PyObject
*resultobj
;
18476 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18478 PyObject
* obj0
= 0 ;
18479 char *kwnames
[] = {
18480 (char *) "self", NULL
18483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
18484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18488 result
= (int)(arg1
)->GetOrientation();
18490 wxPyEndAllowThreads(__tstate
);
18491 if (PyErr_Occurred()) SWIG_fail
;
18493 resultobj
= SWIG_From_int((int)result
);
18500 static PyObject
*_wrap_PrintData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18501 PyObject
*resultobj
;
18502 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18504 PyObject
* obj0
= 0 ;
18505 char *kwnames
[] = {
18506 (char *) "self", NULL
18509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
18510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18514 result
= (bool)(arg1
)->Ok();
18516 wxPyEndAllowThreads(__tstate
);
18517 if (PyErr_Occurred()) SWIG_fail
;
18520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18528 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18529 PyObject
*resultobj
;
18530 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18532 PyObject
* obj0
= 0 ;
18533 char *kwnames
[] = {
18534 (char *) "self", NULL
18537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
18538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18543 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
18544 result
= (wxString
*) &_result_ref
;
18547 wxPyEndAllowThreads(__tstate
);
18548 if (PyErr_Occurred()) SWIG_fail
;
18552 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18554 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18563 static PyObject
*_wrap_PrintData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18564 PyObject
*resultobj
;
18565 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18567 PyObject
* obj0
= 0 ;
18568 char *kwnames
[] = {
18569 (char *) "self", NULL
18572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
18573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18577 result
= (bool)(arg1
)->GetColour();
18579 wxPyEndAllowThreads(__tstate
);
18580 if (PyErr_Occurred()) SWIG_fail
;
18583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18591 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18592 PyObject
*resultobj
;
18593 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18595 PyObject
* obj0
= 0 ;
18596 char *kwnames
[] = {
18597 (char *) "self", NULL
18600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
18601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18605 result
= (int)(arg1
)->GetDuplex();
18607 wxPyEndAllowThreads(__tstate
);
18608 if (PyErr_Occurred()) SWIG_fail
;
18610 resultobj
= SWIG_From_int((int)result
);
18617 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18618 PyObject
*resultobj
;
18619 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18621 PyObject
* obj0
= 0 ;
18622 char *kwnames
[] = {
18623 (char *) "self", NULL
18626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
18627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18631 result
= (int)(arg1
)->GetPaperId();
18633 wxPyEndAllowThreads(__tstate
);
18634 if (PyErr_Occurred()) SWIG_fail
;
18636 resultobj
= SWIG_From_int((int)result
);
18643 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18644 PyObject
*resultobj
;
18645 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18647 PyObject
* obj0
= 0 ;
18648 char *kwnames
[] = {
18649 (char *) "self", NULL
18652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
18653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18658 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
18659 result
= (wxSize
*) &_result_ref
;
18662 wxPyEndAllowThreads(__tstate
);
18663 if (PyErr_Occurred()) SWIG_fail
;
18665 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
18672 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18673 PyObject
*resultobj
;
18674 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18676 PyObject
* obj0
= 0 ;
18677 char *kwnames
[] = {
18678 (char *) "self", NULL
18681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
18682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18686 result
= (int)(arg1
)->GetQuality();
18688 wxPyEndAllowThreads(__tstate
);
18689 if (PyErr_Occurred()) SWIG_fail
;
18691 resultobj
= SWIG_From_int((int)result
);
18698 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18699 PyObject
*resultobj
;
18700 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18702 PyObject
* obj0
= 0 ;
18703 PyObject
* obj1
= 0 ;
18704 char *kwnames
[] = {
18705 (char *) "self",(char *) "v", NULL
18708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
18709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18711 arg2
= (int)SWIG_As_int(obj1
);
18712 if (PyErr_Occurred()) SWIG_fail
;
18714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18715 (arg1
)->SetNoCopies(arg2
);
18717 wxPyEndAllowThreads(__tstate
);
18718 if (PyErr_Occurred()) SWIG_fail
;
18720 Py_INCREF(Py_None
); resultobj
= Py_None
;
18727 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18728 PyObject
*resultobj
;
18729 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18731 PyObject
* obj0
= 0 ;
18732 PyObject
* obj1
= 0 ;
18733 char *kwnames
[] = {
18734 (char *) "self",(char *) "flag", NULL
18737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
18738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18740 arg2
= (bool)SWIG_As_bool(obj1
);
18741 if (PyErr_Occurred()) SWIG_fail
;
18743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18744 (arg1
)->SetCollate(arg2
);
18746 wxPyEndAllowThreads(__tstate
);
18747 if (PyErr_Occurred()) SWIG_fail
;
18749 Py_INCREF(Py_None
); resultobj
= Py_None
;
18756 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18757 PyObject
*resultobj
;
18758 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18760 PyObject
* obj0
= 0 ;
18761 PyObject
* obj1
= 0 ;
18762 char *kwnames
[] = {
18763 (char *) "self",(char *) "orient", NULL
18766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
18767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18769 arg2
= (int)SWIG_As_int(obj1
);
18770 if (PyErr_Occurred()) SWIG_fail
;
18772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18773 (arg1
)->SetOrientation(arg2
);
18775 wxPyEndAllowThreads(__tstate
);
18776 if (PyErr_Occurred()) SWIG_fail
;
18778 Py_INCREF(Py_None
); resultobj
= Py_None
;
18785 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18786 PyObject
*resultobj
;
18787 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18788 wxString
*arg2
= 0 ;
18789 bool temp2
= False
;
18790 PyObject
* obj0
= 0 ;
18791 PyObject
* obj1
= 0 ;
18792 char *kwnames
[] = {
18793 (char *) "self",(char *) "name", NULL
18796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
18797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18800 arg2
= wxString_in_helper(obj1
);
18801 if (arg2
== NULL
) SWIG_fail
;
18805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18806 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
18808 wxPyEndAllowThreads(__tstate
);
18809 if (PyErr_Occurred()) SWIG_fail
;
18811 Py_INCREF(Py_None
); resultobj
= Py_None
;
18826 static PyObject
*_wrap_PrintData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18827 PyObject
*resultobj
;
18828 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18830 PyObject
* obj0
= 0 ;
18831 PyObject
* obj1
= 0 ;
18832 char *kwnames
[] = {
18833 (char *) "self",(char *) "colour", NULL
18836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18839 arg2
= (bool)SWIG_As_bool(obj1
);
18840 if (PyErr_Occurred()) SWIG_fail
;
18842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18843 (arg1
)->SetColour(arg2
);
18845 wxPyEndAllowThreads(__tstate
);
18846 if (PyErr_Occurred()) SWIG_fail
;
18848 Py_INCREF(Py_None
); resultobj
= Py_None
;
18855 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18856 PyObject
*resultobj
;
18857 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18859 PyObject
* obj0
= 0 ;
18860 PyObject
* obj1
= 0 ;
18861 char *kwnames
[] = {
18862 (char *) "self",(char *) "duplex", NULL
18865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
18866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18868 arg2
= (int)SWIG_As_int(obj1
);
18869 if (PyErr_Occurred()) SWIG_fail
;
18871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18872 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
18874 wxPyEndAllowThreads(__tstate
);
18875 if (PyErr_Occurred()) SWIG_fail
;
18877 Py_INCREF(Py_None
); resultobj
= Py_None
;
18884 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18885 PyObject
*resultobj
;
18886 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18888 PyObject
* obj0
= 0 ;
18889 PyObject
* obj1
= 0 ;
18890 char *kwnames
[] = {
18891 (char *) "self",(char *) "sizeId", NULL
18894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
18895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18897 arg2
= (int)SWIG_As_int(obj1
);
18898 if (PyErr_Occurred()) SWIG_fail
;
18900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18901 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
18903 wxPyEndAllowThreads(__tstate
);
18904 if (PyErr_Occurred()) SWIG_fail
;
18906 Py_INCREF(Py_None
); resultobj
= Py_None
;
18913 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18914 PyObject
*resultobj
;
18915 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18918 PyObject
* obj0
= 0 ;
18919 PyObject
* obj1
= 0 ;
18920 char *kwnames
[] = {
18921 (char *) "self",(char *) "sz", NULL
18924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18929 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18933 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
18935 wxPyEndAllowThreads(__tstate
);
18936 if (PyErr_Occurred()) SWIG_fail
;
18938 Py_INCREF(Py_None
); resultobj
= Py_None
;
18945 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18946 PyObject
*resultobj
;
18947 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18949 PyObject
* obj0
= 0 ;
18950 PyObject
* obj1
= 0 ;
18951 char *kwnames
[] = {
18952 (char *) "self",(char *) "quality", NULL
18955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
18956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18958 arg2
= (int)SWIG_As_int(obj1
);
18959 if (PyErr_Occurred()) SWIG_fail
;
18961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18962 (arg1
)->SetQuality(arg2
);
18964 wxPyEndAllowThreads(__tstate
);
18965 if (PyErr_Occurred()) SWIG_fail
;
18967 Py_INCREF(Py_None
); resultobj
= Py_None
;
18974 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18975 PyObject
*resultobj
;
18976 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18978 PyObject
* obj0
= 0 ;
18979 char *kwnames
[] = {
18980 (char *) "self", NULL
18983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
18984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18989 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
18990 result
= (wxString
*) &_result_ref
;
18993 wxPyEndAllowThreads(__tstate
);
18994 if (PyErr_Occurred()) SWIG_fail
;
18998 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19000 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19009 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19010 PyObject
*resultobj
;
19011 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19013 PyObject
* obj0
= 0 ;
19014 char *kwnames
[] = {
19015 (char *) "self", NULL
19018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
19019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19024 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
19025 result
= (wxString
*) &_result_ref
;
19028 wxPyEndAllowThreads(__tstate
);
19029 if (PyErr_Occurred()) SWIG_fail
;
19033 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19035 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19044 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19045 PyObject
*resultobj
;
19046 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19048 PyObject
* obj0
= 0 ;
19049 char *kwnames
[] = {
19050 (char *) "self", NULL
19053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
19054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19059 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
19060 result
= (wxString
*) &_result_ref
;
19063 wxPyEndAllowThreads(__tstate
);
19064 if (PyErr_Occurred()) SWIG_fail
;
19068 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19070 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19079 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19080 PyObject
*resultobj
;
19081 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19083 PyObject
* obj0
= 0 ;
19084 char *kwnames
[] = {
19085 (char *) "self", NULL
19088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
19089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19094 wxString
const &_result_ref
= (arg1
)->GetFilename();
19095 result
= (wxString
*) &_result_ref
;
19098 wxPyEndAllowThreads(__tstate
);
19099 if (PyErr_Occurred()) SWIG_fail
;
19103 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19105 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19114 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19115 PyObject
*resultobj
;
19116 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19118 PyObject
* obj0
= 0 ;
19119 char *kwnames
[] = {
19120 (char *) "self", NULL
19123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
19124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19129 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
19130 result
= (wxString
*) &_result_ref
;
19133 wxPyEndAllowThreads(__tstate
);
19134 if (PyErr_Occurred()) SWIG_fail
;
19138 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19140 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19149 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19150 PyObject
*resultobj
;
19151 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19153 PyObject
* obj0
= 0 ;
19154 char *kwnames
[] = {
19155 (char *) "self", NULL
19158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
19159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19163 result
= (double)(arg1
)->GetPrinterScaleX();
19165 wxPyEndAllowThreads(__tstate
);
19166 if (PyErr_Occurred()) SWIG_fail
;
19168 resultobj
= SWIG_From_double((double)result
);
19175 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19176 PyObject
*resultobj
;
19177 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19179 PyObject
* obj0
= 0 ;
19180 char *kwnames
[] = {
19181 (char *) "self", NULL
19184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
19185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19189 result
= (double)(arg1
)->GetPrinterScaleY();
19191 wxPyEndAllowThreads(__tstate
);
19192 if (PyErr_Occurred()) SWIG_fail
;
19194 resultobj
= SWIG_From_double((double)result
);
19201 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19202 PyObject
*resultobj
;
19203 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19205 PyObject
* obj0
= 0 ;
19206 char *kwnames
[] = {
19207 (char *) "self", NULL
19210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
19211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19215 result
= (long)(arg1
)->GetPrinterTranslateX();
19217 wxPyEndAllowThreads(__tstate
);
19218 if (PyErr_Occurred()) SWIG_fail
;
19220 resultobj
= SWIG_From_long((long)result
);
19227 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19228 PyObject
*resultobj
;
19229 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19231 PyObject
* obj0
= 0 ;
19232 char *kwnames
[] = {
19233 (char *) "self", NULL
19236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
19237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19241 result
= (long)(arg1
)->GetPrinterTranslateY();
19243 wxPyEndAllowThreads(__tstate
);
19244 if (PyErr_Occurred()) SWIG_fail
;
19246 resultobj
= SWIG_From_long((long)result
);
19253 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19254 PyObject
*resultobj
;
19255 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19257 PyObject
* obj0
= 0 ;
19258 char *kwnames
[] = {
19259 (char *) "self", NULL
19262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
19263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19267 result
= (int)(arg1
)->GetPrintMode();
19269 wxPyEndAllowThreads(__tstate
);
19270 if (PyErr_Occurred()) SWIG_fail
;
19272 resultobj
= SWIG_From_int((int)result
);
19279 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19280 PyObject
*resultobj
;
19281 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19282 wxString
*arg2
= 0 ;
19283 bool temp2
= False
;
19284 PyObject
* obj0
= 0 ;
19285 PyObject
* obj1
= 0 ;
19286 char *kwnames
[] = {
19287 (char *) "self",(char *) "command", NULL
19290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
19291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19294 arg2
= wxString_in_helper(obj1
);
19295 if (arg2
== NULL
) SWIG_fail
;
19299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19300 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
19302 wxPyEndAllowThreads(__tstate
);
19303 if (PyErr_Occurred()) SWIG_fail
;
19305 Py_INCREF(Py_None
); resultobj
= Py_None
;
19320 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19321 PyObject
*resultobj
;
19322 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19323 wxString
*arg2
= 0 ;
19324 bool temp2
= False
;
19325 PyObject
* obj0
= 0 ;
19326 PyObject
* obj1
= 0 ;
19327 char *kwnames
[] = {
19328 (char *) "self",(char *) "options", NULL
19331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
19332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19335 arg2
= wxString_in_helper(obj1
);
19336 if (arg2
== NULL
) SWIG_fail
;
19340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19341 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
19343 wxPyEndAllowThreads(__tstate
);
19344 if (PyErr_Occurred()) SWIG_fail
;
19346 Py_INCREF(Py_None
); resultobj
= Py_None
;
19361 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19362 PyObject
*resultobj
;
19363 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19364 wxString
*arg2
= 0 ;
19365 bool temp2
= False
;
19366 PyObject
* obj0
= 0 ;
19367 PyObject
* obj1
= 0 ;
19368 char *kwnames
[] = {
19369 (char *) "self",(char *) "command", NULL
19372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
19373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19376 arg2
= wxString_in_helper(obj1
);
19377 if (arg2
== NULL
) SWIG_fail
;
19381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19382 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
19384 wxPyEndAllowThreads(__tstate
);
19385 if (PyErr_Occurred()) SWIG_fail
;
19387 Py_INCREF(Py_None
); resultobj
= Py_None
;
19402 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19403 PyObject
*resultobj
;
19404 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19405 wxString
*arg2
= 0 ;
19406 bool temp2
= False
;
19407 PyObject
* obj0
= 0 ;
19408 PyObject
* obj1
= 0 ;
19409 char *kwnames
[] = {
19410 (char *) "self",(char *) "filename", NULL
19413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
19414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19417 arg2
= wxString_in_helper(obj1
);
19418 if (arg2
== NULL
) SWIG_fail
;
19422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19423 (arg1
)->SetFilename((wxString
const &)*arg2
);
19425 wxPyEndAllowThreads(__tstate
);
19426 if (PyErr_Occurred()) SWIG_fail
;
19428 Py_INCREF(Py_None
); resultobj
= Py_None
;
19443 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19444 PyObject
*resultobj
;
19445 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19446 wxString
*arg2
= 0 ;
19447 bool temp2
= False
;
19448 PyObject
* obj0
= 0 ;
19449 PyObject
* obj1
= 0 ;
19450 char *kwnames
[] = {
19451 (char *) "self",(char *) "path", NULL
19454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
19455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19458 arg2
= wxString_in_helper(obj1
);
19459 if (arg2
== NULL
) SWIG_fail
;
19463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19464 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
19466 wxPyEndAllowThreads(__tstate
);
19467 if (PyErr_Occurred()) SWIG_fail
;
19469 Py_INCREF(Py_None
); resultobj
= Py_None
;
19484 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19485 PyObject
*resultobj
;
19486 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19488 PyObject
* obj0
= 0 ;
19489 PyObject
* obj1
= 0 ;
19490 char *kwnames
[] = {
19491 (char *) "self",(char *) "x", NULL
19494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
19495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19497 arg2
= (double)SWIG_As_double(obj1
);
19498 if (PyErr_Occurred()) SWIG_fail
;
19500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19501 (arg1
)->SetPrinterScaleX(arg2
);
19503 wxPyEndAllowThreads(__tstate
);
19504 if (PyErr_Occurred()) SWIG_fail
;
19506 Py_INCREF(Py_None
); resultobj
= Py_None
;
19513 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19514 PyObject
*resultobj
;
19515 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19517 PyObject
* obj0
= 0 ;
19518 PyObject
* obj1
= 0 ;
19519 char *kwnames
[] = {
19520 (char *) "self",(char *) "y", NULL
19523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
19524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19526 arg2
= (double)SWIG_As_double(obj1
);
19527 if (PyErr_Occurred()) SWIG_fail
;
19529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19530 (arg1
)->SetPrinterScaleY(arg2
);
19532 wxPyEndAllowThreads(__tstate
);
19533 if (PyErr_Occurred()) SWIG_fail
;
19535 Py_INCREF(Py_None
); resultobj
= Py_None
;
19542 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19543 PyObject
*resultobj
;
19544 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19547 PyObject
* obj0
= 0 ;
19548 PyObject
* obj1
= 0 ;
19549 PyObject
* obj2
= 0 ;
19550 char *kwnames
[] = {
19551 (char *) "self",(char *) "x",(char *) "y", NULL
19554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19557 arg2
= (double)SWIG_As_double(obj1
);
19558 if (PyErr_Occurred()) SWIG_fail
;
19559 arg3
= (double)SWIG_As_double(obj2
);
19560 if (PyErr_Occurred()) SWIG_fail
;
19562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19563 (arg1
)->SetPrinterScaling(arg2
,arg3
);
19565 wxPyEndAllowThreads(__tstate
);
19566 if (PyErr_Occurred()) SWIG_fail
;
19568 Py_INCREF(Py_None
); resultobj
= Py_None
;
19575 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19576 PyObject
*resultobj
;
19577 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19579 PyObject
* obj0
= 0 ;
19580 PyObject
* obj1
= 0 ;
19581 char *kwnames
[] = {
19582 (char *) "self",(char *) "x", NULL
19585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
19586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19588 arg2
= (long)SWIG_As_long(obj1
);
19589 if (PyErr_Occurred()) SWIG_fail
;
19591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19592 (arg1
)->SetPrinterTranslateX(arg2
);
19594 wxPyEndAllowThreads(__tstate
);
19595 if (PyErr_Occurred()) SWIG_fail
;
19597 Py_INCREF(Py_None
); resultobj
= Py_None
;
19604 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19605 PyObject
*resultobj
;
19606 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19608 PyObject
* obj0
= 0 ;
19609 PyObject
* obj1
= 0 ;
19610 char *kwnames
[] = {
19611 (char *) "self",(char *) "y", NULL
19614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
19615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19617 arg2
= (long)SWIG_As_long(obj1
);
19618 if (PyErr_Occurred()) SWIG_fail
;
19620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19621 (arg1
)->SetPrinterTranslateY(arg2
);
19623 wxPyEndAllowThreads(__tstate
);
19624 if (PyErr_Occurred()) SWIG_fail
;
19626 Py_INCREF(Py_None
); resultobj
= Py_None
;
19633 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19634 PyObject
*resultobj
;
19635 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19638 PyObject
* obj0
= 0 ;
19639 PyObject
* obj1
= 0 ;
19640 PyObject
* obj2
= 0 ;
19641 char *kwnames
[] = {
19642 (char *) "self",(char *) "x",(char *) "y", NULL
19645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19648 arg2
= (long)SWIG_As_long(obj1
);
19649 if (PyErr_Occurred()) SWIG_fail
;
19650 arg3
= (long)SWIG_As_long(obj2
);
19651 if (PyErr_Occurred()) SWIG_fail
;
19653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19654 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
19656 wxPyEndAllowThreads(__tstate
);
19657 if (PyErr_Occurred()) SWIG_fail
;
19659 Py_INCREF(Py_None
); resultobj
= Py_None
;
19666 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19667 PyObject
*resultobj
;
19668 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19670 PyObject
* obj0
= 0 ;
19671 PyObject
* obj1
= 0 ;
19672 char *kwnames
[] = {
19673 (char *) "self",(char *) "printMode", NULL
19676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
19677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19679 arg2
= (int)SWIG_As_int(obj1
);
19680 if (PyErr_Occurred()) SWIG_fail
;
19682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19683 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
19685 wxPyEndAllowThreads(__tstate
);
19686 if (PyErr_Occurred()) SWIG_fail
;
19688 Py_INCREF(Py_None
); resultobj
= Py_None
;
19695 static PyObject
*_wrap_PrintData_GetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19696 PyObject
*resultobj
;
19697 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19698 wxOutputStream
*result
;
19699 PyObject
* obj0
= 0 ;
19700 char *kwnames
[] = {
19701 (char *) "self", NULL
19704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOutputStream",kwnames
,&obj0
)) goto fail
;
19705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19709 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
19711 wxPyEndAllowThreads(__tstate
);
19712 if (PyErr_Occurred()) SWIG_fail
;
19714 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
19721 static PyObject
*_wrap_PrintData_SetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19722 PyObject
*resultobj
;
19723 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19724 wxOutputStream
*arg2
= (wxOutputStream
*) 0 ;
19725 PyObject
* obj0
= 0 ;
19726 PyObject
* obj1
= 0 ;
19727 char *kwnames
[] = {
19728 (char *) "self",(char *) "outputstream", NULL
19731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOutputStream",kwnames
,&obj0
,&obj1
)) goto fail
;
19732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19734 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxOutputStream
,
19735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19738 (arg1
)->SetOutputStream(arg2
);
19740 wxPyEndAllowThreads(__tstate
);
19741 if (PyErr_Occurred()) SWIG_fail
;
19743 Py_INCREF(Py_None
); resultobj
= Py_None
;
19750 static PyObject
* PrintData_swigregister(PyObject
*, PyObject
*args
) {
19752 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19753 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
19755 return Py_BuildValue((char *)"");
19757 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
19758 PyObject
*resultobj
;
19759 wxPageSetupDialogData
*result
;
19761 if(!PyArg_ParseTuple(args
,(char *)":new_PageSetupDialogData")) goto fail
;
19763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19764 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
19766 wxPyEndAllowThreads(__tstate
);
19767 if (PyErr_Occurred()) SWIG_fail
;
19769 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
19776 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
19777 PyObject
*resultobj
;
19778 wxPageSetupDialogData
*arg1
= 0 ;
19779 wxPageSetupDialogData
*result
;
19780 PyObject
* obj0
= 0 ;
19782 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
19783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19784 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19786 if (arg1
== NULL
) {
19787 PyErr_SetString(PyExc_TypeError
,"null reference");
19791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19792 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
19794 wxPyEndAllowThreads(__tstate
);
19795 if (PyErr_Occurred()) SWIG_fail
;
19797 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
19804 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
19809 argc
= PyObject_Length(args
);
19810 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
19811 argv
[ii
] = PyTuple_GetItem(args
,ii
);
19814 return _wrap_new_PageSetupDialogData__SWIG_0(self
,args
);
19820 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPageSetupDialogData
, 0) == -1) {
19828 return _wrap_new_PageSetupDialogData__SWIG_1(self
,args
);
19832 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PageSetupDialogData'");
19837 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19838 PyObject
*resultobj
;
19839 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19840 PyObject
* obj0
= 0 ;
19841 char *kwnames
[] = {
19842 (char *) "self", NULL
19845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
19846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19852 wxPyEndAllowThreads(__tstate
);
19853 if (PyErr_Occurred()) SWIG_fail
;
19855 Py_INCREF(Py_None
); resultobj
= Py_None
;
19862 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19863 PyObject
*resultobj
;
19864 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19866 PyObject
* obj0
= 0 ;
19867 PyObject
* obj1
= 0 ;
19868 char *kwnames
[] = {
19869 (char *) "self",(char *) "flag", NULL
19872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19875 arg2
= (bool)SWIG_As_bool(obj1
);
19876 if (PyErr_Occurred()) SWIG_fail
;
19878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19879 (arg1
)->EnableHelp(arg2
);
19881 wxPyEndAllowThreads(__tstate
);
19882 if (PyErr_Occurred()) SWIG_fail
;
19884 Py_INCREF(Py_None
); resultobj
= Py_None
;
19891 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19892 PyObject
*resultobj
;
19893 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19895 PyObject
* obj0
= 0 ;
19896 PyObject
* obj1
= 0 ;
19897 char *kwnames
[] = {
19898 (char *) "self",(char *) "flag", NULL
19901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
19902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19904 arg2
= (bool)SWIG_As_bool(obj1
);
19905 if (PyErr_Occurred()) SWIG_fail
;
19907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19908 (arg1
)->EnableMargins(arg2
);
19910 wxPyEndAllowThreads(__tstate
);
19911 if (PyErr_Occurred()) SWIG_fail
;
19913 Py_INCREF(Py_None
); resultobj
= Py_None
;
19920 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19921 PyObject
*resultobj
;
19922 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19924 PyObject
* obj0
= 0 ;
19925 PyObject
* obj1
= 0 ;
19926 char *kwnames
[] = {
19927 (char *) "self",(char *) "flag", NULL
19930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
19931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19933 arg2
= (bool)SWIG_As_bool(obj1
);
19934 if (PyErr_Occurred()) SWIG_fail
;
19936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19937 (arg1
)->EnableOrientation(arg2
);
19939 wxPyEndAllowThreads(__tstate
);
19940 if (PyErr_Occurred()) SWIG_fail
;
19942 Py_INCREF(Py_None
); resultobj
= Py_None
;
19949 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19950 PyObject
*resultobj
;
19951 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19953 PyObject
* obj0
= 0 ;
19954 PyObject
* obj1
= 0 ;
19955 char *kwnames
[] = {
19956 (char *) "self",(char *) "flag", NULL
19959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
19960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19962 arg2
= (bool)SWIG_As_bool(obj1
);
19963 if (PyErr_Occurred()) SWIG_fail
;
19965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19966 (arg1
)->EnablePaper(arg2
);
19968 wxPyEndAllowThreads(__tstate
);
19969 if (PyErr_Occurred()) SWIG_fail
;
19971 Py_INCREF(Py_None
); resultobj
= Py_None
;
19978 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19979 PyObject
*resultobj
;
19980 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19982 PyObject
* obj0
= 0 ;
19983 PyObject
* obj1
= 0 ;
19984 char *kwnames
[] = {
19985 (char *) "self",(char *) "flag", NULL
19988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
19989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19991 arg2
= (bool)SWIG_As_bool(obj1
);
19992 if (PyErr_Occurred()) SWIG_fail
;
19994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19995 (arg1
)->EnablePrinter(arg2
);
19997 wxPyEndAllowThreads(__tstate
);
19998 if (PyErr_Occurred()) SWIG_fail
;
20000 Py_INCREF(Py_None
); resultobj
= Py_None
;
20007 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20008 PyObject
*resultobj
;
20009 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20011 PyObject
* obj0
= 0 ;
20012 char *kwnames
[] = {
20013 (char *) "self", NULL
20016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
20017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20021 result
= (bool)(arg1
)->GetDefaultMinMargins();
20023 wxPyEndAllowThreads(__tstate
);
20024 if (PyErr_Occurred()) SWIG_fail
;
20027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20035 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20036 PyObject
*resultobj
;
20037 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20039 PyObject
* obj0
= 0 ;
20040 char *kwnames
[] = {
20041 (char *) "self", NULL
20044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
20045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20049 result
= (bool)(arg1
)->GetEnableMargins();
20051 wxPyEndAllowThreads(__tstate
);
20052 if (PyErr_Occurred()) SWIG_fail
;
20055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20063 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20064 PyObject
*resultobj
;
20065 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20067 PyObject
* obj0
= 0 ;
20068 char *kwnames
[] = {
20069 (char *) "self", NULL
20072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
20073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20077 result
= (bool)(arg1
)->GetEnableOrientation();
20079 wxPyEndAllowThreads(__tstate
);
20080 if (PyErr_Occurred()) SWIG_fail
;
20083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20091 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20092 PyObject
*resultobj
;
20093 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20095 PyObject
* obj0
= 0 ;
20096 char *kwnames
[] = {
20097 (char *) "self", NULL
20100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
20101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20105 result
= (bool)(arg1
)->GetEnablePaper();
20107 wxPyEndAllowThreads(__tstate
);
20108 if (PyErr_Occurred()) SWIG_fail
;
20111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20119 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20120 PyObject
*resultobj
;
20121 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20123 PyObject
* obj0
= 0 ;
20124 char *kwnames
[] = {
20125 (char *) "self", NULL
20128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
20129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20133 result
= (bool)(arg1
)->GetEnablePrinter();
20135 wxPyEndAllowThreads(__tstate
);
20136 if (PyErr_Occurred()) SWIG_fail
;
20139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20147 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20148 PyObject
*resultobj
;
20149 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20151 PyObject
* obj0
= 0 ;
20152 char *kwnames
[] = {
20153 (char *) "self", NULL
20156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
20157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20161 result
= (bool)(arg1
)->GetEnableHelp();
20163 wxPyEndAllowThreads(__tstate
);
20164 if (PyErr_Occurred()) SWIG_fail
;
20167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20175 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20176 PyObject
*resultobj
;
20177 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20179 PyObject
* obj0
= 0 ;
20180 char *kwnames
[] = {
20181 (char *) "self", NULL
20184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
20185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20189 result
= (bool)(arg1
)->GetDefaultInfo();
20191 wxPyEndAllowThreads(__tstate
);
20192 if (PyErr_Occurred()) SWIG_fail
;
20195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20203 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20204 PyObject
*resultobj
;
20205 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20207 PyObject
* obj0
= 0 ;
20208 char *kwnames
[] = {
20209 (char *) "self", NULL
20212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
20213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20217 result
= (arg1
)->GetMarginTopLeft();
20219 wxPyEndAllowThreads(__tstate
);
20220 if (PyErr_Occurred()) SWIG_fail
;
20223 wxPoint
* resultptr
;
20224 resultptr
= new wxPoint((wxPoint
&) result
);
20225 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20233 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20234 PyObject
*resultobj
;
20235 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20237 PyObject
* obj0
= 0 ;
20238 char *kwnames
[] = {
20239 (char *) "self", NULL
20242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
20243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20247 result
= (arg1
)->GetMarginBottomRight();
20249 wxPyEndAllowThreads(__tstate
);
20250 if (PyErr_Occurred()) SWIG_fail
;
20253 wxPoint
* resultptr
;
20254 resultptr
= new wxPoint((wxPoint
&) result
);
20255 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20263 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20264 PyObject
*resultobj
;
20265 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20267 PyObject
* obj0
= 0 ;
20268 char *kwnames
[] = {
20269 (char *) "self", NULL
20272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
20273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20277 result
= (arg1
)->GetMinMarginTopLeft();
20279 wxPyEndAllowThreads(__tstate
);
20280 if (PyErr_Occurred()) SWIG_fail
;
20283 wxPoint
* resultptr
;
20284 resultptr
= new wxPoint((wxPoint
&) result
);
20285 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20293 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20294 PyObject
*resultobj
;
20295 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20297 PyObject
* obj0
= 0 ;
20298 char *kwnames
[] = {
20299 (char *) "self", NULL
20302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
20303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20307 result
= (arg1
)->GetMinMarginBottomRight();
20309 wxPyEndAllowThreads(__tstate
);
20310 if (PyErr_Occurred()) SWIG_fail
;
20313 wxPoint
* resultptr
;
20314 resultptr
= new wxPoint((wxPoint
&) result
);
20315 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20323 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20324 PyObject
*resultobj
;
20325 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20327 PyObject
* obj0
= 0 ;
20328 char *kwnames
[] = {
20329 (char *) "self", NULL
20332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
20333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20337 result
= (int)(arg1
)->GetPaperId();
20339 wxPyEndAllowThreads(__tstate
);
20340 if (PyErr_Occurred()) SWIG_fail
;
20342 resultobj
= SWIG_From_int((int)result
);
20349 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20350 PyObject
*resultobj
;
20351 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20353 PyObject
* obj0
= 0 ;
20354 char *kwnames
[] = {
20355 (char *) "self", NULL
20358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
20359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20363 result
= (arg1
)->GetPaperSize();
20365 wxPyEndAllowThreads(__tstate
);
20366 if (PyErr_Occurred()) SWIG_fail
;
20369 wxSize
* resultptr
;
20370 resultptr
= new wxSize((wxSize
&) result
);
20371 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20379 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20380 PyObject
*resultobj
;
20381 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20382 wxPrintData
*result
;
20383 PyObject
* obj0
= 0 ;
20384 char *kwnames
[] = {
20385 (char *) "self", NULL
20388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
20389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20394 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
20395 result
= (wxPrintData
*) &_result_ref
;
20398 wxPyEndAllowThreads(__tstate
);
20399 if (PyErr_Occurred()) SWIG_fail
;
20401 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
20408 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20409 PyObject
*resultobj
;
20410 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20412 PyObject
* obj0
= 0 ;
20413 char *kwnames
[] = {
20414 (char *) "self", NULL
20417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
20418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20422 result
= (bool)(arg1
)->Ok();
20424 wxPyEndAllowThreads(__tstate
);
20425 if (PyErr_Occurred()) SWIG_fail
;
20428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20436 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20437 PyObject
*resultobj
;
20438 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20440 PyObject
* obj0
= 0 ;
20441 PyObject
* obj1
= 0 ;
20442 char *kwnames
[] = {
20443 (char *) "self",(char *) "flag", NULL
20446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
20447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20449 arg2
= (bool)SWIG_As_bool(obj1
);
20450 if (PyErr_Occurred()) SWIG_fail
;
20452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20453 (arg1
)->SetDefaultInfo(arg2
);
20455 wxPyEndAllowThreads(__tstate
);
20456 if (PyErr_Occurred()) SWIG_fail
;
20458 Py_INCREF(Py_None
); resultobj
= Py_None
;
20465 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20466 PyObject
*resultobj
;
20467 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20469 PyObject
* obj0
= 0 ;
20470 PyObject
* obj1
= 0 ;
20471 char *kwnames
[] = {
20472 (char *) "self",(char *) "flag", NULL
20475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
20476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20478 arg2
= (bool)SWIG_As_bool(obj1
);
20479 if (PyErr_Occurred()) SWIG_fail
;
20481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20482 (arg1
)->SetDefaultMinMargins(arg2
);
20484 wxPyEndAllowThreads(__tstate
);
20485 if (PyErr_Occurred()) SWIG_fail
;
20487 Py_INCREF(Py_None
); resultobj
= Py_None
;
20494 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20495 PyObject
*resultobj
;
20496 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20497 wxPoint
*arg2
= 0 ;
20499 PyObject
* obj0
= 0 ;
20500 PyObject
* obj1
= 0 ;
20501 char *kwnames
[] = {
20502 (char *) "self",(char *) "pt", NULL
20505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
20506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20510 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20514 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
20516 wxPyEndAllowThreads(__tstate
);
20517 if (PyErr_Occurred()) SWIG_fail
;
20519 Py_INCREF(Py_None
); resultobj
= Py_None
;
20526 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20527 PyObject
*resultobj
;
20528 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20529 wxPoint
*arg2
= 0 ;
20531 PyObject
* obj0
= 0 ;
20532 PyObject
* obj1
= 0 ;
20533 char *kwnames
[] = {
20534 (char *) "self",(char *) "pt", NULL
20537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
20538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20542 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20546 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
20548 wxPyEndAllowThreads(__tstate
);
20549 if (PyErr_Occurred()) SWIG_fail
;
20551 Py_INCREF(Py_None
); resultobj
= Py_None
;
20558 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20559 PyObject
*resultobj
;
20560 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20561 wxPoint
*arg2
= 0 ;
20563 PyObject
* obj0
= 0 ;
20564 PyObject
* obj1
= 0 ;
20565 char *kwnames
[] = {
20566 (char *) "self",(char *) "pt", NULL
20569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
20570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20574 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20578 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
20580 wxPyEndAllowThreads(__tstate
);
20581 if (PyErr_Occurred()) SWIG_fail
;
20583 Py_INCREF(Py_None
); resultobj
= Py_None
;
20590 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20591 PyObject
*resultobj
;
20592 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20593 wxPoint
*arg2
= 0 ;
20595 PyObject
* obj0
= 0 ;
20596 PyObject
* obj1
= 0 ;
20597 char *kwnames
[] = {
20598 (char *) "self",(char *) "pt", NULL
20601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
20602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20606 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20610 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
20612 wxPyEndAllowThreads(__tstate
);
20613 if (PyErr_Occurred()) SWIG_fail
;
20615 Py_INCREF(Py_None
); resultobj
= Py_None
;
20622 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20623 PyObject
*resultobj
;
20624 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20626 PyObject
* obj0
= 0 ;
20627 PyObject
* obj1
= 0 ;
20628 char *kwnames
[] = {
20629 (char *) "self",(char *) "id", NULL
20632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
20633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20635 arg2
= (int)SWIG_As_int(obj1
);
20636 if (PyErr_Occurred()) SWIG_fail
;
20638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20639 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
20641 wxPyEndAllowThreads(__tstate
);
20642 if (PyErr_Occurred()) SWIG_fail
;
20644 Py_INCREF(Py_None
); resultobj
= Py_None
;
20651 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20652 PyObject
*resultobj
;
20653 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20656 PyObject
* obj0
= 0 ;
20657 PyObject
* obj1
= 0 ;
20658 char *kwnames
[] = {
20659 (char *) "self",(char *) "size", NULL
20662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20667 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20671 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
20673 wxPyEndAllowThreads(__tstate
);
20674 if (PyErr_Occurred()) SWIG_fail
;
20676 Py_INCREF(Py_None
); resultobj
= Py_None
;
20683 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20684 PyObject
*resultobj
;
20685 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20686 wxPrintData
*arg2
= 0 ;
20687 PyObject
* obj0
= 0 ;
20688 PyObject
* obj1
= 0 ;
20689 char *kwnames
[] = {
20690 (char *) "self",(char *) "printData", NULL
20693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
20694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20696 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
20697 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20699 if (arg2
== NULL
) {
20700 PyErr_SetString(PyExc_TypeError
,"null reference");
20704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20705 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
20707 wxPyEndAllowThreads(__tstate
);
20708 if (PyErr_Occurred()) SWIG_fail
;
20710 Py_INCREF(Py_None
); resultobj
= Py_None
;
20717 static PyObject
* PageSetupDialogData_swigregister(PyObject
*, PyObject
*args
) {
20719 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20720 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
20722 return Py_BuildValue((char *)"");
20724 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20725 PyObject
*resultobj
;
20726 wxWindow
*arg1
= (wxWindow
*) 0 ;
20727 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
20728 wxPageSetupDialog
*result
;
20729 PyObject
* obj0
= 0 ;
20730 PyObject
* obj1
= 0 ;
20731 char *kwnames
[] = {
20732 (char *) "parent",(char *) "data", NULL
20735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
20736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20739 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPageSetupDialogData
,
20740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20743 if (!wxPyCheckForApp()) SWIG_fail
;
20744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20745 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
20747 wxPyEndAllowThreads(__tstate
);
20748 if (PyErr_Occurred()) SWIG_fail
;
20750 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
20757 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20758 PyObject
*resultobj
;
20759 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
20760 wxPageSetupDialogData
*result
;
20761 PyObject
* obj0
= 0 ;
20762 char *kwnames
[] = {
20763 (char *) "self", NULL
20766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
20767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
20768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20772 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
20773 result
= (wxPageSetupDialogData
*) &_result_ref
;
20776 wxPyEndAllowThreads(__tstate
);
20777 if (PyErr_Occurred()) SWIG_fail
;
20779 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
20786 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20787 PyObject
*resultobj
;
20788 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
20790 PyObject
* obj0
= 0 ;
20791 char *kwnames
[] = {
20792 (char *) "self", NULL
20795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
20796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
20797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20800 result
= (int)(arg1
)->ShowModal();
20802 wxPyEndAllowThreads(__tstate
);
20803 if (PyErr_Occurred()) SWIG_fail
;
20805 resultobj
= SWIG_From_int((int)result
);
20812 static PyObject
* PageSetupDialog_swigregister(PyObject
*, PyObject
*args
) {
20814 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20815 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
20817 return Py_BuildValue((char *)"");
20819 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
20820 PyObject
*resultobj
;
20821 wxPrintDialogData
*result
;
20823 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
20825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20826 result
= (wxPrintDialogData
*)new wxPrintDialogData();
20828 wxPyEndAllowThreads(__tstate
);
20829 if (PyErr_Occurred()) SWIG_fail
;
20831 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
20838 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
20839 PyObject
*resultobj
;
20840 wxPrintData
*arg1
= 0 ;
20841 wxPrintDialogData
*result
;
20842 PyObject
* obj0
= 0 ;
20844 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
20845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
20846 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20848 if (arg1
== NULL
) {
20849 PyErr_SetString(PyExc_TypeError
,"null reference");
20853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20854 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
20856 wxPyEndAllowThreads(__tstate
);
20857 if (PyErr_Occurred()) SWIG_fail
;
20859 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
20866 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
20871 argc
= PyObject_Length(args
);
20872 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
20873 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20876 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
20882 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
20890 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
20894 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintDialogData'");
20899 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20900 PyObject
*resultobj
;
20901 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20902 PyObject
* obj0
= 0 ;
20903 char *kwnames
[] = {
20904 (char *) "self", NULL
20907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
20908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20914 wxPyEndAllowThreads(__tstate
);
20915 if (PyErr_Occurred()) SWIG_fail
;
20917 Py_INCREF(Py_None
); resultobj
= Py_None
;
20924 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20925 PyObject
*resultobj
;
20926 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20928 PyObject
* obj0
= 0 ;
20929 char *kwnames
[] = {
20930 (char *) "self", NULL
20933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
20934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20938 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
20940 wxPyEndAllowThreads(__tstate
);
20941 if (PyErr_Occurred()) SWIG_fail
;
20943 resultobj
= SWIG_From_int((int)result
);
20950 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20951 PyObject
*resultobj
;
20952 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20954 PyObject
* obj0
= 0 ;
20955 char *kwnames
[] = {
20956 (char *) "self", NULL
20959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
20960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20964 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
20966 wxPyEndAllowThreads(__tstate
);
20967 if (PyErr_Occurred()) SWIG_fail
;
20969 resultobj
= SWIG_From_int((int)result
);
20976 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20977 PyObject
*resultobj
;
20978 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20980 PyObject
* obj0
= 0 ;
20981 char *kwnames
[] = {
20982 (char *) "self", NULL
20985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
20986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20990 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
20992 wxPyEndAllowThreads(__tstate
);
20993 if (PyErr_Occurred()) SWIG_fail
;
20995 resultobj
= SWIG_From_int((int)result
);
21002 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21003 PyObject
*resultobj
;
21004 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21006 PyObject
* obj0
= 0 ;
21007 char *kwnames
[] = {
21008 (char *) "self", NULL
21011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
21012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21016 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
21018 wxPyEndAllowThreads(__tstate
);
21019 if (PyErr_Occurred()) SWIG_fail
;
21021 resultobj
= SWIG_From_int((int)result
);
21028 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21029 PyObject
*resultobj
;
21030 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21032 PyObject
* obj0
= 0 ;
21033 char *kwnames
[] = {
21034 (char *) "self", NULL
21037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
21038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21042 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
21044 wxPyEndAllowThreads(__tstate
);
21045 if (PyErr_Occurred()) SWIG_fail
;
21047 resultobj
= SWIG_From_int((int)result
);
21054 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21055 PyObject
*resultobj
;
21056 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21058 PyObject
* obj0
= 0 ;
21059 char *kwnames
[] = {
21060 (char *) "self", NULL
21063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
21064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21068 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
21070 wxPyEndAllowThreads(__tstate
);
21071 if (PyErr_Occurred()) SWIG_fail
;
21074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21082 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21083 PyObject
*resultobj
;
21084 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21086 PyObject
* obj0
= 0 ;
21087 char *kwnames
[] = {
21088 (char *) "self", NULL
21091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
21092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21096 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
21098 wxPyEndAllowThreads(__tstate
);
21099 if (PyErr_Occurred()) SWIG_fail
;
21102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21110 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21111 PyObject
*resultobj
;
21112 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21114 PyObject
* obj0
= 0 ;
21115 char *kwnames
[] = {
21116 (char *) "self", NULL
21119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
21120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21124 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
21126 wxPyEndAllowThreads(__tstate
);
21127 if (PyErr_Occurred()) SWIG_fail
;
21130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21138 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21139 PyObject
*resultobj
;
21140 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21142 PyObject
* obj0
= 0 ;
21143 char *kwnames
[] = {
21144 (char *) "self", NULL
21147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
21148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21152 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
21154 wxPyEndAllowThreads(__tstate
);
21155 if (PyErr_Occurred()) SWIG_fail
;
21158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21166 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21167 PyObject
*resultobj
;
21168 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21170 PyObject
* obj0
= 0 ;
21171 char *kwnames
[] = {
21172 (char *) "self", NULL
21175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
21176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21180 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
21182 wxPyEndAllowThreads(__tstate
);
21183 if (PyErr_Occurred()) SWIG_fail
;
21186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21194 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21195 PyObject
*resultobj
;
21196 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21198 PyObject
* obj0
= 0 ;
21199 PyObject
* obj1
= 0 ;
21200 char *kwnames
[] = {
21201 (char *) "self",(char *) "v", NULL
21204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21207 arg2
= (int)SWIG_As_int(obj1
);
21208 if (PyErr_Occurred()) SWIG_fail
;
21210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21211 (arg1
)->SetFromPage(arg2
);
21213 wxPyEndAllowThreads(__tstate
);
21214 if (PyErr_Occurred()) SWIG_fail
;
21216 Py_INCREF(Py_None
); resultobj
= Py_None
;
21223 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21224 PyObject
*resultobj
;
21225 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21227 PyObject
* obj0
= 0 ;
21228 PyObject
* obj1
= 0 ;
21229 char *kwnames
[] = {
21230 (char *) "self",(char *) "v", NULL
21233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21236 arg2
= (int)SWIG_As_int(obj1
);
21237 if (PyErr_Occurred()) SWIG_fail
;
21239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21240 (arg1
)->SetToPage(arg2
);
21242 wxPyEndAllowThreads(__tstate
);
21243 if (PyErr_Occurred()) SWIG_fail
;
21245 Py_INCREF(Py_None
); resultobj
= Py_None
;
21252 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21253 PyObject
*resultobj
;
21254 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21256 PyObject
* obj0
= 0 ;
21257 PyObject
* obj1
= 0 ;
21258 char *kwnames
[] = {
21259 (char *) "self",(char *) "v", NULL
21262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21265 arg2
= (int)SWIG_As_int(obj1
);
21266 if (PyErr_Occurred()) SWIG_fail
;
21268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21269 (arg1
)->SetMinPage(arg2
);
21271 wxPyEndAllowThreads(__tstate
);
21272 if (PyErr_Occurred()) SWIG_fail
;
21274 Py_INCREF(Py_None
); resultobj
= Py_None
;
21281 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21282 PyObject
*resultobj
;
21283 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21285 PyObject
* obj0
= 0 ;
21286 PyObject
* obj1
= 0 ;
21287 char *kwnames
[] = {
21288 (char *) "self",(char *) "v", NULL
21291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21294 arg2
= (int)SWIG_As_int(obj1
);
21295 if (PyErr_Occurred()) SWIG_fail
;
21297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21298 (arg1
)->SetMaxPage(arg2
);
21300 wxPyEndAllowThreads(__tstate
);
21301 if (PyErr_Occurred()) SWIG_fail
;
21303 Py_INCREF(Py_None
); resultobj
= Py_None
;
21310 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21311 PyObject
*resultobj
;
21312 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21314 PyObject
* obj0
= 0 ;
21315 PyObject
* obj1
= 0 ;
21316 char *kwnames
[] = {
21317 (char *) "self",(char *) "v", NULL
21320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
21321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21323 arg2
= (int)SWIG_As_int(obj1
);
21324 if (PyErr_Occurred()) SWIG_fail
;
21326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21327 (arg1
)->SetNoCopies(arg2
);
21329 wxPyEndAllowThreads(__tstate
);
21330 if (PyErr_Occurred()) SWIG_fail
;
21332 Py_INCREF(Py_None
); resultobj
= Py_None
;
21339 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21340 PyObject
*resultobj
;
21341 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21343 PyObject
* obj0
= 0 ;
21344 PyObject
* obj1
= 0 ;
21345 char *kwnames
[] = {
21346 (char *) "self",(char *) "flag", NULL
21349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
21350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21352 arg2
= (bool)SWIG_As_bool(obj1
);
21353 if (PyErr_Occurred()) SWIG_fail
;
21355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21356 (arg1
)->SetAllPages(arg2
);
21358 wxPyEndAllowThreads(__tstate
);
21359 if (PyErr_Occurred()) SWIG_fail
;
21361 Py_INCREF(Py_None
); resultobj
= Py_None
;
21368 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21369 PyObject
*resultobj
;
21370 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21372 PyObject
* obj0
= 0 ;
21373 PyObject
* obj1
= 0 ;
21374 char *kwnames
[] = {
21375 (char *) "self",(char *) "flag", NULL
21378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
21379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21381 arg2
= (bool)SWIG_As_bool(obj1
);
21382 if (PyErr_Occurred()) SWIG_fail
;
21384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21385 (arg1
)->SetSelection(arg2
);
21387 wxPyEndAllowThreads(__tstate
);
21388 if (PyErr_Occurred()) SWIG_fail
;
21390 Py_INCREF(Py_None
); resultobj
= Py_None
;
21397 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21398 PyObject
*resultobj
;
21399 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21401 PyObject
* obj0
= 0 ;
21402 PyObject
* obj1
= 0 ;
21403 char *kwnames
[] = {
21404 (char *) "self",(char *) "flag", NULL
21407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
21408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21410 arg2
= (bool)SWIG_As_bool(obj1
);
21411 if (PyErr_Occurred()) SWIG_fail
;
21413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21414 (arg1
)->SetCollate(arg2
);
21416 wxPyEndAllowThreads(__tstate
);
21417 if (PyErr_Occurred()) SWIG_fail
;
21419 Py_INCREF(Py_None
); resultobj
= Py_None
;
21426 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21427 PyObject
*resultobj
;
21428 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21430 PyObject
* obj0
= 0 ;
21431 PyObject
* obj1
= 0 ;
21432 char *kwnames
[] = {
21433 (char *) "self",(char *) "flag", NULL
21436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
21437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21439 arg2
= (bool)SWIG_As_bool(obj1
);
21440 if (PyErr_Occurred()) SWIG_fail
;
21442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21443 (arg1
)->SetPrintToFile(arg2
);
21445 wxPyEndAllowThreads(__tstate
);
21446 if (PyErr_Occurred()) SWIG_fail
;
21448 Py_INCREF(Py_None
); resultobj
= Py_None
;
21455 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21456 PyObject
*resultobj
;
21457 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21459 PyObject
* obj0
= 0 ;
21460 PyObject
* obj1
= 0 ;
21461 char *kwnames
[] = {
21462 (char *) "self",(char *) "flag", NULL
21465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21468 arg2
= (bool)SWIG_As_bool(obj1
);
21469 if (PyErr_Occurred()) SWIG_fail
;
21471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21472 (arg1
)->SetSetupDialog(arg2
);
21474 wxPyEndAllowThreads(__tstate
);
21475 if (PyErr_Occurred()) SWIG_fail
;
21477 Py_INCREF(Py_None
); resultobj
= Py_None
;
21484 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21485 PyObject
*resultobj
;
21486 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21488 PyObject
* obj0
= 0 ;
21489 PyObject
* obj1
= 0 ;
21490 char *kwnames
[] = {
21491 (char *) "self",(char *) "flag", NULL
21494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
21495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21497 arg2
= (bool)SWIG_As_bool(obj1
);
21498 if (PyErr_Occurred()) SWIG_fail
;
21500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21501 (arg1
)->EnablePrintToFile(arg2
);
21503 wxPyEndAllowThreads(__tstate
);
21504 if (PyErr_Occurred()) SWIG_fail
;
21506 Py_INCREF(Py_None
); resultobj
= Py_None
;
21513 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21514 PyObject
*resultobj
;
21515 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21517 PyObject
* obj0
= 0 ;
21518 PyObject
* obj1
= 0 ;
21519 char *kwnames
[] = {
21520 (char *) "self",(char *) "flag", NULL
21523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
21524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21526 arg2
= (bool)SWIG_As_bool(obj1
);
21527 if (PyErr_Occurred()) SWIG_fail
;
21529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21530 (arg1
)->EnableSelection(arg2
);
21532 wxPyEndAllowThreads(__tstate
);
21533 if (PyErr_Occurred()) SWIG_fail
;
21535 Py_INCREF(Py_None
); resultobj
= Py_None
;
21542 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21543 PyObject
*resultobj
;
21544 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21546 PyObject
* obj0
= 0 ;
21547 PyObject
* obj1
= 0 ;
21548 char *kwnames
[] = {
21549 (char *) "self",(char *) "flag", NULL
21552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
21553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21555 arg2
= (bool)SWIG_As_bool(obj1
);
21556 if (PyErr_Occurred()) SWIG_fail
;
21558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21559 (arg1
)->EnablePageNumbers(arg2
);
21561 wxPyEndAllowThreads(__tstate
);
21562 if (PyErr_Occurred()) SWIG_fail
;
21564 Py_INCREF(Py_None
); resultobj
= Py_None
;
21571 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21572 PyObject
*resultobj
;
21573 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21575 PyObject
* obj0
= 0 ;
21576 PyObject
* obj1
= 0 ;
21577 char *kwnames
[] = {
21578 (char *) "self",(char *) "flag", NULL
21581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
21582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21584 arg2
= (bool)SWIG_As_bool(obj1
);
21585 if (PyErr_Occurred()) SWIG_fail
;
21587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21588 (arg1
)->EnableHelp(arg2
);
21590 wxPyEndAllowThreads(__tstate
);
21591 if (PyErr_Occurred()) SWIG_fail
;
21593 Py_INCREF(Py_None
); resultobj
= Py_None
;
21600 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21601 PyObject
*resultobj
;
21602 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21604 PyObject
* obj0
= 0 ;
21605 char *kwnames
[] = {
21606 (char *) "self", NULL
21609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
21610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21614 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
21616 wxPyEndAllowThreads(__tstate
);
21617 if (PyErr_Occurred()) SWIG_fail
;
21620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21628 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21629 PyObject
*resultobj
;
21630 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21632 PyObject
* obj0
= 0 ;
21633 char *kwnames
[] = {
21634 (char *) "self", NULL
21637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
21638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21642 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
21644 wxPyEndAllowThreads(__tstate
);
21645 if (PyErr_Occurred()) SWIG_fail
;
21648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21656 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21657 PyObject
*resultobj
;
21658 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21660 PyObject
* obj0
= 0 ;
21661 char *kwnames
[] = {
21662 (char *) "self", NULL
21665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
21666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21670 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
21672 wxPyEndAllowThreads(__tstate
);
21673 if (PyErr_Occurred()) SWIG_fail
;
21676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21684 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21685 PyObject
*resultobj
;
21686 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21688 PyObject
* obj0
= 0 ;
21689 char *kwnames
[] = {
21690 (char *) "self", NULL
21693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
21694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21698 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
21700 wxPyEndAllowThreads(__tstate
);
21701 if (PyErr_Occurred()) SWIG_fail
;
21704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21712 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21713 PyObject
*resultobj
;
21714 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21716 PyObject
* obj0
= 0 ;
21717 char *kwnames
[] = {
21718 (char *) "self", NULL
21721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
21722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21726 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
21728 wxPyEndAllowThreads(__tstate
);
21729 if (PyErr_Occurred()) SWIG_fail
;
21732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21740 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21741 PyObject
*resultobj
;
21742 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21743 wxPrintData
*result
;
21744 PyObject
* obj0
= 0 ;
21745 char *kwnames
[] = {
21746 (char *) "self", NULL
21749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
21750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21755 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
21756 result
= (wxPrintData
*) &_result_ref
;
21759 wxPyEndAllowThreads(__tstate
);
21760 if (PyErr_Occurred()) SWIG_fail
;
21762 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
21769 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21770 PyObject
*resultobj
;
21771 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21772 wxPrintData
*arg2
= 0 ;
21773 PyObject
* obj0
= 0 ;
21774 PyObject
* obj1
= 0 ;
21775 char *kwnames
[] = {
21776 (char *) "self",(char *) "printData", NULL
21779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
21780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21782 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
21783 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21785 if (arg2
== NULL
) {
21786 PyErr_SetString(PyExc_TypeError
,"null reference");
21790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21791 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
21793 wxPyEndAllowThreads(__tstate
);
21794 if (PyErr_Occurred()) SWIG_fail
;
21796 Py_INCREF(Py_None
); resultobj
= Py_None
;
21803 static PyObject
* PrintDialogData_swigregister(PyObject
*, PyObject
*args
) {
21805 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21806 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
21808 return Py_BuildValue((char *)"");
21810 static PyObject
*_wrap_new_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21811 PyObject
*resultobj
;
21812 wxWindow
*arg1
= (wxWindow
*) 0 ;
21813 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
21814 wxPrintDialog
*result
;
21815 PyObject
* obj0
= 0 ;
21816 PyObject
* obj1
= 0 ;
21817 char *kwnames
[] = {
21818 (char *) "parent",(char *) "data", NULL
21821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21825 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintDialogData
,
21826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21829 if (!wxPyCheckForApp()) SWIG_fail
;
21830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21831 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
21833 wxPyEndAllowThreads(__tstate
);
21834 if (PyErr_Occurred()) SWIG_fail
;
21836 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
21843 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21844 PyObject
*resultobj
;
21845 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21846 wxPrintDialogData
*result
;
21847 PyObject
* obj0
= 0 ;
21848 char *kwnames
[] = {
21849 (char *) "self", NULL
21852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21858 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21859 result
= (wxPrintDialogData
*) &_result_ref
;
21862 wxPyEndAllowThreads(__tstate
);
21863 if (PyErr_Occurred()) SWIG_fail
;
21865 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
21872 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21873 PyObject
*resultobj
;
21874 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21876 PyObject
* obj0
= 0 ;
21877 char *kwnames
[] = {
21878 (char *) "self", NULL
21881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
21882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21886 result
= (wxDC
*)(arg1
)->GetPrintDC();
21888 wxPyEndAllowThreads(__tstate
);
21889 if (PyErr_Occurred()) SWIG_fail
;
21892 resultobj
= wxPyMake_wxObject(result
, 1);
21900 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21901 PyObject
*resultobj
;
21902 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21904 PyObject
* obj0
= 0 ;
21905 char *kwnames
[] = {
21906 (char *) "self", NULL
21909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
21910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21914 result
= (int)(arg1
)->ShowModal();
21916 wxPyEndAllowThreads(__tstate
);
21917 if (PyErr_Occurred()) SWIG_fail
;
21919 resultobj
= SWIG_From_int((int)result
);
21926 static PyObject
* PrintDialog_swigregister(PyObject
*, PyObject
*args
) {
21928 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21929 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
21931 return Py_BuildValue((char *)"");
21933 static PyObject
*_wrap_new_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21934 PyObject
*resultobj
;
21935 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
21937 PyObject
* obj0
= 0 ;
21938 char *kwnames
[] = {
21939 (char *) "data", NULL
21942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
21944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21948 if (!wxPyCheckForApp()) SWIG_fail
;
21949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21950 result
= (wxPrinter
*)new wxPrinter(arg1
);
21952 wxPyEndAllowThreads(__tstate
);
21953 if (PyErr_Occurred()) SWIG_fail
;
21955 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
21962 static PyObject
*_wrap_delete_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21963 PyObject
*resultobj
;
21964 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21965 PyObject
* obj0
= 0 ;
21966 char *kwnames
[] = {
21967 (char *) "self", NULL
21970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
21971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21977 wxPyEndAllowThreads(__tstate
);
21978 if (PyErr_Occurred()) SWIG_fail
;
21980 Py_INCREF(Py_None
); resultobj
= Py_None
;
21987 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21988 PyObject
*resultobj
;
21989 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21990 wxWindow
*arg2
= (wxWindow
*) 0 ;
21991 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21992 PyObject
* obj0
= 0 ;
21993 PyObject
* obj1
= 0 ;
21994 PyObject
* obj2
= 0 ;
21995 char *kwnames
[] = {
21996 (char *) "self",(char *) "parent",(char *) "printout", NULL
21999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22002 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22004 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
22005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22008 (arg1
)->CreateAbortWindow(arg2
,arg3
);
22010 wxPyEndAllowThreads(__tstate
);
22011 if (PyErr_Occurred()) SWIG_fail
;
22013 Py_INCREF(Py_None
); resultobj
= Py_None
;
22020 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22021 PyObject
*resultobj
;
22022 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22023 wxPrintDialogData
*result
;
22024 PyObject
* obj0
= 0 ;
22025 char *kwnames
[] = {
22026 (char *) "self", NULL
22029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
22030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22035 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
22036 result
= (wxPrintDialogData
*) &_result_ref
;
22039 wxPyEndAllowThreads(__tstate
);
22040 if (PyErr_Occurred()) SWIG_fail
;
22042 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
22049 static PyObject
*_wrap_Printer_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22050 PyObject
*resultobj
;
22051 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22052 wxWindow
*arg2
= (wxWindow
*) 0 ;
22053 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
22054 int arg4
= (int) True
;
22056 PyObject
* obj0
= 0 ;
22057 PyObject
* obj1
= 0 ;
22058 PyObject
* obj2
= 0 ;
22059 PyObject
* obj3
= 0 ;
22060 char *kwnames
[] = {
22061 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
22064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22067 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22069 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
22070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22072 arg4
= (int)SWIG_As_int(obj3
);
22073 if (PyErr_Occurred()) SWIG_fail
;
22076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22077 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
22079 wxPyEndAllowThreads(__tstate
);
22080 if (PyErr_Occurred()) SWIG_fail
;
22083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22091 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22092 PyObject
*resultobj
;
22093 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22094 wxWindow
*arg2
= (wxWindow
*) 0 ;
22096 PyObject
* obj0
= 0 ;
22097 PyObject
* obj1
= 0 ;
22098 char *kwnames
[] = {
22099 (char *) "self",(char *) "parent", NULL
22102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
22103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22105 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22109 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
22111 wxPyEndAllowThreads(__tstate
);
22112 if (PyErr_Occurred()) SWIG_fail
;
22115 resultobj
= wxPyMake_wxObject(result
, 0);
22123 static PyObject
*_wrap_Printer_ReportError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22124 PyObject
*resultobj
;
22125 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22126 wxWindow
*arg2
= (wxWindow
*) 0 ;
22127 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
22128 wxString
*arg4
= 0 ;
22129 bool temp4
= False
;
22130 PyObject
* obj0
= 0 ;
22131 PyObject
* obj1
= 0 ;
22132 PyObject
* obj2
= 0 ;
22133 PyObject
* obj3
= 0 ;
22134 char *kwnames
[] = {
22135 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
22138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22141 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22143 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
22144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22146 arg4
= wxString_in_helper(obj3
);
22147 if (arg4
== NULL
) SWIG_fail
;
22151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22152 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
22154 wxPyEndAllowThreads(__tstate
);
22155 if (PyErr_Occurred()) SWIG_fail
;
22157 Py_INCREF(Py_None
); resultobj
= Py_None
;
22172 static PyObject
*_wrap_Printer_Setup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22173 PyObject
*resultobj
;
22174 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22175 wxWindow
*arg2
= (wxWindow
*) 0 ;
22177 PyObject
* obj0
= 0 ;
22178 PyObject
* obj1
= 0 ;
22179 char *kwnames
[] = {
22180 (char *) "self",(char *) "parent", NULL
22183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
22184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22186 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22190 result
= (bool)(arg1
)->Setup(arg2
);
22192 wxPyEndAllowThreads(__tstate
);
22193 if (PyErr_Occurred()) SWIG_fail
;
22196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22204 static PyObject
*_wrap_Printer_GetAbort(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22205 PyObject
*resultobj
;
22206 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22208 PyObject
* obj0
= 0 ;
22209 char *kwnames
[] = {
22210 (char *) "self", NULL
22213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
22214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22218 result
= (bool)(arg1
)->GetAbort();
22220 wxPyEndAllowThreads(__tstate
);
22221 if (PyErr_Occurred()) SWIG_fail
;
22224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22232 static PyObject
*_wrap_Printer_GetLastError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22233 PyObject
*resultobj
;
22235 char *kwnames
[] = {
22239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
22241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22242 result
= (int)wxPrinter::GetLastError();
22244 wxPyEndAllowThreads(__tstate
);
22245 if (PyErr_Occurred()) SWIG_fail
;
22247 resultobj
= SWIG_From_int((int)result
);
22254 static PyObject
* Printer_swigregister(PyObject
*, PyObject
*args
) {
22256 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22257 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
22259 return Py_BuildValue((char *)"");
22261 static PyObject
*_wrap_new_Printout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22262 PyObject
*resultobj
;
22263 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
22264 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
22265 wxPyPrintout
*result
;
22266 bool temp1
= False
;
22267 PyObject
* obj0
= 0 ;
22268 char *kwnames
[] = {
22269 (char *) "title", NULL
22272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
22275 arg1
= wxString_in_helper(obj0
);
22276 if (arg1
== NULL
) SWIG_fail
;
22281 if (!wxPyCheckForApp()) SWIG_fail
;
22282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22283 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
22285 wxPyEndAllowThreads(__tstate
);
22286 if (PyErr_Occurred()) SWIG_fail
;
22289 resultobj
= wxPyMake_wxObject(result
, 1);
22305 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22306 PyObject
*resultobj
;
22307 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22308 PyObject
*arg2
= (PyObject
*) 0 ;
22309 PyObject
*arg3
= (PyObject
*) 0 ;
22310 PyObject
* obj0
= 0 ;
22311 PyObject
* obj1
= 0 ;
22312 PyObject
* obj2
= 0 ;
22313 char *kwnames
[] = {
22314 (char *) "self",(char *) "self",(char *) "_class", NULL
22317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22324 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22326 wxPyEndAllowThreads(__tstate
);
22327 if (PyErr_Occurred()) SWIG_fail
;
22329 Py_INCREF(Py_None
); resultobj
= Py_None
;
22336 static PyObject
*_wrap_Printout_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22337 PyObject
*resultobj
;
22338 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22340 PyObject
* obj0
= 0 ;
22341 char *kwnames
[] = {
22342 (char *) "self", NULL
22345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
22346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22350 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
22352 wxPyEndAllowThreads(__tstate
);
22353 if (PyErr_Occurred()) SWIG_fail
;
22357 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22359 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22368 static PyObject
*_wrap_Printout_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22369 PyObject
*resultobj
;
22370 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22372 PyObject
* obj0
= 0 ;
22373 char *kwnames
[] = {
22374 (char *) "self", NULL
22377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
22378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22382 result
= (wxDC
*)(arg1
)->GetDC();
22384 wxPyEndAllowThreads(__tstate
);
22385 if (PyErr_Occurred()) SWIG_fail
;
22388 resultobj
= wxPyMake_wxObject(result
, 0);
22396 static PyObject
*_wrap_Printout_SetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22397 PyObject
*resultobj
;
22398 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22399 wxDC
*arg2
= (wxDC
*) 0 ;
22400 PyObject
* obj0
= 0 ;
22401 PyObject
* obj1
= 0 ;
22402 char *kwnames
[] = {
22403 (char *) "self",(char *) "dc", NULL
22406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
22407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22409 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22413 (arg1
)->SetDC(arg2
);
22415 wxPyEndAllowThreads(__tstate
);
22416 if (PyErr_Occurred()) SWIG_fail
;
22418 Py_INCREF(Py_None
); resultobj
= Py_None
;
22425 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22426 PyObject
*resultobj
;
22427 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22430 PyObject
* obj0
= 0 ;
22431 PyObject
* obj1
= 0 ;
22432 PyObject
* obj2
= 0 ;
22433 char *kwnames
[] = {
22434 (char *) "self",(char *) "w",(char *) "h", NULL
22437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22440 arg2
= (int)SWIG_As_int(obj1
);
22441 if (PyErr_Occurred()) SWIG_fail
;
22442 arg3
= (int)SWIG_As_int(obj2
);
22443 if (PyErr_Occurred()) SWIG_fail
;
22445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22446 (arg1
)->SetPageSizePixels(arg2
,arg3
);
22448 wxPyEndAllowThreads(__tstate
);
22449 if (PyErr_Occurred()) SWIG_fail
;
22451 Py_INCREF(Py_None
); resultobj
= Py_None
;
22458 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22459 PyObject
*resultobj
;
22460 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22461 int *arg2
= (int *) 0 ;
22462 int *arg3
= (int *) 0 ;
22467 PyObject
* obj0
= 0 ;
22468 char *kwnames
[] = {
22469 (char *) "self", NULL
22472 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22473 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
22475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22479 (arg1
)->GetPageSizePixels(arg2
,arg3
);
22481 wxPyEndAllowThreads(__tstate
);
22482 if (PyErr_Occurred()) SWIG_fail
;
22484 Py_INCREF(Py_None
); resultobj
= Py_None
;
22485 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22486 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22487 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22488 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22495 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22496 PyObject
*resultobj
;
22497 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22500 PyObject
* obj0
= 0 ;
22501 PyObject
* obj1
= 0 ;
22502 PyObject
* obj2
= 0 ;
22503 char *kwnames
[] = {
22504 (char *) "self",(char *) "w",(char *) "h", NULL
22507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22510 arg2
= (int)SWIG_As_int(obj1
);
22511 if (PyErr_Occurred()) SWIG_fail
;
22512 arg3
= (int)SWIG_As_int(obj2
);
22513 if (PyErr_Occurred()) SWIG_fail
;
22515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22516 (arg1
)->SetPageSizeMM(arg2
,arg3
);
22518 wxPyEndAllowThreads(__tstate
);
22519 if (PyErr_Occurred()) SWIG_fail
;
22521 Py_INCREF(Py_None
); resultobj
= Py_None
;
22528 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22529 PyObject
*resultobj
;
22530 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22531 int *arg2
= (int *) 0 ;
22532 int *arg3
= (int *) 0 ;
22537 PyObject
* obj0
= 0 ;
22538 char *kwnames
[] = {
22539 (char *) "self", NULL
22542 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22543 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
22545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22549 (arg1
)->GetPageSizeMM(arg2
,arg3
);
22551 wxPyEndAllowThreads(__tstate
);
22552 if (PyErr_Occurred()) SWIG_fail
;
22554 Py_INCREF(Py_None
); resultobj
= Py_None
;
22555 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22556 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22557 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22558 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22565 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22566 PyObject
*resultobj
;
22567 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22570 PyObject
* obj0
= 0 ;
22571 PyObject
* obj1
= 0 ;
22572 PyObject
* obj2
= 0 ;
22573 char *kwnames
[] = {
22574 (char *) "self",(char *) "x",(char *) "y", NULL
22577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22580 arg2
= (int)SWIG_As_int(obj1
);
22581 if (PyErr_Occurred()) SWIG_fail
;
22582 arg3
= (int)SWIG_As_int(obj2
);
22583 if (PyErr_Occurred()) SWIG_fail
;
22585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22586 (arg1
)->SetPPIScreen(arg2
,arg3
);
22588 wxPyEndAllowThreads(__tstate
);
22589 if (PyErr_Occurred()) SWIG_fail
;
22591 Py_INCREF(Py_None
); resultobj
= Py_None
;
22598 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22599 PyObject
*resultobj
;
22600 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22601 int *arg2
= (int *) 0 ;
22602 int *arg3
= (int *) 0 ;
22607 PyObject
* obj0
= 0 ;
22608 char *kwnames
[] = {
22609 (char *) "self", NULL
22612 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22613 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
22615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22619 (arg1
)->GetPPIScreen(arg2
,arg3
);
22621 wxPyEndAllowThreads(__tstate
);
22622 if (PyErr_Occurred()) SWIG_fail
;
22624 Py_INCREF(Py_None
); resultobj
= Py_None
;
22625 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22626 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22627 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22628 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22635 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22636 PyObject
*resultobj
;
22637 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22640 PyObject
* obj0
= 0 ;
22641 PyObject
* obj1
= 0 ;
22642 PyObject
* obj2
= 0 ;
22643 char *kwnames
[] = {
22644 (char *) "self",(char *) "x",(char *) "y", NULL
22647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22650 arg2
= (int)SWIG_As_int(obj1
);
22651 if (PyErr_Occurred()) SWIG_fail
;
22652 arg3
= (int)SWIG_As_int(obj2
);
22653 if (PyErr_Occurred()) SWIG_fail
;
22655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22656 (arg1
)->SetPPIPrinter(arg2
,arg3
);
22658 wxPyEndAllowThreads(__tstate
);
22659 if (PyErr_Occurred()) SWIG_fail
;
22661 Py_INCREF(Py_None
); resultobj
= Py_None
;
22668 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22669 PyObject
*resultobj
;
22670 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22671 int *arg2
= (int *) 0 ;
22672 int *arg3
= (int *) 0 ;
22677 PyObject
* obj0
= 0 ;
22678 char *kwnames
[] = {
22679 (char *) "self", NULL
22682 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22683 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
22685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22689 (arg1
)->GetPPIPrinter(arg2
,arg3
);
22691 wxPyEndAllowThreads(__tstate
);
22692 if (PyErr_Occurred()) SWIG_fail
;
22694 Py_INCREF(Py_None
); resultobj
= Py_None
;
22695 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22696 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22697 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22698 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22705 static PyObject
*_wrap_Printout_IsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22706 PyObject
*resultobj
;
22707 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22709 PyObject
* obj0
= 0 ;
22710 char *kwnames
[] = {
22711 (char *) "self", NULL
22714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
22715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22719 result
= (bool)(arg1
)->IsPreview();
22721 wxPyEndAllowThreads(__tstate
);
22722 if (PyErr_Occurred()) SWIG_fail
;
22725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22733 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22734 PyObject
*resultobj
;
22735 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22737 PyObject
* obj0
= 0 ;
22738 PyObject
* obj1
= 0 ;
22739 char *kwnames
[] = {
22740 (char *) "self",(char *) "p", NULL
22743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
22744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22746 arg2
= (bool)SWIG_As_bool(obj1
);
22747 if (PyErr_Occurred()) SWIG_fail
;
22749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22750 (arg1
)->SetIsPreview(arg2
);
22752 wxPyEndAllowThreads(__tstate
);
22753 if (PyErr_Occurred()) SWIG_fail
;
22755 Py_INCREF(Py_None
); resultobj
= Py_None
;
22762 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22763 PyObject
*resultobj
;
22764 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22768 PyObject
* obj0
= 0 ;
22769 PyObject
* obj1
= 0 ;
22770 PyObject
* obj2
= 0 ;
22771 char *kwnames
[] = {
22772 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
22775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22778 arg2
= (int)SWIG_As_int(obj1
);
22779 if (PyErr_Occurred()) SWIG_fail
;
22780 arg3
= (int)SWIG_As_int(obj2
);
22781 if (PyErr_Occurred()) SWIG_fail
;
22783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22784 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
22786 wxPyEndAllowThreads(__tstate
);
22787 if (PyErr_Occurred()) SWIG_fail
;
22790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22798 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22799 PyObject
*resultobj
;
22800 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22801 PyObject
* obj0
= 0 ;
22802 char *kwnames
[] = {
22803 (char *) "self", NULL
22806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
22807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22811 (arg1
)->base_OnEndDocument();
22813 wxPyEndAllowThreads(__tstate
);
22814 if (PyErr_Occurred()) SWIG_fail
;
22816 Py_INCREF(Py_None
); resultobj
= Py_None
;
22823 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22824 PyObject
*resultobj
;
22825 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22826 PyObject
* obj0
= 0 ;
22827 char *kwnames
[] = {
22828 (char *) "self", NULL
22831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
22832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22836 (arg1
)->base_OnBeginPrinting();
22838 wxPyEndAllowThreads(__tstate
);
22839 if (PyErr_Occurred()) SWIG_fail
;
22841 Py_INCREF(Py_None
); resultobj
= Py_None
;
22848 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22849 PyObject
*resultobj
;
22850 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22851 PyObject
* obj0
= 0 ;
22852 char *kwnames
[] = {
22853 (char *) "self", NULL
22856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
22857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22861 (arg1
)->base_OnEndPrinting();
22863 wxPyEndAllowThreads(__tstate
);
22864 if (PyErr_Occurred()) SWIG_fail
;
22866 Py_INCREF(Py_None
); resultobj
= Py_None
;
22873 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22874 PyObject
*resultobj
;
22875 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22876 PyObject
* obj0
= 0 ;
22877 char *kwnames
[] = {
22878 (char *) "self", NULL
22881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
22882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22886 (arg1
)->base_OnPreparePrinting();
22888 wxPyEndAllowThreads(__tstate
);
22889 if (PyErr_Occurred()) SWIG_fail
;
22891 Py_INCREF(Py_None
); resultobj
= Py_None
;
22898 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22899 PyObject
*resultobj
;
22900 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22903 PyObject
* obj0
= 0 ;
22904 PyObject
* obj1
= 0 ;
22905 char *kwnames
[] = {
22906 (char *) "self",(char *) "page", NULL
22909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
22910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22912 arg2
= (int)SWIG_As_int(obj1
);
22913 if (PyErr_Occurred()) SWIG_fail
;
22915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22916 result
= (bool)(arg1
)->base_HasPage(arg2
);
22918 wxPyEndAllowThreads(__tstate
);
22919 if (PyErr_Occurred()) SWIG_fail
;
22922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22930 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22931 PyObject
*resultobj
;
22932 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22933 int *arg2
= (int *) 0 ;
22934 int *arg3
= (int *) 0 ;
22935 int *arg4
= (int *) 0 ;
22936 int *arg5
= (int *) 0 ;
22945 PyObject
* obj0
= 0 ;
22946 char *kwnames
[] = {
22947 (char *) "self", NULL
22950 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22951 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22952 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
22953 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
22954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
22955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22959 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
22961 wxPyEndAllowThreads(__tstate
);
22962 if (PyErr_Occurred()) SWIG_fail
;
22964 Py_INCREF(Py_None
); resultobj
= Py_None
;
22965 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22966 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22967 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22968 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22969 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
22970 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
22971 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
22972 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
22979 static PyObject
* Printout_swigregister(PyObject
*, PyObject
*args
) {
22981 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22982 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
22984 return Py_BuildValue((char *)"");
22986 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22987 PyObject
*resultobj
;
22988 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22989 wxWindow
*arg2
= (wxWindow
*) 0 ;
22990 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22991 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22992 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22993 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22994 long arg5
= (long) 0 ;
22995 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
22996 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22997 wxPreviewCanvas
*result
;
23000 bool temp6
= False
;
23001 PyObject
* obj0
= 0 ;
23002 PyObject
* obj1
= 0 ;
23003 PyObject
* obj2
= 0 ;
23004 PyObject
* obj3
= 0 ;
23005 PyObject
* obj4
= 0 ;
23006 PyObject
* obj5
= 0 ;
23007 char *kwnames
[] = {
23008 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
23012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23014 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23019 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23025 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23029 arg5
= (long)SWIG_As_long(obj4
);
23030 if (PyErr_Occurred()) SWIG_fail
;
23034 arg6
= wxString_in_helper(obj5
);
23035 if (arg6
== NULL
) SWIG_fail
;
23040 if (!wxPyCheckForApp()) SWIG_fail
;
23041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23042 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
23044 wxPyEndAllowThreads(__tstate
);
23045 if (PyErr_Occurred()) SWIG_fail
;
23047 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
23062 static PyObject
* PreviewCanvas_swigregister(PyObject
*, PyObject
*args
) {
23064 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23065 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
23067 return Py_BuildValue((char *)"");
23069 static PyObject
*_wrap_new_PreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23070 PyObject
*resultobj
;
23071 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23072 wxFrame
*arg2
= (wxFrame
*) 0 ;
23073 wxString
*arg3
= 0 ;
23074 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23075 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23076 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23077 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23078 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
23079 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
23080 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23081 wxPreviewFrame
*result
;
23082 bool temp3
= False
;
23085 bool temp7
= False
;
23086 PyObject
* obj0
= 0 ;
23087 PyObject
* obj1
= 0 ;
23088 PyObject
* obj2
= 0 ;
23089 PyObject
* obj3
= 0 ;
23090 PyObject
* obj4
= 0 ;
23091 PyObject
* obj5
= 0 ;
23092 PyObject
* obj6
= 0 ;
23093 char *kwnames
[] = {
23094 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23100 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
23101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23103 arg3
= wxString_in_helper(obj2
);
23104 if (arg3
== NULL
) SWIG_fail
;
23110 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23116 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23120 arg6
= (long)SWIG_As_long(obj5
);
23121 if (PyErr_Occurred()) SWIG_fail
;
23125 arg7
= wxString_in_helper(obj6
);
23126 if (arg7
== NULL
) SWIG_fail
;
23131 if (!wxPyCheckForApp()) SWIG_fail
;
23132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23133 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
23135 wxPyEndAllowThreads(__tstate
);
23136 if (PyErr_Occurred()) SWIG_fail
;
23138 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
23161 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23162 PyObject
*resultobj
;
23163 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
23164 PyObject
* obj0
= 0 ;
23165 char *kwnames
[] = {
23166 (char *) "self", NULL
23169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
23170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
23171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23174 (arg1
)->Initialize();
23176 wxPyEndAllowThreads(__tstate
);
23177 if (PyErr_Occurred()) SWIG_fail
;
23179 Py_INCREF(Py_None
); resultobj
= Py_None
;
23186 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23187 PyObject
*resultobj
;
23188 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
23189 PyObject
* obj0
= 0 ;
23190 char *kwnames
[] = {
23191 (char *) "self", NULL
23194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
23195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
23196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23199 (arg1
)->CreateControlBar();
23201 wxPyEndAllowThreads(__tstate
);
23202 if (PyErr_Occurred()) SWIG_fail
;
23204 Py_INCREF(Py_None
); resultobj
= Py_None
;
23211 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23212 PyObject
*resultobj
;
23213 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
23214 PyObject
* obj0
= 0 ;
23215 char *kwnames
[] = {
23216 (char *) "self", NULL
23219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
23220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
23221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23224 (arg1
)->CreateCanvas();
23226 wxPyEndAllowThreads(__tstate
);
23227 if (PyErr_Occurred()) SWIG_fail
;
23229 Py_INCREF(Py_None
); resultobj
= Py_None
;
23236 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23237 PyObject
*resultobj
;
23238 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
23239 wxPreviewControlBar
*result
;
23240 PyObject
* obj0
= 0 ;
23241 char *kwnames
[] = {
23242 (char *) "self", NULL
23245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
23246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
23247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23250 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
23252 wxPyEndAllowThreads(__tstate
);
23253 if (PyErr_Occurred()) SWIG_fail
;
23255 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
23262 static PyObject
* PreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
23264 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23265 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
23267 return Py_BuildValue((char *)"");
23269 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23270 PyObject
*resultobj
;
23271 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23273 wxWindow
*arg3
= (wxWindow
*) 0 ;
23274 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23275 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23276 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23277 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23278 long arg6
= (long) wxTAB_TRAVERSAL
;
23279 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
23280 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23281 wxPreviewControlBar
*result
;
23284 bool temp7
= False
;
23285 PyObject
* obj0
= 0 ;
23286 PyObject
* obj1
= 0 ;
23287 PyObject
* obj2
= 0 ;
23288 PyObject
* obj3
= 0 ;
23289 PyObject
* obj4
= 0 ;
23290 PyObject
* obj5
= 0 ;
23291 PyObject
* obj6
= 0 ;
23292 char *kwnames
[] = {
23293 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23299 arg2
= (long)SWIG_As_long(obj1
);
23300 if (PyErr_Occurred()) SWIG_fail
;
23301 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
23302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23306 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23312 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23316 arg6
= (long)SWIG_As_long(obj5
);
23317 if (PyErr_Occurred()) SWIG_fail
;
23321 arg7
= wxString_in_helper(obj6
);
23322 if (arg7
== NULL
) SWIG_fail
;
23327 if (!wxPyCheckForApp()) SWIG_fail
;
23328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23329 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
23331 wxPyEndAllowThreads(__tstate
);
23332 if (PyErr_Occurred()) SWIG_fail
;
23334 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
23349 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23350 PyObject
*resultobj
;
23351 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23353 PyObject
* obj0
= 0 ;
23354 char *kwnames
[] = {
23355 (char *) "self", NULL
23358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
23359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23363 result
= (int)(arg1
)->GetZoomControl();
23365 wxPyEndAllowThreads(__tstate
);
23366 if (PyErr_Occurred()) SWIG_fail
;
23368 resultobj
= SWIG_From_int((int)result
);
23375 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23376 PyObject
*resultobj
;
23377 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23379 PyObject
* obj0
= 0 ;
23380 PyObject
* obj1
= 0 ;
23381 char *kwnames
[] = {
23382 (char *) "self",(char *) "zoom", NULL
23385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
23386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23388 arg2
= (int)SWIG_As_int(obj1
);
23389 if (PyErr_Occurred()) SWIG_fail
;
23391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23392 (arg1
)->SetZoomControl(arg2
);
23394 wxPyEndAllowThreads(__tstate
);
23395 if (PyErr_Occurred()) SWIG_fail
;
23397 Py_INCREF(Py_None
); resultobj
= Py_None
;
23404 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23405 PyObject
*resultobj
;
23406 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23407 wxPrintPreview
*result
;
23408 PyObject
* obj0
= 0 ;
23409 char *kwnames
[] = {
23410 (char *) "self", NULL
23413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
23414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23418 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
23420 wxPyEndAllowThreads(__tstate
);
23421 if (PyErr_Occurred()) SWIG_fail
;
23423 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
23430 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23431 PyObject
*resultobj
;
23432 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23433 PyObject
* obj0
= 0 ;
23434 char *kwnames
[] = {
23435 (char *) "self", NULL
23438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
23439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23445 wxPyEndAllowThreads(__tstate
);
23446 if (PyErr_Occurred()) SWIG_fail
;
23448 Py_INCREF(Py_None
); resultobj
= Py_None
;
23455 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23456 PyObject
*resultobj
;
23457 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23458 PyObject
* obj0
= 0 ;
23459 char *kwnames
[] = {
23460 (char *) "self", NULL
23463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
23464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23468 (arg1
)->OnPrevious();
23470 wxPyEndAllowThreads(__tstate
);
23471 if (PyErr_Occurred()) SWIG_fail
;
23473 Py_INCREF(Py_None
); resultobj
= Py_None
;
23480 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23481 PyObject
*resultobj
;
23482 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23483 PyObject
* obj0
= 0 ;
23484 char *kwnames
[] = {
23485 (char *) "self", NULL
23488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
23489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23495 wxPyEndAllowThreads(__tstate
);
23496 if (PyErr_Occurred()) SWIG_fail
;
23498 Py_INCREF(Py_None
); resultobj
= Py_None
;
23505 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23506 PyObject
*resultobj
;
23507 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23508 PyObject
* obj0
= 0 ;
23509 char *kwnames
[] = {
23510 (char *) "self", NULL
23513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
23514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23520 wxPyEndAllowThreads(__tstate
);
23521 if (PyErr_Occurred()) SWIG_fail
;
23523 Py_INCREF(Py_None
); resultobj
= Py_None
;
23530 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23531 PyObject
*resultobj
;
23532 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23533 PyObject
* obj0
= 0 ;
23534 char *kwnames
[] = {
23535 (char *) "self", NULL
23538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
23539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23545 wxPyEndAllowThreads(__tstate
);
23546 if (PyErr_Occurred()) SWIG_fail
;
23548 Py_INCREF(Py_None
); resultobj
= Py_None
;
23555 static PyObject
* PreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
23557 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23558 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
23560 return Py_BuildValue((char *)"");
23562 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
23563 PyObject
*resultobj
;
23564 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23565 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23566 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
23567 wxPrintPreview
*result
;
23568 PyObject
* obj0
= 0 ;
23569 PyObject
* obj1
= 0 ;
23570 PyObject
* obj2
= 0 ;
23572 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23575 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23578 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
23579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23582 if (!wxPyCheckForApp()) SWIG_fail
;
23583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23584 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
23586 wxPyEndAllowThreads(__tstate
);
23587 if (PyErr_Occurred()) SWIG_fail
;
23589 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
23596 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
23597 PyObject
*resultobj
;
23598 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23599 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23600 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
23601 wxPrintPreview
*result
;
23602 PyObject
* obj0
= 0 ;
23603 PyObject
* obj1
= 0 ;
23604 PyObject
* obj2
= 0 ;
23606 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23609 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23611 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
23612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23614 if (!wxPyCheckForApp()) SWIG_fail
;
23615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23616 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
23618 wxPyEndAllowThreads(__tstate
);
23619 if (PyErr_Occurred()) SWIG_fail
;
23621 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
23628 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
23633 argc
= PyObject_Length(args
);
23634 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
23635 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23637 if ((argc
>= 2) && (argc
<= 3)) {
23641 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23651 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23660 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
23664 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
23672 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
23681 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23691 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23701 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
23709 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
23715 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintPreview'");
23720 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23721 PyObject
*resultobj
;
23722 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23725 PyObject
* obj0
= 0 ;
23726 PyObject
* obj1
= 0 ;
23727 char *kwnames
[] = {
23728 (char *) "self",(char *) "pageNum", NULL
23731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23734 arg2
= (int)SWIG_As_int(obj1
);
23735 if (PyErr_Occurred()) SWIG_fail
;
23737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23738 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
23740 wxPyEndAllowThreads(__tstate
);
23741 if (PyErr_Occurred()) SWIG_fail
;
23744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23752 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23753 PyObject
*resultobj
;
23754 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23756 PyObject
* obj0
= 0 ;
23757 char *kwnames
[] = {
23758 (char *) "self", NULL
23761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
23762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23766 result
= (int)(arg1
)->GetCurrentPage();
23768 wxPyEndAllowThreads(__tstate
);
23769 if (PyErr_Occurred()) SWIG_fail
;
23771 resultobj
= SWIG_From_int((int)result
);
23778 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23779 PyObject
*resultobj
;
23780 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23781 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23782 PyObject
* obj0
= 0 ;
23783 PyObject
* obj1
= 0 ;
23784 char *kwnames
[] = {
23785 (char *) "self",(char *) "printout", NULL
23788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
23789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23791 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23795 (arg1
)->SetPrintout(arg2
);
23797 wxPyEndAllowThreads(__tstate
);
23798 if (PyErr_Occurred()) SWIG_fail
;
23800 Py_INCREF(Py_None
); resultobj
= Py_None
;
23807 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23808 PyObject
*resultobj
;
23809 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23810 wxPyPrintout
*result
;
23811 PyObject
* obj0
= 0 ;
23812 char *kwnames
[] = {
23813 (char *) "self", NULL
23816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
23817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23821 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
23823 wxPyEndAllowThreads(__tstate
);
23824 if (PyErr_Occurred()) SWIG_fail
;
23827 resultobj
= wxPyMake_wxObject(result
, 0);
23835 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23836 PyObject
*resultobj
;
23837 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23838 wxPyPrintout
*result
;
23839 PyObject
* obj0
= 0 ;
23840 char *kwnames
[] = {
23841 (char *) "self", NULL
23844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
23845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23849 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
23851 wxPyEndAllowThreads(__tstate
);
23852 if (PyErr_Occurred()) SWIG_fail
;
23855 resultobj
= wxPyMake_wxObject(result
, 0);
23863 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23864 PyObject
*resultobj
;
23865 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23866 wxFrame
*arg2
= (wxFrame
*) 0 ;
23867 PyObject
* obj0
= 0 ;
23868 PyObject
* obj1
= 0 ;
23869 char *kwnames
[] = {
23870 (char *) "self",(char *) "frame", NULL
23873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
23874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23876 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
23877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23880 (arg1
)->SetFrame(arg2
);
23882 wxPyEndAllowThreads(__tstate
);
23883 if (PyErr_Occurred()) SWIG_fail
;
23885 Py_INCREF(Py_None
); resultobj
= Py_None
;
23892 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23893 PyObject
*resultobj
;
23894 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23895 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23896 PyObject
* obj0
= 0 ;
23897 PyObject
* obj1
= 0 ;
23898 char *kwnames
[] = {
23899 (char *) "self",(char *) "canvas", NULL
23902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
23903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23905 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23909 (arg1
)->SetCanvas(arg2
);
23911 wxPyEndAllowThreads(__tstate
);
23912 if (PyErr_Occurred()) SWIG_fail
;
23914 Py_INCREF(Py_None
); resultobj
= Py_None
;
23921 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23922 PyObject
*resultobj
;
23923 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23925 PyObject
* obj0
= 0 ;
23926 char *kwnames
[] = {
23927 (char *) "self", NULL
23930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
23931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23935 result
= (wxFrame
*)(arg1
)->GetFrame();
23937 wxPyEndAllowThreads(__tstate
);
23938 if (PyErr_Occurred()) SWIG_fail
;
23941 resultobj
= wxPyMake_wxObject(result
, 0);
23949 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23950 PyObject
*resultobj
;
23951 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23952 wxPreviewCanvas
*result
;
23953 PyObject
* obj0
= 0 ;
23954 char *kwnames
[] = {
23955 (char *) "self", NULL
23958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
23959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23963 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
23965 wxPyEndAllowThreads(__tstate
);
23966 if (PyErr_Occurred()) SWIG_fail
;
23968 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
23975 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23976 PyObject
*resultobj
;
23977 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23978 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23981 PyObject
* obj0
= 0 ;
23982 PyObject
* obj1
= 0 ;
23983 PyObject
* obj2
= 0 ;
23984 char *kwnames
[] = {
23985 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23991 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23993 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23994 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23996 if (arg3
== NULL
) {
23997 PyErr_SetString(PyExc_TypeError
,"null reference");
24001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24002 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
24004 wxPyEndAllowThreads(__tstate
);
24005 if (PyErr_Occurred()) SWIG_fail
;
24008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24016 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24017 PyObject
*resultobj
;
24018 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24019 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24022 PyObject
* obj0
= 0 ;
24023 PyObject
* obj1
= 0 ;
24024 PyObject
* obj2
= 0 ;
24025 char *kwnames
[] = {
24026 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24032 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24034 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24035 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24037 if (arg3
== NULL
) {
24038 PyErr_SetString(PyExc_TypeError
,"null reference");
24042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24043 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
24045 wxPyEndAllowThreads(__tstate
);
24046 if (PyErr_Occurred()) SWIG_fail
;
24049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24057 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24058 PyObject
*resultobj
;
24059 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24062 PyObject
* obj0
= 0 ;
24063 PyObject
* obj1
= 0 ;
24064 char *kwnames
[] = {
24065 (char *) "self",(char *) "pageNum", NULL
24068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24071 arg2
= (int)SWIG_As_int(obj1
);
24072 if (PyErr_Occurred()) SWIG_fail
;
24074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24075 result
= (bool)(arg1
)->RenderPage(arg2
);
24077 wxPyEndAllowThreads(__tstate
);
24078 if (PyErr_Occurred()) SWIG_fail
;
24081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24089 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24090 PyObject
*resultobj
;
24091 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24092 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24093 PyObject
* obj0
= 0 ;
24094 PyObject
* obj1
= 0 ;
24095 char *kwnames
[] = {
24096 (char *) "self",(char *) "canvas", NULL
24099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
24100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24102 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24106 (arg1
)->AdjustScrollbars(arg2
);
24108 wxPyEndAllowThreads(__tstate
);
24109 if (PyErr_Occurred()) SWIG_fail
;
24111 Py_INCREF(Py_None
); resultobj
= Py_None
;
24118 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24119 PyObject
*resultobj
;
24120 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24121 wxPrintDialogData
*result
;
24122 PyObject
* obj0
= 0 ;
24123 char *kwnames
[] = {
24124 (char *) "self", NULL
24127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
24128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24133 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
24134 result
= (wxPrintDialogData
*) &_result_ref
;
24137 wxPyEndAllowThreads(__tstate
);
24138 if (PyErr_Occurred()) SWIG_fail
;
24140 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
24147 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24148 PyObject
*resultobj
;
24149 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24151 PyObject
* obj0
= 0 ;
24152 PyObject
* obj1
= 0 ;
24153 char *kwnames
[] = {
24154 (char *) "self",(char *) "percent", NULL
24157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
24158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24160 arg2
= (int)SWIG_As_int(obj1
);
24161 if (PyErr_Occurred()) SWIG_fail
;
24163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24164 (arg1
)->SetZoom(arg2
);
24166 wxPyEndAllowThreads(__tstate
);
24167 if (PyErr_Occurred()) SWIG_fail
;
24169 Py_INCREF(Py_None
); resultobj
= Py_None
;
24176 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24177 PyObject
*resultobj
;
24178 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24180 PyObject
* obj0
= 0 ;
24181 char *kwnames
[] = {
24182 (char *) "self", NULL
24185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
24186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24190 result
= (int)(arg1
)->GetZoom();
24192 wxPyEndAllowThreads(__tstate
);
24193 if (PyErr_Occurred()) SWIG_fail
;
24195 resultobj
= SWIG_From_int((int)result
);
24202 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24203 PyObject
*resultobj
;
24204 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24206 PyObject
* obj0
= 0 ;
24207 char *kwnames
[] = {
24208 (char *) "self", NULL
24211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
24212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24216 result
= (int)(arg1
)->GetMaxPage();
24218 wxPyEndAllowThreads(__tstate
);
24219 if (PyErr_Occurred()) SWIG_fail
;
24221 resultobj
= SWIG_From_int((int)result
);
24228 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24229 PyObject
*resultobj
;
24230 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24232 PyObject
* obj0
= 0 ;
24233 char *kwnames
[] = {
24234 (char *) "self", NULL
24237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
24238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24242 result
= (int)(arg1
)->GetMinPage();
24244 wxPyEndAllowThreads(__tstate
);
24245 if (PyErr_Occurred()) SWIG_fail
;
24247 resultobj
= SWIG_From_int((int)result
);
24254 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24255 PyObject
*resultobj
;
24256 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24258 PyObject
* obj0
= 0 ;
24259 char *kwnames
[] = {
24260 (char *) "self", NULL
24263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
24264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24268 result
= (bool)(arg1
)->Ok();
24270 wxPyEndAllowThreads(__tstate
);
24271 if (PyErr_Occurred()) SWIG_fail
;
24274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24282 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24283 PyObject
*resultobj
;
24284 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24286 PyObject
* obj0
= 0 ;
24287 PyObject
* obj1
= 0 ;
24288 char *kwnames
[] = {
24289 (char *) "self",(char *) "ok", NULL
24292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
24293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24295 arg2
= (bool)SWIG_As_bool(obj1
);
24296 if (PyErr_Occurred()) SWIG_fail
;
24298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24299 (arg1
)->SetOk(arg2
);
24301 wxPyEndAllowThreads(__tstate
);
24302 if (PyErr_Occurred()) SWIG_fail
;
24304 Py_INCREF(Py_None
); resultobj
= Py_None
;
24311 static PyObject
*_wrap_PrintPreview_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24312 PyObject
*resultobj
;
24313 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24316 PyObject
* obj0
= 0 ;
24317 PyObject
* obj1
= 0 ;
24318 char *kwnames
[] = {
24319 (char *) "self",(char *) "interactive", NULL
24322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
24323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24325 arg2
= (bool)SWIG_As_bool(obj1
);
24326 if (PyErr_Occurred()) SWIG_fail
;
24328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24329 result
= (bool)(arg1
)->Print(arg2
);
24331 wxPyEndAllowThreads(__tstate
);
24332 if (PyErr_Occurred()) SWIG_fail
;
24335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24343 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24344 PyObject
*resultobj
;
24345 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24346 PyObject
* obj0
= 0 ;
24347 char *kwnames
[] = {
24348 (char *) "self", NULL
24351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
24352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24356 (arg1
)->DetermineScaling();
24358 wxPyEndAllowThreads(__tstate
);
24359 if (PyErr_Occurred()) SWIG_fail
;
24361 Py_INCREF(Py_None
); resultobj
= Py_None
;
24368 static PyObject
* PrintPreview_swigregister(PyObject
*, PyObject
*args
) {
24370 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24371 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
24373 return Py_BuildValue((char *)"");
24375 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
24376 PyObject
*resultobj
;
24377 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24378 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
24379 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
24380 wxPyPrintPreview
*result
;
24381 PyObject
* obj0
= 0 ;
24382 PyObject
* obj1
= 0 ;
24383 PyObject
* obj2
= 0 ;
24385 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
24386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
24387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24388 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
24389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24391 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
24392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24395 if (!wxPyCheckForApp()) SWIG_fail
;
24396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24397 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
24399 wxPyEndAllowThreads(__tstate
);
24400 if (PyErr_Occurred()) SWIG_fail
;
24402 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
24409 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
24410 PyObject
*resultobj
;
24411 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24412 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
24413 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
24414 wxPyPrintPreview
*result
;
24415 PyObject
* obj0
= 0 ;
24416 PyObject
* obj1
= 0 ;
24417 PyObject
* obj2
= 0 ;
24419 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
24420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
24421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24422 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
24423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24424 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
24425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24427 if (!wxPyCheckForApp()) SWIG_fail
;
24428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24429 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
24431 wxPyEndAllowThreads(__tstate
);
24432 if (PyErr_Occurred()) SWIG_fail
;
24434 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
24441 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
24446 argc
= PyObject_Length(args
);
24447 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
24448 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24450 if ((argc
>= 2) && (argc
<= 3)) {
24454 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24464 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24473 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
24477 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
24485 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
24494 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24504 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24514 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
24522 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
24528 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PyPrintPreview'");
24533 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24534 PyObject
*resultobj
;
24535 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24536 PyObject
*arg2
= (PyObject
*) 0 ;
24537 PyObject
*arg3
= (PyObject
*) 0 ;
24538 PyObject
* obj0
= 0 ;
24539 PyObject
* obj1
= 0 ;
24540 PyObject
* obj2
= 0 ;
24541 char *kwnames
[] = {
24542 (char *) "self",(char *) "self",(char *) "_class", NULL
24545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24552 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24554 wxPyEndAllowThreads(__tstate
);
24555 if (PyErr_Occurred()) SWIG_fail
;
24557 Py_INCREF(Py_None
); resultobj
= Py_None
;
24564 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24565 PyObject
*resultobj
;
24566 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24569 PyObject
* obj0
= 0 ;
24570 PyObject
* obj1
= 0 ;
24571 char *kwnames
[] = {
24572 (char *) "self",(char *) "pageNum", NULL
24575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24578 arg2
= (int)SWIG_As_int(obj1
);
24579 if (PyErr_Occurred()) SWIG_fail
;
24581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24582 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
24584 wxPyEndAllowThreads(__tstate
);
24585 if (PyErr_Occurred()) SWIG_fail
;
24588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24596 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24597 PyObject
*resultobj
;
24598 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24599 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24602 PyObject
* obj0
= 0 ;
24603 PyObject
* obj1
= 0 ;
24604 PyObject
* obj2
= 0 ;
24605 char *kwnames
[] = {
24606 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24612 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24614 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24615 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24617 if (arg3
== NULL
) {
24618 PyErr_SetString(PyExc_TypeError
,"null reference");
24622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24623 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
24625 wxPyEndAllowThreads(__tstate
);
24626 if (PyErr_Occurred()) SWIG_fail
;
24629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24637 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24638 PyObject
*resultobj
;
24639 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24640 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24643 PyObject
* obj0
= 0 ;
24644 PyObject
* obj1
= 0 ;
24645 PyObject
* obj2
= 0 ;
24646 char *kwnames
[] = {
24647 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24653 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24655 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24656 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24658 if (arg3
== NULL
) {
24659 PyErr_SetString(PyExc_TypeError
,"null reference");
24663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24664 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
24666 wxPyEndAllowThreads(__tstate
);
24667 if (PyErr_Occurred()) SWIG_fail
;
24670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24678 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24679 PyObject
*resultobj
;
24680 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24683 PyObject
* obj0
= 0 ;
24684 PyObject
* obj1
= 0 ;
24685 char *kwnames
[] = {
24686 (char *) "self",(char *) "pageNum", NULL
24689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24692 arg2
= (int)SWIG_As_int(obj1
);
24693 if (PyErr_Occurred()) SWIG_fail
;
24695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24696 result
= (bool)(arg1
)->base_RenderPage(arg2
);
24698 wxPyEndAllowThreads(__tstate
);
24699 if (PyErr_Occurred()) SWIG_fail
;
24702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24710 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24711 PyObject
*resultobj
;
24712 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24714 PyObject
* obj0
= 0 ;
24715 PyObject
* obj1
= 0 ;
24716 char *kwnames
[] = {
24717 (char *) "self",(char *) "percent", NULL
24720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
24721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24723 arg2
= (int)SWIG_As_int(obj1
);
24724 if (PyErr_Occurred()) SWIG_fail
;
24726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24727 (arg1
)->base_SetZoom(arg2
);
24729 wxPyEndAllowThreads(__tstate
);
24730 if (PyErr_Occurred()) SWIG_fail
;
24732 Py_INCREF(Py_None
); resultobj
= Py_None
;
24739 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24740 PyObject
*resultobj
;
24741 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24744 PyObject
* obj0
= 0 ;
24745 PyObject
* obj1
= 0 ;
24746 char *kwnames
[] = {
24747 (char *) "self",(char *) "interactive", NULL
24750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
24751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24753 arg2
= (bool)SWIG_As_bool(obj1
);
24754 if (PyErr_Occurred()) SWIG_fail
;
24756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24757 result
= (bool)(arg1
)->base_Print(arg2
);
24759 wxPyEndAllowThreads(__tstate
);
24760 if (PyErr_Occurred()) SWIG_fail
;
24763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24771 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24772 PyObject
*resultobj
;
24773 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24774 PyObject
* obj0
= 0 ;
24775 char *kwnames
[] = {
24776 (char *) "self", NULL
24779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
24780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24784 (arg1
)->base_DetermineScaling();
24786 wxPyEndAllowThreads(__tstate
);
24787 if (PyErr_Occurred()) SWIG_fail
;
24789 Py_INCREF(Py_None
); resultobj
= Py_None
;
24796 static PyObject
* PyPrintPreview_swigregister(PyObject
*, PyObject
*args
) {
24798 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24799 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
24801 return Py_BuildValue((char *)"");
24803 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24804 PyObject
*resultobj
;
24805 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24806 wxFrame
*arg2
= (wxFrame
*) 0 ;
24807 wxString
*arg3
= 0 ;
24808 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24809 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24810 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24811 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24812 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
24813 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
24814 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24815 wxPyPreviewFrame
*result
;
24816 bool temp3
= False
;
24819 bool temp7
= False
;
24820 PyObject
* obj0
= 0 ;
24821 PyObject
* obj1
= 0 ;
24822 PyObject
* obj2
= 0 ;
24823 PyObject
* obj3
= 0 ;
24824 PyObject
* obj4
= 0 ;
24825 PyObject
* obj5
= 0 ;
24826 PyObject
* obj6
= 0 ;
24827 char *kwnames
[] = {
24828 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24834 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
24835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24837 arg3
= wxString_in_helper(obj2
);
24838 if (arg3
== NULL
) SWIG_fail
;
24844 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24850 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24854 arg6
= (long)SWIG_As_long(obj5
);
24855 if (PyErr_Occurred()) SWIG_fail
;
24859 arg7
= wxString_in_helper(obj6
);
24860 if (arg7
== NULL
) SWIG_fail
;
24865 if (!wxPyCheckForApp()) SWIG_fail
;
24866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24867 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24869 wxPyEndAllowThreads(__tstate
);
24870 if (PyErr_Occurred()) SWIG_fail
;
24872 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
24895 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24896 PyObject
*resultobj
;
24897 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24898 PyObject
*arg2
= (PyObject
*) 0 ;
24899 PyObject
*arg3
= (PyObject
*) 0 ;
24900 PyObject
* obj0
= 0 ;
24901 PyObject
* obj1
= 0 ;
24902 PyObject
* obj2
= 0 ;
24903 char *kwnames
[] = {
24904 (char *) "self",(char *) "self",(char *) "_class", NULL
24907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24914 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24916 wxPyEndAllowThreads(__tstate
);
24917 if (PyErr_Occurred()) SWIG_fail
;
24919 Py_INCREF(Py_None
); resultobj
= Py_None
;
24926 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24927 PyObject
*resultobj
;
24928 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24929 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24930 PyObject
* obj0
= 0 ;
24931 PyObject
* obj1
= 0 ;
24932 char *kwnames
[] = {
24933 (char *) "self",(char *) "canvas", NULL
24936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
24937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24939 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24943 (arg1
)->SetPreviewCanvas(arg2
);
24945 wxPyEndAllowThreads(__tstate
);
24946 if (PyErr_Occurred()) SWIG_fail
;
24948 Py_INCREF(Py_None
); resultobj
= Py_None
;
24955 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24956 PyObject
*resultobj
;
24957 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24958 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
24959 PyObject
* obj0
= 0 ;
24960 PyObject
* obj1
= 0 ;
24961 char *kwnames
[] = {
24962 (char *) "self",(char *) "bar", NULL
24965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
24966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24968 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewControlBar
,
24969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24972 (arg1
)->SetControlBar(arg2
);
24974 wxPyEndAllowThreads(__tstate
);
24975 if (PyErr_Occurred()) SWIG_fail
;
24977 Py_INCREF(Py_None
); resultobj
= Py_None
;
24984 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24985 PyObject
*resultobj
;
24986 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24987 PyObject
* obj0
= 0 ;
24988 char *kwnames
[] = {
24989 (char *) "self", NULL
24992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
24993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24997 (arg1
)->base_Initialize();
24999 wxPyEndAllowThreads(__tstate
);
25000 if (PyErr_Occurred()) SWIG_fail
;
25002 Py_INCREF(Py_None
); resultobj
= Py_None
;
25009 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25010 PyObject
*resultobj
;
25011 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
25012 PyObject
* obj0
= 0 ;
25013 char *kwnames
[] = {
25014 (char *) "self", NULL
25017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
25018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
25019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25022 (arg1
)->base_CreateCanvas();
25024 wxPyEndAllowThreads(__tstate
);
25025 if (PyErr_Occurred()) SWIG_fail
;
25027 Py_INCREF(Py_None
); resultobj
= Py_None
;
25034 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25035 PyObject
*resultobj
;
25036 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
25037 PyObject
* obj0
= 0 ;
25038 char *kwnames
[] = {
25039 (char *) "self", NULL
25042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
25043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
25044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25047 (arg1
)->base_CreateControlBar();
25049 wxPyEndAllowThreads(__tstate
);
25050 if (PyErr_Occurred()) SWIG_fail
;
25052 Py_INCREF(Py_None
); resultobj
= Py_None
;
25059 static PyObject
* PyPreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
25061 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25062 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
25064 return Py_BuildValue((char *)"");
25066 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25067 PyObject
*resultobj
;
25068 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25070 wxWindow
*arg3
= (wxWindow
*) 0 ;
25071 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25072 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25073 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25074 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25075 long arg6
= (long) 0 ;
25076 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
25077 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25078 wxPyPreviewControlBar
*result
;
25081 bool temp7
= False
;
25082 PyObject
* obj0
= 0 ;
25083 PyObject
* obj1
= 0 ;
25084 PyObject
* obj2
= 0 ;
25085 PyObject
* obj3
= 0 ;
25086 PyObject
* obj4
= 0 ;
25087 PyObject
* obj5
= 0 ;
25088 PyObject
* obj6
= 0 ;
25089 char *kwnames
[] = {
25090 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
25095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25096 arg2
= (long)SWIG_As_long(obj1
);
25097 if (PyErr_Occurred()) SWIG_fail
;
25098 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
25099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25103 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25109 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25113 arg6
= (long)SWIG_As_long(obj5
);
25114 if (PyErr_Occurred()) SWIG_fail
;
25118 arg7
= wxString_in_helper(obj6
);
25119 if (arg7
== NULL
) SWIG_fail
;
25124 if (!wxPyCheckForApp()) SWIG_fail
;
25125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25126 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25128 wxPyEndAllowThreads(__tstate
);
25129 if (PyErr_Occurred()) SWIG_fail
;
25131 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
25146 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25147 PyObject
*resultobj
;
25148 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
25149 PyObject
*arg2
= (PyObject
*) 0 ;
25150 PyObject
*arg3
= (PyObject
*) 0 ;
25151 PyObject
* obj0
= 0 ;
25152 PyObject
* obj1
= 0 ;
25153 PyObject
* obj2
= 0 ;
25154 char *kwnames
[] = {
25155 (char *) "self",(char *) "self",(char *) "_class", NULL
25158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
25160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25165 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25167 wxPyEndAllowThreads(__tstate
);
25168 if (PyErr_Occurred()) SWIG_fail
;
25170 Py_INCREF(Py_None
); resultobj
= Py_None
;
25177 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25178 PyObject
*resultobj
;
25179 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
25180 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
25181 PyObject
* obj0
= 0 ;
25182 PyObject
* obj1
= 0 ;
25183 char *kwnames
[] = {
25184 (char *) "self",(char *) "preview", NULL
25187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
25188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
25189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25190 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintPreview
,
25191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25194 (arg1
)->SetPrintPreview(arg2
);
25196 wxPyEndAllowThreads(__tstate
);
25197 if (PyErr_Occurred()) SWIG_fail
;
25199 Py_INCREF(Py_None
); resultobj
= Py_None
;
25206 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25207 PyObject
*resultobj
;
25208 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
25209 PyObject
* obj0
= 0 ;
25210 char *kwnames
[] = {
25211 (char *) "self", NULL
25214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
25215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
25216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25219 (arg1
)->base_CreateButtons();
25221 wxPyEndAllowThreads(__tstate
);
25222 if (PyErr_Occurred()) SWIG_fail
;
25224 Py_INCREF(Py_None
); resultobj
= Py_None
;
25231 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25232 PyObject
*resultobj
;
25233 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
25235 PyObject
* obj0
= 0 ;
25236 PyObject
* obj1
= 0 ;
25237 char *kwnames
[] = {
25238 (char *) "self",(char *) "zoom", NULL
25241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
25242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
25243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25244 arg2
= (int)SWIG_As_int(obj1
);
25245 if (PyErr_Occurred()) SWIG_fail
;
25247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25248 (arg1
)->base_SetZoomControl(arg2
);
25250 wxPyEndAllowThreads(__tstate
);
25251 if (PyErr_Occurred()) SWIG_fail
;
25253 Py_INCREF(Py_None
); resultobj
= Py_None
;
25260 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
25262 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25263 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
25265 return Py_BuildValue((char *)"");
25267 static PyMethodDef SwigMethods
[] = {
25268 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25269 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25270 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25271 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25272 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25273 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
25274 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25275 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25276 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25277 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25278 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25279 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25280 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25281 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25282 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25283 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25284 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25285 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25286 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25287 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25288 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
25289 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
25290 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25291 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25292 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25293 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25294 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25295 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_GetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25296 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25297 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25298 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
25299 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25300 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25301 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25302 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25303 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25304 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25305 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25306 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25307 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25308 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25309 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25310 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25311 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25312 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25313 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
25314 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25315 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25316 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25317 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25318 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25319 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25320 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25321 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25322 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25323 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25324 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25325 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25326 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25327 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25328 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25329 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25330 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25331 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25332 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25333 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25334 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25335 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25336 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25337 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
25338 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25339 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25340 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25341 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25342 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25343 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25344 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25345 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25346 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25347 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25348 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25349 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
25350 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25351 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25352 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25353 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
25354 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25355 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25356 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25357 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
25358 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25359 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25360 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25361 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25362 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
25363 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25364 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25365 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25366 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25367 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25368 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25369 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25370 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25371 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25372 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25373 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25374 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25375 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25376 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25377 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25378 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25379 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
25380 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25381 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25382 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25383 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25384 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25385 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25386 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25387 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25388 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25389 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25390 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25391 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25392 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25393 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25394 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25395 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25396 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25397 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25398 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25399 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25400 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25401 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25402 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25403 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25404 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25405 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25406 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25407 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
25408 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25409 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25410 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25411 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25412 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25413 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25414 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
25415 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25416 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25417 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25418 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25419 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25420 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25421 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25422 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25423 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25424 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25425 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25426 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25427 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25428 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25429 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25430 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25431 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25432 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25433 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25434 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25435 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25436 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25437 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
25438 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25439 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25440 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25441 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25442 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25443 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25444 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25445 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
25446 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25447 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25448 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25449 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25450 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25451 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25452 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25453 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25454 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25455 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25456 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25457 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
25458 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25459 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25460 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25461 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25462 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25463 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
25464 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25465 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25466 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25467 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25468 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25469 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25470 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25471 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25472 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
25473 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25474 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25475 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25476 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25477 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25478 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
25479 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25480 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25481 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25482 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25483 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
25484 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25485 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25486 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25487 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25488 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
) _wrap_PopupTransientWindow_Dismiss
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25489 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
25490 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25491 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25492 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25493 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
25494 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25495 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25496 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25497 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25498 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25499 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25500 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25501 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25502 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25503 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25504 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25505 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25506 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25507 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25508 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25509 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25510 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25511 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
25512 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25513 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25514 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25515 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25516 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25517 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25518 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25519 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25520 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25521 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25522 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25523 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25524 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25525 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25526 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25527 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25528 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25529 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25530 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25531 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25532 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25533 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25534 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25535 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25536 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25537 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
25538 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25539 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25540 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25541 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25542 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25543 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25544 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
) _wrap_HtmlListBox_GetFileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25545 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
25546 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25547 { (char *)"delete_TaskBarIcon", (PyCFunction
) _wrap_delete_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25548 { (char *)"TaskBarIcon_Destroy", (PyCFunction
) _wrap_TaskBarIcon_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25549 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25550 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25551 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25552 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25553 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25554 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
25555 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25556 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
25557 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25558 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25559 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25560 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25561 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25562 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25563 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25564 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25565 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
25566 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25567 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25568 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
25569 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25570 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25571 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25572 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25573 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25574 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25575 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
25576 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25577 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25578 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25579 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25580 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25581 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25582 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25583 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25584 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25585 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25586 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25587 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25588 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25589 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25590 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25591 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25592 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25593 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
25594 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25595 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25596 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25597 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
25598 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25599 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25600 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25601 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25602 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
25603 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25604 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25605 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25606 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
25607 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25608 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25609 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25610 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25611 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25612 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25613 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25614 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25615 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25616 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25617 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25618 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25619 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25620 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25621 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25622 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
25623 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25624 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25625 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
25626 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25627 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
25628 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25629 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25630 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25631 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
25632 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25633 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25634 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25635 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25636 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25637 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25638 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25639 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25640 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
25641 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25642 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25643 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25644 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25645 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25646 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25647 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25648 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25649 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
25650 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25651 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25652 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25653 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25654 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25655 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
25656 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25657 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25658 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25659 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25660 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25661 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25662 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25663 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25664 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25665 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25666 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_GetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25667 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_SetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25668 { (char *)"MDIParentFrame_SetToolBar", (PyCFunction
) _wrap_MDIParentFrame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25669 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25670 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
25671 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25672 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25673 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25674 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25675 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25676 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25677 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
25678 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25679 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25680 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25681 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
25682 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25683 { (char *)"new_PrePyWindow", (PyCFunction
) _wrap_new_PrePyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25684 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25685 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25686 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25687 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25688 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25689 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25690 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25691 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25692 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25693 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25694 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25695 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25696 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25697 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25698 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25699 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25700 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25701 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25702 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25703 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25704 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25705 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25706 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25707 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
25708 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25709 { (char *)"new_PrePyPanel", (PyCFunction
) _wrap_new_PrePyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25710 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25711 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25712 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25713 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25714 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25715 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25716 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25717 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25718 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25719 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25720 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25721 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25722 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25723 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25724 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25725 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25726 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25727 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25728 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25729 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25730 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction
) _wrap_PyPanel_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25731 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyPanel_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25732 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyPanel_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25733 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
25734 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25735 { (char *)"new_PrePyScrolledWindow", (PyCFunction
) _wrap_new_PrePyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25736 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25737 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25738 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25739 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25740 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25741 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25742 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25743 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25744 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25745 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25746 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25747 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction
) _wrap_PyScrolledWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25748 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25749 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25750 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction
) _wrap_PyScrolledWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25751 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25752 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25753 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyScrolledWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25754 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction
) _wrap_PyScrolledWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25755 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction
) _wrap_PyScrolledWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25756 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyScrolledWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25757 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25758 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyScrolledWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25759 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
25760 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
25761 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25762 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25763 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25764 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25765 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25766 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25767 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25768 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25769 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25770 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25771 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25772 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25773 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25774 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25775 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25776 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25777 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25778 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25779 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25780 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25781 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25782 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25783 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25784 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25785 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25786 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25787 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25788 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25789 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25790 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25791 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25792 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25793 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25794 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25795 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25796 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25797 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25798 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25799 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25800 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25801 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25802 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25803 { (char *)"PrintData_GetOutputStream", (PyCFunction
) _wrap_PrintData_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25804 { (char *)"PrintData_SetOutputStream", (PyCFunction
) _wrap_PrintData_SetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25805 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
25806 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
25807 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25808 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25809 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25810 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25811 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25812 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25813 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25814 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25815 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25816 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25817 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25818 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25819 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25820 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25821 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25822 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25823 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25824 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25825 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25826 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25827 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25828 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25829 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25830 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25831 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25832 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25833 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25834 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25835 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25836 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25837 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
25838 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25839 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25840 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25841 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
25842 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
25843 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25844 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25845 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25846 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25847 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25848 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25849 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25850 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25851 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25852 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25853 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25854 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25855 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25856 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25857 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25858 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25859 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25860 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25861 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25862 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25863 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25864 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25865 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25866 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25867 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25868 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25869 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25870 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25871 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25872 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25873 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25874 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25875 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
25876 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25877 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25878 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25879 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25880 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
25881 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25882 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25883 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25884 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25885 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25886 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25887 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25888 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25889 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25890 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25891 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
25892 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25893 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25894 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25895 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25896 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25897 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25898 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25899 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25900 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25901 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25902 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25903 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25904 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25905 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25906 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25907 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25908 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25909 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25910 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25911 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25912 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25913 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25914 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
25915 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25916 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
25917 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25918 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25919 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25920 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25921 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25922 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
25923 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25924 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25925 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25926 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25927 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25928 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25929 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25930 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25931 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25932 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
25933 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
25934 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25935 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25936 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25937 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25938 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25939 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25940 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25941 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25942 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25943 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25944 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25945 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25946 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25947 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25948 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25949 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25950 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25951 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25952 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25953 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25954 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25955 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25956 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
25957 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
25958 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25959 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25960 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25961 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25962 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25963 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25964 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25965 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25966 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
25967 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25968 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25969 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25970 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25971 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25972 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25973 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25974 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
25975 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25976 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25977 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25978 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25979 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25980 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
25981 { NULL
, NULL
, 0, NULL
}
25985 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25987 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
25988 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25990 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
25991 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25993 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
25994 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
25996 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
25997 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
25999 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
26000 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
26002 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
26003 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
26005 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
26006 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
26008 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
26009 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26011 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
26012 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
26014 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
26015 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
26017 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
26018 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
26020 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
26021 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
26023 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
26024 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26026 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
26027 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
26029 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
26030 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
26032 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
26033 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26035 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
26036 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
26038 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
26039 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
26041 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
26042 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
26044 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
26045 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
26047 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
26048 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
26050 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
26051 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
26053 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
26054 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
26056 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
26057 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
26059 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
26060 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26062 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
26063 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
26065 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
26066 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
26068 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
26069 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
26071 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
26072 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
26074 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
26075 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
26077 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
26078 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
26080 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
26081 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26083 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
26084 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
26086 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
26087 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
26089 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
26090 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
26092 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
26093 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
26095 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
26096 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26098 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
26099 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26101 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
26102 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
26104 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
26105 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
26107 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
26108 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
26110 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
26111 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
26113 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
26114 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26116 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
26117 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
26119 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
26120 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26122 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
26123 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
26125 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
26126 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
26128 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
26129 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
26131 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
26132 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
26134 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
26135 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
26137 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
26138 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
26140 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
26141 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26143 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
26144 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26146 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
26147 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
26149 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
26150 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
26152 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
26153 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26155 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
26156 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26158 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
26159 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
26161 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
26162 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
26164 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
26165 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26167 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
26168 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26170 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
26171 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26173 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
26174 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
26176 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
26177 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26179 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
26180 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
26182 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
26183 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
26185 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
26186 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
26188 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
26189 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
26191 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
26192 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
26194 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
26195 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
26197 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
26198 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
26200 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
26201 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26203 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
26204 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
26206 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
26207 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
26209 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
26210 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26212 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
26213 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26215 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
26216 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
26218 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
26219 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
26221 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
26222 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
26224 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
26225 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26227 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
26228 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26230 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
26231 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26233 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
26234 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
26236 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
26237 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26239 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
26240 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
26242 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
26243 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
26245 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
26246 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26248 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
26249 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26251 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
26252 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26254 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
26255 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
26257 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
26258 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
26260 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
26261 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
26263 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
26264 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26266 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
26267 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26269 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
26270 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
26272 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
26273 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
26275 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
26276 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
26278 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
26279 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26281 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
26282 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
26284 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
26285 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
26287 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
26288 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
26290 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
26291 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
26293 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
26294 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
26296 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
26297 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
26299 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
26300 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26302 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
26303 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
26305 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
26306 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
26308 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
26309 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
26311 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
26312 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
26314 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
26315 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
26317 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
26318 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
26320 static void *_p_wxSizerTo_p_wxObject(void *x
) {
26321 return (void *)((wxObject
*) ((wxSizer
*) x
));
26323 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
26324 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
26326 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
26327 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26329 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
26330 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
26332 static void *_p_wxEventTo_p_wxObject(void *x
) {
26333 return (void *)((wxObject
*) ((wxEvent
*) x
));
26335 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
26336 return (void *)((wxObject
*) ((wxFontData
*) x
));
26338 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
26339 return (void *)((wxObject
*) ((wxPrintData
*) x
));
26341 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
26342 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
26344 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
26345 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
26347 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
26348 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
26350 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
26351 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
26353 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
26354 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
26356 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
26357 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
26359 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
26360 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
26362 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
26363 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
26365 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
26366 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
26368 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
26369 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
26371 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
26372 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
26374 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
26375 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
26377 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
26378 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26380 static void *_p_wxControlTo_p_wxObject(void *x
) {
26381 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
26383 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
26384 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
26386 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
26387 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26389 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
26390 return (void *)((wxObject
*) ((wxFSFile
*) x
));
26392 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
26393 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
26395 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
26396 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
26398 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
26399 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26401 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
26402 return (void *)((wxObject
*) ((wxColourData
*) x
));
26404 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
26405 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
26407 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
26408 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26410 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
26411 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
26413 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
26414 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
26416 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
26417 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
26419 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
26420 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26422 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
26423 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26425 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
26426 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
26428 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
26429 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
26431 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
26432 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26434 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
26435 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26437 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
26438 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
26440 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
26441 return (void *)((wxObject
*) ((wxPrinter
*) x
));
26443 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
26444 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
26446 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
26447 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
26449 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
26450 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26452 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
26453 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
26455 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
26456 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
26458 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
26459 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
26461 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
26462 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
26464 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
26465 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
26467 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
26468 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
26470 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
26471 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
26473 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
26474 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
26476 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
26477 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
26479 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
26480 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
26482 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
26483 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
26485 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
26486 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
26488 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
26489 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
26491 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
26492 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
26494 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
26495 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
26497 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
26498 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
26500 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
26501 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
26503 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
26504 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
26506 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
26507 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
26509 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
26510 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
26512 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
26513 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26515 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
26516 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26518 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
26519 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
26521 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
26522 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26524 static void *_p_wxImageTo_p_wxObject(void *x
) {
26525 return (void *)((wxObject
*) ((wxImage
*) x
));
26527 static void *_p_wxFrameTo_p_wxObject(void *x
) {
26528 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
26530 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
26531 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
26533 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
26534 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
26536 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
26537 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
26539 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
26540 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
26542 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
26543 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26545 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
26546 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26548 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
26549 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
26551 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
26552 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
26554 static void *_p_wxWindowTo_p_wxObject(void *x
) {
26555 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
26557 static void *_p_wxMenuTo_p_wxObject(void *x
) {
26558 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
26560 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
26561 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
26563 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
26564 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
26566 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
26567 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
26569 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
26570 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
26572 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
26573 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
26575 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
26576 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
26578 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
26579 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26581 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
26582 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
26584 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
26585 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26587 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
26588 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26590 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
26591 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26593 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
26594 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
26596 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
26597 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26599 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
26600 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
26602 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
26603 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
26605 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
26606 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
26608 static void *_p_wxPanelTo_p_wxObject(void *x
) {
26609 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
26611 static void *_p_wxDialogTo_p_wxObject(void *x
) {
26612 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
26614 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
26615 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26617 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
26618 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26620 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
26621 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26623 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
26624 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
26626 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
26627 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
26629 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
26630 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
26632 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
26633 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26635 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
26636 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
26638 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
26639 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
26641 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
26642 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
26644 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
26645 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
26647 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
26648 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
26650 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
26651 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26653 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
26654 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
26656 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
26657 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
26659 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
26660 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26662 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
26663 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
26665 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
26666 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
26668 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
26669 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26671 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
26672 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
26674 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
26675 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
26677 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
26678 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
26680 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
26681 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
26683 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
26684 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
26686 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
26687 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26689 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
26690 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26692 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
26693 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26695 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
26696 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26698 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
26699 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26701 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
26702 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26704 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
26705 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
26707 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
26708 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
26710 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
26711 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
26713 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
26714 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
26716 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
26717 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
26719 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
26720 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
26722 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
26723 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
26725 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x
) {
26726 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPrintDialog
*) x
));
26728 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
26729 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
26731 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
26732 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
26734 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
26735 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
26737 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
26738 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
26740 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
26741 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
26743 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
26744 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
26746 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
26747 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
26749 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
26750 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26752 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
26753 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26755 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
26756 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
26758 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
26759 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
26761 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
26762 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26764 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
26765 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
26767 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
26768 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26770 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
26771 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
26773 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
26774 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
26776 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
26777 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26779 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
26780 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26782 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
26783 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
26785 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
26786 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
26788 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
26789 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26791 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
26792 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26794 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
26795 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
26797 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
26798 return (void *)((wxWindow
*) ((wxPanel
*) x
));
26800 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
26801 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
26803 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
26804 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
26806 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
26807 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26809 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
26810 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26812 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
26813 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26815 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
26816 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
26818 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
26819 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26821 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
26822 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
26824 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
26825 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
26827 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
26828 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
26830 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
26831 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
26833 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
26834 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
26836 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
26837 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26839 static void *_p_wxControlTo_p_wxWindow(void *x
) {
26840 return (void *)((wxWindow
*) ((wxControl
*) x
));
26842 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
26843 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
26845 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
26846 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26848 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
26849 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26851 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
26852 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
26854 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
26855 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
26857 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
26858 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26860 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
26861 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26863 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
26864 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26866 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
26867 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
26869 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
26870 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26872 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
26873 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
26875 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
26876 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26878 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
26879 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26881 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
26882 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26884 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
26885 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
26887 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
26888 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
26890 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
26891 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
26893 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
26894 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26896 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
26897 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26899 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
26900 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26902 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
26903 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
26905 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
26906 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
26908 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
26909 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
26911 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
26912 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
26914 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x
) {
26915 return (void *)((wxDialog
*) ((wxPageSetupDialog
*) x
));
26917 static void *_p_wxPrintDialogTo_p_wxDialog(void *x
) {
26918 return (void *)((wxDialog
*) ((wxPrintDialog
*) x
));
26920 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
26921 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
26923 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
26924 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26926 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
26927 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26929 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
26930 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
26932 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
26933 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
26935 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
26936 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
26938 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
26939 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
26941 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
26942 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26944 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
26945 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26947 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
26948 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26950 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
26951 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26953 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
26954 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
26956 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
26957 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26959 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
26960 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
26962 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
26963 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26965 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
26966 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26968 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
26969 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
26971 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
26972 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26974 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
26975 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26977 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
26978 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
26980 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
26981 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26983 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
26984 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26986 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
26987 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26989 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
26990 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26992 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
26993 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26995 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
26996 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
26998 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
26999 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
27001 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}};
27002 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}};
27003 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}};
27004 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}};
27005 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}};
27006 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}};
27007 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}};
27008 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}};
27009 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}};
27010 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}};
27011 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}};
27012 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}};
27013 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}};
27014 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}};
27015 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}};
27016 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}};
27017 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}};
27018 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}};
27019 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}};
27020 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}};
27021 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}};
27022 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}};
27023 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}};
27024 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}};
27025 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}};
27026 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}};
27027 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}};
27028 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}};
27029 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}};
27030 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}};
27031 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}};
27032 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}};
27033 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}};
27034 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}};
27035 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}};
27036 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}};
27037 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27038 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}};
27039 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}};
27040 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}};
27041 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}};
27042 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}};
27043 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}};
27044 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}};
27045 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}};
27046 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}};
27047 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}};
27048 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}};
27049 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}};
27050 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}};
27051 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27052 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}};
27053 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}};
27054 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}};
27055 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}};
27056 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}};
27057 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}};
27058 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}};
27059 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}};
27060 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}};
27061 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}};
27062 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}};
27063 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}};
27064 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}};
27065 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}};
27066 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}};
27067 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}};
27068 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}};
27069 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}};
27070 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}};
27071 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}};
27072 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}};
27073 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}};
27074 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}};
27075 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}};
27076 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}};
27077 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}};
27078 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}};
27079 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}};
27080 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}};
27081 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}};
27082 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}};
27083 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}};
27084 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}};
27085 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}};
27086 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}};
27088 static swig_type_info
*swig_types_initial
[] = {
27089 _swigt__p_wxQueryLayoutInfoEvent
,
27090 _swigt__p_wxPreviewFrame
,
27091 _swigt__p_wxPyPreviewFrame
,
27092 _swigt__p_wxPyPanel
,
27094 _swigt__p_wxFontData
,
27096 _swigt__p_wxPrintData
,
27097 _swigt__p_wxTaskBarIcon
,
27098 _swigt__p_wxIconBundle
,
27099 _swigt__p_wxLayoutAlgorithm
,
27100 _swigt__p_wxFindDialogEvent
,
27101 _swigt__p_wxPreviewCanvas
,
27103 _swigt__p_wxSplitterEvent
,
27104 _swigt__p_wxRegion
,
27105 _swigt__p_wxFindReplaceData
,
27110 _swigt__p_wxVisualAttributes
,
27111 _swigt__p_wxMDIChildFrame
,
27112 _swigt__p_wxColourData
,
27113 _swigt__p_wxNotifyEvent
,
27114 _swigt__p_wxPyWindow
,
27115 _swigt__p_wxSplashScreen
,
27116 _swigt__p_wxFindReplaceDialog
,
27117 _swigt__p_wxProgressDialog
,
27118 _swigt__p_wxMessageDialog
,
27119 _swigt__p_wxTextEntryDialog
,
27120 _swigt__p_wxSingleChoiceDialog
,
27121 _swigt__p_wxMultiChoiceDialog
,
27122 _swigt__p_wxFileDialog
,
27123 _swigt__p_wxPrinter
,
27124 _swigt__p_wxArrayInt
,
27125 _swigt__p_wxEvtHandler
,
27126 _swigt__p_wxCalculateLayoutEvent
,
27127 _swigt__p_wxPyHtmlListBox
,
27128 _swigt__p_wxPyVListBox
,
27131 _swigt__p_wxMiniFrame
,
27133 _swigt__p_wxPyPrintout
,
27134 _swigt__p_wxTaskBarIconEvent
,
27135 _swigt__p_wxScrollWinEvent
,
27136 _swigt__p_wxStatusBar
,
27137 _swigt__p_wxMDIParentFrame
,
27139 _swigt__p_wxObject
,
27140 _swigt__p_wxOutputStream
,
27141 _swigt__p_wxPyScrolledWindow
,
27142 _swigt__p_wxMDIClientWindow
,
27143 _swigt__p_wxTipWindow
,
27144 _swigt__p_wxSashLayoutWindow
,
27145 _swigt__p_wxSplitterWindow
,
27146 _swigt__p_wxSplashScreenWindow
,
27147 _swigt__p_wxPyVScrolledWindow
,
27148 _swigt__p_wxPyPopupTransientWindow
,
27149 _swigt__p_wxPopupWindow
,
27150 _swigt__p_wxSashWindow
,
27151 _swigt__p_wxTopLevelWindow
,
27152 _swigt__p_wxWindow
,
27153 _swigt__p_wxScrolledWindow
,
27154 _swigt__p_wxMenuBar
,
27155 _swigt__p_wxPrintPreview
,
27156 _swigt__p_wxSashEvent
,
27157 _swigt__p_wxString
,
27158 _swigt__p_wxPyPrintPreview
,
27159 _swigt__p_wxFontDialog
,
27160 _swigt__p_wxDirDialog
,
27161 _swigt__p_wxColourDialog
,
27162 _swigt__p_wxDialog
,
27164 _swigt__p_wxPageSetupDialog
,
27165 _swigt__p_wxPrintDialog
,
27166 _swigt__p_wxFileSystem
,
27167 _swigt__p_wxBitmap
,
27168 _swigt__p_wxCommandEvent
,
27169 _swigt__p_wxPreviewControlBar
,
27170 _swigt__p_wxPyPreviewControlBar
,
27171 _swigt__p_wxColour
,
27172 _swigt__p_wxToolBar
,
27173 _swigt__p_wxPageSetupDialogData
,
27174 _swigt__p_wxPrintDialogData
,
27179 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
27181 static swig_const_info swig_const_table
[] = {
27182 {0, 0, 0, 0.0, 0, 0}};
27191 SWIGEXPORT(void) SWIG_init(void) {
27192 static PyObject
*SWIG_globals
= 0;
27193 static int typeinit
= 0;
27196 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
27197 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
27198 d
= PyModule_GetDict(m
);
27201 for (i
= 0; swig_types_initial
[i
]; i
++) {
27202 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
27206 SWIG_InstallConstants(d
,swig_const_table
);
27208 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
27209 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
27210 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
27211 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
27212 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
27213 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_From_int((int)wxSTAY_ON_TOP
));
27214 PyDict_SetItemString(d
,"ICONIZE", SWIG_From_int((int)wxICONIZE
));
27215 PyDict_SetItemString(d
,"MINIMIZE", SWIG_From_int((int)wxMINIMIZE
));
27216 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_From_int((int)wxMAXIMIZE
));
27217 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_From_int((int)wxCLOSE_BOX
));
27218 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_From_int((int)wxTHICK_FRAME
));
27219 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_From_int((int)wxSYSTEM_MENU
));
27220 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_From_int((int)wxMINIMIZE_BOX
));
27221 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_From_int((int)wxMAXIMIZE_BOX
));
27222 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_From_int((int)wxTINY_CAPTION_HORIZ
));
27223 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_From_int((int)wxTINY_CAPTION_VERT
));
27224 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_From_int((int)wxRESIZE_BOX
));
27225 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_From_int((int)wxRESIZE_BORDER
));
27226 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_From_int((int)wxDIALOG_NO_PARENT
));
27227 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)wxDEFAULT_FRAME_STYLE
));
27228 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)wxDEFAULT_DIALOG_STYLE
));
27229 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_From_int((int)wxFRAME_TOOL_WINDOW
));
27230 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)wxFRAME_FLOAT_ON_PARENT
));
27231 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)wxFRAME_NO_WINDOW_MENU
));
27232 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_From_int((int)wxFRAME_NO_TASKBAR
));
27233 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_From_int((int)wxFRAME_SHAPED
));
27234 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_From_int((int)wxDIALOG_MODAL
));
27235 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_From_int((int)wxDIALOG_MODELESS
));
27236 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_From_int((int)wxUSER_COLOURS
));
27237 PyDict_SetItemString(d
,"NO_3D", SWIG_From_int((int)wxNO_3D
));
27238 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)wxFULLSCREEN_NOMENUBAR
));
27239 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)wxFULLSCREEN_NOTOOLBAR
));
27240 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)wxFULLSCREEN_NOSTATUSBAR
));
27241 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_From_int((int)wxFULLSCREEN_NOBORDER
));
27242 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)wxFULLSCREEN_NOCAPTION
));
27243 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_From_int((int)wxFULLSCREEN_ALL
));
27244 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)wxTOPLEVEL_EX_DIALOG
));
27245 PyDict_SetItemString(d
,"USER_ATTENTION_INFO", SWIG_From_int((int)wxUSER_ATTENTION_INFO
));
27246 PyDict_SetItemString(d
,"USER_ATTENTION_ERROR", SWIG_From_int((int)wxUSER_ATTENTION_ERROR
));
27247 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)wxSPLASH_CENTRE_ON_PARENT
));
27248 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)wxSPLASH_CENTRE_ON_SCREEN
));
27249 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_From_int((int)wxSPLASH_NO_CENTRE
));
27250 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_From_int((int)wxSPLASH_TIMEOUT
));
27251 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)wxSPLASH_NO_TIMEOUT
));
27252 PyDict_SetItemString(d
,"SB_NORMAL", SWIG_From_int((int)wxSB_NORMAL
));
27253 PyDict_SetItemString(d
,"SB_FLAT", SWIG_From_int((int)wxSB_FLAT
));
27254 PyDict_SetItemString(d
,"SB_RAISED", SWIG_From_int((int)wxSB_RAISED
));
27255 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
27256 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_From_int((int)wxSP_NOBORDER
));
27257 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_From_int((int)wxSP_NOSASH
));
27258 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)wxSP_PERMIT_UNSPLIT
));
27259 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_From_int((int)wxSP_LIVE_UPDATE
));
27260 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_From_int((int)wxSP_3DSASH
));
27261 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_From_int((int)wxSP_3DBORDER
));
27262 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_From_int((int)wxSP_NO_XP_THEME
));
27263 PyDict_SetItemString(d
,"SP_BORDER", SWIG_From_int((int)wxSP_BORDER
));
27264 PyDict_SetItemString(d
,"SP_3D", SWIG_From_int((int)wxSP_3D
));
27265 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_From_int((int)wxSPLIT_HORIZONTAL
));
27266 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_From_int((int)wxSPLIT_VERTICAL
));
27267 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_From_int((int)wxSPLIT_DRAG_NONE
));
27268 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)wxSPLIT_DRAG_DRAGGING
));
27269 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSPLIT_DRAG_LEFT_DOWN
));
27270 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
27271 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
27272 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
27273 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
27274 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
27275 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
27276 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_From_int((int)wxSASH_DRAG_NONE
));
27277 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_From_int((int)wxSASH_DRAG_DRAGGING
));
27278 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSASH_DRAG_LEFT_DOWN
));
27279 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_From_int((int)wxSW_NOBORDER
));
27280 PyDict_SetItemString(d
,"SW_BORDER", SWIG_From_int((int)wxSW_BORDER
));
27281 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_From_int((int)wxSW_3DSASH
));
27282 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_From_int((int)wxSW_3DBORDER
));
27283 PyDict_SetItemString(d
,"SW_3D", SWIG_From_int((int)wxSW_3D
));
27284 PyDict_SetItemString(d
,"SASH_TOP", SWIG_From_int((int)wxSASH_TOP
));
27285 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_From_int((int)wxSASH_RIGHT
));
27286 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_From_int((int)wxSASH_BOTTOM
));
27287 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_From_int((int)wxSASH_LEFT
));
27288 PyDict_SetItemString(d
,"SASH_NONE", SWIG_From_int((int)wxSASH_NONE
));
27289 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_From_int((int)wxSASH_STATUS_OK
));
27290 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)wxSASH_STATUS_OUT_OF_RANGE
));
27291 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
27292 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_From_int((int)wxLAYOUT_HORIZONTAL
));
27293 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_From_int((int)wxLAYOUT_VERTICAL
));
27294 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_From_int((int)wxLAYOUT_NONE
));
27295 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_From_int((int)wxLAYOUT_TOP
));
27296 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_From_int((int)wxLAYOUT_LEFT
));
27297 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_From_int((int)wxLAYOUT_RIGHT
));
27298 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_From_int((int)wxLAYOUT_BOTTOM
));
27299 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_From_int((int)wxLAYOUT_LENGTH_Y
));
27300 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_From_int((int)wxLAYOUT_LENGTH_X
));
27301 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)wxLAYOUT_MRU_LENGTH
));
27302 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_From_int((int)wxLAYOUT_QUERY
));
27303 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
27304 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
27305 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
27307 // Map renamed classes back to their common name for OOR
27308 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
27309 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
27310 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
27312 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
27313 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
27314 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
27315 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
27316 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
27317 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
27318 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
27319 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
27320 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
27321 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
27322 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
27323 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
27324 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
27325 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_From_int((int)wxCHOICEDLG_STYLE
));
27326 PyDict_SetItemString(d
,"FR_DOWN", SWIG_From_int((int)wxFR_DOWN
));
27327 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_From_int((int)wxFR_WHOLEWORD
));
27328 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_From_int((int)wxFR_MATCHCASE
));
27329 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_From_int((int)wxFR_REPLACEDIALOG
));
27330 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_From_int((int)wxFR_NOUPDOWN
));
27331 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_From_int((int)wxFR_NOMATCHCASE
));
27332 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_From_int((int)wxFR_NOWHOLEWORD
));
27333 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
27334 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
27335 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
27336 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
27337 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
27338 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_From_int((int)4001));
27339 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_From_int((int)4001));
27340 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_From_int((int)4002));
27341 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_From_int((int)4003));
27342 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_From_int((int)4004));
27343 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_From_int((int)4005));
27344 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_From_int((int)4100));
27345 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_From_int((int)4600));
27346 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
27347 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
27348 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_From_int((int)wxPRINT_MODE_NONE
));
27349 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_From_int((int)wxPRINT_MODE_PREVIEW
));
27350 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_From_int((int)wxPRINT_MODE_FILE
));
27351 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_From_int((int)wxPRINT_MODE_PRINTER
));
27352 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_From_int((int)wxPRINT_MODE_STREAM
));
27353 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_From_int((int)wxPRINTER_NO_ERROR
));
27354 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_From_int((int)wxPRINTER_CANCELLED
));
27355 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_From_int((int)wxPRINTER_ERROR
));
27356 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_From_int((int)wxPREVIEW_PRINT
));
27357 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_From_int((int)wxPREVIEW_PREVIOUS
));
27358 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_From_int((int)wxPREVIEW_NEXT
));
27359 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_From_int((int)wxPREVIEW_ZOOM
));
27360 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_From_int((int)wxPREVIEW_FIRST
));
27361 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_From_int((int)wxPREVIEW_LAST
));
27362 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_From_int((int)wxPREVIEW_GOTO
));
27363 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_From_int((int)wxPREVIEW_DEFAULT
));
27364 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_From_int((int)wxID_PREVIEW_CLOSE
));
27365 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_From_int((int)wxID_PREVIEW_NEXT
));
27366 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)wxID_PREVIEW_PREVIOUS
));
27367 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_From_int((int)wxID_PREVIEW_PRINT
));
27368 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_From_int((int)wxID_PREVIEW_ZOOM
));
27369 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_From_int((int)wxID_PREVIEW_FIRST
));
27370 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_From_int((int)wxID_PREVIEW_LAST
));
27371 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_From_int((int)wxID_PREVIEW_GOTO
));
27373 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");