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 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
344 #define SWIG_From_signed_SS_char PyInt_FromLong
346 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
347 #define SWIG_From_unsigned_SS_char PyInt_FromLong
349 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
350 #define SWIG_From_short PyInt_FromLong
352 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
353 #define SWIG_From_unsigned_SS_short PyInt_FromLong
355 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
356 #define SWIG_From_int PyInt_FromLong
358 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
359 #define SWIG_From_long PyInt_FromLong
361 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
362 #define SWIG_From_float PyFloat_FromDouble
364 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
365 #define SWIG_From_double PyFloat_FromDouble
369 #include "wx/wxPython/wxPython.h"
370 #include "wx/wxPython/pyclasses.h"
373 static const wxString
wxPyEmptyString(wxEmptyString
);
374 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
381 SWIGSTATICINLINE(int)
382 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
385 if (value
< min_value
) {
387 PyErr_Format(PyExc_OverflowError
,
388 "value %ld is less than '%s' minimum %ld",
389 value
, errmsg
, min_value
);
392 } else if (value
> max_value
) {
394 PyErr_Format(PyExc_OverflowError
,
395 "value %ld is greater than '%s' maximum %ld",
396 value
, errmsg
, max_value
);
404 // See my_fragments.i
405 SWIGSTATICINLINE(int)
406 SWIG_AsVal_long(PyObject
* obj
, long* val
)
408 if (PyNumber_Check(obj
)) {
409 if (val
) *val
= PyInt_AsLong(obj
);
413 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
414 obj
->ob_type
->tp_name
);
415 PyErr_SetObject(PyExc_TypeError
, errmsg
);
422 #if INT_MAX != LONG_MAX
423 SWIGSTATICINLINE(int)
424 SWIG_AsVal_int(PyObject
*obj
, int *val
)
426 const char* errmsg
= val
? "int" : 0;
428 if (SWIG_AsVal_long(obj
, &v
)) {
429 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
430 if (val
) *val
= swig_numeric_cast(v
, int);
439 PyErr_SetString(PyExc_TypeError
, "an int is expected");
444 SWIGSTATICINLINE(int)
445 SWIG_AsVal_int(PyObject
*obj
, int *val
)
447 return SWIG_AsVal_long(obj
,(long*)val
);
452 SWIGSTATICINLINE(int)
453 SWIG_As_int(PyObject
* obj
)
456 if (!SWIG_AsVal_int(obj
, &v
)) {
458 this is needed to make valgrind/purify happier. the other
459 solution is throw an exception, but since this code should work
462 memset((void*)&v
, 0, sizeof(int));
468 SWIGSTATICINLINE(long)
469 SWIG_As_long(PyObject
* obj
)
472 if (!SWIG_AsVal_long(obj
, &v
)) {
474 this is needed to make valgrind/purify happier. the other
475 solution is throw an exception, but since this code should work
478 memset((void*)&v
, 0, sizeof(long));
484 SWIGSTATICINLINE(int)
485 SWIG_Check_int(PyObject
* obj
)
487 return SWIG_AsVal_int(obj
, (int*)0);
491 SWIGSTATICINLINE(int)
492 SWIG_Check_long(PyObject
* obj
)
494 return SWIG_AsVal_long(obj
, (long*)0);
498 SWIGSTATICINLINE(int)
499 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
501 /* if (val) *val = PyObject_IsTrue(obj); return 1; */
502 if (obj
== Py_True
) {
503 if (val
) *val
= true;
506 if (obj
== Py_False
) {
507 if (val
) *val
= false;
511 if (SWIG_AsVal_int(obj
, &res
)) {
512 if (val
) *val
= (bool)res
;
516 PyErr_SetString(PyExc_TypeError
, "a bool is expected");
522 SWIGSTATICINLINE(bool)
523 SWIG_As_bool(PyObject
* obj
)
526 if (!SWIG_AsVal_bool(obj
, &v
)) {
528 this is needed to make valgrind/purify happier. the other
529 solution is throw an exception, but since this code should work
532 memset((void*)&v
, 0, sizeof(bool));
538 SWIGSTATICINLINE(int)
539 SWIG_Check_bool(PyObject
* obj
)
541 return SWIG_AsVal_bool(obj
, (bool*)0);
545 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
551 } else if (target
== Py_None
) {
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_DoPrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2642 PyObject
*resultobj
;
2643 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2645 PyObject
* obj0
= 0 ;
2646 PyObject
* obj1
= 0 ;
2648 (char *) "self",(char *) "dc", NULL
2651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
2652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2654 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
2655 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2658 PyErr_SetString(PyExc_TypeError
,"null reference");
2662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2663 (arg1
)->DoPrepareDC(*arg2
);
2665 wxPyEndAllowThreads(__tstate
);
2666 if (PyErr_Occurred()) SWIG_fail
;
2668 Py_INCREF(Py_None
); resultobj
= Py_None
;
2675 static PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2676 PyObject
*resultobj
;
2677 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2678 wxVisualAttributes result
;
2679 PyObject
* obj0
= 0 ;
2681 (char *) "variant", NULL
2684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2686 arg1
= (int)SWIG_As_int(obj0
);
2687 if (PyErr_Occurred()) SWIG_fail
;
2690 if (!wxPyCheckForApp()) SWIG_fail
;
2691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2692 result
= wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2694 wxPyEndAllowThreads(__tstate
);
2695 if (PyErr_Occurred()) SWIG_fail
;
2698 wxVisualAttributes
* resultptr
;
2699 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2700 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2708 static PyObject
* ScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
2710 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2711 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
2713 return Py_BuildValue((char *)"");
2715 static int _wrap_FrameNameStr_set(PyObject
*) {
2716 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
2721 static PyObject
*_wrap_FrameNameStr_get() {
2726 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2728 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2735 static int _wrap_DialogNameStr_set(PyObject
*) {
2736 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
2741 static PyObject
*_wrap_DialogNameStr_get() {
2746 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2748 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2755 static int _wrap_StatusLineNameStr_set(PyObject
*) {
2756 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
2761 static PyObject
*_wrap_StatusLineNameStr_get() {
2766 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2768 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2775 static int _wrap_ToolBarNameStr_set(PyObject
*) {
2776 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
2781 static PyObject
*_wrap_ToolBarNameStr_get() {
2786 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2788 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2795 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2796 PyObject
*resultobj
;
2797 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2798 bool arg2
= (bool) True
;
2799 PyObject
* obj0
= 0 ;
2800 PyObject
* obj1
= 0 ;
2802 (char *) "self",(char *) "maximize", NULL
2805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
2806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2809 arg2
= (bool)SWIG_As_bool(obj1
);
2810 if (PyErr_Occurred()) SWIG_fail
;
2813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2814 (arg1
)->Maximize(arg2
);
2816 wxPyEndAllowThreads(__tstate
);
2817 if (PyErr_Occurred()) SWIG_fail
;
2819 Py_INCREF(Py_None
); resultobj
= Py_None
;
2826 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2827 PyObject
*resultobj
;
2828 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2829 PyObject
* obj0
= 0 ;
2831 (char *) "self", NULL
2834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
2835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2841 wxPyEndAllowThreads(__tstate
);
2842 if (PyErr_Occurred()) SWIG_fail
;
2844 Py_INCREF(Py_None
); resultobj
= Py_None
;
2851 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2852 PyObject
*resultobj
;
2853 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2854 bool arg2
= (bool) True
;
2855 PyObject
* obj0
= 0 ;
2856 PyObject
* obj1
= 0 ;
2858 (char *) "self",(char *) "iconize", NULL
2861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
2862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2865 arg2
= (bool)SWIG_As_bool(obj1
);
2866 if (PyErr_Occurred()) SWIG_fail
;
2869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2870 (arg1
)->Iconize(arg2
);
2872 wxPyEndAllowThreads(__tstate
);
2873 if (PyErr_Occurred()) SWIG_fail
;
2875 Py_INCREF(Py_None
); resultobj
= Py_None
;
2882 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2883 PyObject
*resultobj
;
2884 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2886 PyObject
* obj0
= 0 ;
2888 (char *) "self", NULL
2891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
2892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2896 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
2898 wxPyEndAllowThreads(__tstate
);
2899 if (PyErr_Occurred()) SWIG_fail
;
2902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2910 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2911 PyObject
*resultobj
;
2912 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2914 PyObject
* obj0
= 0 ;
2916 (char *) "self", NULL
2919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
2920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2924 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
2926 wxPyEndAllowThreads(__tstate
);
2927 if (PyErr_Occurred()) SWIG_fail
;
2930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2938 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2939 PyObject
*resultobj
;
2940 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2942 PyObject
* obj0
= 0 ;
2944 (char *) "self", NULL
2947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
2948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2952 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
2954 wxPyEndAllowThreads(__tstate
);
2955 if (PyErr_Occurred()) SWIG_fail
;
2959 resultptr
= new wxIcon((wxIcon
&) result
);
2960 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
2968 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2969 PyObject
*resultobj
;
2970 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2972 PyObject
* obj0
= 0 ;
2973 PyObject
* obj1
= 0 ;
2975 (char *) "self",(char *) "icon", NULL
2978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
2979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2981 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
2982 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2985 PyErr_SetString(PyExc_TypeError
,"null reference");
2989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2990 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
2992 wxPyEndAllowThreads(__tstate
);
2993 if (PyErr_Occurred()) SWIG_fail
;
2995 Py_INCREF(Py_None
); resultobj
= Py_None
;
3002 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3003 PyObject
*resultobj
;
3004 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3005 wxIconBundle
*arg2
= 0 ;
3006 PyObject
* obj0
= 0 ;
3007 PyObject
* obj1
= 0 ;
3009 (char *) "self",(char *) "icons", NULL
3012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
3013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3015 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIconBundle
,
3016 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3019 PyErr_SetString(PyExc_TypeError
,"null reference");
3023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3024 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
3026 wxPyEndAllowThreads(__tstate
);
3027 if (PyErr_Occurred()) SWIG_fail
;
3029 Py_INCREF(Py_None
); resultobj
= Py_None
;
3036 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3037 PyObject
*resultobj
;
3038 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3040 long arg3
= (long) wxFULLSCREEN_ALL
;
3042 PyObject
* obj0
= 0 ;
3043 PyObject
* obj1
= 0 ;
3044 PyObject
* obj2
= 0 ;
3046 (char *) "self",(char *) "show",(char *) "style", NULL
3049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3052 arg2
= (bool)SWIG_As_bool(obj1
);
3053 if (PyErr_Occurred()) SWIG_fail
;
3055 arg3
= (long)SWIG_As_long(obj2
);
3056 if (PyErr_Occurred()) SWIG_fail
;
3059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3060 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
3062 wxPyEndAllowThreads(__tstate
);
3063 if (PyErr_Occurred()) SWIG_fail
;
3066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3074 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3075 PyObject
*resultobj
;
3076 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3078 PyObject
* obj0
= 0 ;
3080 (char *) "self", NULL
3083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
3084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3088 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
3090 wxPyEndAllowThreads(__tstate
);
3091 if (PyErr_Occurred()) SWIG_fail
;
3094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3102 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3103 PyObject
*resultobj
;
3104 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3105 wxString
*arg2
= 0 ;
3106 bool temp2
= False
;
3107 PyObject
* obj0
= 0 ;
3108 PyObject
* obj1
= 0 ;
3110 (char *) "self",(char *) "title", NULL
3113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
3114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3117 arg2
= wxString_in_helper(obj1
);
3118 if (arg2
== NULL
) SWIG_fail
;
3122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3123 (arg1
)->SetTitle((wxString
const &)*arg2
);
3125 wxPyEndAllowThreads(__tstate
);
3126 if (PyErr_Occurred()) SWIG_fail
;
3128 Py_INCREF(Py_None
); resultobj
= Py_None
;
3143 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3144 PyObject
*resultobj
;
3145 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3147 PyObject
* obj0
= 0 ;
3149 (char *) "self", NULL
3152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
3153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3157 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
3159 wxPyEndAllowThreads(__tstate
);
3160 if (PyErr_Occurred()) SWIG_fail
;
3164 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3166 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3175 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3176 PyObject
*resultobj
;
3177 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3178 wxRegion
*arg2
= 0 ;
3180 PyObject
* obj0
= 0 ;
3181 PyObject
* obj1
= 0 ;
3183 (char *) "self",(char *) "region", NULL
3186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
3187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3189 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
3190 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3193 PyErr_SetString(PyExc_TypeError
,"null reference");
3197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3198 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
3200 wxPyEndAllowThreads(__tstate
);
3201 if (PyErr_Occurred()) SWIG_fail
;
3204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3212 static PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3213 PyObject
*resultobj
;
3214 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3215 int arg2
= (int) wxUSER_ATTENTION_INFO
;
3216 PyObject
* obj0
= 0 ;
3217 PyObject
* obj1
= 0 ;
3219 (char *) "self",(char *) "flags", NULL
3222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) goto fail
;
3223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3226 arg2
= (int)SWIG_As_int(obj1
);
3227 if (PyErr_Occurred()) SWIG_fail
;
3230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3231 (arg1
)->RequestUserAttention(arg2
);
3233 wxPyEndAllowThreads(__tstate
);
3234 if (PyErr_Occurred()) SWIG_fail
;
3236 Py_INCREF(Py_None
); resultobj
= Py_None
;
3243 static PyObject
* TopLevelWindow_swigregister(PyObject
*, PyObject
*args
) {
3245 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3246 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
3248 return Py_BuildValue((char *)"");
3250 static PyObject
*_wrap_new_Frame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3251 PyObject
*resultobj
;
3252 wxWindow
*arg1
= (wxWindow
*) 0 ;
3253 int arg2
= (int) (int)-1 ;
3254 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3255 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3256 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3257 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3258 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3259 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3260 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
3261 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
3262 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3264 bool temp3
= False
;
3267 bool temp7
= False
;
3268 PyObject
* obj0
= 0 ;
3269 PyObject
* obj1
= 0 ;
3270 PyObject
* obj2
= 0 ;
3271 PyObject
* obj3
= 0 ;
3272 PyObject
* obj4
= 0 ;
3273 PyObject
* obj5
= 0 ;
3274 PyObject
* obj6
= 0 ;
3276 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3283 arg2
= (int)SWIG_As_int(obj1
);
3284 if (PyErr_Occurred()) SWIG_fail
;
3288 arg3
= wxString_in_helper(obj2
);
3289 if (arg3
== NULL
) SWIG_fail
;
3296 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3302 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3306 arg6
= (long)SWIG_As_long(obj5
);
3307 if (PyErr_Occurred()) SWIG_fail
;
3311 arg7
= wxString_in_helper(obj6
);
3312 if (arg7
== NULL
) SWIG_fail
;
3317 if (!wxPyCheckForApp()) SWIG_fail
;
3318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3319 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3321 wxPyEndAllowThreads(__tstate
);
3322 if (PyErr_Occurred()) SWIG_fail
;
3324 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
3347 static PyObject
*_wrap_new_PreFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3348 PyObject
*resultobj
;
3354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
3356 if (!wxPyCheckForApp()) SWIG_fail
;
3357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3358 result
= (wxFrame
*)new wxFrame();
3360 wxPyEndAllowThreads(__tstate
);
3361 if (PyErr_Occurred()) SWIG_fail
;
3363 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
3370 static PyObject
*_wrap_Frame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3371 PyObject
*resultobj
;
3372 wxFrame
*arg1
= (wxFrame
*) 0 ;
3373 wxWindow
*arg2
= (wxWindow
*) 0 ;
3374 int arg3
= (int) (int)-1 ;
3375 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3376 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3377 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3378 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3379 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3380 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3381 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
3382 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
3383 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3385 bool temp4
= False
;
3388 bool temp8
= False
;
3389 PyObject
* obj0
= 0 ;
3390 PyObject
* obj1
= 0 ;
3391 PyObject
* obj2
= 0 ;
3392 PyObject
* obj3
= 0 ;
3393 PyObject
* obj4
= 0 ;
3394 PyObject
* obj5
= 0 ;
3395 PyObject
* obj6
= 0 ;
3396 PyObject
* obj7
= 0 ;
3398 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3404 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3407 arg3
= (int)SWIG_As_int(obj2
);
3408 if (PyErr_Occurred()) SWIG_fail
;
3412 arg4
= wxString_in_helper(obj3
);
3413 if (arg4
== NULL
) SWIG_fail
;
3420 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3426 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3430 arg7
= (long)SWIG_As_long(obj6
);
3431 if (PyErr_Occurred()) SWIG_fail
;
3435 arg8
= wxString_in_helper(obj7
);
3436 if (arg8
== NULL
) SWIG_fail
;
3441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3442 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3444 wxPyEndAllowThreads(__tstate
);
3445 if (PyErr_Occurred()) SWIG_fail
;
3448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3472 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3473 PyObject
*resultobj
;
3474 wxFrame
*arg1
= (wxFrame
*) 0 ;
3476 PyObject
* obj0
= 0 ;
3478 (char *) "self", NULL
3481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
3482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3486 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
3488 wxPyEndAllowThreads(__tstate
);
3489 if (PyErr_Occurred()) SWIG_fail
;
3492 wxPoint
* resultptr
;
3493 resultptr
= new wxPoint((wxPoint
&) result
);
3494 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3502 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3503 PyObject
*resultobj
;
3504 wxFrame
*arg1
= (wxFrame
*) 0 ;
3505 PyObject
* obj0
= 0 ;
3507 (char *) "self", NULL
3510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
3511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3515 (arg1
)->SendSizeEvent();
3517 wxPyEndAllowThreads(__tstate
);
3518 if (PyErr_Occurred()) SWIG_fail
;
3520 Py_INCREF(Py_None
); resultobj
= Py_None
;
3527 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3528 PyObject
*resultobj
;
3529 wxFrame
*arg1
= (wxFrame
*) 0 ;
3530 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
3531 PyObject
* obj0
= 0 ;
3532 PyObject
* obj1
= 0 ;
3534 (char *) "self",(char *) "menubar", NULL
3537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3540 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBar
,
3541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3544 (arg1
)->SetMenuBar(arg2
);
3546 wxPyEndAllowThreads(__tstate
);
3547 if (PyErr_Occurred()) SWIG_fail
;
3549 Py_INCREF(Py_None
); resultobj
= Py_None
;
3556 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3557 PyObject
*resultobj
;
3558 wxFrame
*arg1
= (wxFrame
*) 0 ;
3560 PyObject
* obj0
= 0 ;
3562 (char *) "self", NULL
3565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
3566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3570 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
3572 wxPyEndAllowThreads(__tstate
);
3573 if (PyErr_Occurred()) SWIG_fail
;
3576 resultobj
= wxPyMake_wxObject(result
, 0);
3584 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3585 PyObject
*resultobj
;
3586 wxFrame
*arg1
= (wxFrame
*) 0 ;
3589 PyObject
* obj0
= 0 ;
3590 PyObject
* obj1
= 0 ;
3592 (char *) "self",(char *) "winid", NULL
3595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
3596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3598 arg2
= (int)SWIG_As_int(obj1
);
3599 if (PyErr_Occurred()) SWIG_fail
;
3601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3602 result
= (bool)(arg1
)->ProcessCommand(arg2
);
3604 wxPyEndAllowThreads(__tstate
);
3605 if (PyErr_Occurred()) SWIG_fail
;
3608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3616 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3617 PyObject
*resultobj
;
3618 wxFrame
*arg1
= (wxFrame
*) 0 ;
3619 int arg2
= (int) 1 ;
3620 long arg3
= (long) wxST_SIZEGRIP
|wxFULL_REPAINT_ON_RESIZE
;
3621 int arg4
= (int) 0 ;
3622 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
3623 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3624 wxStatusBar
*result
;
3625 bool temp5
= False
;
3626 PyObject
* obj0
= 0 ;
3627 PyObject
* obj1
= 0 ;
3628 PyObject
* obj2
= 0 ;
3629 PyObject
* obj3
= 0 ;
3630 PyObject
* obj4
= 0 ;
3632 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3639 arg2
= (int)SWIG_As_int(obj1
);
3640 if (PyErr_Occurred()) SWIG_fail
;
3643 arg3
= (long)SWIG_As_long(obj2
);
3644 if (PyErr_Occurred()) SWIG_fail
;
3647 arg4
= (int)SWIG_As_int(obj3
);
3648 if (PyErr_Occurred()) SWIG_fail
;
3652 arg5
= wxString_in_helper(obj4
);
3653 if (arg5
== NULL
) SWIG_fail
;
3658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3659 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
3661 wxPyEndAllowThreads(__tstate
);
3662 if (PyErr_Occurred()) SWIG_fail
;
3665 resultobj
= wxPyMake_wxObject(result
, 0);
3681 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3682 PyObject
*resultobj
;
3683 wxFrame
*arg1
= (wxFrame
*) 0 ;
3684 wxStatusBar
*result
;
3685 PyObject
* obj0
= 0 ;
3687 (char *) "self", NULL
3690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
3691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3695 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
3697 wxPyEndAllowThreads(__tstate
);
3698 if (PyErr_Occurred()) SWIG_fail
;
3701 resultobj
= wxPyMake_wxObject(result
, 0);
3709 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3710 PyObject
*resultobj
;
3711 wxFrame
*arg1
= (wxFrame
*) 0 ;
3712 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
3713 PyObject
* obj0
= 0 ;
3714 PyObject
* obj1
= 0 ;
3716 (char *) "self",(char *) "statBar", NULL
3719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3722 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxStatusBar
,
3723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3726 (arg1
)->SetStatusBar(arg2
);
3728 wxPyEndAllowThreads(__tstate
);
3729 if (PyErr_Occurred()) SWIG_fail
;
3731 Py_INCREF(Py_None
); resultobj
= Py_None
;
3738 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3739 PyObject
*resultobj
;
3740 wxFrame
*arg1
= (wxFrame
*) 0 ;
3741 wxString
*arg2
= 0 ;
3742 int arg3
= (int) 0 ;
3743 bool temp2
= False
;
3744 PyObject
* obj0
= 0 ;
3745 PyObject
* obj1
= 0 ;
3746 PyObject
* obj2
= 0 ;
3748 (char *) "self",(char *) "text",(char *) "number", NULL
3751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3755 arg2
= wxString_in_helper(obj1
);
3756 if (arg2
== NULL
) SWIG_fail
;
3760 arg3
= (int)SWIG_As_int(obj2
);
3761 if (PyErr_Occurred()) SWIG_fail
;
3764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3765 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
3767 wxPyEndAllowThreads(__tstate
);
3768 if (PyErr_Occurred()) SWIG_fail
;
3770 Py_INCREF(Py_None
); resultobj
= Py_None
;
3785 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3786 PyObject
*resultobj
;
3787 wxFrame
*arg1
= (wxFrame
*) 0 ;
3789 int *arg3
= (int *) 0 ;
3790 PyObject
* obj0
= 0 ;
3791 PyObject
* obj1
= 0 ;
3793 (char *) "self",(char *) "widths", NULL
3796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
3797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3800 arg2
= PyList_Size(obj1
);
3801 arg3
= int_LIST_helper(obj1
);
3802 if (arg3
== NULL
) SWIG_fail
;
3805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3806 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
3808 wxPyEndAllowThreads(__tstate
);
3809 if (PyErr_Occurred()) SWIG_fail
;
3811 Py_INCREF(Py_None
); resultobj
= Py_None
;
3813 if (arg3
) delete [] arg3
;
3818 if (arg3
) delete [] arg3
;
3824 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3825 PyObject
*resultobj
;
3826 wxFrame
*arg1
= (wxFrame
*) 0 ;
3827 wxString
*arg2
= 0 ;
3828 int arg3
= (int) 0 ;
3829 bool temp2
= False
;
3830 PyObject
* obj0
= 0 ;
3831 PyObject
* obj1
= 0 ;
3832 PyObject
* obj2
= 0 ;
3834 (char *) "self",(char *) "text",(char *) "number", NULL
3837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3841 arg2
= wxString_in_helper(obj1
);
3842 if (arg2
== NULL
) SWIG_fail
;
3846 arg3
= (int)SWIG_As_int(obj2
);
3847 if (PyErr_Occurred()) SWIG_fail
;
3850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3851 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
3853 wxPyEndAllowThreads(__tstate
);
3854 if (PyErr_Occurred()) SWIG_fail
;
3856 Py_INCREF(Py_None
); resultobj
= Py_None
;
3871 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3872 PyObject
*resultobj
;
3873 wxFrame
*arg1
= (wxFrame
*) 0 ;
3874 int arg2
= (int) 0 ;
3875 PyObject
* obj0
= 0 ;
3876 PyObject
* obj1
= 0 ;
3878 (char *) "self",(char *) "number", NULL
3881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
3882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3885 arg2
= (int)SWIG_As_int(obj1
);
3886 if (PyErr_Occurred()) SWIG_fail
;
3889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3890 (arg1
)->PopStatusText(arg2
);
3892 wxPyEndAllowThreads(__tstate
);
3893 if (PyErr_Occurred()) SWIG_fail
;
3895 Py_INCREF(Py_None
); resultobj
= Py_None
;
3902 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3903 PyObject
*resultobj
;
3904 wxFrame
*arg1
= (wxFrame
*) 0 ;
3906 PyObject
* obj0
= 0 ;
3907 PyObject
* obj1
= 0 ;
3909 (char *) "self",(char *) "n", NULL
3912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
3913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3915 arg2
= (int)SWIG_As_int(obj1
);
3916 if (PyErr_Occurred()) SWIG_fail
;
3918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3919 (arg1
)->SetStatusBarPane(arg2
);
3921 wxPyEndAllowThreads(__tstate
);
3922 if (PyErr_Occurred()) SWIG_fail
;
3924 Py_INCREF(Py_None
); resultobj
= Py_None
;
3931 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3932 PyObject
*resultobj
;
3933 wxFrame
*arg1
= (wxFrame
*) 0 ;
3935 PyObject
* obj0
= 0 ;
3937 (char *) "self", NULL
3940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
3941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3945 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
3947 wxPyEndAllowThreads(__tstate
);
3948 if (PyErr_Occurred()) SWIG_fail
;
3950 resultobj
= SWIG_From_int((int)result
);
3957 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3958 PyObject
*resultobj
;
3959 wxFrame
*arg1
= (wxFrame
*) 0 ;
3960 long arg2
= (long) -1 ;
3961 int arg3
= (int) -1 ;
3962 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
3963 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3965 bool temp4
= False
;
3966 PyObject
* obj0
= 0 ;
3967 PyObject
* obj1
= 0 ;
3968 PyObject
* obj2
= 0 ;
3969 PyObject
* obj3
= 0 ;
3971 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3978 arg2
= (long)SWIG_As_long(obj1
);
3979 if (PyErr_Occurred()) SWIG_fail
;
3982 arg3
= (int)SWIG_As_int(obj2
);
3983 if (PyErr_Occurred()) SWIG_fail
;
3987 arg4
= wxString_in_helper(obj3
);
3988 if (arg4
== NULL
) SWIG_fail
;
3993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3994 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
3996 wxPyEndAllowThreads(__tstate
);
3997 if (PyErr_Occurred()) SWIG_fail
;
4000 resultobj
= wxPyMake_wxObject(result
, 0);
4016 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4017 PyObject
*resultobj
;
4018 wxFrame
*arg1
= (wxFrame
*) 0 ;
4020 PyObject
* obj0
= 0 ;
4022 (char *) "self", NULL
4025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
4026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4030 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
4032 wxPyEndAllowThreads(__tstate
);
4033 if (PyErr_Occurred()) SWIG_fail
;
4036 resultobj
= wxPyMake_wxObject(result
, 0);
4044 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4045 PyObject
*resultobj
;
4046 wxFrame
*arg1
= (wxFrame
*) 0 ;
4047 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
4048 PyObject
* obj0
= 0 ;
4049 PyObject
* obj1
= 0 ;
4051 (char *) "self",(char *) "toolbar", NULL
4054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
4055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4057 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBar
,
4058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4061 (arg1
)->SetToolBar(arg2
);
4063 wxPyEndAllowThreads(__tstate
);
4064 if (PyErr_Occurred()) SWIG_fail
;
4066 Py_INCREF(Py_None
); resultobj
= Py_None
;
4073 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4074 PyObject
*resultobj
;
4075 wxFrame
*arg1
= (wxFrame
*) 0 ;
4076 wxString
*arg2
= 0 ;
4078 bool temp2
= False
;
4079 PyObject
* obj0
= 0 ;
4080 PyObject
* obj1
= 0 ;
4081 PyObject
* obj2
= 0 ;
4083 (char *) "self",(char *) "text",(char *) "show", NULL
4086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4090 arg2
= wxString_in_helper(obj1
);
4091 if (arg2
== NULL
) SWIG_fail
;
4094 arg3
= (bool)SWIG_As_bool(obj2
);
4095 if (PyErr_Occurred()) SWIG_fail
;
4097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4098 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
4100 wxPyEndAllowThreads(__tstate
);
4101 if (PyErr_Occurred()) SWIG_fail
;
4103 Py_INCREF(Py_None
); resultobj
= Py_None
;
4118 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4119 PyObject
*resultobj
;
4120 wxFrame
*arg1
= (wxFrame
*) 0 ;
4121 wxMenu
*arg2
= (wxMenu
*) NULL
;
4122 PyObject
* obj0
= 0 ;
4123 PyObject
* obj1
= 0 ;
4125 (char *) "self",(char *) "menu", NULL
4128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
4129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4132 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
4133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4137 (arg1
)->DoMenuUpdates(arg2
);
4139 wxPyEndAllowThreads(__tstate
);
4140 if (PyErr_Occurred()) SWIG_fail
;
4142 Py_INCREF(Py_None
); resultobj
= Py_None
;
4149 static PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4150 PyObject
*resultobj
;
4151 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4152 wxVisualAttributes result
;
4153 PyObject
* obj0
= 0 ;
4155 (char *) "variant", NULL
4158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4160 arg1
= (int)SWIG_As_int(obj0
);
4161 if (PyErr_Occurred()) SWIG_fail
;
4164 if (!wxPyCheckForApp()) SWIG_fail
;
4165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4166 result
= wxFrame::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4168 wxPyEndAllowThreads(__tstate
);
4169 if (PyErr_Occurred()) SWIG_fail
;
4172 wxVisualAttributes
* resultptr
;
4173 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4174 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4182 static PyObject
* Frame_swigregister(PyObject
*, PyObject
*args
) {
4184 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4185 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
4187 return Py_BuildValue((char *)"");
4189 static PyObject
*_wrap_new_Dialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4190 PyObject
*resultobj
;
4191 wxWindow
*arg1
= (wxWindow
*) 0 ;
4192 int arg2
= (int) (int)-1 ;
4193 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4194 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4195 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4196 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4197 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4198 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4199 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
4200 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
4201 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4203 bool temp3
= False
;
4206 bool temp7
= False
;
4207 PyObject
* obj0
= 0 ;
4208 PyObject
* obj1
= 0 ;
4209 PyObject
* obj2
= 0 ;
4210 PyObject
* obj3
= 0 ;
4211 PyObject
* obj4
= 0 ;
4212 PyObject
* obj5
= 0 ;
4213 PyObject
* obj6
= 0 ;
4215 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4222 arg2
= (int)SWIG_As_int(obj1
);
4223 if (PyErr_Occurred()) SWIG_fail
;
4227 arg3
= wxString_in_helper(obj2
);
4228 if (arg3
== NULL
) SWIG_fail
;
4235 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4241 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4245 arg6
= (long)SWIG_As_long(obj5
);
4246 if (PyErr_Occurred()) SWIG_fail
;
4250 arg7
= wxString_in_helper(obj6
);
4251 if (arg7
== NULL
) SWIG_fail
;
4256 if (!wxPyCheckForApp()) SWIG_fail
;
4257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4258 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4260 wxPyEndAllowThreads(__tstate
);
4261 if (PyErr_Occurred()) SWIG_fail
;
4263 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
4286 static PyObject
*_wrap_new_PreDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4287 PyObject
*resultobj
;
4293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
4295 if (!wxPyCheckForApp()) SWIG_fail
;
4296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4297 result
= (wxDialog
*)new wxDialog();
4299 wxPyEndAllowThreads(__tstate
);
4300 if (PyErr_Occurred()) SWIG_fail
;
4302 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
4309 static PyObject
*_wrap_Dialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4310 PyObject
*resultobj
;
4311 wxDialog
*arg1
= (wxDialog
*) 0 ;
4312 wxWindow
*arg2
= (wxWindow
*) 0 ;
4313 int arg3
= (int) (int)-1 ;
4314 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4315 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4316 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4317 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4318 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4319 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4320 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
4321 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
4322 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4324 bool temp4
= False
;
4327 bool temp8
= False
;
4328 PyObject
* obj0
= 0 ;
4329 PyObject
* obj1
= 0 ;
4330 PyObject
* obj2
= 0 ;
4331 PyObject
* obj3
= 0 ;
4332 PyObject
* obj4
= 0 ;
4333 PyObject
* obj5
= 0 ;
4334 PyObject
* obj6
= 0 ;
4335 PyObject
* obj7
= 0 ;
4337 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4343 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4346 arg3
= (int)SWIG_As_int(obj2
);
4347 if (PyErr_Occurred()) SWIG_fail
;
4351 arg4
= wxString_in_helper(obj3
);
4352 if (arg4
== NULL
) SWIG_fail
;
4359 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4365 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4369 arg7
= (long)SWIG_As_long(obj6
);
4370 if (PyErr_Occurred()) SWIG_fail
;
4374 arg8
= wxString_in_helper(obj7
);
4375 if (arg8
== NULL
) SWIG_fail
;
4380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4381 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4383 wxPyEndAllowThreads(__tstate
);
4384 if (PyErr_Occurred()) SWIG_fail
;
4387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4411 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4412 PyObject
*resultobj
;
4413 wxDialog
*arg1
= (wxDialog
*) 0 ;
4415 PyObject
* obj0
= 0 ;
4416 PyObject
* obj1
= 0 ;
4418 (char *) "self",(char *) "returnCode", NULL
4421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
4422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4424 arg2
= (int)SWIG_As_int(obj1
);
4425 if (PyErr_Occurred()) SWIG_fail
;
4427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4428 (arg1
)->SetReturnCode(arg2
);
4430 wxPyEndAllowThreads(__tstate
);
4431 if (PyErr_Occurred()) SWIG_fail
;
4433 Py_INCREF(Py_None
); resultobj
= Py_None
;
4440 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4441 PyObject
*resultobj
;
4442 wxDialog
*arg1
= (wxDialog
*) 0 ;
4444 PyObject
* obj0
= 0 ;
4446 (char *) "self", NULL
4449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
4450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4454 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
4456 wxPyEndAllowThreads(__tstate
);
4457 if (PyErr_Occurred()) SWIG_fail
;
4459 resultobj
= SWIG_From_int((int)result
);
4466 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4467 PyObject
*resultobj
;
4468 wxDialog
*arg1
= (wxDialog
*) 0 ;
4469 wxString
*arg2
= 0 ;
4471 bool temp2
= False
;
4472 PyObject
* obj0
= 0 ;
4473 PyObject
* obj1
= 0 ;
4475 (char *) "self",(char *) "message", NULL
4478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4482 arg2
= wxString_in_helper(obj1
);
4483 if (arg2
== NULL
) SWIG_fail
;
4487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4488 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
4490 wxPyEndAllowThreads(__tstate
);
4491 if (PyErr_Occurred()) SWIG_fail
;
4494 resultobj
= wxPyMake_wxSizer(result
, 0);
4510 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4511 PyObject
*resultobj
;
4512 wxDialog
*arg1
= (wxDialog
*) 0 ;
4515 PyObject
* obj0
= 0 ;
4516 PyObject
* obj1
= 0 ;
4518 (char *) "self",(char *) "flags", NULL
4521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4524 arg2
= (long)SWIG_As_long(obj1
);
4525 if (PyErr_Occurred()) SWIG_fail
;
4527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4528 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
4530 wxPyEndAllowThreads(__tstate
);
4531 if (PyErr_Occurred()) SWIG_fail
;
4534 resultobj
= wxPyMake_wxSizer(result
, 0);
4542 static PyObject
*_wrap_Dialog_IsModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4543 PyObject
*resultobj
;
4544 wxDialog
*arg1
= (wxDialog
*) 0 ;
4546 PyObject
* obj0
= 0 ;
4548 (char *) "self", NULL
4551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
4552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4556 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
4558 wxPyEndAllowThreads(__tstate
);
4559 if (PyErr_Occurred()) SWIG_fail
;
4562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4570 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4571 PyObject
*resultobj
;
4572 wxDialog
*arg1
= (wxDialog
*) 0 ;
4574 PyObject
* obj0
= 0 ;
4576 (char *) "self", NULL
4579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
4580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4584 result
= (int)(arg1
)->ShowModal();
4586 wxPyEndAllowThreads(__tstate
);
4587 if (PyErr_Occurred()) SWIG_fail
;
4589 resultobj
= SWIG_From_int((int)result
);
4596 static PyObject
*_wrap_Dialog_EndModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4597 PyObject
*resultobj
;
4598 wxDialog
*arg1
= (wxDialog
*) 0 ;
4600 PyObject
* obj0
= 0 ;
4601 PyObject
* obj1
= 0 ;
4603 (char *) "self",(char *) "retCode", NULL
4606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
4607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4609 arg2
= (int)SWIG_As_int(obj1
);
4610 if (PyErr_Occurred()) SWIG_fail
;
4612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4613 (arg1
)->EndModal(arg2
);
4615 wxPyEndAllowThreads(__tstate
);
4616 if (PyErr_Occurred()) SWIG_fail
;
4618 Py_INCREF(Py_None
); resultobj
= Py_None
;
4625 static PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4626 PyObject
*resultobj
;
4627 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4628 wxVisualAttributes result
;
4629 PyObject
* obj0
= 0 ;
4631 (char *) "variant", NULL
4634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4636 arg1
= (int)SWIG_As_int(obj0
);
4637 if (PyErr_Occurred()) SWIG_fail
;
4640 if (!wxPyCheckForApp()) SWIG_fail
;
4641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4642 result
= wxDialog::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4644 wxPyEndAllowThreads(__tstate
);
4645 if (PyErr_Occurred()) SWIG_fail
;
4648 wxVisualAttributes
* resultptr
;
4649 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4650 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4658 static PyObject
* Dialog_swigregister(PyObject
*, PyObject
*args
) {
4660 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4661 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
4663 return Py_BuildValue((char *)"");
4665 static PyObject
*_wrap_new_MiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4666 PyObject
*resultobj
;
4667 wxWindow
*arg1
= (wxWindow
*) 0 ;
4668 int arg2
= (int) (int)-1 ;
4669 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4670 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4671 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4672 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4673 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4674 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4675 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4676 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4677 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4678 wxMiniFrame
*result
;
4679 bool temp3
= False
;
4682 bool temp7
= False
;
4683 PyObject
* obj0
= 0 ;
4684 PyObject
* obj1
= 0 ;
4685 PyObject
* obj2
= 0 ;
4686 PyObject
* obj3
= 0 ;
4687 PyObject
* obj4
= 0 ;
4688 PyObject
* obj5
= 0 ;
4689 PyObject
* obj6
= 0 ;
4691 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4698 arg2
= (int)SWIG_As_int(obj1
);
4699 if (PyErr_Occurred()) SWIG_fail
;
4703 arg3
= wxString_in_helper(obj2
);
4704 if (arg3
== NULL
) SWIG_fail
;
4711 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4717 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4721 arg6
= (long)SWIG_As_long(obj5
);
4722 if (PyErr_Occurred()) SWIG_fail
;
4726 arg7
= wxString_in_helper(obj6
);
4727 if (arg7
== NULL
) SWIG_fail
;
4732 if (!wxPyCheckForApp()) SWIG_fail
;
4733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4734 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4736 wxPyEndAllowThreads(__tstate
);
4737 if (PyErr_Occurred()) SWIG_fail
;
4739 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4762 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4763 PyObject
*resultobj
;
4764 wxMiniFrame
*result
;
4769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
4771 if (!wxPyCheckForApp()) SWIG_fail
;
4772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4773 result
= (wxMiniFrame
*)new wxMiniFrame();
4775 wxPyEndAllowThreads(__tstate
);
4776 if (PyErr_Occurred()) SWIG_fail
;
4778 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4785 static PyObject
*_wrap_MiniFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4786 PyObject
*resultobj
;
4787 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
4788 wxWindow
*arg2
= (wxWindow
*) 0 ;
4789 int arg3
= (int) (int)-1 ;
4790 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4791 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4792 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4793 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4794 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4795 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4796 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4797 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4798 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4800 bool temp4
= False
;
4803 bool temp8
= False
;
4804 PyObject
* obj0
= 0 ;
4805 PyObject
* obj1
= 0 ;
4806 PyObject
* obj2
= 0 ;
4807 PyObject
* obj3
= 0 ;
4808 PyObject
* obj4
= 0 ;
4809 PyObject
* obj5
= 0 ;
4810 PyObject
* obj6
= 0 ;
4811 PyObject
* obj7
= 0 ;
4813 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMiniFrame
,
4818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4819 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4822 arg3
= (int)SWIG_As_int(obj2
);
4823 if (PyErr_Occurred()) SWIG_fail
;
4827 arg4
= wxString_in_helper(obj3
);
4828 if (arg4
== NULL
) SWIG_fail
;
4835 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4841 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4845 arg7
= (long)SWIG_As_long(obj6
);
4846 if (PyErr_Occurred()) SWIG_fail
;
4850 arg8
= wxString_in_helper(obj7
);
4851 if (arg8
== NULL
) SWIG_fail
;
4856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4857 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4859 wxPyEndAllowThreads(__tstate
);
4860 if (PyErr_Occurred()) SWIG_fail
;
4863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4887 static PyObject
* MiniFrame_swigregister(PyObject
*, PyObject
*args
) {
4889 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4890 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
4892 return Py_BuildValue((char *)"");
4894 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4895 PyObject
*resultobj
;
4896 wxBitmap
*arg1
= 0 ;
4897 wxWindow
*arg2
= (wxWindow
*) 0 ;
4899 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4900 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4901 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4902 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4903 long arg6
= (long) wxNO_BORDER
;
4904 wxSplashScreenWindow
*result
;
4907 PyObject
* obj0
= 0 ;
4908 PyObject
* obj1
= 0 ;
4909 PyObject
* obj2
= 0 ;
4910 PyObject
* obj3
= 0 ;
4911 PyObject
* obj4
= 0 ;
4912 PyObject
* obj5
= 0 ;
4914 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
4919 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4922 PyErr_SetString(PyExc_TypeError
,"null reference");
4925 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4927 arg3
= (int)SWIG_As_int(obj2
);
4928 if (PyErr_Occurred()) SWIG_fail
;
4932 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4938 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4942 arg6
= (long)SWIG_As_long(obj5
);
4943 if (PyErr_Occurred()) SWIG_fail
;
4946 if (!wxPyCheckForApp()) SWIG_fail
;
4947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4948 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
4950 wxPyEndAllowThreads(__tstate
);
4951 if (PyErr_Occurred()) SWIG_fail
;
4953 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
4960 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4961 PyObject
*resultobj
;
4962 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4963 wxBitmap
*arg2
= 0 ;
4964 PyObject
* obj0
= 0 ;
4965 PyObject
* obj1
= 0 ;
4967 (char *) "self",(char *) "bitmap", NULL
4970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
4971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
4972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4973 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
4974 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4977 PyErr_SetString(PyExc_TypeError
,"null reference");
4981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4982 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
4984 wxPyEndAllowThreads(__tstate
);
4985 if (PyErr_Occurred()) SWIG_fail
;
4987 Py_INCREF(Py_None
); resultobj
= Py_None
;
4994 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4995 PyObject
*resultobj
;
4996 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
4998 PyObject
* obj0
= 0 ;
5000 (char *) "self", NULL
5003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
5004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
5005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5009 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
5010 result
= (wxBitmap
*) &_result_ref
;
5013 wxPyEndAllowThreads(__tstate
);
5014 if (PyErr_Occurred()) SWIG_fail
;
5017 wxBitmap
* resultptr
= new wxBitmap(*result
);
5018 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5026 static PyObject
* SplashScreenWindow_swigregister(PyObject
*, PyObject
*args
) {
5028 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5029 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
5031 return Py_BuildValue((char *)"");
5033 static PyObject
*_wrap_new_SplashScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5034 PyObject
*resultobj
;
5035 wxBitmap
*arg1
= 0 ;
5038 wxWindow
*arg4
= (wxWindow
*) 0 ;
5039 int arg5
= (int) -1 ;
5040 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
5041 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
5042 wxSize
const &arg7_defvalue
= wxDefaultSize
;
5043 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
5044 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
5045 wxSplashScreen
*result
;
5048 PyObject
* obj0
= 0 ;
5049 PyObject
* obj1
= 0 ;
5050 PyObject
* obj2
= 0 ;
5051 PyObject
* obj3
= 0 ;
5052 PyObject
* obj4
= 0 ;
5053 PyObject
* obj5
= 0 ;
5054 PyObject
* obj6
= 0 ;
5055 PyObject
* obj7
= 0 ;
5057 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
5060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
5062 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5065 PyErr_SetString(PyExc_TypeError
,"null reference");
5068 arg2
= (long)SWIG_As_long(obj1
);
5069 if (PyErr_Occurred()) SWIG_fail
;
5070 arg3
= (int)SWIG_As_int(obj2
);
5071 if (PyErr_Occurred()) SWIG_fail
;
5072 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
5073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5075 arg5
= (int)SWIG_As_int(obj4
);
5076 if (PyErr_Occurred()) SWIG_fail
;
5081 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
5087 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
5091 arg8
= (long)SWIG_As_long(obj7
);
5092 if (PyErr_Occurred()) SWIG_fail
;
5095 if (!wxPyCheckForApp()) SWIG_fail
;
5096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5097 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
5099 wxPyEndAllowThreads(__tstate
);
5100 if (PyErr_Occurred()) SWIG_fail
;
5102 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
5109 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5110 PyObject
*resultobj
;
5111 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
5113 PyObject
* obj0
= 0 ;
5115 (char *) "self", NULL
5118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
5119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
5120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5123 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
5125 wxPyEndAllowThreads(__tstate
);
5126 if (PyErr_Occurred()) SWIG_fail
;
5128 resultobj
= SWIG_From_long((long)result
);
5135 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5136 PyObject
*resultobj
;
5137 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
5138 wxSplashScreenWindow
*result
;
5139 PyObject
* obj0
= 0 ;
5141 (char *) "self", NULL
5144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
5145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
5146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5149 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
5151 wxPyEndAllowThreads(__tstate
);
5152 if (PyErr_Occurred()) SWIG_fail
;
5154 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
5161 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5162 PyObject
*resultobj
;
5163 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
5165 PyObject
* obj0
= 0 ;
5167 (char *) "self", NULL
5170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
5171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
5172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5175 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
5177 wxPyEndAllowThreads(__tstate
);
5178 if (PyErr_Occurred()) SWIG_fail
;
5180 resultobj
= SWIG_From_int((int)result
);
5187 static PyObject
* SplashScreen_swigregister(PyObject
*, PyObject
*args
) {
5189 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5190 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
5192 return Py_BuildValue((char *)"");
5194 static PyObject
*_wrap_new_StatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5195 PyObject
*resultobj
;
5196 wxWindow
*arg1
= (wxWindow
*) 0 ;
5197 int arg2
= (int) -1 ;
5198 long arg3
= (long) wxST_SIZEGRIP
|wxFULL_REPAINT_ON_RESIZE
;
5199 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
5200 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5201 wxStatusBar
*result
;
5202 bool temp4
= False
;
5203 PyObject
* obj0
= 0 ;
5204 PyObject
* obj1
= 0 ;
5205 PyObject
* obj2
= 0 ;
5206 PyObject
* obj3
= 0 ;
5208 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5215 arg2
= (int)SWIG_As_int(obj1
);
5216 if (PyErr_Occurred()) SWIG_fail
;
5219 arg3
= (long)SWIG_As_long(obj2
);
5220 if (PyErr_Occurred()) SWIG_fail
;
5224 arg4
= wxString_in_helper(obj3
);
5225 if (arg4
== NULL
) SWIG_fail
;
5230 if (!wxPyCheckForApp()) SWIG_fail
;
5231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5232 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
5234 wxPyEndAllowThreads(__tstate
);
5235 if (PyErr_Occurred()) SWIG_fail
;
5237 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
5252 static PyObject
*_wrap_new_PreStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5253 PyObject
*resultobj
;
5254 wxStatusBar
*result
;
5259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
5261 if (!wxPyCheckForApp()) SWIG_fail
;
5262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5263 result
= (wxStatusBar
*)new wxStatusBar();
5265 wxPyEndAllowThreads(__tstate
);
5266 if (PyErr_Occurred()) SWIG_fail
;
5268 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
5275 static PyObject
*_wrap_StatusBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5276 PyObject
*resultobj
;
5277 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5278 wxWindow
*arg2
= (wxWindow
*) 0 ;
5279 int arg3
= (int) -1 ;
5280 long arg4
= (long) wxST_SIZEGRIP
;
5281 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
5282 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5284 bool temp5
= False
;
5285 PyObject
* obj0
= 0 ;
5286 PyObject
* obj1
= 0 ;
5287 PyObject
* obj2
= 0 ;
5288 PyObject
* obj3
= 0 ;
5289 PyObject
* obj4
= 0 ;
5291 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5297 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5300 arg3
= (int)SWIG_As_int(obj2
);
5301 if (PyErr_Occurred()) SWIG_fail
;
5304 arg4
= (long)SWIG_As_long(obj3
);
5305 if (PyErr_Occurred()) SWIG_fail
;
5309 arg5
= wxString_in_helper(obj4
);
5310 if (arg5
== NULL
) SWIG_fail
;
5315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5316 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
5318 wxPyEndAllowThreads(__tstate
);
5319 if (PyErr_Occurred()) SWIG_fail
;
5322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5338 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5339 PyObject
*resultobj
;
5340 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5341 int arg2
= (int) 1 ;
5342 PyObject
* obj0
= 0 ;
5343 PyObject
* obj1
= 0 ;
5345 (char *) "self",(char *) "number", NULL
5348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
5349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5352 arg2
= (int)SWIG_As_int(obj1
);
5353 if (PyErr_Occurred()) SWIG_fail
;
5356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5357 (arg1
)->SetFieldsCount(arg2
);
5359 wxPyEndAllowThreads(__tstate
);
5360 if (PyErr_Occurred()) SWIG_fail
;
5362 Py_INCREF(Py_None
); resultobj
= Py_None
;
5369 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5370 PyObject
*resultobj
;
5371 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5373 PyObject
* obj0
= 0 ;
5375 (char *) "self", NULL
5378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
5379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5383 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
5385 wxPyEndAllowThreads(__tstate
);
5386 if (PyErr_Occurred()) SWIG_fail
;
5388 resultobj
= SWIG_From_int((int)result
);
5395 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5396 PyObject
*resultobj
;
5397 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5398 wxString
*arg2
= 0 ;
5399 int arg3
= (int) 0 ;
5400 bool temp2
= False
;
5401 PyObject
* obj0
= 0 ;
5402 PyObject
* obj1
= 0 ;
5403 PyObject
* obj2
= 0 ;
5405 (char *) "self",(char *) "text",(char *) "number", NULL
5408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5412 arg2
= wxString_in_helper(obj1
);
5413 if (arg2
== NULL
) SWIG_fail
;
5417 arg3
= (int)SWIG_As_int(obj2
);
5418 if (PyErr_Occurred()) SWIG_fail
;
5421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5422 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
5424 wxPyEndAllowThreads(__tstate
);
5425 if (PyErr_Occurred()) SWIG_fail
;
5427 Py_INCREF(Py_None
); resultobj
= Py_None
;
5442 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5443 PyObject
*resultobj
;
5444 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5445 int arg2
= (int) 0 ;
5447 PyObject
* obj0
= 0 ;
5448 PyObject
* obj1
= 0 ;
5450 (char *) "self",(char *) "number", NULL
5453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5457 arg2
= (int)SWIG_As_int(obj1
);
5458 if (PyErr_Occurred()) SWIG_fail
;
5461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5462 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
5464 wxPyEndAllowThreads(__tstate
);
5465 if (PyErr_Occurred()) SWIG_fail
;
5469 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5471 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5480 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5481 PyObject
*resultobj
;
5482 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5483 wxString
*arg2
= 0 ;
5484 int arg3
= (int) 0 ;
5485 bool temp2
= False
;
5486 PyObject
* obj0
= 0 ;
5487 PyObject
* obj1
= 0 ;
5488 PyObject
* obj2
= 0 ;
5490 (char *) "self",(char *) "text",(char *) "number", NULL
5493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5497 arg2
= wxString_in_helper(obj1
);
5498 if (arg2
== NULL
) SWIG_fail
;
5502 arg3
= (int)SWIG_As_int(obj2
);
5503 if (PyErr_Occurred()) SWIG_fail
;
5506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5507 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5509 wxPyEndAllowThreads(__tstate
);
5510 if (PyErr_Occurred()) SWIG_fail
;
5512 Py_INCREF(Py_None
); resultobj
= Py_None
;
5527 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5528 PyObject
*resultobj
;
5529 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5530 int arg2
= (int) 0 ;
5531 PyObject
* obj0
= 0 ;
5532 PyObject
* obj1
= 0 ;
5534 (char *) "self",(char *) "number", NULL
5537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5541 arg2
= (int)SWIG_As_int(obj1
);
5542 if (PyErr_Occurred()) SWIG_fail
;
5545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5546 (arg1
)->PopStatusText(arg2
);
5548 wxPyEndAllowThreads(__tstate
);
5549 if (PyErr_Occurred()) SWIG_fail
;
5551 Py_INCREF(Py_None
); resultobj
= Py_None
;
5558 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5559 PyObject
*resultobj
;
5560 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5562 int *arg3
= (int *) 0 ;
5563 PyObject
* obj0
= 0 ;
5564 PyObject
* obj1
= 0 ;
5566 (char *) "self",(char *) "widths", NULL
5569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5573 arg2
= PyList_Size(obj1
);
5574 arg3
= int_LIST_helper(obj1
);
5575 if (arg3
== NULL
) SWIG_fail
;
5578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5579 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5581 wxPyEndAllowThreads(__tstate
);
5582 if (PyErr_Occurred()) SWIG_fail
;
5584 Py_INCREF(Py_None
); resultobj
= Py_None
;
5586 if (arg3
) delete [] arg3
;
5591 if (arg3
) delete [] arg3
;
5597 static PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5598 PyObject
*resultobj
;
5599 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5601 int *arg3
= (int *) 0 ;
5602 PyObject
* obj0
= 0 ;
5603 PyObject
* obj1
= 0 ;
5605 (char *) "self",(char *) "styles", NULL
5608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) goto fail
;
5609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5612 arg2
= PyList_Size(obj1
);
5613 arg3
= int_LIST_helper(obj1
);
5614 if (arg3
== NULL
) SWIG_fail
;
5617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5618 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
5620 wxPyEndAllowThreads(__tstate
);
5621 if (PyErr_Occurred()) SWIG_fail
;
5623 Py_INCREF(Py_None
); resultobj
= Py_None
;
5625 if (arg3
) delete [] arg3
;
5630 if (arg3
) delete [] arg3
;
5636 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5637 PyObject
*resultobj
;
5638 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5641 PyObject
* obj0
= 0 ;
5642 PyObject
* obj1
= 0 ;
5644 (char *) "self",(char *) "i", NULL
5647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5650 arg2
= (int)SWIG_As_int(obj1
);
5651 if (PyErr_Occurred()) SWIG_fail
;
5653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5654 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
5656 wxPyEndAllowThreads(__tstate
);
5657 if (PyErr_Occurred()) SWIG_fail
;
5661 resultptr
= new wxRect((wxRect
&) result
);
5662 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5670 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5671 PyObject
*resultobj
;
5672 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5674 PyObject
* obj0
= 0 ;
5675 PyObject
* obj1
= 0 ;
5677 (char *) "self",(char *) "height", NULL
5680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5683 arg2
= (int)SWIG_As_int(obj1
);
5684 if (PyErr_Occurred()) SWIG_fail
;
5686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5687 (arg1
)->SetMinHeight(arg2
);
5689 wxPyEndAllowThreads(__tstate
);
5690 if (PyErr_Occurred()) SWIG_fail
;
5692 Py_INCREF(Py_None
); resultobj
= Py_None
;
5699 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5700 PyObject
*resultobj
;
5701 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5703 PyObject
* obj0
= 0 ;
5705 (char *) "self", NULL
5708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
5709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5713 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
5715 wxPyEndAllowThreads(__tstate
);
5716 if (PyErr_Occurred()) SWIG_fail
;
5718 resultobj
= SWIG_From_int((int)result
);
5725 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5726 PyObject
*resultobj
;
5727 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5729 PyObject
* obj0
= 0 ;
5731 (char *) "self", NULL
5734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
5735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5739 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
5741 wxPyEndAllowThreads(__tstate
);
5742 if (PyErr_Occurred()) SWIG_fail
;
5744 resultobj
= SWIG_From_int((int)result
);
5751 static PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5752 PyObject
*resultobj
;
5753 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5754 wxVisualAttributes result
;
5755 PyObject
* obj0
= 0 ;
5757 (char *) "variant", NULL
5760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5762 arg1
= (int)SWIG_As_int(obj0
);
5763 if (PyErr_Occurred()) SWIG_fail
;
5766 if (!wxPyCheckForApp()) SWIG_fail
;
5767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5768 result
= wxStatusBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5770 wxPyEndAllowThreads(__tstate
);
5771 if (PyErr_Occurred()) SWIG_fail
;
5774 wxVisualAttributes
* resultptr
;
5775 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5776 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5784 static PyObject
* StatusBar_swigregister(PyObject
*, PyObject
*args
) {
5786 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5787 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
5789 return Py_BuildValue((char *)"");
5791 static int _wrap_SplitterNameStr_set(PyObject
*) {
5792 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
5797 static PyObject
*_wrap_SplitterNameStr_get() {
5802 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5804 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5811 static PyObject
*_wrap_new_SplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5812 PyObject
*resultobj
;
5813 wxWindow
*arg1
= (wxWindow
*) 0 ;
5814 int arg2
= (int) -1 ;
5815 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5816 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5817 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5818 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5819 long arg5
= (long) wxSP_3D
;
5820 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
5821 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5822 wxSplitterWindow
*result
;
5825 bool temp6
= False
;
5826 PyObject
* obj0
= 0 ;
5827 PyObject
* obj1
= 0 ;
5828 PyObject
* obj2
= 0 ;
5829 PyObject
* obj3
= 0 ;
5830 PyObject
* obj4
= 0 ;
5831 PyObject
* obj5
= 0 ;
5833 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5840 arg2
= (int)SWIG_As_int(obj1
);
5841 if (PyErr_Occurred()) SWIG_fail
;
5846 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5852 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5856 arg5
= (long)SWIG_As_long(obj4
);
5857 if (PyErr_Occurred()) SWIG_fail
;
5861 arg6
= wxString_in_helper(obj5
);
5862 if (arg6
== NULL
) SWIG_fail
;
5867 if (!wxPyCheckForApp()) SWIG_fail
;
5868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5869 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
5871 wxPyEndAllowThreads(__tstate
);
5872 if (PyErr_Occurred()) SWIG_fail
;
5874 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5889 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5890 PyObject
*resultobj
;
5891 wxSplitterWindow
*result
;
5896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
5898 if (!wxPyCheckForApp()) SWIG_fail
;
5899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5900 result
= (wxSplitterWindow
*)new wxSplitterWindow();
5902 wxPyEndAllowThreads(__tstate
);
5903 if (PyErr_Occurred()) SWIG_fail
;
5905 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
5912 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5913 PyObject
*resultobj
;
5914 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5915 wxWindow
*arg2
= (wxWindow
*) 0 ;
5916 int arg3
= (int) -1 ;
5917 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5918 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5919 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5920 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5921 long arg6
= (long) wxSP_3D
;
5922 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
5923 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5927 bool temp7
= False
;
5928 PyObject
* obj0
= 0 ;
5929 PyObject
* obj1
= 0 ;
5930 PyObject
* obj2
= 0 ;
5931 PyObject
* obj3
= 0 ;
5932 PyObject
* obj4
= 0 ;
5933 PyObject
* obj5
= 0 ;
5934 PyObject
* obj6
= 0 ;
5936 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
5941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5942 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5945 arg3
= (int)SWIG_As_int(obj2
);
5946 if (PyErr_Occurred()) SWIG_fail
;
5951 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5957 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5961 arg6
= (long)SWIG_As_long(obj5
);
5962 if (PyErr_Occurred()) SWIG_fail
;
5966 arg7
= wxString_in_helper(obj6
);
5967 if (arg7
== NULL
) SWIG_fail
;
5972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5973 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5975 wxPyEndAllowThreads(__tstate
);
5976 if (PyErr_Occurred()) SWIG_fail
;
5979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5995 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5996 PyObject
*resultobj
;
5997 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
5999 PyObject
* obj0
= 0 ;
6001 (char *) "self", NULL
6004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
6005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6009 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
6011 wxPyEndAllowThreads(__tstate
);
6012 if (PyErr_Occurred()) SWIG_fail
;
6015 resultobj
= wxPyMake_wxObject(result
, 0);
6023 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6024 PyObject
*resultobj
;
6025 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6027 PyObject
* obj0
= 0 ;
6029 (char *) "self", NULL
6032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
6033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6037 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
6039 wxPyEndAllowThreads(__tstate
);
6040 if (PyErr_Occurred()) SWIG_fail
;
6043 resultobj
= wxPyMake_wxObject(result
, 0);
6051 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6052 PyObject
*resultobj
;
6053 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6055 PyObject
* obj0
= 0 ;
6056 PyObject
* obj1
= 0 ;
6058 (char *) "self",(char *) "mode", NULL
6061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
6062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6064 arg2
= (int)SWIG_As_int(obj1
);
6065 if (PyErr_Occurred()) SWIG_fail
;
6067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6068 (arg1
)->SetSplitMode(arg2
);
6070 wxPyEndAllowThreads(__tstate
);
6071 if (PyErr_Occurred()) SWIG_fail
;
6073 Py_INCREF(Py_None
); resultobj
= Py_None
;
6080 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6081 PyObject
*resultobj
;
6082 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6084 PyObject
* obj0
= 0 ;
6086 (char *) "self", NULL
6089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
6090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6094 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
6096 wxPyEndAllowThreads(__tstate
);
6097 if (PyErr_Occurred()) SWIG_fail
;
6099 resultobj
= SWIG_From_int((int)result
);
6106 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6107 PyObject
*resultobj
;
6108 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6109 wxWindow
*arg2
= (wxWindow
*) 0 ;
6110 PyObject
* obj0
= 0 ;
6111 PyObject
* obj1
= 0 ;
6113 (char *) "self",(char *) "window", NULL
6116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
6117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6119 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6123 (arg1
)->Initialize(arg2
);
6125 wxPyEndAllowThreads(__tstate
);
6126 if (PyErr_Occurred()) SWIG_fail
;
6128 Py_INCREF(Py_None
); resultobj
= Py_None
;
6135 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6136 PyObject
*resultobj
;
6137 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6138 wxWindow
*arg2
= (wxWindow
*) 0 ;
6139 wxWindow
*arg3
= (wxWindow
*) 0 ;
6140 int arg4
= (int) 0 ;
6142 PyObject
* obj0
= 0 ;
6143 PyObject
* obj1
= 0 ;
6144 PyObject
* obj2
= 0 ;
6145 PyObject
* obj3
= 0 ;
6147 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6153 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6155 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6158 arg4
= (int)SWIG_As_int(obj3
);
6159 if (PyErr_Occurred()) SWIG_fail
;
6162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6163 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
6165 wxPyEndAllowThreads(__tstate
);
6166 if (PyErr_Occurred()) SWIG_fail
;
6169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6177 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6178 PyObject
*resultobj
;
6179 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6180 wxWindow
*arg2
= (wxWindow
*) 0 ;
6181 wxWindow
*arg3
= (wxWindow
*) 0 ;
6182 int arg4
= (int) 0 ;
6184 PyObject
* obj0
= 0 ;
6185 PyObject
* obj1
= 0 ;
6186 PyObject
* obj2
= 0 ;
6187 PyObject
* obj3
= 0 ;
6189 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6195 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6197 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6200 arg4
= (int)SWIG_As_int(obj3
);
6201 if (PyErr_Occurred()) SWIG_fail
;
6204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6205 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
6207 wxPyEndAllowThreads(__tstate
);
6208 if (PyErr_Occurred()) SWIG_fail
;
6211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6219 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6220 PyObject
*resultobj
;
6221 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6222 wxWindow
*arg2
= (wxWindow
*) NULL
;
6224 PyObject
* obj0
= 0 ;
6225 PyObject
* obj1
= 0 ;
6227 (char *) "self",(char *) "toRemove", NULL
6230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
6231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6234 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6239 result
= (bool)(arg1
)->Unsplit(arg2
);
6241 wxPyEndAllowThreads(__tstate
);
6242 if (PyErr_Occurred()) SWIG_fail
;
6245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6253 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6254 PyObject
*resultobj
;
6255 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6256 wxWindow
*arg2
= (wxWindow
*) 0 ;
6257 wxWindow
*arg3
= (wxWindow
*) 0 ;
6259 PyObject
* obj0
= 0 ;
6260 PyObject
* obj1
= 0 ;
6261 PyObject
* obj2
= 0 ;
6263 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
6266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6269 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6271 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6275 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
6277 wxPyEndAllowThreads(__tstate
);
6278 if (PyErr_Occurred()) SWIG_fail
;
6281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6289 static PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6290 PyObject
*resultobj
;
6291 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6292 PyObject
* obj0
= 0 ;
6294 (char *) "self", NULL
6297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_UpdateSize",kwnames
,&obj0
)) goto fail
;
6298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6302 (arg1
)->UpdateSize();
6304 wxPyEndAllowThreads(__tstate
);
6305 if (PyErr_Occurred()) SWIG_fail
;
6307 Py_INCREF(Py_None
); resultobj
= Py_None
;
6314 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6315 PyObject
*resultobj
;
6316 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6318 PyObject
* obj0
= 0 ;
6320 (char *) "self", NULL
6323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
6324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6328 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
6330 wxPyEndAllowThreads(__tstate
);
6331 if (PyErr_Occurred()) SWIG_fail
;
6334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6342 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6343 PyObject
*resultobj
;
6344 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6346 PyObject
* obj0
= 0 ;
6347 PyObject
* obj1
= 0 ;
6349 (char *) "self",(char *) "width", NULL
6352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6355 arg2
= (int)SWIG_As_int(obj1
);
6356 if (PyErr_Occurred()) SWIG_fail
;
6358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6359 (arg1
)->SetSashSize(arg2
);
6361 wxPyEndAllowThreads(__tstate
);
6362 if (PyErr_Occurred()) SWIG_fail
;
6364 Py_INCREF(Py_None
); resultobj
= Py_None
;
6371 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6372 PyObject
*resultobj
;
6373 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6375 PyObject
* obj0
= 0 ;
6376 PyObject
* obj1
= 0 ;
6378 (char *) "self",(char *) "width", NULL
6381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6384 arg2
= (int)SWIG_As_int(obj1
);
6385 if (PyErr_Occurred()) SWIG_fail
;
6387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6388 (arg1
)->SetBorderSize(arg2
);
6390 wxPyEndAllowThreads(__tstate
);
6391 if (PyErr_Occurred()) SWIG_fail
;
6393 Py_INCREF(Py_None
); resultobj
= Py_None
;
6400 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6401 PyObject
*resultobj
;
6402 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6404 PyObject
* obj0
= 0 ;
6406 (char *) "self", NULL
6409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
6410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6414 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
6416 wxPyEndAllowThreads(__tstate
);
6417 if (PyErr_Occurred()) SWIG_fail
;
6419 resultobj
= SWIG_From_int((int)result
);
6426 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6427 PyObject
*resultobj
;
6428 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6430 PyObject
* obj0
= 0 ;
6432 (char *) "self", NULL
6435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
6436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6440 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
6442 wxPyEndAllowThreads(__tstate
);
6443 if (PyErr_Occurred()) SWIG_fail
;
6445 resultobj
= SWIG_From_int((int)result
);
6452 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6453 PyObject
*resultobj
;
6454 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6456 bool arg3
= (bool) True
;
6457 PyObject
* obj0
= 0 ;
6458 PyObject
* obj1
= 0 ;
6459 PyObject
* obj2
= 0 ;
6461 (char *) "self",(char *) "position",(char *) "redraw", NULL
6464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6467 arg2
= (int)SWIG_As_int(obj1
);
6468 if (PyErr_Occurred()) SWIG_fail
;
6470 arg3
= (bool)SWIG_As_bool(obj2
);
6471 if (PyErr_Occurred()) SWIG_fail
;
6474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6475 (arg1
)->SetSashPosition(arg2
,arg3
);
6477 wxPyEndAllowThreads(__tstate
);
6478 if (PyErr_Occurred()) SWIG_fail
;
6480 Py_INCREF(Py_None
); resultobj
= Py_None
;
6487 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6488 PyObject
*resultobj
;
6489 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6491 PyObject
* obj0
= 0 ;
6493 (char *) "self", NULL
6496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6501 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
6503 wxPyEndAllowThreads(__tstate
);
6504 if (PyErr_Occurred()) SWIG_fail
;
6506 resultobj
= SWIG_From_int((int)result
);
6513 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6514 PyObject
*resultobj
;
6515 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6517 PyObject
* obj0
= 0 ;
6518 PyObject
* obj1
= 0 ;
6520 (char *) "self",(char *) "min", NULL
6523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6526 arg2
= (int)SWIG_As_int(obj1
);
6527 if (PyErr_Occurred()) SWIG_fail
;
6529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6530 (arg1
)->SetMinimumPaneSize(arg2
);
6532 wxPyEndAllowThreads(__tstate
);
6533 if (PyErr_Occurred()) SWIG_fail
;
6535 Py_INCREF(Py_None
); resultobj
= Py_None
;
6542 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6543 PyObject
*resultobj
;
6544 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6546 PyObject
* obj0
= 0 ;
6548 (char *) "self", NULL
6551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
6552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6556 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
6558 wxPyEndAllowThreads(__tstate
);
6559 if (PyErr_Occurred()) SWIG_fail
;
6561 resultobj
= SWIG_From_int((int)result
);
6568 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6569 PyObject
*resultobj
;
6570 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6573 int arg4
= (int) 5 ;
6575 PyObject
* obj0
= 0 ;
6576 PyObject
* obj1
= 0 ;
6577 PyObject
* obj2
= 0 ;
6578 PyObject
* obj3
= 0 ;
6580 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6586 arg2
= (int)SWIG_As_int(obj1
);
6587 if (PyErr_Occurred()) SWIG_fail
;
6588 arg3
= (int)SWIG_As_int(obj2
);
6589 if (PyErr_Occurred()) SWIG_fail
;
6591 arg4
= (int)SWIG_As_int(obj3
);
6592 if (PyErr_Occurred()) SWIG_fail
;
6595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6596 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
6598 wxPyEndAllowThreads(__tstate
);
6599 if (PyErr_Occurred()) SWIG_fail
;
6602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6610 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6611 PyObject
*resultobj
;
6612 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6613 PyObject
* obj0
= 0 ;
6615 (char *) "self", NULL
6618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
6619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6623 (arg1
)->SizeWindows();
6625 wxPyEndAllowThreads(__tstate
);
6626 if (PyErr_Occurred()) SWIG_fail
;
6628 Py_INCREF(Py_None
); resultobj
= Py_None
;
6635 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6636 PyObject
*resultobj
;
6637 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6639 PyObject
* obj0
= 0 ;
6640 PyObject
* obj1
= 0 ;
6642 (char *) "self",(char *) "needUpdating", NULL
6645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
6646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6648 arg2
= (bool)SWIG_As_bool(obj1
);
6649 if (PyErr_Occurred()) SWIG_fail
;
6651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6652 (arg1
)->SetNeedUpdating(arg2
);
6654 wxPyEndAllowThreads(__tstate
);
6655 if (PyErr_Occurred()) SWIG_fail
;
6657 Py_INCREF(Py_None
); resultobj
= Py_None
;
6664 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6665 PyObject
*resultobj
;
6666 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6668 PyObject
* obj0
= 0 ;
6670 (char *) "self", NULL
6673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
6674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6678 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
6680 wxPyEndAllowThreads(__tstate
);
6681 if (PyErr_Occurred()) SWIG_fail
;
6684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6692 static PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6693 PyObject
*resultobj
;
6694 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
6695 wxVisualAttributes result
;
6696 PyObject
* obj0
= 0 ;
6698 (char *) "variant", NULL
6701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6703 arg1
= (int)SWIG_As_int(obj0
);
6704 if (PyErr_Occurred()) SWIG_fail
;
6707 if (!wxPyCheckForApp()) SWIG_fail
;
6708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6709 result
= wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6711 wxPyEndAllowThreads(__tstate
);
6712 if (PyErr_Occurred()) SWIG_fail
;
6715 wxVisualAttributes
* resultptr
;
6716 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
6717 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6725 static PyObject
* SplitterWindow_swigregister(PyObject
*, PyObject
*args
) {
6727 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6728 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
6730 return Py_BuildValue((char *)"");
6732 static PyObject
*_wrap_new_SplitterEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6733 PyObject
*resultobj
;
6734 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
6735 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
6736 wxSplitterEvent
*result
;
6737 PyObject
* obj0
= 0 ;
6738 PyObject
* obj1
= 0 ;
6740 (char *) "type",(char *) "splitter", NULL
6743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6745 arg1
= (wxEventType
)SWIG_As_int(obj0
);
6746 if (PyErr_Occurred()) SWIG_fail
;
6749 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSplitterWindow
,
6750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6754 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
6756 wxPyEndAllowThreads(__tstate
);
6757 if (PyErr_Occurred()) SWIG_fail
;
6759 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
6766 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6767 PyObject
*resultobj
;
6768 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6770 PyObject
* obj0
= 0 ;
6771 PyObject
* obj1
= 0 ;
6773 (char *) "self",(char *) "pos", NULL
6776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
6777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6779 arg2
= (int)SWIG_As_int(obj1
);
6780 if (PyErr_Occurred()) SWIG_fail
;
6782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6783 (arg1
)->SetSashPosition(arg2
);
6785 wxPyEndAllowThreads(__tstate
);
6786 if (PyErr_Occurred()) SWIG_fail
;
6788 Py_INCREF(Py_None
); resultobj
= Py_None
;
6795 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6796 PyObject
*resultobj
;
6797 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6799 PyObject
* obj0
= 0 ;
6801 (char *) "self", NULL
6804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6809 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
6811 wxPyEndAllowThreads(__tstate
);
6812 if (PyErr_Occurred()) SWIG_fail
;
6814 resultobj
= SWIG_From_int((int)result
);
6821 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6822 PyObject
*resultobj
;
6823 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6825 PyObject
* obj0
= 0 ;
6827 (char *) "self", NULL
6830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
6831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6835 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
6837 wxPyEndAllowThreads(__tstate
);
6838 if (PyErr_Occurred()) SWIG_fail
;
6841 resultobj
= wxPyMake_wxObject(result
, 0);
6849 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6850 PyObject
*resultobj
;
6851 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6853 PyObject
* obj0
= 0 ;
6855 (char *) "self", NULL
6858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
6859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6863 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
6865 wxPyEndAllowThreads(__tstate
);
6866 if (PyErr_Occurred()) SWIG_fail
;
6868 resultobj
= SWIG_From_int((int)result
);
6875 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6876 PyObject
*resultobj
;
6877 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6879 PyObject
* obj0
= 0 ;
6881 (char *) "self", NULL
6884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
6885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6889 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
6891 wxPyEndAllowThreads(__tstate
);
6892 if (PyErr_Occurred()) SWIG_fail
;
6894 resultobj
= SWIG_From_int((int)result
);
6901 static PyObject
* SplitterEvent_swigregister(PyObject
*, PyObject
*args
) {
6903 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6904 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
6906 return Py_BuildValue((char *)"");
6908 static int _wrap_SashNameStr_set(PyObject
*) {
6909 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
6914 static PyObject
*_wrap_SashNameStr_get() {
6919 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6921 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
6928 static int _wrap_SashLayoutNameStr_set(PyObject
*) {
6929 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
6934 static PyObject
*_wrap_SashLayoutNameStr_get() {
6939 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6941 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
6948 static PyObject
*_wrap_new_SashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6949 PyObject
*resultobj
;
6950 wxWindow
*arg1
= (wxWindow
*) 0 ;
6951 int arg2
= (int) -1 ;
6952 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6953 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6954 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6955 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6956 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
6957 wxString
const &arg6_defvalue
= wxPySashNameStr
;
6958 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
6959 wxSashWindow
*result
;
6962 bool temp6
= False
;
6963 PyObject
* obj0
= 0 ;
6964 PyObject
* obj1
= 0 ;
6965 PyObject
* obj2
= 0 ;
6966 PyObject
* obj3
= 0 ;
6967 PyObject
* obj4
= 0 ;
6968 PyObject
* obj5
= 0 ;
6970 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6977 arg2
= (int)SWIG_As_int(obj1
);
6978 if (PyErr_Occurred()) SWIG_fail
;
6983 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6989 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6993 arg5
= (long)SWIG_As_long(obj4
);
6994 if (PyErr_Occurred()) SWIG_fail
;
6998 arg6
= wxString_in_helper(obj5
);
6999 if (arg6
== NULL
) SWIG_fail
;
7004 if (!wxPyCheckForApp()) SWIG_fail
;
7005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7006 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7008 wxPyEndAllowThreads(__tstate
);
7009 if (PyErr_Occurred()) SWIG_fail
;
7011 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
7026 static PyObject
*_wrap_new_PreSashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7027 PyObject
*resultobj
;
7028 wxSashWindow
*result
;
7033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
7035 if (!wxPyCheckForApp()) SWIG_fail
;
7036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7037 result
= (wxSashWindow
*)new wxSashWindow();
7039 wxPyEndAllowThreads(__tstate
);
7040 if (PyErr_Occurred()) SWIG_fail
;
7042 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
7049 static PyObject
*_wrap_SashWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7050 PyObject
*resultobj
;
7051 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7052 wxWindow
*arg2
= (wxWindow
*) 0 ;
7053 int arg3
= (int) -1 ;
7054 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7055 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7056 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7057 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7058 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7059 wxString
const &arg7_defvalue
= wxPySashNameStr
;
7060 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7064 bool temp7
= False
;
7065 PyObject
* obj0
= 0 ;
7066 PyObject
* obj1
= 0 ;
7067 PyObject
* obj2
= 0 ;
7068 PyObject
* obj3
= 0 ;
7069 PyObject
* obj4
= 0 ;
7070 PyObject
* obj5
= 0 ;
7071 PyObject
* obj6
= 0 ;
7073 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7079 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7082 arg3
= (int)SWIG_As_int(obj2
);
7083 if (PyErr_Occurred()) SWIG_fail
;
7088 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7094 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7098 arg6
= (long)SWIG_As_long(obj5
);
7099 if (PyErr_Occurred()) SWIG_fail
;
7103 arg7
= wxString_in_helper(obj6
);
7104 if (arg7
== NULL
) SWIG_fail
;
7109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7110 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7112 wxPyEndAllowThreads(__tstate
);
7113 if (PyErr_Occurred()) SWIG_fail
;
7116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7132 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7133 PyObject
*resultobj
;
7134 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7137 PyObject
* obj0
= 0 ;
7138 PyObject
* obj1
= 0 ;
7139 PyObject
* obj2
= 0 ;
7141 (char *) "self",(char *) "edge",(char *) "sash", NULL
7144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7147 arg2
= (int)SWIG_As_int(obj1
);
7148 if (PyErr_Occurred()) SWIG_fail
;
7149 arg3
= (bool)SWIG_As_bool(obj2
);
7150 if (PyErr_Occurred()) SWIG_fail
;
7152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7153 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
7155 wxPyEndAllowThreads(__tstate
);
7156 if (PyErr_Occurred()) SWIG_fail
;
7158 Py_INCREF(Py_None
); resultobj
= Py_None
;
7165 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7166 PyObject
*resultobj
;
7167 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7170 PyObject
* obj0
= 0 ;
7171 PyObject
* obj1
= 0 ;
7173 (char *) "self",(char *) "edge", NULL
7176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
7177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7179 arg2
= (int)SWIG_As_int(obj1
);
7180 if (PyErr_Occurred()) SWIG_fail
;
7182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7183 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
7185 wxPyEndAllowThreads(__tstate
);
7186 if (PyErr_Occurred()) SWIG_fail
;
7189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7197 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7198 PyObject
*resultobj
;
7199 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7202 PyObject
* obj0
= 0 ;
7203 PyObject
* obj1
= 0 ;
7204 PyObject
* obj2
= 0 ;
7206 (char *) "self",(char *) "edge",(char *) "border", NULL
7209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7212 arg2
= (int)SWIG_As_int(obj1
);
7213 if (PyErr_Occurred()) SWIG_fail
;
7214 arg3
= (bool)SWIG_As_bool(obj2
);
7215 if (PyErr_Occurred()) SWIG_fail
;
7217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7218 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
7220 wxPyEndAllowThreads(__tstate
);
7221 if (PyErr_Occurred()) SWIG_fail
;
7223 Py_INCREF(Py_None
); resultobj
= Py_None
;
7230 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7231 PyObject
*resultobj
;
7232 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7235 PyObject
* obj0
= 0 ;
7236 PyObject
* obj1
= 0 ;
7238 (char *) "self",(char *) "edge", NULL
7241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
7242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7244 arg2
= (int)SWIG_As_int(obj1
);
7245 if (PyErr_Occurred()) SWIG_fail
;
7247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7248 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
7250 wxPyEndAllowThreads(__tstate
);
7251 if (PyErr_Occurred()) SWIG_fail
;
7254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7262 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7263 PyObject
*resultobj
;
7264 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7267 PyObject
* obj0
= 0 ;
7268 PyObject
* obj1
= 0 ;
7270 (char *) "self",(char *) "edge", NULL
7273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
7274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7276 arg2
= (int)SWIG_As_int(obj1
);
7277 if (PyErr_Occurred()) SWIG_fail
;
7279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7280 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
7282 wxPyEndAllowThreads(__tstate
);
7283 if (PyErr_Occurred()) SWIG_fail
;
7285 resultobj
= SWIG_From_int((int)result
);
7292 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7293 PyObject
*resultobj
;
7294 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7296 PyObject
* obj0
= 0 ;
7297 PyObject
* obj1
= 0 ;
7299 (char *) "self",(char *) "width", NULL
7302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7305 arg2
= (int)SWIG_As_int(obj1
);
7306 if (PyErr_Occurred()) SWIG_fail
;
7308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7309 (arg1
)->SetDefaultBorderSize(arg2
);
7311 wxPyEndAllowThreads(__tstate
);
7312 if (PyErr_Occurred()) SWIG_fail
;
7314 Py_INCREF(Py_None
); resultobj
= Py_None
;
7321 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7322 PyObject
*resultobj
;
7323 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7325 PyObject
* obj0
= 0 ;
7327 (char *) "self", NULL
7330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
7331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7335 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
7337 wxPyEndAllowThreads(__tstate
);
7338 if (PyErr_Occurred()) SWIG_fail
;
7340 resultobj
= SWIG_From_int((int)result
);
7347 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7348 PyObject
*resultobj
;
7349 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7351 PyObject
* obj0
= 0 ;
7352 PyObject
* obj1
= 0 ;
7354 (char *) "self",(char *) "width", NULL
7357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7360 arg2
= (int)SWIG_As_int(obj1
);
7361 if (PyErr_Occurred()) SWIG_fail
;
7363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7364 (arg1
)->SetExtraBorderSize(arg2
);
7366 wxPyEndAllowThreads(__tstate
);
7367 if (PyErr_Occurred()) SWIG_fail
;
7369 Py_INCREF(Py_None
); resultobj
= Py_None
;
7376 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7377 PyObject
*resultobj
;
7378 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7380 PyObject
* obj0
= 0 ;
7382 (char *) "self", NULL
7385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
7386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7390 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
7392 wxPyEndAllowThreads(__tstate
);
7393 if (PyErr_Occurred()) SWIG_fail
;
7395 resultobj
= SWIG_From_int((int)result
);
7402 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7403 PyObject
*resultobj
;
7404 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7406 PyObject
* obj0
= 0 ;
7407 PyObject
* obj1
= 0 ;
7409 (char *) "self",(char *) "min", NULL
7412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7415 arg2
= (int)SWIG_As_int(obj1
);
7416 if (PyErr_Occurred()) SWIG_fail
;
7418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7419 (arg1
)->SetMinimumSizeX(arg2
);
7421 wxPyEndAllowThreads(__tstate
);
7422 if (PyErr_Occurred()) SWIG_fail
;
7424 Py_INCREF(Py_None
); resultobj
= Py_None
;
7431 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7432 PyObject
*resultobj
;
7433 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7435 PyObject
* obj0
= 0 ;
7436 PyObject
* obj1
= 0 ;
7438 (char *) "self",(char *) "min", NULL
7441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7444 arg2
= (int)SWIG_As_int(obj1
);
7445 if (PyErr_Occurred()) SWIG_fail
;
7447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7448 (arg1
)->SetMinimumSizeY(arg2
);
7450 wxPyEndAllowThreads(__tstate
);
7451 if (PyErr_Occurred()) SWIG_fail
;
7453 Py_INCREF(Py_None
); resultobj
= Py_None
;
7460 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7461 PyObject
*resultobj
;
7462 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7464 PyObject
* obj0
= 0 ;
7466 (char *) "self", NULL
7469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
7470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7474 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
7476 wxPyEndAllowThreads(__tstate
);
7477 if (PyErr_Occurred()) SWIG_fail
;
7479 resultobj
= SWIG_From_int((int)result
);
7486 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7487 PyObject
*resultobj
;
7488 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7490 PyObject
* obj0
= 0 ;
7492 (char *) "self", NULL
7495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
7496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7500 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
7502 wxPyEndAllowThreads(__tstate
);
7503 if (PyErr_Occurred()) SWIG_fail
;
7505 resultobj
= SWIG_From_int((int)result
);
7512 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7513 PyObject
*resultobj
;
7514 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7516 PyObject
* obj0
= 0 ;
7517 PyObject
* obj1
= 0 ;
7519 (char *) "self",(char *) "max", NULL
7522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7525 arg2
= (int)SWIG_As_int(obj1
);
7526 if (PyErr_Occurred()) SWIG_fail
;
7528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7529 (arg1
)->SetMaximumSizeX(arg2
);
7531 wxPyEndAllowThreads(__tstate
);
7532 if (PyErr_Occurred()) SWIG_fail
;
7534 Py_INCREF(Py_None
); resultobj
= Py_None
;
7541 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7542 PyObject
*resultobj
;
7543 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7545 PyObject
* obj0
= 0 ;
7546 PyObject
* obj1
= 0 ;
7548 (char *) "self",(char *) "max", NULL
7551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7554 arg2
= (int)SWIG_As_int(obj1
);
7555 if (PyErr_Occurred()) SWIG_fail
;
7557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7558 (arg1
)->SetMaximumSizeY(arg2
);
7560 wxPyEndAllowThreads(__tstate
);
7561 if (PyErr_Occurred()) SWIG_fail
;
7563 Py_INCREF(Py_None
); resultobj
= Py_None
;
7570 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7571 PyObject
*resultobj
;
7572 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7574 PyObject
* obj0
= 0 ;
7576 (char *) "self", NULL
7579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
7580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7584 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
7586 wxPyEndAllowThreads(__tstate
);
7587 if (PyErr_Occurred()) SWIG_fail
;
7589 resultobj
= SWIG_From_int((int)result
);
7596 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7597 PyObject
*resultobj
;
7598 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7600 PyObject
* obj0
= 0 ;
7602 (char *) "self", NULL
7605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
7606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7610 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
7612 wxPyEndAllowThreads(__tstate
);
7613 if (PyErr_Occurred()) SWIG_fail
;
7615 resultobj
= SWIG_From_int((int)result
);
7622 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7623 PyObject
*resultobj
;
7624 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7627 int arg4
= (int) 2 ;
7629 PyObject
* obj0
= 0 ;
7630 PyObject
* obj1
= 0 ;
7631 PyObject
* obj2
= 0 ;
7632 PyObject
* obj3
= 0 ;
7634 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7640 arg2
= (int)SWIG_As_int(obj1
);
7641 if (PyErr_Occurred()) SWIG_fail
;
7642 arg3
= (int)SWIG_As_int(obj2
);
7643 if (PyErr_Occurred()) SWIG_fail
;
7645 arg4
= (int)SWIG_As_int(obj3
);
7646 if (PyErr_Occurred()) SWIG_fail
;
7649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7650 result
= (int)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
7652 wxPyEndAllowThreads(__tstate
);
7653 if (PyErr_Occurred()) SWIG_fail
;
7655 resultobj
= SWIG_From_int((int)result
);
7662 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7663 PyObject
*resultobj
;
7664 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7665 PyObject
* obj0
= 0 ;
7667 (char *) "self", NULL
7670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
7671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7675 (arg1
)->SizeWindows();
7677 wxPyEndAllowThreads(__tstate
);
7678 if (PyErr_Occurred()) SWIG_fail
;
7680 Py_INCREF(Py_None
); resultobj
= Py_None
;
7687 static PyObject
* SashWindow_swigregister(PyObject
*, PyObject
*args
) {
7689 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7690 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
7692 return Py_BuildValue((char *)"");
7694 static PyObject
*_wrap_new_SashEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7695 PyObject
*resultobj
;
7696 int arg1
= (int) 0 ;
7697 int arg2
= (int) wxSASH_NONE
;
7698 wxSashEvent
*result
;
7699 PyObject
* obj0
= 0 ;
7700 PyObject
* obj1
= 0 ;
7702 (char *) "id",(char *) "edge", NULL
7705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7707 arg1
= (int)SWIG_As_int(obj0
);
7708 if (PyErr_Occurred()) SWIG_fail
;
7711 arg2
= (int)SWIG_As_int(obj1
);
7712 if (PyErr_Occurred()) SWIG_fail
;
7715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7716 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
7718 wxPyEndAllowThreads(__tstate
);
7719 if (PyErr_Occurred()) SWIG_fail
;
7721 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
7728 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7729 PyObject
*resultobj
;
7730 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7732 PyObject
* obj0
= 0 ;
7733 PyObject
* obj1
= 0 ;
7735 (char *) "self",(char *) "edge", NULL
7738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
7739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7741 arg2
= (int)SWIG_As_int(obj1
);
7742 if (PyErr_Occurred()) SWIG_fail
;
7744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7745 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
7747 wxPyEndAllowThreads(__tstate
);
7748 if (PyErr_Occurred()) SWIG_fail
;
7750 Py_INCREF(Py_None
); resultobj
= Py_None
;
7757 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7758 PyObject
*resultobj
;
7759 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7761 PyObject
* obj0
= 0 ;
7763 (char *) "self", NULL
7766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
7767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7771 result
= (int)((wxSashEvent
const *)arg1
)->GetEdge();
7773 wxPyEndAllowThreads(__tstate
);
7774 if (PyErr_Occurred()) SWIG_fail
;
7776 resultobj
= SWIG_From_int((int)result
);
7783 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7784 PyObject
*resultobj
;
7785 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7788 PyObject
* obj0
= 0 ;
7789 PyObject
* obj1
= 0 ;
7791 (char *) "self",(char *) "rect", NULL
7794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7799 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7803 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
7805 wxPyEndAllowThreads(__tstate
);
7806 if (PyErr_Occurred()) SWIG_fail
;
7808 Py_INCREF(Py_None
); resultobj
= Py_None
;
7815 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7816 PyObject
*resultobj
;
7817 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7819 PyObject
* obj0
= 0 ;
7821 (char *) "self", NULL
7824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
7825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7829 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
7831 wxPyEndAllowThreads(__tstate
);
7832 if (PyErr_Occurred()) SWIG_fail
;
7836 resultptr
= new wxRect((wxRect
&) result
);
7837 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7845 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7846 PyObject
*resultobj
;
7847 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7849 PyObject
* obj0
= 0 ;
7850 PyObject
* obj1
= 0 ;
7852 (char *) "self",(char *) "status", NULL
7855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
7856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7858 arg2
= (int)SWIG_As_int(obj1
);
7859 if (PyErr_Occurred()) SWIG_fail
;
7861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7862 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
7864 wxPyEndAllowThreads(__tstate
);
7865 if (PyErr_Occurred()) SWIG_fail
;
7867 Py_INCREF(Py_None
); resultobj
= Py_None
;
7874 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7875 PyObject
*resultobj
;
7876 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7878 PyObject
* obj0
= 0 ;
7880 (char *) "self", NULL
7883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
7884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7888 result
= (int)((wxSashEvent
const *)arg1
)->GetDragStatus();
7890 wxPyEndAllowThreads(__tstate
);
7891 if (PyErr_Occurred()) SWIG_fail
;
7893 resultobj
= SWIG_From_int((int)result
);
7900 static PyObject
* SashEvent_swigregister(PyObject
*, PyObject
*args
) {
7902 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7903 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
7905 return Py_BuildValue((char *)"");
7907 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7908 PyObject
*resultobj
;
7909 int arg1
= (int) 0 ;
7910 wxQueryLayoutInfoEvent
*result
;
7911 PyObject
* obj0
= 0 ;
7916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
7918 arg1
= (int)SWIG_As_int(obj0
);
7919 if (PyErr_Occurred()) SWIG_fail
;
7922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7923 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
7925 wxPyEndAllowThreads(__tstate
);
7926 if (PyErr_Occurred()) SWIG_fail
;
7928 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
7935 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7936 PyObject
*resultobj
;
7937 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7939 PyObject
* obj0
= 0 ;
7940 PyObject
* obj1
= 0 ;
7942 (char *) "self",(char *) "length", NULL
7945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
7946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7948 arg2
= (int)SWIG_As_int(obj1
);
7949 if (PyErr_Occurred()) SWIG_fail
;
7951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7952 (arg1
)->SetRequestedLength(arg2
);
7954 wxPyEndAllowThreads(__tstate
);
7955 if (PyErr_Occurred()) SWIG_fail
;
7957 Py_INCREF(Py_None
); resultobj
= Py_None
;
7964 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7965 PyObject
*resultobj
;
7966 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7968 PyObject
* obj0
= 0 ;
7970 (char *) "self", NULL
7973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
7974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
7975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7978 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
7980 wxPyEndAllowThreads(__tstate
);
7981 if (PyErr_Occurred()) SWIG_fail
;
7983 resultobj
= SWIG_From_int((int)result
);
7990 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7991 PyObject
*resultobj
;
7992 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
7994 PyObject
* obj0
= 0 ;
7995 PyObject
* obj1
= 0 ;
7997 (char *) "self",(char *) "flags", NULL
8000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
8001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8003 arg2
= (int)SWIG_As_int(obj1
);
8004 if (PyErr_Occurred()) SWIG_fail
;
8006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8007 (arg1
)->SetFlags(arg2
);
8009 wxPyEndAllowThreads(__tstate
);
8010 if (PyErr_Occurred()) SWIG_fail
;
8012 Py_INCREF(Py_None
); resultobj
= Py_None
;
8019 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8020 PyObject
*resultobj
;
8021 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8023 PyObject
* obj0
= 0 ;
8025 (char *) "self", NULL
8028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
8029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8033 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
8035 wxPyEndAllowThreads(__tstate
);
8036 if (PyErr_Occurred()) SWIG_fail
;
8038 resultobj
= SWIG_From_int((int)result
);
8045 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8046 PyObject
*resultobj
;
8047 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8050 PyObject
* obj0
= 0 ;
8051 PyObject
* obj1
= 0 ;
8053 (char *) "self",(char *) "size", NULL
8056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8061 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8065 (arg1
)->SetSize((wxSize
const &)*arg2
);
8067 wxPyEndAllowThreads(__tstate
);
8068 if (PyErr_Occurred()) SWIG_fail
;
8070 Py_INCREF(Py_None
); resultobj
= Py_None
;
8077 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8078 PyObject
*resultobj
;
8079 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8081 PyObject
* obj0
= 0 ;
8083 (char *) "self", NULL
8086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
8087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8091 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
8093 wxPyEndAllowThreads(__tstate
);
8094 if (PyErr_Occurred()) SWIG_fail
;
8098 resultptr
= new wxSize((wxSize
&) result
);
8099 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
8107 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8108 PyObject
*resultobj
;
8109 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8111 PyObject
* obj0
= 0 ;
8112 PyObject
* obj1
= 0 ;
8114 (char *) "self",(char *) "orient", NULL
8117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8120 arg2
= (int)SWIG_As_int(obj1
);
8121 if (PyErr_Occurred()) SWIG_fail
;
8123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8124 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8126 wxPyEndAllowThreads(__tstate
);
8127 if (PyErr_Occurred()) SWIG_fail
;
8129 Py_INCREF(Py_None
); resultobj
= Py_None
;
8136 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8137 PyObject
*resultobj
;
8138 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8140 PyObject
* obj0
= 0 ;
8142 (char *) "self", NULL
8145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
8146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8150 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
8152 wxPyEndAllowThreads(__tstate
);
8153 if (PyErr_Occurred()) SWIG_fail
;
8155 resultobj
= SWIG_From_int((int)result
);
8162 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8163 PyObject
*resultobj
;
8164 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8166 PyObject
* obj0
= 0 ;
8167 PyObject
* obj1
= 0 ;
8169 (char *) "self",(char *) "align", NULL
8172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8175 arg2
= (int)SWIG_As_int(obj1
);
8176 if (PyErr_Occurred()) SWIG_fail
;
8178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8179 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8181 wxPyEndAllowThreads(__tstate
);
8182 if (PyErr_Occurred()) SWIG_fail
;
8184 Py_INCREF(Py_None
); resultobj
= Py_None
;
8191 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8192 PyObject
*resultobj
;
8193 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8195 PyObject
* obj0
= 0 ;
8197 (char *) "self", NULL
8200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
8201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8205 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
8207 wxPyEndAllowThreads(__tstate
);
8208 if (PyErr_Occurred()) SWIG_fail
;
8210 resultobj
= SWIG_From_int((int)result
);
8217 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*, PyObject
*args
) {
8219 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8220 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
8222 return Py_BuildValue((char *)"");
8224 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8225 PyObject
*resultobj
;
8226 int arg1
= (int) 0 ;
8227 wxCalculateLayoutEvent
*result
;
8228 PyObject
* obj0
= 0 ;
8233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
8235 arg1
= (int)SWIG_As_int(obj0
);
8236 if (PyErr_Occurred()) SWIG_fail
;
8239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8240 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
8242 wxPyEndAllowThreads(__tstate
);
8243 if (PyErr_Occurred()) SWIG_fail
;
8245 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
8252 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8253 PyObject
*resultobj
;
8254 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8256 PyObject
* obj0
= 0 ;
8257 PyObject
* obj1
= 0 ;
8259 (char *) "self",(char *) "flags", NULL
8262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
8263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8265 arg2
= (int)SWIG_As_int(obj1
);
8266 if (PyErr_Occurred()) SWIG_fail
;
8268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8269 (arg1
)->SetFlags(arg2
);
8271 wxPyEndAllowThreads(__tstate
);
8272 if (PyErr_Occurred()) SWIG_fail
;
8274 Py_INCREF(Py_None
); resultobj
= Py_None
;
8281 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8282 PyObject
*resultobj
;
8283 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8285 PyObject
* obj0
= 0 ;
8287 (char *) "self", NULL
8290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
8291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8295 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
8297 wxPyEndAllowThreads(__tstate
);
8298 if (PyErr_Occurred()) SWIG_fail
;
8300 resultobj
= SWIG_From_int((int)result
);
8307 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8308 PyObject
*resultobj
;
8309 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8312 PyObject
* obj0
= 0 ;
8313 PyObject
* obj1
= 0 ;
8315 (char *) "self",(char *) "rect", NULL
8318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
8319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8323 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8327 (arg1
)->SetRect((wxRect
const &)*arg2
);
8329 wxPyEndAllowThreads(__tstate
);
8330 if (PyErr_Occurred()) SWIG_fail
;
8332 Py_INCREF(Py_None
); resultobj
= Py_None
;
8339 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8340 PyObject
*resultobj
;
8341 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8343 PyObject
* obj0
= 0 ;
8345 (char *) "self", NULL
8348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
8349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8353 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
8355 wxPyEndAllowThreads(__tstate
);
8356 if (PyErr_Occurred()) SWIG_fail
;
8360 resultptr
= new wxRect((wxRect
&) result
);
8361 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
8369 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*, PyObject
*args
) {
8371 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8372 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
8374 return Py_BuildValue((char *)"");
8376 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8377 PyObject
*resultobj
;
8378 wxWindow
*arg1
= (wxWindow
*) 0 ;
8379 int arg2
= (int) -1 ;
8380 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8381 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8382 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8383 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8384 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8385 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
8386 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8387 wxSashLayoutWindow
*result
;
8390 bool temp6
= False
;
8391 PyObject
* obj0
= 0 ;
8392 PyObject
* obj1
= 0 ;
8393 PyObject
* obj2
= 0 ;
8394 PyObject
* obj3
= 0 ;
8395 PyObject
* obj4
= 0 ;
8396 PyObject
* obj5
= 0 ;
8398 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8405 arg2
= (int)SWIG_As_int(obj1
);
8406 if (PyErr_Occurred()) SWIG_fail
;
8411 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8417 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8421 arg5
= (long)SWIG_As_long(obj4
);
8422 if (PyErr_Occurred()) SWIG_fail
;
8426 arg6
= wxString_in_helper(obj5
);
8427 if (arg6
== NULL
) SWIG_fail
;
8432 if (!wxPyCheckForApp()) SWIG_fail
;
8433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8434 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8436 wxPyEndAllowThreads(__tstate
);
8437 if (PyErr_Occurred()) SWIG_fail
;
8439 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8454 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8455 PyObject
*resultobj
;
8456 wxSashLayoutWindow
*result
;
8461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
8463 if (!wxPyCheckForApp()) SWIG_fail
;
8464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8465 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
8467 wxPyEndAllowThreads(__tstate
);
8468 if (PyErr_Occurred()) SWIG_fail
;
8470 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8477 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8478 PyObject
*resultobj
;
8479 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8480 wxWindow
*arg2
= (wxWindow
*) 0 ;
8481 int arg3
= (int) -1 ;
8482 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8483 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8484 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8485 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8486 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8487 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
8488 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8492 bool temp7
= False
;
8493 PyObject
* obj0
= 0 ;
8494 PyObject
* obj1
= 0 ;
8495 PyObject
* obj2
= 0 ;
8496 PyObject
* obj3
= 0 ;
8497 PyObject
* obj4
= 0 ;
8498 PyObject
* obj5
= 0 ;
8499 PyObject
* obj6
= 0 ;
8501 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8507 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8510 arg3
= (int)SWIG_As_int(obj2
);
8511 if (PyErr_Occurred()) SWIG_fail
;
8516 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8522 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8526 arg6
= (long)SWIG_As_long(obj5
);
8527 if (PyErr_Occurred()) SWIG_fail
;
8531 arg7
= wxString_in_helper(obj6
);
8532 if (arg7
== NULL
) SWIG_fail
;
8537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8538 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8540 wxPyEndAllowThreads(__tstate
);
8541 if (PyErr_Occurred()) SWIG_fail
;
8544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8560 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8561 PyObject
*resultobj
;
8562 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8564 PyObject
* obj0
= 0 ;
8566 (char *) "self", NULL
8569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
8570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8574 result
= (int)(arg1
)->GetAlignment();
8576 wxPyEndAllowThreads(__tstate
);
8577 if (PyErr_Occurred()) SWIG_fail
;
8579 resultobj
= SWIG_From_int((int)result
);
8586 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8587 PyObject
*resultobj
;
8588 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8590 PyObject
* obj0
= 0 ;
8592 (char *) "self", NULL
8595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
8596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8600 result
= (int)(arg1
)->GetOrientation();
8602 wxPyEndAllowThreads(__tstate
);
8603 if (PyErr_Occurred()) SWIG_fail
;
8605 resultobj
= SWIG_From_int((int)result
);
8612 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8613 PyObject
*resultobj
;
8614 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8616 PyObject
* obj0
= 0 ;
8617 PyObject
* obj1
= 0 ;
8619 (char *) "self",(char *) "alignment", NULL
8622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8625 arg2
= (int)SWIG_As_int(obj1
);
8626 if (PyErr_Occurred()) SWIG_fail
;
8628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8629 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8631 wxPyEndAllowThreads(__tstate
);
8632 if (PyErr_Occurred()) SWIG_fail
;
8634 Py_INCREF(Py_None
); resultobj
= Py_None
;
8641 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8642 PyObject
*resultobj
;
8643 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8646 PyObject
* obj0
= 0 ;
8647 PyObject
* obj1
= 0 ;
8649 (char *) "self",(char *) "size", NULL
8652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8657 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8661 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
8663 wxPyEndAllowThreads(__tstate
);
8664 if (PyErr_Occurred()) SWIG_fail
;
8666 Py_INCREF(Py_None
); resultobj
= Py_None
;
8673 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8674 PyObject
*resultobj
;
8675 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8677 PyObject
* obj0
= 0 ;
8678 PyObject
* obj1
= 0 ;
8680 (char *) "self",(char *) "orientation", NULL
8683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8686 arg2
= (int)SWIG_As_int(obj1
);
8687 if (PyErr_Occurred()) SWIG_fail
;
8689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8690 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8692 wxPyEndAllowThreads(__tstate
);
8693 if (PyErr_Occurred()) SWIG_fail
;
8695 Py_INCREF(Py_None
); resultobj
= Py_None
;
8702 static PyObject
* SashLayoutWindow_swigregister(PyObject
*, PyObject
*args
) {
8704 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8705 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
8707 return Py_BuildValue((char *)"");
8709 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8710 PyObject
*resultobj
;
8711 wxLayoutAlgorithm
*result
;
8716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
8718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8719 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
8721 wxPyEndAllowThreads(__tstate
);
8722 if (PyErr_Occurred()) SWIG_fail
;
8724 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
8731 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8732 PyObject
*resultobj
;
8733 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8734 PyObject
* obj0
= 0 ;
8736 (char *) "self", NULL
8739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
8740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8746 wxPyEndAllowThreads(__tstate
);
8747 if (PyErr_Occurred()) SWIG_fail
;
8749 Py_INCREF(Py_None
); resultobj
= Py_None
;
8756 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8757 PyObject
*resultobj
;
8758 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8759 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
8760 wxRect
*arg3
= (wxRect
*) NULL
;
8762 PyObject
* obj0
= 0 ;
8763 PyObject
* obj1
= 0 ;
8764 PyObject
* obj2
= 0 ;
8766 (char *) "self",(char *) "frame",(char *) "rect", NULL
8769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8772 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
8773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8775 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
8776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8780 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
8782 wxPyEndAllowThreads(__tstate
);
8783 if (PyErr_Occurred()) SWIG_fail
;
8786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8794 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8795 PyObject
*resultobj
;
8796 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8797 wxFrame
*arg2
= (wxFrame
*) 0 ;
8798 wxWindow
*arg3
= (wxWindow
*) NULL
;
8800 PyObject
* obj0
= 0 ;
8801 PyObject
* obj1
= 0 ;
8802 PyObject
* obj2
= 0 ;
8804 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8810 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
8811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8813 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8818 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
8820 wxPyEndAllowThreads(__tstate
);
8821 if (PyErr_Occurred()) SWIG_fail
;
8824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8832 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8833 PyObject
*resultobj
;
8834 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8835 wxWindow
*arg2
= (wxWindow
*) 0 ;
8836 wxWindow
*arg3
= (wxWindow
*) NULL
;
8838 PyObject
* obj0
= 0 ;
8839 PyObject
* obj1
= 0 ;
8840 PyObject
* obj2
= 0 ;
8842 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8848 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8851 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8856 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
8858 wxPyEndAllowThreads(__tstate
);
8859 if (PyErr_Occurred()) SWIG_fail
;
8862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8870 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*, PyObject
*args
) {
8872 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8873 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
8875 return Py_BuildValue((char *)"");
8877 static PyObject
*_wrap_new_PopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8878 PyObject
*resultobj
;
8879 wxWindow
*arg1
= (wxWindow
*) 0 ;
8880 int arg2
= (int) wxBORDER_NONE
;
8881 wxPopupWindow
*result
;
8882 PyObject
* obj0
= 0 ;
8883 PyObject
* obj1
= 0 ;
8885 (char *) "parent",(char *) "flags", NULL
8888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
8889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8892 arg2
= (int)SWIG_As_int(obj1
);
8893 if (PyErr_Occurred()) SWIG_fail
;
8896 if (!wxPyCheckForApp()) SWIG_fail
;
8897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8898 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
8900 wxPyEndAllowThreads(__tstate
);
8901 if (PyErr_Occurred()) SWIG_fail
;
8903 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8910 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8911 PyObject
*resultobj
;
8912 wxPopupWindow
*result
;
8917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
8919 if (!wxPyCheckForApp()) SWIG_fail
;
8920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8921 result
= (wxPopupWindow
*)new wxPopupWindow();
8923 wxPyEndAllowThreads(__tstate
);
8924 if (PyErr_Occurred()) SWIG_fail
;
8926 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
8933 static PyObject
*_wrap_PopupWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8934 PyObject
*resultobj
;
8935 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
8936 wxWindow
*arg2
= (wxWindow
*) 0 ;
8937 int arg3
= (int) wxBORDER_NONE
;
8939 PyObject
* obj0
= 0 ;
8940 PyObject
* obj1
= 0 ;
8941 PyObject
* obj2
= 0 ;
8943 (char *) "self",(char *) "parent",(char *) "flags", NULL
8946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPopupWindow
,
8948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8949 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8952 arg3
= (int)SWIG_As_int(obj2
);
8953 if (PyErr_Occurred()) SWIG_fail
;
8956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8957 result
= (bool)(arg1
)->Create(arg2
,arg3
);
8959 wxPyEndAllowThreads(__tstate
);
8960 if (PyErr_Occurred()) SWIG_fail
;
8963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8971 static PyObject
*_wrap_PopupWindow_Position(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8972 PyObject
*resultobj
;
8973 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
8978 PyObject
* obj0
= 0 ;
8979 PyObject
* obj1
= 0 ;
8980 PyObject
* obj2
= 0 ;
8982 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
8985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPopupWindow
,
8987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8990 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
8994 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
8997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8998 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
9000 wxPyEndAllowThreads(__tstate
);
9001 if (PyErr_Occurred()) SWIG_fail
;
9003 Py_INCREF(Py_None
); resultobj
= Py_None
;
9010 static PyObject
* PopupWindow_swigregister(PyObject
*, PyObject
*args
) {
9012 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9013 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
9015 return Py_BuildValue((char *)"");
9017 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9018 PyObject
*resultobj
;
9019 wxWindow
*arg1
= (wxWindow
*) 0 ;
9020 int arg2
= (int) wxBORDER_NONE
;
9021 wxPyPopupTransientWindow
*result
;
9022 PyObject
* obj0
= 0 ;
9023 PyObject
* obj1
= 0 ;
9025 (char *) "parent",(char *) "style", NULL
9028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
9029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9032 arg2
= (int)SWIG_As_int(obj1
);
9033 if (PyErr_Occurred()) SWIG_fail
;
9036 if (!wxPyCheckForApp()) SWIG_fail
;
9037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9038 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
9040 wxPyEndAllowThreads(__tstate
);
9041 if (PyErr_Occurred()) SWIG_fail
;
9043 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
9050 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9051 PyObject
*resultobj
;
9052 wxPyPopupTransientWindow
*result
;
9057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
9059 if (!wxPyCheckForApp()) SWIG_fail
;
9060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9061 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
9063 wxPyEndAllowThreads(__tstate
);
9064 if (PyErr_Occurred()) SWIG_fail
;
9066 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
9073 static PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9074 PyObject
*resultobj
;
9075 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
9076 PyObject
*arg2
= (PyObject
*) 0 ;
9077 PyObject
*arg3
= (PyObject
*) 0 ;
9078 PyObject
* obj0
= 0 ;
9079 PyObject
* obj1
= 0 ;
9080 PyObject
* obj2
= 0 ;
9082 (char *) "self",(char *) "self",(char *) "_class", NULL
9085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
9087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9092 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9094 wxPyEndAllowThreads(__tstate
);
9095 if (PyErr_Occurred()) SWIG_fail
;
9097 Py_INCREF(Py_None
); resultobj
= Py_None
;
9104 static PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9105 PyObject
*resultobj
;
9106 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
9107 wxWindow
*arg2
= (wxWindow
*) NULL
;
9108 PyObject
* obj0
= 0 ;
9109 PyObject
* obj1
= 0 ;
9111 (char *) "self",(char *) "focus", NULL
9114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) goto fail
;
9115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
9116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9118 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9123 (arg1
)->Popup(arg2
);
9125 wxPyEndAllowThreads(__tstate
);
9126 if (PyErr_Occurred()) SWIG_fail
;
9128 Py_INCREF(Py_None
); resultobj
= Py_None
;
9135 static PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9136 PyObject
*resultobj
;
9137 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
9138 PyObject
* obj0
= 0 ;
9140 (char *) "self", NULL
9143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PopupTransientWindow_Dismiss",kwnames
,&obj0
)) goto fail
;
9144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPopupTransientWindow
,
9145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9150 wxPyEndAllowThreads(__tstate
);
9151 if (PyErr_Occurred()) SWIG_fail
;
9153 Py_INCREF(Py_None
); resultobj
= Py_None
;
9160 static PyObject
* PopupTransientWindow_swigregister(PyObject
*, PyObject
*args
) {
9162 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9163 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
9165 return Py_BuildValue((char *)"");
9167 static PyObject
*_wrap_new_TipWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9168 PyObject
*resultobj
;
9169 wxWindow
*arg1
= (wxWindow
*) 0 ;
9170 wxString
*arg2
= 0 ;
9171 int arg3
= (int) 100 ;
9172 wxRect
*arg4
= (wxRect
*) NULL
;
9173 wxTipWindow
*result
;
9174 bool temp2
= False
;
9175 PyObject
* obj0
= 0 ;
9176 PyObject
* obj1
= 0 ;
9177 PyObject
* obj2
= 0 ;
9178 PyObject
* obj3
= 0 ;
9180 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
9183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9187 arg2
= wxString_in_helper(obj1
);
9188 if (arg2
== NULL
) SWIG_fail
;
9192 arg3
= (int)SWIG_As_int(obj2
);
9193 if (PyErr_Occurred()) SWIG_fail
;
9196 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
9197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9200 if (!wxPyCheckForApp()) SWIG_fail
;
9201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9202 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9204 wxPyEndAllowThreads(__tstate
);
9205 if (PyErr_Occurred()) SWIG_fail
;
9207 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
9222 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9223 PyObject
*resultobj
;
9224 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
9227 PyObject
* obj0
= 0 ;
9228 PyObject
* obj1
= 0 ;
9230 (char *) "self",(char *) "rectBound", NULL
9233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
9234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
9235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9238 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9242 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
9244 wxPyEndAllowThreads(__tstate
);
9245 if (PyErr_Occurred()) SWIG_fail
;
9247 Py_INCREF(Py_None
); resultobj
= Py_None
;
9254 static PyObject
*_wrap_TipWindow_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9255 PyObject
*resultobj
;
9256 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
9257 PyObject
* obj0
= 0 ;
9259 (char *) "self", NULL
9262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
9263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
9264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9269 wxPyEndAllowThreads(__tstate
);
9270 if (PyErr_Occurred()) SWIG_fail
;
9272 Py_INCREF(Py_None
); resultobj
= Py_None
;
9279 static PyObject
* TipWindow_swigregister(PyObject
*, PyObject
*args
) {
9281 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9282 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
9284 return Py_BuildValue((char *)"");
9286 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9287 PyObject
*resultobj
;
9288 wxWindow
*arg1
= (wxWindow
*) 0 ;
9289 int arg2
= (int) wxID_ANY
;
9290 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9291 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9292 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9293 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9294 long arg5
= (long) 0 ;
9295 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
9296 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9297 wxPyVScrolledWindow
*result
;
9300 bool temp6
= False
;
9301 PyObject
* obj0
= 0 ;
9302 PyObject
* obj1
= 0 ;
9303 PyObject
* obj2
= 0 ;
9304 PyObject
* obj3
= 0 ;
9305 PyObject
* obj4
= 0 ;
9306 PyObject
* obj5
= 0 ;
9308 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9315 arg2
= (int)SWIG_As_int(obj1
);
9316 if (PyErr_Occurred()) SWIG_fail
;
9321 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9327 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9331 arg5
= (long)SWIG_As_long(obj4
);
9332 if (PyErr_Occurred()) SWIG_fail
;
9336 arg6
= wxString_in_helper(obj5
);
9337 if (arg6
== NULL
) SWIG_fail
;
9342 if (!wxPyCheckForApp()) SWIG_fail
;
9343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9344 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9346 wxPyEndAllowThreads(__tstate
);
9347 if (PyErr_Occurred()) SWIG_fail
;
9349 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
9364 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9365 PyObject
*resultobj
;
9366 wxPyVScrolledWindow
*result
;
9371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
9373 if (!wxPyCheckForApp()) SWIG_fail
;
9374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9375 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
9377 wxPyEndAllowThreads(__tstate
);
9378 if (PyErr_Occurred()) SWIG_fail
;
9380 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
9387 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9388 PyObject
*resultobj
;
9389 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9390 PyObject
*arg2
= (PyObject
*) 0 ;
9391 PyObject
*arg3
= (PyObject
*) 0 ;
9392 PyObject
* obj0
= 0 ;
9393 PyObject
* obj1
= 0 ;
9394 PyObject
* obj2
= 0 ;
9396 (char *) "self",(char *) "self",(char *) "_class", NULL
9399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9406 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9408 wxPyEndAllowThreads(__tstate
);
9409 if (PyErr_Occurred()) SWIG_fail
;
9411 Py_INCREF(Py_None
); resultobj
= Py_None
;
9418 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9419 PyObject
*resultobj
;
9420 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9421 wxWindow
*arg2
= (wxWindow
*) 0 ;
9422 int arg3
= (int) wxID_ANY
;
9423 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9424 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9425 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9426 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9427 long arg6
= (long) 0 ;
9428 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
9429 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9433 bool temp7
= False
;
9434 PyObject
* obj0
= 0 ;
9435 PyObject
* obj1
= 0 ;
9436 PyObject
* obj2
= 0 ;
9437 PyObject
* obj3
= 0 ;
9438 PyObject
* obj4
= 0 ;
9439 PyObject
* obj5
= 0 ;
9440 PyObject
* obj6
= 0 ;
9442 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9448 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9451 arg3
= (int)SWIG_As_int(obj2
);
9452 if (PyErr_Occurred()) SWIG_fail
;
9457 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9463 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9467 arg6
= (long)SWIG_As_long(obj5
);
9468 if (PyErr_Occurred()) SWIG_fail
;
9472 arg7
= wxString_in_helper(obj6
);
9473 if (arg7
== NULL
) SWIG_fail
;
9478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9479 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9481 wxPyEndAllowThreads(__tstate
);
9482 if (PyErr_Occurred()) SWIG_fail
;
9485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9501 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9502 PyObject
*resultobj
;
9503 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9505 PyObject
* obj0
= 0 ;
9506 PyObject
* obj1
= 0 ;
9508 (char *) "self",(char *) "count", NULL
9511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9514 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9515 if (PyErr_Occurred()) SWIG_fail
;
9517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9518 (arg1
)->SetLineCount(arg2
);
9520 wxPyEndAllowThreads(__tstate
);
9521 if (PyErr_Occurred()) SWIG_fail
;
9523 Py_INCREF(Py_None
); resultobj
= Py_None
;
9530 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9531 PyObject
*resultobj
;
9532 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9535 PyObject
* obj0
= 0 ;
9536 PyObject
* obj1
= 0 ;
9538 (char *) "self",(char *) "line", NULL
9541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9544 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9545 if (PyErr_Occurred()) SWIG_fail
;
9547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9548 result
= (bool)(arg1
)->ScrollToLine(arg2
);
9550 wxPyEndAllowThreads(__tstate
);
9551 if (PyErr_Occurred()) SWIG_fail
;
9554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9562 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9563 PyObject
*resultobj
;
9564 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9567 PyObject
* obj0
= 0 ;
9568 PyObject
* obj1
= 0 ;
9570 (char *) "self",(char *) "lines", NULL
9573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",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
= (int)SWIG_As_int(obj1
);
9577 if (PyErr_Occurred()) SWIG_fail
;
9579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9580 result
= (bool)(arg1
)->ScrollLines(arg2
);
9582 wxPyEndAllowThreads(__tstate
);
9583 if (PyErr_Occurred()) SWIG_fail
;
9586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9594 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9595 PyObject
*resultobj
;
9596 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9599 PyObject
* obj0
= 0 ;
9600 PyObject
* obj1
= 0 ;
9602 (char *) "self",(char *) "pages", NULL
9605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
9606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9608 arg2
= (int)SWIG_As_int(obj1
);
9609 if (PyErr_Occurred()) SWIG_fail
;
9611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9612 result
= (bool)(arg1
)->ScrollPages(arg2
);
9614 wxPyEndAllowThreads(__tstate
);
9615 if (PyErr_Occurred()) SWIG_fail
;
9618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9626 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9627 PyObject
*resultobj
;
9628 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9630 PyObject
* obj0
= 0 ;
9631 PyObject
* obj1
= 0 ;
9633 (char *) "self",(char *) "line", NULL
9636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9639 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9640 if (PyErr_Occurred()) SWIG_fail
;
9642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9643 (arg1
)->RefreshLine(arg2
);
9645 wxPyEndAllowThreads(__tstate
);
9646 if (PyErr_Occurred()) SWIG_fail
;
9648 Py_INCREF(Py_None
); resultobj
= Py_None
;
9655 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9656 PyObject
*resultobj
;
9657 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9660 PyObject
* obj0
= 0 ;
9661 PyObject
* obj1
= 0 ;
9662 PyObject
* obj2
= 0 ;
9664 (char *) "self",(char *) "from",(char *) "to", NULL
9667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9670 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9671 if (PyErr_Occurred()) SWIG_fail
;
9672 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
9673 if (PyErr_Occurred()) SWIG_fail
;
9675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9676 (arg1
)->RefreshLines(arg2
,arg3
);
9678 wxPyEndAllowThreads(__tstate
);
9679 if (PyErr_Occurred()) SWIG_fail
;
9681 Py_INCREF(Py_None
); resultobj
= Py_None
;
9688 static PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9689 PyObject
*resultobj
;
9690 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9694 PyObject
* obj0
= 0 ;
9695 PyObject
* obj1
= 0 ;
9696 PyObject
* obj2
= 0 ;
9698 (char *) "self",(char *) "x",(char *) "y", NULL
9701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9704 arg2
= (int)SWIG_As_int(obj1
);
9705 if (PyErr_Occurred()) SWIG_fail
;
9706 arg3
= (int)SWIG_As_int(obj2
);
9707 if (PyErr_Occurred()) SWIG_fail
;
9709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9710 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
9712 wxPyEndAllowThreads(__tstate
);
9713 if (PyErr_Occurred()) SWIG_fail
;
9715 resultobj
= SWIG_From_int((int)result
);
9722 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9723 PyObject
*resultobj
;
9724 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9728 PyObject
* obj0
= 0 ;
9729 PyObject
* obj1
= 0 ;
9731 (char *) "self",(char *) "pt", NULL
9734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9739 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9743 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9745 wxPyEndAllowThreads(__tstate
);
9746 if (PyErr_Occurred()) SWIG_fail
;
9748 resultobj
= SWIG_From_int((int)result
);
9755 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9756 PyObject
*resultobj
;
9757 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9758 PyObject
* obj0
= 0 ;
9760 (char *) "self", NULL
9763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
9764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9768 (arg1
)->RefreshAll();
9770 wxPyEndAllowThreads(__tstate
);
9771 if (PyErr_Occurred()) SWIG_fail
;
9773 Py_INCREF(Py_None
); resultobj
= Py_None
;
9780 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9781 PyObject
*resultobj
;
9782 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9784 PyObject
* obj0
= 0 ;
9786 (char *) "self", NULL
9789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
9790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9794 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
9796 wxPyEndAllowThreads(__tstate
);
9797 if (PyErr_Occurred()) SWIG_fail
;
9799 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
9806 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9807 PyObject
*resultobj
;
9808 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9810 PyObject
* obj0
= 0 ;
9812 (char *) "self", NULL
9815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
9816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9820 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
9822 wxPyEndAllowThreads(__tstate
);
9823 if (PyErr_Occurred()) SWIG_fail
;
9825 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
9832 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9833 PyObject
*resultobj
;
9834 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9836 PyObject
* obj0
= 0 ;
9838 (char *) "self", NULL
9841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
9842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9846 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
9848 wxPyEndAllowThreads(__tstate
);
9849 if (PyErr_Occurred()) SWIG_fail
;
9851 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
9858 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9859 PyObject
*resultobj
;
9860 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9863 PyObject
* obj0
= 0 ;
9864 PyObject
* obj1
= 0 ;
9866 (char *) "self",(char *) "line", NULL
9869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
9870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9872 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9873 if (PyErr_Occurred()) SWIG_fail
;
9875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9876 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
9878 wxPyEndAllowThreads(__tstate
);
9879 if (PyErr_Occurred()) SWIG_fail
;
9882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9890 static PyObject
* VScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
9892 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9893 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
9895 return Py_BuildValue((char *)"");
9897 static int _wrap_VListBoxNameStr_set(PyObject
*) {
9898 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
9903 static PyObject
*_wrap_VListBoxNameStr_get() {
9908 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9910 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9917 static PyObject
*_wrap_new_VListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9918 PyObject
*resultobj
;
9919 wxWindow
*arg1
= (wxWindow
*) 0 ;
9920 int arg2
= (int) wxID_ANY
;
9921 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9922 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9923 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9924 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9925 long arg5
= (long) 0 ;
9926 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
9927 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9928 wxPyVListBox
*result
;
9931 bool temp6
= False
;
9932 PyObject
* obj0
= 0 ;
9933 PyObject
* obj1
= 0 ;
9934 PyObject
* obj2
= 0 ;
9935 PyObject
* obj3
= 0 ;
9936 PyObject
* obj4
= 0 ;
9937 PyObject
* obj5
= 0 ;
9939 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9946 arg2
= (int)SWIG_As_int(obj1
);
9947 if (PyErr_Occurred()) SWIG_fail
;
9952 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9958 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9962 arg5
= (long)SWIG_As_long(obj4
);
9963 if (PyErr_Occurred()) SWIG_fail
;
9967 arg6
= wxString_in_helper(obj5
);
9968 if (arg6
== NULL
) SWIG_fail
;
9973 if (!wxPyCheckForApp()) SWIG_fail
;
9974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9975 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9977 wxPyEndAllowThreads(__tstate
);
9978 if (PyErr_Occurred()) SWIG_fail
;
9980 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9995 static PyObject
*_wrap_new_PreVListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9996 PyObject
*resultobj
;
9997 wxPyVListBox
*result
;
10002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
10004 if (!wxPyCheckForApp()) SWIG_fail
;
10005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10006 result
= (wxPyVListBox
*)new wxPyVListBox();
10008 wxPyEndAllowThreads(__tstate
);
10009 if (PyErr_Occurred()) SWIG_fail
;
10011 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
10018 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10019 PyObject
*resultobj
;
10020 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10021 PyObject
*arg2
= (PyObject
*) 0 ;
10022 PyObject
*arg3
= (PyObject
*) 0 ;
10023 PyObject
* obj0
= 0 ;
10024 PyObject
* obj1
= 0 ;
10025 PyObject
* obj2
= 0 ;
10026 char *kwnames
[] = {
10027 (char *) "self",(char *) "self",(char *) "_class", NULL
10030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10037 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10039 wxPyEndAllowThreads(__tstate
);
10040 if (PyErr_Occurred()) SWIG_fail
;
10042 Py_INCREF(Py_None
); resultobj
= Py_None
;
10049 static PyObject
*_wrap_VListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10050 PyObject
*resultobj
;
10051 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10052 wxWindow
*arg2
= (wxWindow
*) 0 ;
10053 int arg3
= (int) wxID_ANY
;
10054 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10055 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10056 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10057 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10058 long arg6
= (long) 0 ;
10059 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
10060 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10064 bool temp7
= False
;
10065 PyObject
* obj0
= 0 ;
10066 PyObject
* obj1
= 0 ;
10067 PyObject
* obj2
= 0 ;
10068 PyObject
* obj3
= 0 ;
10069 PyObject
* obj4
= 0 ;
10070 PyObject
* obj5
= 0 ;
10071 PyObject
* obj6
= 0 ;
10072 char *kwnames
[] = {
10073 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10079 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10082 arg3
= (int)SWIG_As_int(obj2
);
10083 if (PyErr_Occurred()) SWIG_fail
;
10088 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10094 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10098 arg6
= (long)SWIG_As_long(obj5
);
10099 if (PyErr_Occurred()) SWIG_fail
;
10103 arg7
= wxString_in_helper(obj6
);
10104 if (arg7
== NULL
) SWIG_fail
;
10109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10110 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10112 wxPyEndAllowThreads(__tstate
);
10113 if (PyErr_Occurred()) SWIG_fail
;
10116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10132 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10133 PyObject
*resultobj
;
10134 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10136 PyObject
* obj0
= 0 ;
10137 char *kwnames
[] = {
10138 (char *) "self", NULL
10141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
10142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10146 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
10148 wxPyEndAllowThreads(__tstate
);
10149 if (PyErr_Occurred()) SWIG_fail
;
10151 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
10158 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10159 PyObject
*resultobj
;
10160 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10162 PyObject
* obj0
= 0 ;
10163 char *kwnames
[] = {
10164 (char *) "self", NULL
10167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
10168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10172 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
10174 wxPyEndAllowThreads(__tstate
);
10175 if (PyErr_Occurred()) SWIG_fail
;
10178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10186 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10187 PyObject
*resultobj
;
10188 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10190 PyObject
* obj0
= 0 ;
10191 char *kwnames
[] = {
10192 (char *) "self", NULL
10195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
10196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10200 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
10202 wxPyEndAllowThreads(__tstate
);
10203 if (PyErr_Occurred()) SWIG_fail
;
10205 resultobj
= SWIG_From_int((int)result
);
10212 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10213 PyObject
*resultobj
;
10214 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10217 PyObject
* obj0
= 0 ;
10218 PyObject
* obj1
= 0 ;
10219 char *kwnames
[] = {
10220 (char *) "self",(char *) "item", NULL
10223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
10224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10226 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10227 if (PyErr_Occurred()) SWIG_fail
;
10229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10230 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
10232 wxPyEndAllowThreads(__tstate
);
10233 if (PyErr_Occurred()) SWIG_fail
;
10236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10244 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10245 PyObject
*resultobj
;
10246 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10249 PyObject
* obj0
= 0 ;
10250 PyObject
* obj1
= 0 ;
10251 char *kwnames
[] = {
10252 (char *) "self",(char *) "item", NULL
10255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
10256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10258 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10259 if (PyErr_Occurred()) SWIG_fail
;
10261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10262 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
10264 wxPyEndAllowThreads(__tstate
);
10265 if (PyErr_Occurred()) SWIG_fail
;
10268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10276 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10277 PyObject
*resultobj
;
10278 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10280 PyObject
* obj0
= 0 ;
10281 char *kwnames
[] = {
10282 (char *) "self", NULL
10285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
10286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10290 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
10292 wxPyEndAllowThreads(__tstate
);
10293 if (PyErr_Occurred()) SWIG_fail
;
10295 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
10302 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10303 PyObject
*resultobj
;
10304 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10306 PyObject
* obj0
= 0 ;
10307 char *kwnames
[] = {
10308 (char *) "self", NULL
10311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
10312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10316 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
10318 wxPyEndAllowThreads(__tstate
);
10319 if (PyErr_Occurred()) SWIG_fail
;
10321 resultobj
= result
;
10328 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10329 PyObject
*resultobj
;
10330 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10331 unsigned long arg2
;
10333 PyObject
* obj0
= 0 ;
10334 PyObject
* obj1
= 0 ;
10335 char *kwnames
[] = {
10336 (char *) "self",(char *) "cookie", NULL
10339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
10340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10342 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
10343 if (PyErr_Occurred()) SWIG_fail
;
10345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10346 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
10348 wxPyEndAllowThreads(__tstate
);
10349 if (PyErr_Occurred()) SWIG_fail
;
10351 resultobj
= result
;
10358 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10359 PyObject
*resultobj
;
10360 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10362 PyObject
* obj0
= 0 ;
10363 char *kwnames
[] = {
10364 (char *) "self", NULL
10367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
10368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10372 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
10374 wxPyEndAllowThreads(__tstate
);
10375 if (PyErr_Occurred()) SWIG_fail
;
10378 wxPoint
* resultptr
;
10379 resultptr
= new wxPoint((wxPoint
&) result
);
10380 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
10388 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10389 PyObject
*resultobj
;
10390 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10392 PyObject
* obj0
= 0 ;
10393 char *kwnames
[] = {
10394 (char *) "self", NULL
10397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
10398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10403 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
10404 result
= (wxColour
*) &_result_ref
;
10407 wxPyEndAllowThreads(__tstate
);
10408 if (PyErr_Occurred()) SWIG_fail
;
10410 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
10417 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10418 PyObject
*resultobj
;
10419 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10421 PyObject
* obj0
= 0 ;
10422 PyObject
* obj1
= 0 ;
10423 char *kwnames
[] = {
10424 (char *) "self",(char *) "count", NULL
10427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10430 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10431 if (PyErr_Occurred()) SWIG_fail
;
10433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10434 (arg1
)->SetItemCount(arg2
);
10436 wxPyEndAllowThreads(__tstate
);
10437 if (PyErr_Occurred()) SWIG_fail
;
10439 Py_INCREF(Py_None
); resultobj
= Py_None
;
10446 static PyObject
*_wrap_VListBox_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10447 PyObject
*resultobj
;
10448 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10449 PyObject
* obj0
= 0 ;
10450 char *kwnames
[] = {
10451 (char *) "self", NULL
10454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
10455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10461 wxPyEndAllowThreads(__tstate
);
10462 if (PyErr_Occurred()) SWIG_fail
;
10464 Py_INCREF(Py_None
); resultobj
= Py_None
;
10471 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10472 PyObject
*resultobj
;
10473 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10475 PyObject
* obj0
= 0 ;
10476 PyObject
* obj1
= 0 ;
10477 char *kwnames
[] = {
10478 (char *) "self",(char *) "selection", NULL
10481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
10482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10484 arg2
= (int)SWIG_As_int(obj1
);
10485 if (PyErr_Occurred()) SWIG_fail
;
10487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10488 (arg1
)->SetSelection(arg2
);
10490 wxPyEndAllowThreads(__tstate
);
10491 if (PyErr_Occurred()) SWIG_fail
;
10493 Py_INCREF(Py_None
); resultobj
= Py_None
;
10500 static PyObject
*_wrap_VListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10501 PyObject
*resultobj
;
10502 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10504 bool arg3
= (bool) True
;
10506 PyObject
* obj0
= 0 ;
10507 PyObject
* obj1
= 0 ;
10508 PyObject
* obj2
= 0 ;
10509 char *kwnames
[] = {
10510 (char *) "self",(char *) "item",(char *) "select", NULL
10513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10516 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10517 if (PyErr_Occurred()) SWIG_fail
;
10519 arg3
= (bool)SWIG_As_bool(obj2
);
10520 if (PyErr_Occurred()) SWIG_fail
;
10523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10524 result
= (bool)(arg1
)->Select(arg2
,arg3
);
10526 wxPyEndAllowThreads(__tstate
);
10527 if (PyErr_Occurred()) SWIG_fail
;
10530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10538 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10539 PyObject
*resultobj
;
10540 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10544 PyObject
* obj0
= 0 ;
10545 PyObject
* obj1
= 0 ;
10546 PyObject
* obj2
= 0 ;
10547 char *kwnames
[] = {
10548 (char *) "self",(char *) "from",(char *) "to", NULL
10551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10554 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10555 if (PyErr_Occurred()) SWIG_fail
;
10556 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
10557 if (PyErr_Occurred()) SWIG_fail
;
10559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10560 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
10562 wxPyEndAllowThreads(__tstate
);
10563 if (PyErr_Occurred()) SWIG_fail
;
10566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10574 static PyObject
*_wrap_VListBox_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10575 PyObject
*resultobj
;
10576 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10578 PyObject
* obj0
= 0 ;
10579 PyObject
* obj1
= 0 ;
10580 char *kwnames
[] = {
10581 (char *) "self",(char *) "item", NULL
10584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
10585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10587 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10588 if (PyErr_Occurred()) SWIG_fail
;
10590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10591 (arg1
)->Toggle(arg2
);
10593 wxPyEndAllowThreads(__tstate
);
10594 if (PyErr_Occurred()) SWIG_fail
;
10596 Py_INCREF(Py_None
); resultobj
= Py_None
;
10603 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10604 PyObject
*resultobj
;
10605 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10607 PyObject
* obj0
= 0 ;
10608 char *kwnames
[] = {
10609 (char *) "self", NULL
10612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
10613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10617 result
= (bool)(arg1
)->SelectAll();
10619 wxPyEndAllowThreads(__tstate
);
10620 if (PyErr_Occurred()) SWIG_fail
;
10623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10631 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10632 PyObject
*resultobj
;
10633 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10635 PyObject
* obj0
= 0 ;
10636 char *kwnames
[] = {
10637 (char *) "self", NULL
10640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
10641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10645 result
= (bool)(arg1
)->DeselectAll();
10647 wxPyEndAllowThreads(__tstate
);
10648 if (PyErr_Occurred()) SWIG_fail
;
10651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10659 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10660 PyObject
*resultobj
;
10661 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10662 wxPoint
*arg2
= 0 ;
10664 PyObject
* obj0
= 0 ;
10665 PyObject
* obj1
= 0 ;
10666 char *kwnames
[] = {
10667 (char *) "self",(char *) "pt", NULL
10670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
10671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10675 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10679 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
10681 wxPyEndAllowThreads(__tstate
);
10682 if (PyErr_Occurred()) SWIG_fail
;
10684 Py_INCREF(Py_None
); resultobj
= Py_None
;
10691 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10692 PyObject
*resultobj
;
10693 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10696 PyObject
* obj0
= 0 ;
10697 PyObject
* obj1
= 0 ;
10698 PyObject
* obj2
= 0 ;
10699 char *kwnames
[] = {
10700 (char *) "self",(char *) "x",(char *) "y", NULL
10703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10706 arg2
= (int)SWIG_As_int(obj1
);
10707 if (PyErr_Occurred()) SWIG_fail
;
10708 arg3
= (int)SWIG_As_int(obj2
);
10709 if (PyErr_Occurred()) SWIG_fail
;
10711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10712 (arg1
)->SetMargins(arg2
,arg3
);
10714 wxPyEndAllowThreads(__tstate
);
10715 if (PyErr_Occurred()) SWIG_fail
;
10717 Py_INCREF(Py_None
); resultobj
= Py_None
;
10724 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10725 PyObject
*resultobj
;
10726 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10727 wxColour
*arg2
= 0 ;
10729 PyObject
* obj0
= 0 ;
10730 PyObject
* obj1
= 0 ;
10731 char *kwnames
[] = {
10732 (char *) "self",(char *) "col", NULL
10735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
10736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10740 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10744 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
10746 wxPyEndAllowThreads(__tstate
);
10747 if (PyErr_Occurred()) SWIG_fail
;
10749 Py_INCREF(Py_None
); resultobj
= Py_None
;
10756 static PyObject
* VListBox_swigregister(PyObject
*, PyObject
*args
) {
10758 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10759 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
10761 return Py_BuildValue((char *)"");
10763 static PyObject
*_wrap_new_HtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10764 PyObject
*resultobj
;
10765 wxWindow
*arg1
= (wxWindow
*) 0 ;
10766 int arg2
= (int) wxID_ANY
;
10767 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10768 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10769 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10770 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10771 long arg5
= (long) 0 ;
10772 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
10773 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10774 wxPyHtmlListBox
*result
;
10777 bool temp6
= False
;
10778 PyObject
* obj0
= 0 ;
10779 PyObject
* obj1
= 0 ;
10780 PyObject
* obj2
= 0 ;
10781 PyObject
* obj3
= 0 ;
10782 PyObject
* obj4
= 0 ;
10783 PyObject
* obj5
= 0 ;
10784 char *kwnames
[] = {
10785 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10792 arg2
= (int)SWIG_As_int(obj1
);
10793 if (PyErr_Occurred()) SWIG_fail
;
10798 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10804 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10808 arg5
= (long)SWIG_As_long(obj4
);
10809 if (PyErr_Occurred()) SWIG_fail
;
10813 arg6
= wxString_in_helper(obj5
);
10814 if (arg6
== NULL
) SWIG_fail
;
10819 if (!wxPyCheckForApp()) SWIG_fail
;
10820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10821 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10823 wxPyEndAllowThreads(__tstate
);
10824 if (PyErr_Occurred()) SWIG_fail
;
10826 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10841 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10842 PyObject
*resultobj
;
10843 wxPyHtmlListBox
*result
;
10844 char *kwnames
[] = {
10848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
10850 if (!wxPyCheckForApp()) SWIG_fail
;
10851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10852 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
10854 wxPyEndAllowThreads(__tstate
);
10855 if (PyErr_Occurred()) SWIG_fail
;
10857 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10864 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10865 PyObject
*resultobj
;
10866 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10867 PyObject
*arg2
= (PyObject
*) 0 ;
10868 PyObject
*arg3
= (PyObject
*) 0 ;
10869 PyObject
* obj0
= 0 ;
10870 PyObject
* obj1
= 0 ;
10871 PyObject
* obj2
= 0 ;
10872 char *kwnames
[] = {
10873 (char *) "self",(char *) "self",(char *) "_class", NULL
10876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10883 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10885 wxPyEndAllowThreads(__tstate
);
10886 if (PyErr_Occurred()) SWIG_fail
;
10888 Py_INCREF(Py_None
); resultobj
= Py_None
;
10895 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10896 PyObject
*resultobj
;
10897 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10898 wxWindow
*arg2
= (wxWindow
*) 0 ;
10899 int arg3
= (int) wxID_ANY
;
10900 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10901 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10902 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10903 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10904 long arg6
= (long) 0 ;
10905 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
10906 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10910 bool temp7
= False
;
10911 PyObject
* obj0
= 0 ;
10912 PyObject
* obj1
= 0 ;
10913 PyObject
* obj2
= 0 ;
10914 PyObject
* obj3
= 0 ;
10915 PyObject
* obj4
= 0 ;
10916 PyObject
* obj5
= 0 ;
10917 PyObject
* obj6
= 0 ;
10918 char *kwnames
[] = {
10919 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10925 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10928 arg3
= (int)SWIG_As_int(obj2
);
10929 if (PyErr_Occurred()) SWIG_fail
;
10934 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10940 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10944 arg6
= (long)SWIG_As_long(obj5
);
10945 if (PyErr_Occurred()) SWIG_fail
;
10949 arg7
= wxString_in_helper(obj6
);
10950 if (arg7
== NULL
) SWIG_fail
;
10955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10956 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10958 wxPyEndAllowThreads(__tstate
);
10959 if (PyErr_Occurred()) SWIG_fail
;
10962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10978 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10979 PyObject
*resultobj
;
10980 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10981 PyObject
* obj0
= 0 ;
10982 char *kwnames
[] = {
10983 (char *) "self", NULL
10986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
10987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10991 (arg1
)->RefreshAll();
10993 wxPyEndAllowThreads(__tstate
);
10994 if (PyErr_Occurred()) SWIG_fail
;
10996 Py_INCREF(Py_None
); resultobj
= Py_None
;
11003 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11004 PyObject
*resultobj
;
11005 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
11007 PyObject
* obj0
= 0 ;
11008 PyObject
* obj1
= 0 ;
11009 char *kwnames
[] = {
11010 (char *) "self",(char *) "count", NULL
11013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
11014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
11015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11016 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
11017 if (PyErr_Occurred()) SWIG_fail
;
11019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11020 (arg1
)->SetItemCount(arg2
);
11022 wxPyEndAllowThreads(__tstate
);
11023 if (PyErr_Occurred()) SWIG_fail
;
11025 Py_INCREF(Py_None
); resultobj
= Py_None
;
11032 static PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11033 PyObject
*resultobj
;
11034 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
11035 wxFileSystem
*result
;
11036 PyObject
* obj0
= 0 ;
11037 char *kwnames
[] = {
11038 (char *) "self", NULL
11041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_GetFileSystem",kwnames
,&obj0
)) goto fail
;
11042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
11043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11047 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
11048 result
= (wxFileSystem
*) &_result_ref
;
11051 wxPyEndAllowThreads(__tstate
);
11052 if (PyErr_Occurred()) SWIG_fail
;
11054 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileSystem
, 0);
11061 static PyObject
* HtmlListBox_swigregister(PyObject
*, PyObject
*args
) {
11063 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11064 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
11066 return Py_BuildValue((char *)"");
11068 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11069 PyObject
*resultobj
;
11070 wxTaskBarIcon
*result
;
11071 char *kwnames
[] = {
11075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
11077 if (!wxPyCheckForApp()) SWIG_fail
;
11078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11079 result
= (wxTaskBarIcon
*)new wxTaskBarIcon();
11081 wxPyEndAllowThreads(__tstate
);
11082 if (PyErr_Occurred()) SWIG_fail
;
11084 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIcon
, 1);
11091 static PyObject
*_wrap_delete_TaskBarIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11092 PyObject
*resultobj
;
11093 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
11094 PyObject
* obj0
= 0 ;
11095 char *kwnames
[] = {
11096 (char *) "self", NULL
11099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TaskBarIcon",kwnames
,&obj0
)) goto fail
;
11100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
11101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11106 wxPyEndAllowThreads(__tstate
);
11107 if (PyErr_Occurred()) SWIG_fail
;
11109 Py_INCREF(Py_None
); resultobj
= Py_None
;
11116 static PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11117 PyObject
*resultobj
;
11118 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
11119 PyObject
* obj0
= 0 ;
11120 char *kwnames
[] = {
11121 (char *) "self", NULL
11124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_Destroy",kwnames
,&obj0
)) goto fail
;
11125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
11126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11129 wxTaskBarIcon_Destroy(arg1
);
11131 wxPyEndAllowThreads(__tstate
);
11132 if (PyErr_Occurred()) SWIG_fail
;
11134 Py_INCREF(Py_None
); resultobj
= Py_None
;
11141 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11142 PyObject
*resultobj
;
11143 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
11145 PyObject
* obj0
= 0 ;
11146 char *kwnames
[] = {
11147 (char *) "self", NULL
11150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
11151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
11152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11155 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsOk();
11157 wxPyEndAllowThreads(__tstate
);
11158 if (PyErr_Occurred()) SWIG_fail
;
11161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11169 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11170 PyObject
*resultobj
;
11171 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
11173 PyObject
* obj0
= 0 ;
11174 char *kwnames
[] = {
11175 (char *) "self", NULL
11178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
11179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
11180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11183 result
= (bool)((wxTaskBarIcon
const *)arg1
)->IsIconInstalled();
11185 wxPyEndAllowThreads(__tstate
);
11186 if (PyErr_Occurred()) SWIG_fail
;
11189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11197 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11198 PyObject
*resultobj
;
11199 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
11201 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11202 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11204 bool temp3
= False
;
11205 PyObject
* obj0
= 0 ;
11206 PyObject
* obj1
= 0 ;
11207 PyObject
* obj2
= 0 ;
11208 char *kwnames
[] = {
11209 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
11212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
11214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11215 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11216 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11218 if (arg2
== NULL
) {
11219 PyErr_SetString(PyExc_TypeError
,"null reference");
11224 arg3
= wxString_in_helper(obj2
);
11225 if (arg3
== NULL
) SWIG_fail
;
11230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11231 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
11233 wxPyEndAllowThreads(__tstate
);
11234 if (PyErr_Occurred()) SWIG_fail
;
11237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11253 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11254 PyObject
*resultobj
;
11255 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
11257 PyObject
* obj0
= 0 ;
11258 char *kwnames
[] = {
11259 (char *) "self", NULL
11262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
11263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
11264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11267 result
= (bool)(arg1
)->RemoveIcon();
11269 wxPyEndAllowThreads(__tstate
);
11270 if (PyErr_Occurred()) SWIG_fail
;
11273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11281 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11282 PyObject
*resultobj
;
11283 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
11284 wxMenu
*arg2
= (wxMenu
*) 0 ;
11286 PyObject
* obj0
= 0 ;
11287 PyObject
* obj1
= 0 ;
11288 char *kwnames
[] = {
11289 (char *) "self",(char *) "menu", NULL
11292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
11293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
11294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11295 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
11296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11299 result
= (bool)(arg1
)->PopupMenu(arg2
);
11301 wxPyEndAllowThreads(__tstate
);
11302 if (PyErr_Occurred()) SWIG_fail
;
11305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11313 static PyObject
* TaskBarIcon_swigregister(PyObject
*, PyObject
*args
) {
11315 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11316 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon
, obj
);
11318 return Py_BuildValue((char *)"");
11320 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11321 PyObject
*resultobj
;
11323 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
11324 wxTaskBarIconEvent
*result
;
11325 PyObject
* obj0
= 0 ;
11326 PyObject
* obj1
= 0 ;
11327 char *kwnames
[] = {
11328 (char *) "evtType",(char *) "tbIcon", NULL
11331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11332 arg1
= (wxEventType
)SWIG_As_int(obj0
);
11333 if (PyErr_Occurred()) SWIG_fail
;
11334 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTaskBarIcon
,
11335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11338 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
11340 wxPyEndAllowThreads(__tstate
);
11341 if (PyErr_Occurred()) SWIG_fail
;
11343 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
11350 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*, PyObject
*args
) {
11352 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11353 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
11355 return Py_BuildValue((char *)"");
11357 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
11358 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
11363 static PyObject
*_wrap_FileSelectorPromptStr_get() {
11368 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
11370 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
11377 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
11378 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
11383 static PyObject
*_wrap_DirSelectorPromptStr_get() {
11388 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
11390 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
11397 static int _wrap_DirDialogNameStr_set(PyObject
*) {
11398 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
11403 static PyObject
*_wrap_DirDialogNameStr_get() {
11408 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
11410 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
11417 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
11418 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
11423 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
11428 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
11430 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
11437 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*) {
11438 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
11443 static PyObject
*_wrap_GetTextFromUserPromptStr_get() {
11448 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
11450 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
11457 static int _wrap_MessageBoxCaptionStr_set(PyObject
*) {
11458 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
11463 static PyObject
*_wrap_MessageBoxCaptionStr_get() {
11468 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
11470 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
11477 static PyObject
*_wrap_new_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11478 PyObject
*resultobj
;
11479 wxColourData
*result
;
11480 char *kwnames
[] = {
11484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
11486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11487 result
= (wxColourData
*)new wxColourData();
11489 wxPyEndAllowThreads(__tstate
);
11490 if (PyErr_Occurred()) SWIG_fail
;
11492 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
11499 static PyObject
*_wrap_delete_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11500 PyObject
*resultobj
;
11501 wxColourData
*arg1
= (wxColourData
*) 0 ;
11502 PyObject
* obj0
= 0 ;
11503 char *kwnames
[] = {
11504 (char *) "self", NULL
11507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
11508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11514 wxPyEndAllowThreads(__tstate
);
11515 if (PyErr_Occurred()) SWIG_fail
;
11517 Py_INCREF(Py_None
); resultobj
= Py_None
;
11524 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11525 PyObject
*resultobj
;
11526 wxColourData
*arg1
= (wxColourData
*) 0 ;
11528 PyObject
* obj0
= 0 ;
11529 char *kwnames
[] = {
11530 (char *) "self", NULL
11533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
11534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11538 result
= (bool)(arg1
)->GetChooseFull();
11540 wxPyEndAllowThreads(__tstate
);
11541 if (PyErr_Occurred()) SWIG_fail
;
11544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11552 static PyObject
*_wrap_ColourData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11553 PyObject
*resultobj
;
11554 wxColourData
*arg1
= (wxColourData
*) 0 ;
11556 PyObject
* obj0
= 0 ;
11557 char *kwnames
[] = {
11558 (char *) "self", NULL
11561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
11562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11566 result
= (arg1
)->GetColour();
11568 wxPyEndAllowThreads(__tstate
);
11569 if (PyErr_Occurred()) SWIG_fail
;
11572 wxColour
* resultptr
;
11573 resultptr
= new wxColour((wxColour
&) result
);
11574 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11582 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11583 PyObject
*resultobj
;
11584 wxColourData
*arg1
= (wxColourData
*) 0 ;
11587 PyObject
* obj0
= 0 ;
11588 PyObject
* obj1
= 0 ;
11589 char *kwnames
[] = {
11590 (char *) "self",(char *) "i", NULL
11593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11596 arg2
= (int)SWIG_As_int(obj1
);
11597 if (PyErr_Occurred()) SWIG_fail
;
11599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11600 result
= (arg1
)->GetCustomColour(arg2
);
11602 wxPyEndAllowThreads(__tstate
);
11603 if (PyErr_Occurred()) SWIG_fail
;
11606 wxColour
* resultptr
;
11607 resultptr
= new wxColour((wxColour
&) result
);
11608 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11616 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11617 PyObject
*resultobj
;
11618 wxColourData
*arg1
= (wxColourData
*) 0 ;
11620 PyObject
* obj0
= 0 ;
11621 PyObject
* obj1
= 0 ;
11622 char *kwnames
[] = {
11623 (char *) "self",(char *) "flag", NULL
11626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
11627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11629 arg2
= (int)SWIG_As_int(obj1
);
11630 if (PyErr_Occurred()) SWIG_fail
;
11632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11633 (arg1
)->SetChooseFull(arg2
);
11635 wxPyEndAllowThreads(__tstate
);
11636 if (PyErr_Occurred()) SWIG_fail
;
11638 Py_INCREF(Py_None
); resultobj
= Py_None
;
11645 static PyObject
*_wrap_ColourData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11646 PyObject
*resultobj
;
11647 wxColourData
*arg1
= (wxColourData
*) 0 ;
11648 wxColour
*arg2
= 0 ;
11650 PyObject
* obj0
= 0 ;
11651 PyObject
* obj1
= 0 ;
11652 char *kwnames
[] = {
11653 (char *) "self",(char *) "colour", NULL
11656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11661 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11665 (arg1
)->SetColour((wxColour
const &)*arg2
);
11667 wxPyEndAllowThreads(__tstate
);
11668 if (PyErr_Occurred()) SWIG_fail
;
11670 Py_INCREF(Py_None
); resultobj
= Py_None
;
11677 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11678 PyObject
*resultobj
;
11679 wxColourData
*arg1
= (wxColourData
*) 0 ;
11681 wxColour
*arg3
= 0 ;
11683 PyObject
* obj0
= 0 ;
11684 PyObject
* obj1
= 0 ;
11685 PyObject
* obj2
= 0 ;
11686 char *kwnames
[] = {
11687 (char *) "self",(char *) "i",(char *) "colour", NULL
11690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11693 arg2
= (int)SWIG_As_int(obj1
);
11694 if (PyErr_Occurred()) SWIG_fail
;
11697 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11701 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
11703 wxPyEndAllowThreads(__tstate
);
11704 if (PyErr_Occurred()) SWIG_fail
;
11706 Py_INCREF(Py_None
); resultobj
= Py_None
;
11713 static PyObject
* ColourData_swigregister(PyObject
*, PyObject
*args
) {
11715 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11716 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
11718 return Py_BuildValue((char *)"");
11720 static PyObject
*_wrap_new_ColourDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11721 PyObject
*resultobj
;
11722 wxWindow
*arg1
= (wxWindow
*) 0 ;
11723 wxColourData
*arg2
= (wxColourData
*) NULL
;
11724 wxColourDialog
*result
;
11725 PyObject
* obj0
= 0 ;
11726 PyObject
* obj1
= 0 ;
11727 char *kwnames
[] = {
11728 (char *) "parent",(char *) "data", NULL
11731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
11732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11735 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColourData
,
11736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11739 if (!wxPyCheckForApp()) SWIG_fail
;
11740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11741 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
11743 wxPyEndAllowThreads(__tstate
);
11744 if (PyErr_Occurred()) SWIG_fail
;
11746 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
11753 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11754 PyObject
*resultobj
;
11755 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
11756 wxColourData
*result
;
11757 PyObject
* obj0
= 0 ;
11758 char *kwnames
[] = {
11759 (char *) "self", NULL
11762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
11763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDialog
,
11764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11768 wxColourData
&_result_ref
= (arg1
)->GetColourData();
11769 result
= (wxColourData
*) &_result_ref
;
11772 wxPyEndAllowThreads(__tstate
);
11773 if (PyErr_Occurred()) SWIG_fail
;
11775 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
11782 static PyObject
* ColourDialog_swigregister(PyObject
*, PyObject
*args
) {
11784 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11785 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
11787 return Py_BuildValue((char *)"");
11789 static PyObject
*_wrap_new_DirDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11790 PyObject
*resultobj
;
11791 wxWindow
*arg1
= (wxWindow
*) 0 ;
11792 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
11793 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11794 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11795 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11796 long arg4
= (long) 0 ;
11797 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11798 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11799 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11800 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11801 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
11802 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11803 wxDirDialog
*result
;
11804 bool temp2
= False
;
11805 bool temp3
= False
;
11808 bool temp7
= False
;
11809 PyObject
* obj0
= 0 ;
11810 PyObject
* obj1
= 0 ;
11811 PyObject
* obj2
= 0 ;
11812 PyObject
* obj3
= 0 ;
11813 PyObject
* obj4
= 0 ;
11814 PyObject
* obj5
= 0 ;
11815 PyObject
* obj6
= 0 ;
11816 char *kwnames
[] = {
11817 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11825 arg2
= wxString_in_helper(obj1
);
11826 if (arg2
== NULL
) SWIG_fail
;
11832 arg3
= wxString_in_helper(obj2
);
11833 if (arg3
== NULL
) SWIG_fail
;
11838 arg4
= (long)SWIG_As_long(obj3
);
11839 if (PyErr_Occurred()) SWIG_fail
;
11844 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11850 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11855 arg7
= wxString_in_helper(obj6
);
11856 if (arg7
== NULL
) SWIG_fail
;
11861 if (!wxPyCheckForApp()) SWIG_fail
;
11862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11863 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
11865 wxPyEndAllowThreads(__tstate
);
11866 if (PyErr_Occurred()) SWIG_fail
;
11868 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
11899 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11900 PyObject
*resultobj
;
11901 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11903 PyObject
* obj0
= 0 ;
11904 char *kwnames
[] = {
11905 (char *) "self", NULL
11908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
11909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11913 result
= (arg1
)->GetPath();
11915 wxPyEndAllowThreads(__tstate
);
11916 if (PyErr_Occurred()) SWIG_fail
;
11920 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11922 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11931 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11932 PyObject
*resultobj
;
11933 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11935 PyObject
* obj0
= 0 ;
11936 char *kwnames
[] = {
11937 (char *) "self", NULL
11940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
11941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11945 result
= (arg1
)->GetMessage();
11947 wxPyEndAllowThreads(__tstate
);
11948 if (PyErr_Occurred()) SWIG_fail
;
11952 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11954 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11963 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11964 PyObject
*resultobj
;
11965 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11967 PyObject
* obj0
= 0 ;
11968 char *kwnames
[] = {
11969 (char *) "self", NULL
11972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
11973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11977 result
= (long)(arg1
)->GetStyle();
11979 wxPyEndAllowThreads(__tstate
);
11980 if (PyErr_Occurred()) SWIG_fail
;
11982 resultobj
= SWIG_From_long((long)result
);
11989 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11990 PyObject
*resultobj
;
11991 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11992 wxString
*arg2
= 0 ;
11993 bool temp2
= False
;
11994 PyObject
* obj0
= 0 ;
11995 PyObject
* obj1
= 0 ;
11996 char *kwnames
[] = {
11997 (char *) "self",(char *) "message", NULL
12000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
12001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
12002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12004 arg2
= wxString_in_helper(obj1
);
12005 if (arg2
== NULL
) SWIG_fail
;
12009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12010 (arg1
)->SetMessage((wxString
const &)*arg2
);
12012 wxPyEndAllowThreads(__tstate
);
12013 if (PyErr_Occurred()) SWIG_fail
;
12015 Py_INCREF(Py_None
); resultobj
= Py_None
;
12030 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12031 PyObject
*resultobj
;
12032 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
12033 wxString
*arg2
= 0 ;
12034 bool temp2
= False
;
12035 PyObject
* obj0
= 0 ;
12036 PyObject
* obj1
= 0 ;
12037 char *kwnames
[] = {
12038 (char *) "self",(char *) "path", NULL
12041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
12042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
12043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12045 arg2
= wxString_in_helper(obj1
);
12046 if (arg2
== NULL
) SWIG_fail
;
12050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12051 (arg1
)->SetPath((wxString
const &)*arg2
);
12053 wxPyEndAllowThreads(__tstate
);
12054 if (PyErr_Occurred()) SWIG_fail
;
12056 Py_INCREF(Py_None
); resultobj
= Py_None
;
12071 static PyObject
* DirDialog_swigregister(PyObject
*, PyObject
*args
) {
12073 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12074 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
12076 return Py_BuildValue((char *)"");
12078 static PyObject
*_wrap_new_FileDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12079 PyObject
*resultobj
;
12080 wxWindow
*arg1
= (wxWindow
*) 0 ;
12081 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
12082 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12083 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12084 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12085 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12086 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12087 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
12088 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
12089 long arg6
= (long) 0 ;
12090 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12091 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12092 wxFileDialog
*result
;
12093 bool temp2
= False
;
12094 bool temp3
= False
;
12095 bool temp4
= False
;
12096 bool temp5
= False
;
12098 PyObject
* obj0
= 0 ;
12099 PyObject
* obj1
= 0 ;
12100 PyObject
* obj2
= 0 ;
12101 PyObject
* obj3
= 0 ;
12102 PyObject
* obj4
= 0 ;
12103 PyObject
* obj5
= 0 ;
12104 PyObject
* obj6
= 0 ;
12105 char *kwnames
[] = {
12106 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
12109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12114 arg2
= wxString_in_helper(obj1
);
12115 if (arg2
== NULL
) SWIG_fail
;
12121 arg3
= wxString_in_helper(obj2
);
12122 if (arg3
== NULL
) SWIG_fail
;
12128 arg4
= wxString_in_helper(obj3
);
12129 if (arg4
== NULL
) SWIG_fail
;
12135 arg5
= wxString_in_helper(obj4
);
12136 if (arg5
== NULL
) SWIG_fail
;
12141 arg6
= (long)SWIG_As_long(obj5
);
12142 if (PyErr_Occurred()) SWIG_fail
;
12147 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
12151 if (!wxPyCheckForApp()) SWIG_fail
;
12152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12153 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
12155 wxPyEndAllowThreads(__tstate
);
12156 if (PyErr_Occurred()) SWIG_fail
;
12158 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
12197 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12198 PyObject
*resultobj
;
12199 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12200 wxString
*arg2
= 0 ;
12201 bool temp2
= False
;
12202 PyObject
* obj0
= 0 ;
12203 PyObject
* obj1
= 0 ;
12204 char *kwnames
[] = {
12205 (char *) "self",(char *) "message", NULL
12208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
12209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12212 arg2
= wxString_in_helper(obj1
);
12213 if (arg2
== NULL
) SWIG_fail
;
12217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12218 (arg1
)->SetMessage((wxString
const &)*arg2
);
12220 wxPyEndAllowThreads(__tstate
);
12221 if (PyErr_Occurred()) SWIG_fail
;
12223 Py_INCREF(Py_None
); resultobj
= Py_None
;
12238 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12239 PyObject
*resultobj
;
12240 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12241 wxString
*arg2
= 0 ;
12242 bool temp2
= False
;
12243 PyObject
* obj0
= 0 ;
12244 PyObject
* obj1
= 0 ;
12245 char *kwnames
[] = {
12246 (char *) "self",(char *) "path", NULL
12249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
12250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12253 arg2
= wxString_in_helper(obj1
);
12254 if (arg2
== NULL
) SWIG_fail
;
12258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12259 (arg1
)->SetPath((wxString
const &)*arg2
);
12261 wxPyEndAllowThreads(__tstate
);
12262 if (PyErr_Occurred()) SWIG_fail
;
12264 Py_INCREF(Py_None
); resultobj
= Py_None
;
12279 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12280 PyObject
*resultobj
;
12281 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12282 wxString
*arg2
= 0 ;
12283 bool temp2
= False
;
12284 PyObject
* obj0
= 0 ;
12285 PyObject
* obj1
= 0 ;
12286 char *kwnames
[] = {
12287 (char *) "self",(char *) "dir", NULL
12290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
12291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12294 arg2
= wxString_in_helper(obj1
);
12295 if (arg2
== NULL
) SWIG_fail
;
12299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12300 (arg1
)->SetDirectory((wxString
const &)*arg2
);
12302 wxPyEndAllowThreads(__tstate
);
12303 if (PyErr_Occurred()) SWIG_fail
;
12305 Py_INCREF(Py_None
); resultobj
= Py_None
;
12320 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12321 PyObject
*resultobj
;
12322 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12323 wxString
*arg2
= 0 ;
12324 bool temp2
= False
;
12325 PyObject
* obj0
= 0 ;
12326 PyObject
* obj1
= 0 ;
12327 char *kwnames
[] = {
12328 (char *) "self",(char *) "name", NULL
12331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
12332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12335 arg2
= wxString_in_helper(obj1
);
12336 if (arg2
== NULL
) SWIG_fail
;
12340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12341 (arg1
)->SetFilename((wxString
const &)*arg2
);
12343 wxPyEndAllowThreads(__tstate
);
12344 if (PyErr_Occurred()) SWIG_fail
;
12346 Py_INCREF(Py_None
); resultobj
= Py_None
;
12361 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12362 PyObject
*resultobj
;
12363 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12364 wxString
*arg2
= 0 ;
12365 bool temp2
= False
;
12366 PyObject
* obj0
= 0 ;
12367 PyObject
* obj1
= 0 ;
12368 char *kwnames
[] = {
12369 (char *) "self",(char *) "wildCard", NULL
12372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
12373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12376 arg2
= wxString_in_helper(obj1
);
12377 if (arg2
== NULL
) SWIG_fail
;
12381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12382 (arg1
)->SetWildcard((wxString
const &)*arg2
);
12384 wxPyEndAllowThreads(__tstate
);
12385 if (PyErr_Occurred()) SWIG_fail
;
12387 Py_INCREF(Py_None
); resultobj
= Py_None
;
12402 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12403 PyObject
*resultobj
;
12404 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12406 PyObject
* obj0
= 0 ;
12407 PyObject
* obj1
= 0 ;
12408 char *kwnames
[] = {
12409 (char *) "self",(char *) "style", NULL
12412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
12413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12415 arg2
= (long)SWIG_As_long(obj1
);
12416 if (PyErr_Occurred()) SWIG_fail
;
12418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12419 (arg1
)->SetStyle(arg2
);
12421 wxPyEndAllowThreads(__tstate
);
12422 if (PyErr_Occurred()) SWIG_fail
;
12424 Py_INCREF(Py_None
); resultobj
= Py_None
;
12431 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12432 PyObject
*resultobj
;
12433 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12435 PyObject
* obj0
= 0 ;
12436 PyObject
* obj1
= 0 ;
12437 char *kwnames
[] = {
12438 (char *) "self",(char *) "filterIndex", NULL
12441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
12442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12444 arg2
= (int)SWIG_As_int(obj1
);
12445 if (PyErr_Occurred()) SWIG_fail
;
12447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12448 (arg1
)->SetFilterIndex(arg2
);
12450 wxPyEndAllowThreads(__tstate
);
12451 if (PyErr_Occurred()) SWIG_fail
;
12453 Py_INCREF(Py_None
); resultobj
= Py_None
;
12460 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12461 PyObject
*resultobj
;
12462 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12464 PyObject
* obj0
= 0 ;
12465 char *kwnames
[] = {
12466 (char *) "self", NULL
12469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
12470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12474 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
12476 wxPyEndAllowThreads(__tstate
);
12477 if (PyErr_Occurred()) SWIG_fail
;
12481 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12483 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12492 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12493 PyObject
*resultobj
;
12494 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12496 PyObject
* obj0
= 0 ;
12497 char *kwnames
[] = {
12498 (char *) "self", NULL
12501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
12502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12506 result
= ((wxFileDialog
const *)arg1
)->GetPath();
12508 wxPyEndAllowThreads(__tstate
);
12509 if (PyErr_Occurred()) SWIG_fail
;
12513 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12515 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12524 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12525 PyObject
*resultobj
;
12526 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12528 PyObject
* obj0
= 0 ;
12529 char *kwnames
[] = {
12530 (char *) "self", NULL
12533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
12534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12538 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
12540 wxPyEndAllowThreads(__tstate
);
12541 if (PyErr_Occurred()) SWIG_fail
;
12545 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12547 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12556 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12557 PyObject
*resultobj
;
12558 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12560 PyObject
* obj0
= 0 ;
12561 char *kwnames
[] = {
12562 (char *) "self", NULL
12565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
12566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12570 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
12572 wxPyEndAllowThreads(__tstate
);
12573 if (PyErr_Occurred()) SWIG_fail
;
12577 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12579 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12588 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12589 PyObject
*resultobj
;
12590 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12592 PyObject
* obj0
= 0 ;
12593 char *kwnames
[] = {
12594 (char *) "self", NULL
12597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
12598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12602 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
12604 wxPyEndAllowThreads(__tstate
);
12605 if (PyErr_Occurred()) SWIG_fail
;
12609 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12611 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12620 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12621 PyObject
*resultobj
;
12622 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12624 PyObject
* obj0
= 0 ;
12625 char *kwnames
[] = {
12626 (char *) "self", NULL
12629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
12630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12634 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
12636 wxPyEndAllowThreads(__tstate
);
12637 if (PyErr_Occurred()) SWIG_fail
;
12639 resultobj
= SWIG_From_long((long)result
);
12646 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12647 PyObject
*resultobj
;
12648 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12650 PyObject
* obj0
= 0 ;
12651 char *kwnames
[] = {
12652 (char *) "self", NULL
12655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
12656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12660 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
12662 wxPyEndAllowThreads(__tstate
);
12663 if (PyErr_Occurred()) SWIG_fail
;
12665 resultobj
= SWIG_From_int((int)result
);
12672 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12673 PyObject
*resultobj
;
12674 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12676 PyObject
* obj0
= 0 ;
12677 char *kwnames
[] = {
12678 (char *) "self", NULL
12681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
12682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12686 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
12688 wxPyEndAllowThreads(__tstate
);
12689 if (PyErr_Occurred()) SWIG_fail
;
12691 resultobj
= result
;
12698 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12699 PyObject
*resultobj
;
12700 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12702 PyObject
* obj0
= 0 ;
12703 char *kwnames
[] = {
12704 (char *) "self", NULL
12707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
12708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12712 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
12714 wxPyEndAllowThreads(__tstate
);
12715 if (PyErr_Occurred()) SWIG_fail
;
12717 resultobj
= result
;
12724 static PyObject
* FileDialog_swigregister(PyObject
*, PyObject
*args
) {
12726 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12727 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
12729 return Py_BuildValue((char *)"");
12731 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12732 PyObject
*resultobj
;
12733 wxWindow
*arg1
= (wxWindow
*) 0 ;
12734 wxString
*arg2
= 0 ;
12735 wxString
*arg3
= 0 ;
12736 int arg4
= (int) 0 ;
12737 wxString
*arg5
= (wxString
*) NULL
;
12738 long arg6
= (long) wxCHOICEDLG_STYLE
;
12739 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12740 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12741 wxMultiChoiceDialog
*result
;
12742 bool temp2
= False
;
12743 bool temp3
= False
;
12745 PyObject
* obj0
= 0 ;
12746 PyObject
* obj1
= 0 ;
12747 PyObject
* obj2
= 0 ;
12748 PyObject
* obj3
= 0 ;
12749 PyObject
* obj4
= 0 ;
12750 PyObject
* obj5
= 0 ;
12751 char *kwnames
[] = {
12752 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12759 arg2
= wxString_in_helper(obj1
);
12760 if (arg2
== NULL
) SWIG_fail
;
12764 arg3
= wxString_in_helper(obj2
);
12765 if (arg3
== NULL
) SWIG_fail
;
12770 arg4
= PyList_Size(obj3
);
12771 arg5
= wxString_LIST_helper(obj3
);
12772 if (arg5
== NULL
) SWIG_fail
;
12776 arg6
= (long)SWIG_As_long(obj4
);
12777 if (PyErr_Occurred()) SWIG_fail
;
12782 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12786 if (!wxPyCheckForApp()) SWIG_fail
;
12787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12788 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12790 wxPyEndAllowThreads(__tstate
);
12791 if (PyErr_Occurred()) SWIG_fail
;
12793 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
12803 if (arg5
) delete [] arg5
;
12816 if (arg5
) delete [] arg5
;
12822 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12823 PyObject
*resultobj
;
12824 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12825 wxArrayInt
*arg2
= 0 ;
12826 bool temp2
= False
;
12827 PyObject
* obj0
= 0 ;
12828 PyObject
* obj1
= 0 ;
12829 char *kwnames
[] = {
12830 (char *) "self",(char *) "selections", NULL
12833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
12834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12837 if (! PySequence_Check(obj1
)) {
12838 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
12841 arg2
= new wxArrayInt
;
12843 int i
, len
=PySequence_Length(obj1
);
12844 for (i
=0; i
<len
; i
++) {
12845 PyObject
* item
= PySequence_GetItem(obj1
, i
);
12846 PyObject
* number
= PyNumber_Int(item
);
12847 arg2
->Add(PyInt_AS_LONG(number
));
12853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12854 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
12856 wxPyEndAllowThreads(__tstate
);
12857 if (PyErr_Occurred()) SWIG_fail
;
12859 Py_INCREF(Py_None
); resultobj
= Py_None
;
12861 if (temp2
) delete arg2
;
12866 if (temp2
) delete arg2
;
12872 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12873 PyObject
*resultobj
;
12874 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12876 PyObject
* obj0
= 0 ;
12877 char *kwnames
[] = {
12878 (char *) "self", NULL
12881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
12882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12886 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
12888 wxPyEndAllowThreads(__tstate
);
12889 if (PyErr_Occurred()) SWIG_fail
;
12891 resultobj
= result
;
12898 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
12900 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12901 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
12903 return Py_BuildValue((char *)"");
12905 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12906 PyObject
*resultobj
;
12907 wxWindow
*arg1
= (wxWindow
*) 0 ;
12908 wxString
*arg2
= 0 ;
12909 wxString
*arg3
= 0 ;
12911 wxString
*arg5
= (wxString
*) 0 ;
12912 long arg6
= (long) wxCHOICEDLG_STYLE
;
12913 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12914 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12915 wxSingleChoiceDialog
*result
;
12916 bool temp2
= False
;
12917 bool temp3
= False
;
12919 PyObject
* obj0
= 0 ;
12920 PyObject
* obj1
= 0 ;
12921 PyObject
* obj2
= 0 ;
12922 PyObject
* obj3
= 0 ;
12923 PyObject
* obj4
= 0 ;
12924 PyObject
* obj5
= 0 ;
12925 char *kwnames
[] = {
12926 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12933 arg2
= wxString_in_helper(obj1
);
12934 if (arg2
== NULL
) SWIG_fail
;
12938 arg3
= wxString_in_helper(obj2
);
12939 if (arg3
== NULL
) SWIG_fail
;
12943 arg4
= PyList_Size(obj3
);
12944 arg5
= wxString_LIST_helper(obj3
);
12945 if (arg5
== NULL
) SWIG_fail
;
12948 arg6
= (long)SWIG_As_long(obj4
);
12949 if (PyErr_Occurred()) SWIG_fail
;
12954 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12958 if (!wxPyCheckForApp()) SWIG_fail
;
12959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12960 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12962 wxPyEndAllowThreads(__tstate
);
12963 if (PyErr_Occurred()) SWIG_fail
;
12965 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
12975 if (arg5
) delete [] arg5
;
12988 if (arg5
) delete [] arg5
;
12994 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12995 PyObject
*resultobj
;
12996 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12998 PyObject
* obj0
= 0 ;
12999 char *kwnames
[] = {
13000 (char *) "self", NULL
13003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
13004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
13005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13008 result
= (int)(arg1
)->GetSelection();
13010 wxPyEndAllowThreads(__tstate
);
13011 if (PyErr_Occurred()) SWIG_fail
;
13013 resultobj
= SWIG_From_int((int)result
);
13020 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13021 PyObject
*resultobj
;
13022 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
13024 PyObject
* obj0
= 0 ;
13025 char *kwnames
[] = {
13026 (char *) "self", NULL
13029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
13030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
13031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13034 result
= (arg1
)->GetStringSelection();
13036 wxPyEndAllowThreads(__tstate
);
13037 if (PyErr_Occurred()) SWIG_fail
;
13041 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13043 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13052 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13053 PyObject
*resultobj
;
13054 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
13056 PyObject
* obj0
= 0 ;
13057 PyObject
* obj1
= 0 ;
13058 char *kwnames
[] = {
13059 (char *) "self",(char *) "sel", NULL
13062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
13064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13065 arg2
= (int)SWIG_As_int(obj1
);
13066 if (PyErr_Occurred()) SWIG_fail
;
13068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13069 (arg1
)->SetSelection(arg2
);
13071 wxPyEndAllowThreads(__tstate
);
13072 if (PyErr_Occurred()) SWIG_fail
;
13074 Py_INCREF(Py_None
); resultobj
= Py_None
;
13081 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
13083 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13084 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
13086 return Py_BuildValue((char *)"");
13088 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13089 PyObject
*resultobj
;
13090 wxWindow
*arg1
= (wxWindow
*) 0 ;
13091 wxString
*arg2
= 0 ;
13092 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
13093 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13094 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13095 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13096 long arg5
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
13097 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
13098 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
13099 wxTextEntryDialog
*result
;
13100 bool temp2
= False
;
13101 bool temp3
= False
;
13102 bool temp4
= False
;
13104 PyObject
* obj0
= 0 ;
13105 PyObject
* obj1
= 0 ;
13106 PyObject
* obj2
= 0 ;
13107 PyObject
* obj3
= 0 ;
13108 PyObject
* obj4
= 0 ;
13109 PyObject
* obj5
= 0 ;
13110 char *kwnames
[] = {
13111 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
13114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13118 arg2
= wxString_in_helper(obj1
);
13119 if (arg2
== NULL
) SWIG_fail
;
13124 arg3
= wxString_in_helper(obj2
);
13125 if (arg3
== NULL
) SWIG_fail
;
13131 arg4
= wxString_in_helper(obj3
);
13132 if (arg4
== NULL
) SWIG_fail
;
13137 arg5
= (long)SWIG_As_long(obj4
);
13138 if (PyErr_Occurred()) SWIG_fail
;
13143 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
13147 if (!wxPyCheckForApp()) SWIG_fail
;
13148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13149 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
13151 wxPyEndAllowThreads(__tstate
);
13152 if (PyErr_Occurred()) SWIG_fail
;
13154 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
13185 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13186 PyObject
*resultobj
;
13187 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
13189 PyObject
* obj0
= 0 ;
13190 char *kwnames
[] = {
13191 (char *) "self", NULL
13194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
13195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
13196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13199 result
= (arg1
)->GetValue();
13201 wxPyEndAllowThreads(__tstate
);
13202 if (PyErr_Occurred()) SWIG_fail
;
13206 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13208 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13217 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13218 PyObject
*resultobj
;
13219 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
13220 wxString
*arg2
= 0 ;
13221 bool temp2
= False
;
13222 PyObject
* obj0
= 0 ;
13223 PyObject
* obj1
= 0 ;
13224 char *kwnames
[] = {
13225 (char *) "self",(char *) "value", NULL
13228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
13230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13232 arg2
= wxString_in_helper(obj1
);
13233 if (arg2
== NULL
) SWIG_fail
;
13237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13238 (arg1
)->SetValue((wxString
const &)*arg2
);
13240 wxPyEndAllowThreads(__tstate
);
13241 if (PyErr_Occurred()) SWIG_fail
;
13243 Py_INCREF(Py_None
); resultobj
= Py_None
;
13258 static PyObject
* TextEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
13260 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13261 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
13263 return Py_BuildValue((char *)"");
13265 static PyObject
*_wrap_new_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13266 PyObject
*resultobj
;
13267 wxFontData
*result
;
13268 char *kwnames
[] = {
13272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
13274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13275 result
= (wxFontData
*)new wxFontData();
13277 wxPyEndAllowThreads(__tstate
);
13278 if (PyErr_Occurred()) SWIG_fail
;
13280 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
13287 static PyObject
*_wrap_delete_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13288 PyObject
*resultobj
;
13289 wxFontData
*arg1
= (wxFontData
*) 0 ;
13290 PyObject
* obj0
= 0 ;
13291 char *kwnames
[] = {
13292 (char *) "self", NULL
13295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
13296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13302 wxPyEndAllowThreads(__tstate
);
13303 if (PyErr_Occurred()) SWIG_fail
;
13305 Py_INCREF(Py_None
); resultobj
= Py_None
;
13312 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13313 PyObject
*resultobj
;
13314 wxFontData
*arg1
= (wxFontData
*) 0 ;
13316 PyObject
* obj0
= 0 ;
13317 PyObject
* obj1
= 0 ;
13318 char *kwnames
[] = {
13319 (char *) "self",(char *) "enable", NULL
13322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
13323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13325 arg2
= (bool)SWIG_As_bool(obj1
);
13326 if (PyErr_Occurred()) SWIG_fail
;
13328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13329 (arg1
)->EnableEffects(arg2
);
13331 wxPyEndAllowThreads(__tstate
);
13332 if (PyErr_Occurred()) SWIG_fail
;
13334 Py_INCREF(Py_None
); resultobj
= Py_None
;
13341 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13342 PyObject
*resultobj
;
13343 wxFontData
*arg1
= (wxFontData
*) 0 ;
13345 PyObject
* obj0
= 0 ;
13346 char *kwnames
[] = {
13347 (char *) "self", NULL
13350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
13351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13355 result
= (bool)(arg1
)->GetAllowSymbols();
13357 wxPyEndAllowThreads(__tstate
);
13358 if (PyErr_Occurred()) SWIG_fail
;
13361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13369 static PyObject
*_wrap_FontData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13370 PyObject
*resultobj
;
13371 wxFontData
*arg1
= (wxFontData
*) 0 ;
13373 PyObject
* obj0
= 0 ;
13374 char *kwnames
[] = {
13375 (char *) "self", NULL
13378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
13379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13383 result
= (arg1
)->GetColour();
13385 wxPyEndAllowThreads(__tstate
);
13386 if (PyErr_Occurred()) SWIG_fail
;
13389 wxColour
* resultptr
;
13390 resultptr
= new wxColour((wxColour
&) result
);
13391 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13399 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13400 PyObject
*resultobj
;
13401 wxFontData
*arg1
= (wxFontData
*) 0 ;
13403 PyObject
* obj0
= 0 ;
13404 char *kwnames
[] = {
13405 (char *) "self", NULL
13408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
13409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13413 result
= (arg1
)->GetChosenFont();
13415 wxPyEndAllowThreads(__tstate
);
13416 if (PyErr_Occurred()) SWIG_fail
;
13419 wxFont
* resultptr
;
13420 resultptr
= new wxFont((wxFont
&) result
);
13421 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13429 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13430 PyObject
*resultobj
;
13431 wxFontData
*arg1
= (wxFontData
*) 0 ;
13433 PyObject
* obj0
= 0 ;
13434 char *kwnames
[] = {
13435 (char *) "self", NULL
13438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
13439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13443 result
= (bool)(arg1
)->GetEnableEffects();
13445 wxPyEndAllowThreads(__tstate
);
13446 if (PyErr_Occurred()) SWIG_fail
;
13449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13457 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13458 PyObject
*resultobj
;
13459 wxFontData
*arg1
= (wxFontData
*) 0 ;
13461 PyObject
* obj0
= 0 ;
13462 char *kwnames
[] = {
13463 (char *) "self", NULL
13466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
13467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13471 result
= (arg1
)->GetInitialFont();
13473 wxPyEndAllowThreads(__tstate
);
13474 if (PyErr_Occurred()) SWIG_fail
;
13477 wxFont
* resultptr
;
13478 resultptr
= new wxFont((wxFont
&) result
);
13479 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13487 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13488 PyObject
*resultobj
;
13489 wxFontData
*arg1
= (wxFontData
*) 0 ;
13491 PyObject
* obj0
= 0 ;
13492 char *kwnames
[] = {
13493 (char *) "self", NULL
13496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
13497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13501 result
= (bool)(arg1
)->GetShowHelp();
13503 wxPyEndAllowThreads(__tstate
);
13504 if (PyErr_Occurred()) SWIG_fail
;
13507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13515 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13516 PyObject
*resultobj
;
13517 wxFontData
*arg1
= (wxFontData
*) 0 ;
13519 PyObject
* obj0
= 0 ;
13520 PyObject
* obj1
= 0 ;
13521 char *kwnames
[] = {
13522 (char *) "self",(char *) "allowSymbols", NULL
13525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
13526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13528 arg2
= (bool)SWIG_As_bool(obj1
);
13529 if (PyErr_Occurred()) SWIG_fail
;
13531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13532 (arg1
)->SetAllowSymbols(arg2
);
13534 wxPyEndAllowThreads(__tstate
);
13535 if (PyErr_Occurred()) SWIG_fail
;
13537 Py_INCREF(Py_None
); resultobj
= Py_None
;
13544 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13545 PyObject
*resultobj
;
13546 wxFontData
*arg1
= (wxFontData
*) 0 ;
13548 PyObject
* obj0
= 0 ;
13549 PyObject
* obj1
= 0 ;
13550 char *kwnames
[] = {
13551 (char *) "self",(char *) "font", NULL
13554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13557 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13558 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13560 if (arg2
== NULL
) {
13561 PyErr_SetString(PyExc_TypeError
,"null reference");
13565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13566 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
13568 wxPyEndAllowThreads(__tstate
);
13569 if (PyErr_Occurred()) SWIG_fail
;
13571 Py_INCREF(Py_None
); resultobj
= Py_None
;
13578 static PyObject
*_wrap_FontData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13579 PyObject
*resultobj
;
13580 wxFontData
*arg1
= (wxFontData
*) 0 ;
13581 wxColour
*arg2
= 0 ;
13583 PyObject
* obj0
= 0 ;
13584 PyObject
* obj1
= 0 ;
13585 char *kwnames
[] = {
13586 (char *) "self",(char *) "colour", NULL
13589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13594 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13598 (arg1
)->SetColour((wxColour
const &)*arg2
);
13600 wxPyEndAllowThreads(__tstate
);
13601 if (PyErr_Occurred()) SWIG_fail
;
13603 Py_INCREF(Py_None
); resultobj
= Py_None
;
13610 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13611 PyObject
*resultobj
;
13612 wxFontData
*arg1
= (wxFontData
*) 0 ;
13614 PyObject
* obj0
= 0 ;
13615 PyObject
* obj1
= 0 ;
13616 char *kwnames
[] = {
13617 (char *) "self",(char *) "font", NULL
13620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13623 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13624 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13626 if (arg2
== NULL
) {
13627 PyErr_SetString(PyExc_TypeError
,"null reference");
13631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13632 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
13634 wxPyEndAllowThreads(__tstate
);
13635 if (PyErr_Occurred()) SWIG_fail
;
13637 Py_INCREF(Py_None
); resultobj
= Py_None
;
13644 static PyObject
*_wrap_FontData_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13645 PyObject
*resultobj
;
13646 wxFontData
*arg1
= (wxFontData
*) 0 ;
13649 PyObject
* obj0
= 0 ;
13650 PyObject
* obj1
= 0 ;
13651 PyObject
* obj2
= 0 ;
13652 char *kwnames
[] = {
13653 (char *) "self",(char *) "min",(char *) "max", NULL
13656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13659 arg2
= (int)SWIG_As_int(obj1
);
13660 if (PyErr_Occurred()) SWIG_fail
;
13661 arg3
= (int)SWIG_As_int(obj2
);
13662 if (PyErr_Occurred()) SWIG_fail
;
13664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13665 (arg1
)->SetRange(arg2
,arg3
);
13667 wxPyEndAllowThreads(__tstate
);
13668 if (PyErr_Occurred()) SWIG_fail
;
13670 Py_INCREF(Py_None
); resultobj
= Py_None
;
13677 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13678 PyObject
*resultobj
;
13679 wxFontData
*arg1
= (wxFontData
*) 0 ;
13681 PyObject
* obj0
= 0 ;
13682 PyObject
* obj1
= 0 ;
13683 char *kwnames
[] = {
13684 (char *) "self",(char *) "showHelp", NULL
13687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
13688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13690 arg2
= (bool)SWIG_As_bool(obj1
);
13691 if (PyErr_Occurred()) SWIG_fail
;
13693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13694 (arg1
)->SetShowHelp(arg2
);
13696 wxPyEndAllowThreads(__tstate
);
13697 if (PyErr_Occurred()) SWIG_fail
;
13699 Py_INCREF(Py_None
); resultobj
= Py_None
;
13706 static PyObject
* FontData_swigregister(PyObject
*, PyObject
*args
) {
13708 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13709 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
13711 return Py_BuildValue((char *)"");
13713 static PyObject
*_wrap_new_FontDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13714 PyObject
*resultobj
;
13715 wxWindow
*arg1
= (wxWindow
*) 0 ;
13716 wxFontData
*arg2
= 0 ;
13717 wxFontDialog
*result
;
13718 PyObject
* obj0
= 0 ;
13719 PyObject
* obj1
= 0 ;
13720 char *kwnames
[] = {
13721 (char *) "parent",(char *) "data", NULL
13724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
13725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13727 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFontData
,
13728 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13730 if (arg2
== NULL
) {
13731 PyErr_SetString(PyExc_TypeError
,"null reference");
13735 if (!wxPyCheckForApp()) SWIG_fail
;
13736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13737 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
13739 wxPyEndAllowThreads(__tstate
);
13740 if (PyErr_Occurred()) SWIG_fail
;
13742 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
13749 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13750 PyObject
*resultobj
;
13751 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
13752 wxFontData
*result
;
13753 PyObject
* obj0
= 0 ;
13754 char *kwnames
[] = {
13755 (char *) "self", NULL
13758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
13759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontDialog
,
13760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13764 wxFontData
&_result_ref
= (arg1
)->GetFontData();
13765 result
= (wxFontData
*) &_result_ref
;
13768 wxPyEndAllowThreads(__tstate
);
13769 if (PyErr_Occurred()) SWIG_fail
;
13771 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
13778 static PyObject
* FontDialog_swigregister(PyObject
*, PyObject
*args
) {
13780 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13781 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
13783 return Py_BuildValue((char *)"");
13785 static PyObject
*_wrap_new_MessageDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13786 PyObject
*resultobj
;
13787 wxWindow
*arg1
= (wxWindow
*) 0 ;
13788 wxString
*arg2
= 0 ;
13789 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
13790 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13791 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
13792 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13793 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13794 wxMessageDialog
*result
;
13795 bool temp2
= False
;
13796 bool temp3
= False
;
13798 PyObject
* obj0
= 0 ;
13799 PyObject
* obj1
= 0 ;
13800 PyObject
* obj2
= 0 ;
13801 PyObject
* obj3
= 0 ;
13802 PyObject
* obj4
= 0 ;
13803 char *kwnames
[] = {
13804 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13811 arg2
= wxString_in_helper(obj1
);
13812 if (arg2
== NULL
) SWIG_fail
;
13817 arg3
= wxString_in_helper(obj2
);
13818 if (arg3
== NULL
) SWIG_fail
;
13823 arg4
= (long)SWIG_As_long(obj3
);
13824 if (PyErr_Occurred()) SWIG_fail
;
13829 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13833 if (!wxPyCheckForApp()) SWIG_fail
;
13834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13835 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
13837 wxPyEndAllowThreads(__tstate
);
13838 if (PyErr_Occurred()) SWIG_fail
;
13840 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
13863 static PyObject
* MessageDialog_swigregister(PyObject
*, PyObject
*args
) {
13865 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13866 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
13868 return Py_BuildValue((char *)"");
13870 static PyObject
*_wrap_new_ProgressDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13871 PyObject
*resultobj
;
13872 wxString
*arg1
= 0 ;
13873 wxString
*arg2
= 0 ;
13874 int arg3
= (int) 100 ;
13875 wxWindow
*arg4
= (wxWindow
*) NULL
;
13876 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
13877 wxProgressDialog
*result
;
13878 bool temp1
= False
;
13879 bool temp2
= False
;
13880 PyObject
* obj0
= 0 ;
13881 PyObject
* obj1
= 0 ;
13882 PyObject
* obj2
= 0 ;
13883 PyObject
* obj3
= 0 ;
13884 PyObject
* obj4
= 0 ;
13885 char *kwnames
[] = {
13886 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13891 arg1
= wxString_in_helper(obj0
);
13892 if (arg1
== NULL
) SWIG_fail
;
13896 arg2
= wxString_in_helper(obj1
);
13897 if (arg2
== NULL
) SWIG_fail
;
13901 arg3
= (int)SWIG_As_int(obj2
);
13902 if (PyErr_Occurred()) SWIG_fail
;
13905 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
13906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13909 arg5
= (int)SWIG_As_int(obj4
);
13910 if (PyErr_Occurred()) SWIG_fail
;
13913 if (!wxPyCheckForApp()) SWIG_fail
;
13914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13915 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
13917 wxPyEndAllowThreads(__tstate
);
13918 if (PyErr_Occurred()) SWIG_fail
;
13920 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
13943 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13944 PyObject
*resultobj
;
13945 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13947 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13948 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13950 bool temp3
= False
;
13951 PyObject
* obj0
= 0 ;
13952 PyObject
* obj1
= 0 ;
13953 PyObject
* obj2
= 0 ;
13954 char *kwnames
[] = {
13955 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13961 arg2
= (int)SWIG_As_int(obj1
);
13962 if (PyErr_Occurred()) SWIG_fail
;
13965 arg3
= wxString_in_helper(obj2
);
13966 if (arg3
== NULL
) SWIG_fail
;
13971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13972 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
13974 wxPyEndAllowThreads(__tstate
);
13975 if (PyErr_Occurred()) SWIG_fail
;
13978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13994 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13995 PyObject
*resultobj
;
13996 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13997 PyObject
* obj0
= 0 ;
13998 char *kwnames
[] = {
13999 (char *) "self", NULL
14002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
14003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
14004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14009 wxPyEndAllowThreads(__tstate
);
14010 if (PyErr_Occurred()) SWIG_fail
;
14012 Py_INCREF(Py_None
); resultobj
= Py_None
;
14019 static PyObject
* ProgressDialog_swigregister(PyObject
*, PyObject
*args
) {
14021 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14022 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
14024 return Py_BuildValue((char *)"");
14026 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14027 PyObject
*resultobj
;
14028 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14029 int arg2
= (int) 0 ;
14030 wxFindDialogEvent
*result
;
14031 PyObject
* obj0
= 0 ;
14032 PyObject
* obj1
= 0 ;
14033 char *kwnames
[] = {
14034 (char *) "commandType",(char *) "id", NULL
14037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14039 arg1
= (wxEventType
)SWIG_As_int(obj0
);
14040 if (PyErr_Occurred()) SWIG_fail
;
14043 arg2
= (int)SWIG_As_int(obj1
);
14044 if (PyErr_Occurred()) SWIG_fail
;
14047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14048 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
14050 wxPyEndAllowThreads(__tstate
);
14051 if (PyErr_Occurred()) SWIG_fail
;
14053 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
14060 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14061 PyObject
*resultobj
;
14062 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14064 PyObject
* obj0
= 0 ;
14065 char *kwnames
[] = {
14066 (char *) "self", NULL
14069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
14070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14074 result
= (int)(arg1
)->GetFlags();
14076 wxPyEndAllowThreads(__tstate
);
14077 if (PyErr_Occurred()) SWIG_fail
;
14079 resultobj
= SWIG_From_int((int)result
);
14086 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14087 PyObject
*resultobj
;
14088 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14090 PyObject
* obj0
= 0 ;
14091 char *kwnames
[] = {
14092 (char *) "self", NULL
14095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
14096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14101 wxString
const &_result_ref
= (arg1
)->GetFindString();
14102 result
= (wxString
*) &_result_ref
;
14105 wxPyEndAllowThreads(__tstate
);
14106 if (PyErr_Occurred()) SWIG_fail
;
14110 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14112 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14121 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14122 PyObject
*resultobj
;
14123 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14125 PyObject
* obj0
= 0 ;
14126 char *kwnames
[] = {
14127 (char *) "self", NULL
14130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
14131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14136 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
14137 result
= (wxString
*) &_result_ref
;
14140 wxPyEndAllowThreads(__tstate
);
14141 if (PyErr_Occurred()) SWIG_fail
;
14145 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14147 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14156 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14157 PyObject
*resultobj
;
14158 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14159 wxFindReplaceDialog
*result
;
14160 PyObject
* obj0
= 0 ;
14161 char *kwnames
[] = {
14162 (char *) "self", NULL
14165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
14166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14170 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
14172 wxPyEndAllowThreads(__tstate
);
14173 if (PyErr_Occurred()) SWIG_fail
;
14175 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
14182 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14183 PyObject
*resultobj
;
14184 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14186 PyObject
* obj0
= 0 ;
14187 PyObject
* obj1
= 0 ;
14188 char *kwnames
[] = {
14189 (char *) "self",(char *) "flags", NULL
14192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
14193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14195 arg2
= (int)SWIG_As_int(obj1
);
14196 if (PyErr_Occurred()) SWIG_fail
;
14198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14199 (arg1
)->SetFlags(arg2
);
14201 wxPyEndAllowThreads(__tstate
);
14202 if (PyErr_Occurred()) SWIG_fail
;
14204 Py_INCREF(Py_None
); resultobj
= Py_None
;
14211 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14212 PyObject
*resultobj
;
14213 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14214 wxString
*arg2
= 0 ;
14215 bool temp2
= False
;
14216 PyObject
* obj0
= 0 ;
14217 PyObject
* obj1
= 0 ;
14218 char *kwnames
[] = {
14219 (char *) "self",(char *) "str", NULL
14222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
14223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14226 arg2
= wxString_in_helper(obj1
);
14227 if (arg2
== NULL
) SWIG_fail
;
14231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14232 (arg1
)->SetFindString((wxString
const &)*arg2
);
14234 wxPyEndAllowThreads(__tstate
);
14235 if (PyErr_Occurred()) SWIG_fail
;
14237 Py_INCREF(Py_None
); resultobj
= Py_None
;
14252 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14253 PyObject
*resultobj
;
14254 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14255 wxString
*arg2
= 0 ;
14256 bool temp2
= False
;
14257 PyObject
* obj0
= 0 ;
14258 PyObject
* obj1
= 0 ;
14259 char *kwnames
[] = {
14260 (char *) "self",(char *) "str", NULL
14263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
14264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14267 arg2
= wxString_in_helper(obj1
);
14268 if (arg2
== NULL
) SWIG_fail
;
14272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14273 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
14275 wxPyEndAllowThreads(__tstate
);
14276 if (PyErr_Occurred()) SWIG_fail
;
14278 Py_INCREF(Py_None
); resultobj
= Py_None
;
14293 static PyObject
* FindDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
14295 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14296 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
14298 return Py_BuildValue((char *)"");
14300 static PyObject
*_wrap_new_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14301 PyObject
*resultobj
;
14302 int arg1
= (int) 0 ;
14303 wxFindReplaceData
*result
;
14304 PyObject
* obj0
= 0 ;
14305 char *kwnames
[] = {
14306 (char *) "flags", NULL
14309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
14311 arg1
= (int)SWIG_As_int(obj0
);
14312 if (PyErr_Occurred()) SWIG_fail
;
14315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14316 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
14318 wxPyEndAllowThreads(__tstate
);
14319 if (PyErr_Occurred()) SWIG_fail
;
14321 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
14328 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14329 PyObject
*resultobj
;
14330 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14331 PyObject
* obj0
= 0 ;
14332 char *kwnames
[] = {
14333 (char *) "self", NULL
14336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
14337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14343 wxPyEndAllowThreads(__tstate
);
14344 if (PyErr_Occurred()) SWIG_fail
;
14346 Py_INCREF(Py_None
); resultobj
= Py_None
;
14353 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14354 PyObject
*resultobj
;
14355 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14357 PyObject
* obj0
= 0 ;
14358 char *kwnames
[] = {
14359 (char *) "self", NULL
14362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
14363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14368 wxString
const &_result_ref
= (arg1
)->GetFindString();
14369 result
= (wxString
*) &_result_ref
;
14372 wxPyEndAllowThreads(__tstate
);
14373 if (PyErr_Occurred()) SWIG_fail
;
14377 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14379 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14388 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14389 PyObject
*resultobj
;
14390 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14392 PyObject
* obj0
= 0 ;
14393 char *kwnames
[] = {
14394 (char *) "self", NULL
14397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
14398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14403 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
14404 result
= (wxString
*) &_result_ref
;
14407 wxPyEndAllowThreads(__tstate
);
14408 if (PyErr_Occurred()) SWIG_fail
;
14412 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14414 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14423 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14424 PyObject
*resultobj
;
14425 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14427 PyObject
* obj0
= 0 ;
14428 char *kwnames
[] = {
14429 (char *) "self", NULL
14432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
14433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14437 result
= (int)(arg1
)->GetFlags();
14439 wxPyEndAllowThreads(__tstate
);
14440 if (PyErr_Occurred()) SWIG_fail
;
14442 resultobj
= SWIG_From_int((int)result
);
14449 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14450 PyObject
*resultobj
;
14451 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14453 PyObject
* obj0
= 0 ;
14454 PyObject
* obj1
= 0 ;
14455 char *kwnames
[] = {
14456 (char *) "self",(char *) "flags", NULL
14459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
14460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14462 arg2
= (int)SWIG_As_int(obj1
);
14463 if (PyErr_Occurred()) SWIG_fail
;
14465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14466 (arg1
)->SetFlags(arg2
);
14468 wxPyEndAllowThreads(__tstate
);
14469 if (PyErr_Occurred()) SWIG_fail
;
14471 Py_INCREF(Py_None
); resultobj
= Py_None
;
14478 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14479 PyObject
*resultobj
;
14480 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14481 wxString
*arg2
= 0 ;
14482 bool temp2
= False
;
14483 PyObject
* obj0
= 0 ;
14484 PyObject
* obj1
= 0 ;
14485 char *kwnames
[] = {
14486 (char *) "self",(char *) "str", NULL
14489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
14490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14493 arg2
= wxString_in_helper(obj1
);
14494 if (arg2
== NULL
) SWIG_fail
;
14498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14499 (arg1
)->SetFindString((wxString
const &)*arg2
);
14501 wxPyEndAllowThreads(__tstate
);
14502 if (PyErr_Occurred()) SWIG_fail
;
14504 Py_INCREF(Py_None
); resultobj
= Py_None
;
14519 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14520 PyObject
*resultobj
;
14521 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14522 wxString
*arg2
= 0 ;
14523 bool temp2
= False
;
14524 PyObject
* obj0
= 0 ;
14525 PyObject
* obj1
= 0 ;
14526 char *kwnames
[] = {
14527 (char *) "self",(char *) "str", NULL
14530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
14531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14534 arg2
= wxString_in_helper(obj1
);
14535 if (arg2
== NULL
) SWIG_fail
;
14539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14540 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
14542 wxPyEndAllowThreads(__tstate
);
14543 if (PyErr_Occurred()) SWIG_fail
;
14545 Py_INCREF(Py_None
); resultobj
= Py_None
;
14560 static PyObject
* FindReplaceData_swigregister(PyObject
*, PyObject
*args
) {
14562 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14563 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
14565 return Py_BuildValue((char *)"");
14567 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14568 PyObject
*resultobj
;
14569 wxWindow
*arg1
= (wxWindow
*) 0 ;
14570 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14571 wxString
*arg3
= 0 ;
14572 int arg4
= (int) 0 ;
14573 wxFindReplaceDialog
*result
;
14574 bool temp3
= False
;
14575 PyObject
* obj0
= 0 ;
14576 PyObject
* obj1
= 0 ;
14577 PyObject
* obj2
= 0 ;
14578 PyObject
* obj3
= 0 ;
14579 char *kwnames
[] = {
14580 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14586 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14589 arg3
= wxString_in_helper(obj2
);
14590 if (arg3
== NULL
) SWIG_fail
;
14594 arg4
= (int)SWIG_As_int(obj3
);
14595 if (PyErr_Occurred()) SWIG_fail
;
14598 if (!wxPyCheckForApp()) SWIG_fail
;
14599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14600 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
14602 wxPyEndAllowThreads(__tstate
);
14603 if (PyErr_Occurred()) SWIG_fail
;
14605 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14620 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14621 PyObject
*resultobj
;
14622 wxFindReplaceDialog
*result
;
14623 char *kwnames
[] = {
14627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
14629 if (!wxPyCheckForApp()) SWIG_fail
;
14630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14631 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
14633 wxPyEndAllowThreads(__tstate
);
14634 if (PyErr_Occurred()) SWIG_fail
;
14636 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14643 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14644 PyObject
*resultobj
;
14645 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14646 wxWindow
*arg2
= (wxWindow
*) 0 ;
14647 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
14648 wxString
*arg4
= 0 ;
14649 int arg5
= (int) 0 ;
14651 bool temp4
= False
;
14652 PyObject
* obj0
= 0 ;
14653 PyObject
* obj1
= 0 ;
14654 PyObject
* obj2
= 0 ;
14655 PyObject
* obj3
= 0 ;
14656 PyObject
* obj4
= 0 ;
14657 char *kwnames
[] = {
14658 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14664 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14666 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFindReplaceData
,
14667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14669 arg4
= wxString_in_helper(obj3
);
14670 if (arg4
== NULL
) SWIG_fail
;
14674 arg5
= (int)SWIG_As_int(obj4
);
14675 if (PyErr_Occurred()) SWIG_fail
;
14678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14679 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14681 wxPyEndAllowThreads(__tstate
);
14682 if (PyErr_Occurred()) SWIG_fail
;
14685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14701 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14702 PyObject
*resultobj
;
14703 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14704 wxFindReplaceData
*result
;
14705 PyObject
* obj0
= 0 ;
14706 char *kwnames
[] = {
14707 (char *) "self", NULL
14710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
14711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14715 result
= (wxFindReplaceData
*)(arg1
)->GetData();
14717 wxPyEndAllowThreads(__tstate
);
14718 if (PyErr_Occurred()) SWIG_fail
;
14720 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
14727 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14728 PyObject
*resultobj
;
14729 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14730 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14731 PyObject
* obj0
= 0 ;
14732 PyObject
* obj1
= 0 ;
14733 char *kwnames
[] = {
14734 (char *) "self",(char *) "data", NULL
14737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
14738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14740 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14744 (arg1
)->SetData(arg2
);
14746 wxPyEndAllowThreads(__tstate
);
14747 if (PyErr_Occurred()) SWIG_fail
;
14749 Py_INCREF(Py_None
); resultobj
= Py_None
;
14756 static PyObject
* FindReplaceDialog_swigregister(PyObject
*, PyObject
*args
) {
14758 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14759 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
14761 return Py_BuildValue((char *)"");
14763 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14764 PyObject
*resultobj
;
14765 wxWindow
*arg1
= (wxWindow
*) 0 ;
14766 int arg2
= (int) (int)-1 ;
14767 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14768 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14769 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14770 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14771 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14772 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14773 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14774 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14775 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14776 wxMDIParentFrame
*result
;
14777 bool temp3
= False
;
14780 bool temp7
= False
;
14781 PyObject
* obj0
= 0 ;
14782 PyObject
* obj1
= 0 ;
14783 PyObject
* obj2
= 0 ;
14784 PyObject
* obj3
= 0 ;
14785 PyObject
* obj4
= 0 ;
14786 PyObject
* obj5
= 0 ;
14787 PyObject
* obj6
= 0 ;
14788 char *kwnames
[] = {
14789 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14796 arg2
= (int)SWIG_As_int(obj1
);
14797 if (PyErr_Occurred()) SWIG_fail
;
14801 arg3
= wxString_in_helper(obj2
);
14802 if (arg3
== NULL
) SWIG_fail
;
14809 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14815 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14819 arg6
= (long)SWIG_As_long(obj5
);
14820 if (PyErr_Occurred()) SWIG_fail
;
14824 arg7
= wxString_in_helper(obj6
);
14825 if (arg7
== NULL
) SWIG_fail
;
14830 if (!wxPyCheckForApp()) SWIG_fail
;
14831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14832 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14834 wxPyEndAllowThreads(__tstate
);
14835 if (PyErr_Occurred()) SWIG_fail
;
14837 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14860 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14861 PyObject
*resultobj
;
14862 wxMDIParentFrame
*result
;
14863 char *kwnames
[] = {
14867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
14869 if (!wxPyCheckForApp()) SWIG_fail
;
14870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14871 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
14873 wxPyEndAllowThreads(__tstate
);
14874 if (PyErr_Occurred()) SWIG_fail
;
14876 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14883 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14884 PyObject
*resultobj
;
14885 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14886 wxWindow
*arg2
= (wxWindow
*) 0 ;
14887 int arg3
= (int) (int)-1 ;
14888 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14889 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14890 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14891 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14892 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14893 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14894 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14895 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14896 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14898 bool temp4
= False
;
14901 bool temp8
= False
;
14902 PyObject
* obj0
= 0 ;
14903 PyObject
* obj1
= 0 ;
14904 PyObject
* obj2
= 0 ;
14905 PyObject
* obj3
= 0 ;
14906 PyObject
* obj4
= 0 ;
14907 PyObject
* obj5
= 0 ;
14908 PyObject
* obj6
= 0 ;
14909 PyObject
* obj7
= 0 ;
14910 char *kwnames
[] = {
14911 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14917 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14920 arg3
= (int)SWIG_As_int(obj2
);
14921 if (PyErr_Occurred()) SWIG_fail
;
14925 arg4
= wxString_in_helper(obj3
);
14926 if (arg4
== NULL
) SWIG_fail
;
14933 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14939 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14943 arg7
= (long)SWIG_As_long(obj6
);
14944 if (PyErr_Occurred()) SWIG_fail
;
14948 arg8
= wxString_in_helper(obj7
);
14949 if (arg8
== NULL
) SWIG_fail
;
14954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14955 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14957 wxPyEndAllowThreads(__tstate
);
14958 if (PyErr_Occurred()) SWIG_fail
;
14961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14985 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14986 PyObject
*resultobj
;
14987 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14988 PyObject
* obj0
= 0 ;
14989 char *kwnames
[] = {
14990 (char *) "self", NULL
14993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
14994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14998 (arg1
)->ActivateNext();
15000 wxPyEndAllowThreads(__tstate
);
15001 if (PyErr_Occurred()) SWIG_fail
;
15003 Py_INCREF(Py_None
); resultobj
= Py_None
;
15010 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15011 PyObject
*resultobj
;
15012 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15013 PyObject
* obj0
= 0 ;
15014 char *kwnames
[] = {
15015 (char *) "self", NULL
15018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
15019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15023 (arg1
)->ActivatePrevious();
15025 wxPyEndAllowThreads(__tstate
);
15026 if (PyErr_Occurred()) SWIG_fail
;
15028 Py_INCREF(Py_None
); resultobj
= Py_None
;
15035 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15036 PyObject
*resultobj
;
15037 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15038 PyObject
* obj0
= 0 ;
15039 char *kwnames
[] = {
15040 (char *) "self", NULL
15043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
15044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15048 (arg1
)->ArrangeIcons();
15050 wxPyEndAllowThreads(__tstate
);
15051 if (PyErr_Occurred()) SWIG_fail
;
15053 Py_INCREF(Py_None
); resultobj
= Py_None
;
15060 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15061 PyObject
*resultobj
;
15062 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15063 PyObject
* obj0
= 0 ;
15064 char *kwnames
[] = {
15065 (char *) "self", NULL
15068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
15069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15075 wxPyEndAllowThreads(__tstate
);
15076 if (PyErr_Occurred()) SWIG_fail
;
15078 Py_INCREF(Py_None
); resultobj
= Py_None
;
15085 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15086 PyObject
*resultobj
;
15087 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15088 wxMDIChildFrame
*result
;
15089 PyObject
* obj0
= 0 ;
15090 char *kwnames
[] = {
15091 (char *) "self", NULL
15094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
15095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15099 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
15101 wxPyEndAllowThreads(__tstate
);
15102 if (PyErr_Occurred()) SWIG_fail
;
15105 resultobj
= wxPyMake_wxObject(result
, 0);
15113 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15114 PyObject
*resultobj
;
15115 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15116 wxMDIClientWindow
*result
;
15117 PyObject
* obj0
= 0 ;
15118 char *kwnames
[] = {
15119 (char *) "self", NULL
15122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
15123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15127 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
15129 wxPyEndAllowThreads(__tstate
);
15130 if (PyErr_Occurred()) SWIG_fail
;
15133 resultobj
= wxPyMake_wxObject(result
, 0);
15141 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15142 PyObject
*resultobj
;
15143 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15145 PyObject
* obj0
= 0 ;
15146 char *kwnames
[] = {
15147 (char *) "self", NULL
15150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
15151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15155 result
= (wxWindow
*)(arg1
)->GetToolBar();
15157 wxPyEndAllowThreads(__tstate
);
15158 if (PyErr_Occurred()) SWIG_fail
;
15161 resultobj
= wxPyMake_wxObject(result
, 0);
15169 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15170 PyObject
*resultobj
;
15171 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15172 PyObject
* obj0
= 0 ;
15173 char *kwnames
[] = {
15174 (char *) "self", NULL
15177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
15178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15184 wxPyEndAllowThreads(__tstate
);
15185 if (PyErr_Occurred()) SWIG_fail
;
15187 Py_INCREF(Py_None
); resultobj
= Py_None
;
15194 static PyObject
* MDIParentFrame_swigregister(PyObject
*, PyObject
*args
) {
15196 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15197 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
15199 return Py_BuildValue((char *)"");
15201 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15202 PyObject
*resultobj
;
15203 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15204 int arg2
= (int) (int)-1 ;
15205 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15206 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15207 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15208 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15209 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15210 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15211 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
15212 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
15213 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15214 wxMDIChildFrame
*result
;
15215 bool temp3
= False
;
15218 bool temp7
= False
;
15219 PyObject
* obj0
= 0 ;
15220 PyObject
* obj1
= 0 ;
15221 PyObject
* obj2
= 0 ;
15222 PyObject
* obj3
= 0 ;
15223 PyObject
* obj4
= 0 ;
15224 PyObject
* obj5
= 0 ;
15225 PyObject
* obj6
= 0 ;
15226 char *kwnames
[] = {
15227 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15234 arg2
= (int)SWIG_As_int(obj1
);
15235 if (PyErr_Occurred()) SWIG_fail
;
15239 arg3
= wxString_in_helper(obj2
);
15240 if (arg3
== NULL
) SWIG_fail
;
15247 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15253 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15257 arg6
= (long)SWIG_As_long(obj5
);
15258 if (PyErr_Occurred()) SWIG_fail
;
15262 arg7
= wxString_in_helper(obj6
);
15263 if (arg7
== NULL
) SWIG_fail
;
15268 if (!wxPyCheckForApp()) SWIG_fail
;
15269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15270 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15272 wxPyEndAllowThreads(__tstate
);
15273 if (PyErr_Occurred()) SWIG_fail
;
15275 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
15298 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15299 PyObject
*resultobj
;
15300 wxMDIChildFrame
*result
;
15301 char *kwnames
[] = {
15305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
15307 if (!wxPyCheckForApp()) SWIG_fail
;
15308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15309 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
15311 wxPyEndAllowThreads(__tstate
);
15312 if (PyErr_Occurred()) SWIG_fail
;
15314 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
15321 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15322 PyObject
*resultobj
;
15323 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15324 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
15325 int arg3
= (int) (int)-1 ;
15326 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15327 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15328 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15329 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15330 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15331 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15332 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
15333 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
15334 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15336 bool temp4
= False
;
15339 bool temp8
= False
;
15340 PyObject
* obj0
= 0 ;
15341 PyObject
* obj1
= 0 ;
15342 PyObject
* obj2
= 0 ;
15343 PyObject
* obj3
= 0 ;
15344 PyObject
* obj4
= 0 ;
15345 PyObject
* obj5
= 0 ;
15346 PyObject
* obj6
= 0 ;
15347 PyObject
* obj7
= 0 ;
15348 char *kwnames
[] = {
15349 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
15353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15355 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
15356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15358 arg3
= (int)SWIG_As_int(obj2
);
15359 if (PyErr_Occurred()) SWIG_fail
;
15363 arg4
= wxString_in_helper(obj3
);
15364 if (arg4
== NULL
) SWIG_fail
;
15371 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15377 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15381 arg7
= (long)SWIG_As_long(obj6
);
15382 if (PyErr_Occurred()) SWIG_fail
;
15386 arg8
= wxString_in_helper(obj7
);
15387 if (arg8
== NULL
) SWIG_fail
;
15392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15393 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
15395 wxPyEndAllowThreads(__tstate
);
15396 if (PyErr_Occurred()) SWIG_fail
;
15399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15423 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15424 PyObject
*resultobj
;
15425 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15426 PyObject
* obj0
= 0 ;
15427 char *kwnames
[] = {
15428 (char *) "self", NULL
15431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
15432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15436 (arg1
)->Activate();
15438 wxPyEndAllowThreads(__tstate
);
15439 if (PyErr_Occurred()) SWIG_fail
;
15441 Py_INCREF(Py_None
); resultobj
= Py_None
;
15448 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15449 PyObject
*resultobj
;
15450 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15452 PyObject
* obj0
= 0 ;
15453 PyObject
* obj1
= 0 ;
15454 char *kwnames
[] = {
15455 (char *) "self",(char *) "maximize", NULL
15458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
15459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15461 arg2
= (bool)SWIG_As_bool(obj1
);
15462 if (PyErr_Occurred()) SWIG_fail
;
15464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15465 (arg1
)->Maximize(arg2
);
15467 wxPyEndAllowThreads(__tstate
);
15468 if (PyErr_Occurred()) SWIG_fail
;
15470 Py_INCREF(Py_None
); resultobj
= Py_None
;
15477 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15478 PyObject
*resultobj
;
15479 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15480 PyObject
* obj0
= 0 ;
15481 char *kwnames
[] = {
15482 (char *) "self", NULL
15485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
15486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15492 wxPyEndAllowThreads(__tstate
);
15493 if (PyErr_Occurred()) SWIG_fail
;
15495 Py_INCREF(Py_None
); resultobj
= Py_None
;
15502 static PyObject
* MDIChildFrame_swigregister(PyObject
*, PyObject
*args
) {
15504 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15505 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
15507 return Py_BuildValue((char *)"");
15509 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15510 PyObject
*resultobj
;
15511 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15512 long arg2
= (long) 0 ;
15513 wxMDIClientWindow
*result
;
15514 PyObject
* obj0
= 0 ;
15515 PyObject
* obj1
= 0 ;
15516 char *kwnames
[] = {
15517 (char *) "parent",(char *) "style", NULL
15520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
15521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15524 arg2
= (long)SWIG_As_long(obj1
);
15525 if (PyErr_Occurred()) SWIG_fail
;
15528 if (!wxPyCheckForApp()) SWIG_fail
;
15529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15530 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
15532 wxPyEndAllowThreads(__tstate
);
15533 if (PyErr_Occurred()) SWIG_fail
;
15535 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
15542 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15543 PyObject
*resultobj
;
15544 wxMDIClientWindow
*result
;
15545 char *kwnames
[] = {
15549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
15551 if (!wxPyCheckForApp()) SWIG_fail
;
15552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15553 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
15555 wxPyEndAllowThreads(__tstate
);
15556 if (PyErr_Occurred()) SWIG_fail
;
15558 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
15565 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15566 PyObject
*resultobj
;
15567 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
15568 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
15569 long arg3
= (long) 0 ;
15571 PyObject
* obj0
= 0 ;
15572 PyObject
* obj1
= 0 ;
15573 PyObject
* obj2
= 0 ;
15574 char *kwnames
[] = {
15575 (char *) "self",(char *) "parent",(char *) "style", NULL
15578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIClientWindow
,
15580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15581 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
15582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15584 arg3
= (long)SWIG_As_long(obj2
);
15585 if (PyErr_Occurred()) SWIG_fail
;
15588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15589 result
= (bool)(arg1
)->Create(arg2
,arg3
);
15591 wxPyEndAllowThreads(__tstate
);
15592 if (PyErr_Occurred()) SWIG_fail
;
15595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15603 static PyObject
* MDIClientWindow_swigregister(PyObject
*, PyObject
*args
) {
15605 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15606 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
15608 return Py_BuildValue((char *)"");
15610 static PyObject
*_wrap_new_PyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15611 PyObject
*resultobj
;
15612 wxWindow
*arg1
= (wxWindow
*) 0 ;
15613 int arg2
= (int) (int)-1 ;
15614 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15615 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15616 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15617 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15618 long arg5
= (long) 0 ;
15619 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15620 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15621 wxPyWindow
*result
;
15624 bool temp6
= False
;
15625 PyObject
* obj0
= 0 ;
15626 PyObject
* obj1
= 0 ;
15627 PyObject
* obj2
= 0 ;
15628 PyObject
* obj3
= 0 ;
15629 PyObject
* obj4
= 0 ;
15630 PyObject
* obj5
= 0 ;
15631 char *kwnames
[] = {
15632 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15639 arg2
= (int)SWIG_As_int(obj1
);
15640 if (PyErr_Occurred()) SWIG_fail
;
15645 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15651 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15655 arg5
= (long)SWIG_As_long(obj4
);
15656 if (PyErr_Occurred()) SWIG_fail
;
15660 arg6
= wxString_in_helper(obj5
);
15661 if (arg6
== NULL
) SWIG_fail
;
15666 if (!wxPyCheckForApp()) SWIG_fail
;
15667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15668 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15670 wxPyEndAllowThreads(__tstate
);
15671 if (PyErr_Occurred()) SWIG_fail
;
15673 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15688 static PyObject
*_wrap_new_PrePyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15689 PyObject
*resultobj
;
15690 wxPyWindow
*result
;
15691 char *kwnames
[] = {
15695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyWindow",kwnames
)) goto fail
;
15697 if (!wxPyCheckForApp()) SWIG_fail
;
15698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15699 result
= (wxPyWindow
*)new wxPyWindow();
15701 wxPyEndAllowThreads(__tstate
);
15702 if (PyErr_Occurred()) SWIG_fail
;
15704 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15711 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15712 PyObject
*resultobj
;
15713 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15714 PyObject
*arg2
= (PyObject
*) 0 ;
15715 PyObject
*arg3
= (PyObject
*) 0 ;
15716 PyObject
* obj0
= 0 ;
15717 PyObject
* obj1
= 0 ;
15718 PyObject
* obj2
= 0 ;
15719 char *kwnames
[] = {
15720 (char *) "self",(char *) "self",(char *) "_class", NULL
15723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15730 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15732 wxPyEndAllowThreads(__tstate
);
15733 if (PyErr_Occurred()) SWIG_fail
;
15735 Py_INCREF(Py_None
); resultobj
= Py_None
;
15742 static PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15743 PyObject
*resultobj
;
15744 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15747 PyObject
* obj0
= 0 ;
15748 PyObject
* obj1
= 0 ;
15749 char *kwnames
[] = {
15750 (char *) "self",(char *) "size", NULL
15753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15758 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15762 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
15764 wxPyEndAllowThreads(__tstate
);
15765 if (PyErr_Occurred()) SWIG_fail
;
15767 Py_INCREF(Py_None
); resultobj
= Py_None
;
15774 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15775 PyObject
*resultobj
;
15776 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15781 PyObject
* obj0
= 0 ;
15782 PyObject
* obj1
= 0 ;
15783 PyObject
* obj2
= 0 ;
15784 PyObject
* obj3
= 0 ;
15785 PyObject
* obj4
= 0 ;
15786 char *kwnames
[] = {
15787 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15793 arg2
= (int)SWIG_As_int(obj1
);
15794 if (PyErr_Occurred()) SWIG_fail
;
15795 arg3
= (int)SWIG_As_int(obj2
);
15796 if (PyErr_Occurred()) SWIG_fail
;
15797 arg4
= (int)SWIG_As_int(obj3
);
15798 if (PyErr_Occurred()) SWIG_fail
;
15799 arg5
= (int)SWIG_As_int(obj4
);
15800 if (PyErr_Occurred()) SWIG_fail
;
15802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15803 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
15805 wxPyEndAllowThreads(__tstate
);
15806 if (PyErr_Occurred()) SWIG_fail
;
15808 Py_INCREF(Py_None
); resultobj
= Py_None
;
15815 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15816 PyObject
*resultobj
;
15817 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15822 int arg6
= (int) wxSIZE_AUTO
;
15823 PyObject
* obj0
= 0 ;
15824 PyObject
* obj1
= 0 ;
15825 PyObject
* obj2
= 0 ;
15826 PyObject
* obj3
= 0 ;
15827 PyObject
* obj4
= 0 ;
15828 PyObject
* obj5
= 0 ;
15829 char *kwnames
[] = {
15830 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15836 arg2
= (int)SWIG_As_int(obj1
);
15837 if (PyErr_Occurred()) SWIG_fail
;
15838 arg3
= (int)SWIG_As_int(obj2
);
15839 if (PyErr_Occurred()) SWIG_fail
;
15840 arg4
= (int)SWIG_As_int(obj3
);
15841 if (PyErr_Occurred()) SWIG_fail
;
15842 arg5
= (int)SWIG_As_int(obj4
);
15843 if (PyErr_Occurred()) SWIG_fail
;
15845 arg6
= (int)SWIG_As_int(obj5
);
15846 if (PyErr_Occurred()) SWIG_fail
;
15849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15850 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
15852 wxPyEndAllowThreads(__tstate
);
15853 if (PyErr_Occurred()) SWIG_fail
;
15855 Py_INCREF(Py_None
); resultobj
= Py_None
;
15862 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15863 PyObject
*resultobj
;
15864 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15867 PyObject
* obj0
= 0 ;
15868 PyObject
* obj1
= 0 ;
15869 PyObject
* obj2
= 0 ;
15870 char *kwnames
[] = {
15871 (char *) "self",(char *) "width",(char *) "height", NULL
15874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15877 arg2
= (int)SWIG_As_int(obj1
);
15878 if (PyErr_Occurred()) SWIG_fail
;
15879 arg3
= (int)SWIG_As_int(obj2
);
15880 if (PyErr_Occurred()) SWIG_fail
;
15882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15883 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
15885 wxPyEndAllowThreads(__tstate
);
15886 if (PyErr_Occurred()) SWIG_fail
;
15888 Py_INCREF(Py_None
); resultobj
= Py_None
;
15895 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15896 PyObject
*resultobj
;
15897 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15900 PyObject
* obj0
= 0 ;
15901 PyObject
* obj1
= 0 ;
15902 PyObject
* obj2
= 0 ;
15903 char *kwnames
[] = {
15904 (char *) "self",(char *) "x",(char *) "y", NULL
15907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15910 arg2
= (int)SWIG_As_int(obj1
);
15911 if (PyErr_Occurred()) SWIG_fail
;
15912 arg3
= (int)SWIG_As_int(obj2
);
15913 if (PyErr_Occurred()) SWIG_fail
;
15915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15916 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
15918 wxPyEndAllowThreads(__tstate
);
15919 if (PyErr_Occurred()) SWIG_fail
;
15921 Py_INCREF(Py_None
); resultobj
= Py_None
;
15928 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15929 PyObject
*resultobj
;
15930 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15931 int *arg2
= (int *) 0 ;
15932 int *arg3
= (int *) 0 ;
15937 PyObject
* obj0
= 0 ;
15938 char *kwnames
[] = {
15939 (char *) "self", NULL
15942 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
15943 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
15945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15949 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
15951 wxPyEndAllowThreads(__tstate
);
15952 if (PyErr_Occurred()) SWIG_fail
;
15954 Py_INCREF(Py_None
); resultobj
= Py_None
;
15955 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
15956 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
15957 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15958 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15965 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15966 PyObject
*resultobj
;
15967 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15968 int *arg2
= (int *) 0 ;
15969 int *arg3
= (int *) 0 ;
15974 PyObject
* obj0
= 0 ;
15975 char *kwnames
[] = {
15976 (char *) "self", NULL
15979 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
15980 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
15982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15986 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
15988 wxPyEndAllowThreads(__tstate
);
15989 if (PyErr_Occurred()) SWIG_fail
;
15991 Py_INCREF(Py_None
); resultobj
= Py_None
;
15992 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
15993 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
15994 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15995 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16002 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16003 PyObject
*resultobj
;
16004 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16005 int *arg2
= (int *) 0 ;
16006 int *arg3
= (int *) 0 ;
16011 PyObject
* obj0
= 0 ;
16012 char *kwnames
[] = {
16013 (char *) "self", NULL
16016 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16017 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
16019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16023 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
16025 wxPyEndAllowThreads(__tstate
);
16026 if (PyErr_Occurred()) SWIG_fail
;
16028 Py_INCREF(Py_None
); resultobj
= Py_None
;
16029 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16030 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16031 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16032 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16039 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16040 PyObject
*resultobj
;
16041 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16043 PyObject
* obj0
= 0 ;
16044 char *kwnames
[] = {
16045 (char *) "self", NULL
16048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
16049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16053 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
16055 wxPyEndAllowThreads(__tstate
);
16056 if (PyErr_Occurred()) SWIG_fail
;
16059 wxSize
* resultptr
;
16060 resultptr
= new wxSize((wxSize
&) result
);
16061 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16069 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16070 PyObject
*resultobj
;
16071 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16073 PyObject
* obj0
= 0 ;
16074 char *kwnames
[] = {
16075 (char *) "self", NULL
16078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
16079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16083 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
16085 wxPyEndAllowThreads(__tstate
);
16086 if (PyErr_Occurred()) SWIG_fail
;
16089 wxSize
* resultptr
;
16090 resultptr
= new wxSize((wxSize
&) result
);
16091 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16099 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16100 PyObject
*resultobj
;
16101 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16102 PyObject
* obj0
= 0 ;
16103 char *kwnames
[] = {
16104 (char *) "self", NULL
16107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
16108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16112 (arg1
)->base_InitDialog();
16114 wxPyEndAllowThreads(__tstate
);
16115 if (PyErr_Occurred()) SWIG_fail
;
16117 Py_INCREF(Py_None
); resultobj
= Py_None
;
16124 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16125 PyObject
*resultobj
;
16126 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16128 PyObject
* obj0
= 0 ;
16129 char *kwnames
[] = {
16130 (char *) "self", NULL
16133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
16134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16138 result
= (bool)(arg1
)->base_TransferDataToWindow();
16140 wxPyEndAllowThreads(__tstate
);
16141 if (PyErr_Occurred()) SWIG_fail
;
16144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16152 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16153 PyObject
*resultobj
;
16154 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16156 PyObject
* obj0
= 0 ;
16157 char *kwnames
[] = {
16158 (char *) "self", NULL
16161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
16162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16166 result
= (bool)(arg1
)->base_TransferDataFromWindow();
16168 wxPyEndAllowThreads(__tstate
);
16169 if (PyErr_Occurred()) SWIG_fail
;
16172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16180 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16181 PyObject
*resultobj
;
16182 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16184 PyObject
* obj0
= 0 ;
16185 char *kwnames
[] = {
16186 (char *) "self", NULL
16189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
16190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16194 result
= (bool)(arg1
)->base_Validate();
16196 wxPyEndAllowThreads(__tstate
);
16197 if (PyErr_Occurred()) SWIG_fail
;
16200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16208 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16209 PyObject
*resultobj
;
16210 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16212 PyObject
* obj0
= 0 ;
16213 char *kwnames
[] = {
16214 (char *) "self", NULL
16217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
16218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16222 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
16224 wxPyEndAllowThreads(__tstate
);
16225 if (PyErr_Occurred()) SWIG_fail
;
16228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16236 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16237 PyObject
*resultobj
;
16238 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16240 PyObject
* obj0
= 0 ;
16241 char *kwnames
[] = {
16242 (char *) "self", NULL
16245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
16246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16250 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
16252 wxPyEndAllowThreads(__tstate
);
16253 if (PyErr_Occurred()) SWIG_fail
;
16256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16264 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16265 PyObject
*resultobj
;
16266 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16268 PyObject
* obj0
= 0 ;
16269 char *kwnames
[] = {
16270 (char *) "self", NULL
16273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
16274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16278 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
16280 wxPyEndAllowThreads(__tstate
);
16281 if (PyErr_Occurred()) SWIG_fail
;
16284 wxSize
* resultptr
;
16285 resultptr
= new wxSize((wxSize
&) result
);
16286 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16294 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16295 PyObject
*resultobj
;
16296 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16297 wxWindow
*arg2
= (wxWindow
*) 0 ;
16298 PyObject
* obj0
= 0 ;
16299 PyObject
* obj1
= 0 ;
16300 char *kwnames
[] = {
16301 (char *) "self",(char *) "child", NULL
16304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16307 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16311 (arg1
)->base_AddChild(arg2
);
16313 wxPyEndAllowThreads(__tstate
);
16314 if (PyErr_Occurred()) SWIG_fail
;
16316 Py_INCREF(Py_None
); resultobj
= Py_None
;
16323 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16324 PyObject
*resultobj
;
16325 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16326 wxWindow
*arg2
= (wxWindow
*) 0 ;
16327 PyObject
* obj0
= 0 ;
16328 PyObject
* obj1
= 0 ;
16329 char *kwnames
[] = {
16330 (char *) "self",(char *) "child", NULL
16333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16336 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16340 (arg1
)->base_RemoveChild(arg2
);
16342 wxPyEndAllowThreads(__tstate
);
16343 if (PyErr_Occurred()) SWIG_fail
;
16345 Py_INCREF(Py_None
); resultobj
= Py_None
;
16352 static PyObject
*_wrap_PyWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16353 PyObject
*resultobj
;
16354 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16356 PyObject
* obj0
= 0 ;
16357 char *kwnames
[] = {
16358 (char *) "self", NULL
16361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
16362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16366 result
= (bool)((wxPyWindow
const *)arg1
)->base_ShouldInheritColours();
16368 wxPyEndAllowThreads(__tstate
);
16369 if (PyErr_Occurred()) SWIG_fail
;
16372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16380 static PyObject
*_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16381 PyObject
*resultobj
;
16382 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16383 wxColour
*arg2
= 0 ;
16385 PyObject
* obj0
= 0 ;
16386 PyObject
* obj1
= 0 ;
16387 char *kwnames
[] = {
16388 (char *) "self",(char *) "c", NULL
16391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
16392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16396 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16400 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
16402 wxPyEndAllowThreads(__tstate
);
16403 if (PyErr_Occurred()) SWIG_fail
;
16405 Py_INCREF(Py_None
); resultobj
= Py_None
;
16412 static PyObject
*_wrap_PyWindow_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16413 PyObject
*resultobj
;
16414 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16415 wxVisualAttributes result
;
16416 PyObject
* obj0
= 0 ;
16417 char *kwnames
[] = {
16418 (char *) "self", NULL
16421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetDefaultAttributes",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
= (arg1
)->base_GetDefaultAttributes();
16428 wxPyEndAllowThreads(__tstate
);
16429 if (PyErr_Occurred()) SWIG_fail
;
16432 wxVisualAttributes
* resultptr
;
16433 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
16434 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16442 static PyObject
* PyWindow_swigregister(PyObject
*, PyObject
*args
) {
16444 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16445 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
16447 return Py_BuildValue((char *)"");
16449 static PyObject
*_wrap_new_PyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16450 PyObject
*resultobj
;
16451 wxWindow
*arg1
= (wxWindow
*) 0 ;
16452 int arg2
= (int) (int)-1 ;
16453 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16454 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16455 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16456 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16457 long arg5
= (long) 0 ;
16458 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
16459 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
16463 bool temp6
= False
;
16464 PyObject
* obj0
= 0 ;
16465 PyObject
* obj1
= 0 ;
16466 PyObject
* obj2
= 0 ;
16467 PyObject
* obj3
= 0 ;
16468 PyObject
* obj4
= 0 ;
16469 PyObject
* obj5
= 0 ;
16470 char *kwnames
[] = {
16471 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16478 arg2
= (int)SWIG_As_int(obj1
);
16479 if (PyErr_Occurred()) SWIG_fail
;
16484 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16490 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16494 arg5
= (long)SWIG_As_long(obj4
);
16495 if (PyErr_Occurred()) SWIG_fail
;
16499 arg6
= wxString_in_helper(obj5
);
16500 if (arg6
== NULL
) SWIG_fail
;
16505 if (!wxPyCheckForApp()) SWIG_fail
;
16506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16507 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
16509 wxPyEndAllowThreads(__tstate
);
16510 if (PyErr_Occurred()) SWIG_fail
;
16512 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
16527 static PyObject
*_wrap_new_PrePyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16528 PyObject
*resultobj
;
16530 char *kwnames
[] = {
16534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyPanel",kwnames
)) goto fail
;
16536 if (!wxPyCheckForApp()) SWIG_fail
;
16537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16538 result
= (wxPyPanel
*)new wxPyPanel();
16540 wxPyEndAllowThreads(__tstate
);
16541 if (PyErr_Occurred()) SWIG_fail
;
16543 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
16550 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16551 PyObject
*resultobj
;
16552 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16553 PyObject
*arg2
= (PyObject
*) 0 ;
16554 PyObject
*arg3
= (PyObject
*) 0 ;
16555 PyObject
* obj0
= 0 ;
16556 PyObject
* obj1
= 0 ;
16557 PyObject
* obj2
= 0 ;
16558 char *kwnames
[] = {
16559 (char *) "self",(char *) "self",(char *) "_class", NULL
16562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16569 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16571 wxPyEndAllowThreads(__tstate
);
16572 if (PyErr_Occurred()) SWIG_fail
;
16574 Py_INCREF(Py_None
); resultobj
= Py_None
;
16581 static PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16582 PyObject
*resultobj
;
16583 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16586 PyObject
* obj0
= 0 ;
16587 PyObject
* obj1
= 0 ;
16588 char *kwnames
[] = {
16589 (char *) "self",(char *) "size", NULL
16592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16597 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16601 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
16603 wxPyEndAllowThreads(__tstate
);
16604 if (PyErr_Occurred()) SWIG_fail
;
16606 Py_INCREF(Py_None
); resultobj
= Py_None
;
16613 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16614 PyObject
*resultobj
;
16615 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16620 PyObject
* obj0
= 0 ;
16621 PyObject
* obj1
= 0 ;
16622 PyObject
* obj2
= 0 ;
16623 PyObject
* obj3
= 0 ;
16624 PyObject
* obj4
= 0 ;
16625 char *kwnames
[] = {
16626 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16632 arg2
= (int)SWIG_As_int(obj1
);
16633 if (PyErr_Occurred()) SWIG_fail
;
16634 arg3
= (int)SWIG_As_int(obj2
);
16635 if (PyErr_Occurred()) SWIG_fail
;
16636 arg4
= (int)SWIG_As_int(obj3
);
16637 if (PyErr_Occurred()) SWIG_fail
;
16638 arg5
= (int)SWIG_As_int(obj4
);
16639 if (PyErr_Occurred()) SWIG_fail
;
16641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16642 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
16644 wxPyEndAllowThreads(__tstate
);
16645 if (PyErr_Occurred()) SWIG_fail
;
16647 Py_INCREF(Py_None
); resultobj
= Py_None
;
16654 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16655 PyObject
*resultobj
;
16656 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16661 int arg6
= (int) wxSIZE_AUTO
;
16662 PyObject
* obj0
= 0 ;
16663 PyObject
* obj1
= 0 ;
16664 PyObject
* obj2
= 0 ;
16665 PyObject
* obj3
= 0 ;
16666 PyObject
* obj4
= 0 ;
16667 PyObject
* obj5
= 0 ;
16668 char *kwnames
[] = {
16669 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16675 arg2
= (int)SWIG_As_int(obj1
);
16676 if (PyErr_Occurred()) SWIG_fail
;
16677 arg3
= (int)SWIG_As_int(obj2
);
16678 if (PyErr_Occurred()) SWIG_fail
;
16679 arg4
= (int)SWIG_As_int(obj3
);
16680 if (PyErr_Occurred()) SWIG_fail
;
16681 arg5
= (int)SWIG_As_int(obj4
);
16682 if (PyErr_Occurred()) SWIG_fail
;
16684 arg6
= (int)SWIG_As_int(obj5
);
16685 if (PyErr_Occurred()) SWIG_fail
;
16688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16689 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
16691 wxPyEndAllowThreads(__tstate
);
16692 if (PyErr_Occurred()) SWIG_fail
;
16694 Py_INCREF(Py_None
); resultobj
= Py_None
;
16701 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16702 PyObject
*resultobj
;
16703 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16706 PyObject
* obj0
= 0 ;
16707 PyObject
* obj1
= 0 ;
16708 PyObject
* obj2
= 0 ;
16709 char *kwnames
[] = {
16710 (char *) "self",(char *) "width",(char *) "height", NULL
16713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16716 arg2
= (int)SWIG_As_int(obj1
);
16717 if (PyErr_Occurred()) SWIG_fail
;
16718 arg3
= (int)SWIG_As_int(obj2
);
16719 if (PyErr_Occurred()) SWIG_fail
;
16721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16722 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
16724 wxPyEndAllowThreads(__tstate
);
16725 if (PyErr_Occurred()) SWIG_fail
;
16727 Py_INCREF(Py_None
); resultobj
= Py_None
;
16734 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16735 PyObject
*resultobj
;
16736 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16739 PyObject
* obj0
= 0 ;
16740 PyObject
* obj1
= 0 ;
16741 PyObject
* obj2
= 0 ;
16742 char *kwnames
[] = {
16743 (char *) "self",(char *) "x",(char *) "y", NULL
16746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16749 arg2
= (int)SWIG_As_int(obj1
);
16750 if (PyErr_Occurred()) SWIG_fail
;
16751 arg3
= (int)SWIG_As_int(obj2
);
16752 if (PyErr_Occurred()) SWIG_fail
;
16754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16755 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
16757 wxPyEndAllowThreads(__tstate
);
16758 if (PyErr_Occurred()) SWIG_fail
;
16760 Py_INCREF(Py_None
); resultobj
= Py_None
;
16767 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16768 PyObject
*resultobj
;
16769 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16770 int *arg2
= (int *) 0 ;
16771 int *arg3
= (int *) 0 ;
16776 PyObject
* obj0
= 0 ;
16777 char *kwnames
[] = {
16778 (char *) "self", NULL
16781 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16782 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
16784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16788 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
16790 wxPyEndAllowThreads(__tstate
);
16791 if (PyErr_Occurred()) SWIG_fail
;
16793 Py_INCREF(Py_None
); resultobj
= Py_None
;
16794 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16795 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16796 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16797 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16804 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16805 PyObject
*resultobj
;
16806 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16807 int *arg2
= (int *) 0 ;
16808 int *arg3
= (int *) 0 ;
16813 PyObject
* obj0
= 0 ;
16814 char *kwnames
[] = {
16815 (char *) "self", NULL
16818 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16819 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
16821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16825 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
16827 wxPyEndAllowThreads(__tstate
);
16828 if (PyErr_Occurred()) SWIG_fail
;
16830 Py_INCREF(Py_None
); resultobj
= Py_None
;
16831 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16832 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16833 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16834 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16841 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16842 PyObject
*resultobj
;
16843 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16844 int *arg2
= (int *) 0 ;
16845 int *arg3
= (int *) 0 ;
16850 PyObject
* obj0
= 0 ;
16851 char *kwnames
[] = {
16852 (char *) "self", NULL
16855 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16856 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
16858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16862 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
16864 wxPyEndAllowThreads(__tstate
);
16865 if (PyErr_Occurred()) SWIG_fail
;
16867 Py_INCREF(Py_None
); resultobj
= Py_None
;
16868 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16869 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16870 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16871 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16878 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16879 PyObject
*resultobj
;
16880 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16882 PyObject
* obj0
= 0 ;
16883 char *kwnames
[] = {
16884 (char *) "self", NULL
16887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
16888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16892 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
16894 wxPyEndAllowThreads(__tstate
);
16895 if (PyErr_Occurred()) SWIG_fail
;
16898 wxSize
* resultptr
;
16899 resultptr
= new wxSize((wxSize
&) result
);
16900 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16908 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16909 PyObject
*resultobj
;
16910 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16912 PyObject
* obj0
= 0 ;
16913 char *kwnames
[] = {
16914 (char *) "self", NULL
16917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
16918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16922 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
16924 wxPyEndAllowThreads(__tstate
);
16925 if (PyErr_Occurred()) SWIG_fail
;
16928 wxSize
* resultptr
;
16929 resultptr
= new wxSize((wxSize
&) result
);
16930 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16938 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16939 PyObject
*resultobj
;
16940 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16941 PyObject
* obj0
= 0 ;
16942 char *kwnames
[] = {
16943 (char *) "self", NULL
16946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
16947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16951 (arg1
)->base_InitDialog();
16953 wxPyEndAllowThreads(__tstate
);
16954 if (PyErr_Occurred()) SWIG_fail
;
16956 Py_INCREF(Py_None
); resultobj
= Py_None
;
16963 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16964 PyObject
*resultobj
;
16965 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16967 PyObject
* obj0
= 0 ;
16968 char *kwnames
[] = {
16969 (char *) "self", NULL
16972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
16973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16977 result
= (bool)(arg1
)->base_TransferDataToWindow();
16979 wxPyEndAllowThreads(__tstate
);
16980 if (PyErr_Occurred()) SWIG_fail
;
16983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16991 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16992 PyObject
*resultobj
;
16993 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16995 PyObject
* obj0
= 0 ;
16996 char *kwnames
[] = {
16997 (char *) "self", NULL
17000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
17001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17005 result
= (bool)(arg1
)->base_TransferDataFromWindow();
17007 wxPyEndAllowThreads(__tstate
);
17008 if (PyErr_Occurred()) SWIG_fail
;
17011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17019 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17020 PyObject
*resultobj
;
17021 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17023 PyObject
* obj0
= 0 ;
17024 char *kwnames
[] = {
17025 (char *) "self", NULL
17028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
17029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17033 result
= (bool)(arg1
)->base_Validate();
17035 wxPyEndAllowThreads(__tstate
);
17036 if (PyErr_Occurred()) SWIG_fail
;
17039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17047 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17048 PyObject
*resultobj
;
17049 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17051 PyObject
* obj0
= 0 ;
17052 char *kwnames
[] = {
17053 (char *) "self", NULL
17056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
17057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17061 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
17063 wxPyEndAllowThreads(__tstate
);
17064 if (PyErr_Occurred()) SWIG_fail
;
17067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17075 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17076 PyObject
*resultobj
;
17077 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17079 PyObject
* obj0
= 0 ;
17080 char *kwnames
[] = {
17081 (char *) "self", NULL
17084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
17085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17089 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
17091 wxPyEndAllowThreads(__tstate
);
17092 if (PyErr_Occurred()) SWIG_fail
;
17095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17103 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17104 PyObject
*resultobj
;
17105 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17107 PyObject
* obj0
= 0 ;
17108 char *kwnames
[] = {
17109 (char *) "self", NULL
17112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
17113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17117 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
17119 wxPyEndAllowThreads(__tstate
);
17120 if (PyErr_Occurred()) SWIG_fail
;
17123 wxSize
* resultptr
;
17124 resultptr
= new wxSize((wxSize
&) result
);
17125 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17133 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17134 PyObject
*resultobj
;
17135 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17136 wxWindow
*arg2
= (wxWindow
*) 0 ;
17137 PyObject
* obj0
= 0 ;
17138 PyObject
* obj1
= 0 ;
17139 char *kwnames
[] = {
17140 (char *) "self",(char *) "child", NULL
17143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17146 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17150 (arg1
)->base_AddChild(arg2
);
17152 wxPyEndAllowThreads(__tstate
);
17153 if (PyErr_Occurred()) SWIG_fail
;
17155 Py_INCREF(Py_None
); resultobj
= Py_None
;
17162 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17163 PyObject
*resultobj
;
17164 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17165 wxWindow
*arg2
= (wxWindow
*) 0 ;
17166 PyObject
* obj0
= 0 ;
17167 PyObject
* obj1
= 0 ;
17168 char *kwnames
[] = {
17169 (char *) "self",(char *) "child", NULL
17172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17175 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17179 (arg1
)->base_RemoveChild(arg2
);
17181 wxPyEndAllowThreads(__tstate
);
17182 if (PyErr_Occurred()) SWIG_fail
;
17184 Py_INCREF(Py_None
); resultobj
= Py_None
;
17191 static PyObject
*_wrap_PyPanel_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17192 PyObject
*resultobj
;
17193 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17195 PyObject
* obj0
= 0 ;
17196 char *kwnames
[] = {
17197 (char *) "self", NULL
17200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
17201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17205 result
= (bool)((wxPyPanel
const *)arg1
)->base_ShouldInheritColours();
17207 wxPyEndAllowThreads(__tstate
);
17208 if (PyErr_Occurred()) SWIG_fail
;
17211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17219 static PyObject
*_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17220 PyObject
*resultobj
;
17221 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17222 wxColour
*arg2
= 0 ;
17224 PyObject
* obj0
= 0 ;
17225 PyObject
* obj1
= 0 ;
17226 char *kwnames
[] = {
17227 (char *) "self",(char *) "c", NULL
17230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
17231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17235 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17239 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
17241 wxPyEndAllowThreads(__tstate
);
17242 if (PyErr_Occurred()) SWIG_fail
;
17244 Py_INCREF(Py_None
); resultobj
= Py_None
;
17251 static PyObject
*_wrap_PyPanel_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17252 PyObject
*resultobj
;
17253 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17254 wxVisualAttributes result
;
17255 PyObject
* obj0
= 0 ;
17256 char *kwnames
[] = {
17257 (char *) "self", NULL
17260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetDefaultAttributes",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
= (arg1
)->base_GetDefaultAttributes();
17267 wxPyEndAllowThreads(__tstate
);
17268 if (PyErr_Occurred()) SWIG_fail
;
17271 wxVisualAttributes
* resultptr
;
17272 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
17273 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17281 static PyObject
* PyPanel_swigregister(PyObject
*, PyObject
*args
) {
17283 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17284 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
17286 return Py_BuildValue((char *)"");
17288 static PyObject
*_wrap_new_PyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17289 PyObject
*resultobj
;
17290 wxWindow
*arg1
= (wxWindow
*) 0 ;
17291 int arg2
= (int) (int)-1 ;
17292 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17293 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17294 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17295 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17296 long arg5
= (long) 0 ;
17297 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
17298 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17299 wxPyScrolledWindow
*result
;
17302 bool temp6
= False
;
17303 PyObject
* obj0
= 0 ;
17304 PyObject
* obj1
= 0 ;
17305 PyObject
* obj2
= 0 ;
17306 PyObject
* obj3
= 0 ;
17307 PyObject
* obj4
= 0 ;
17308 PyObject
* obj5
= 0 ;
17309 char *kwnames
[] = {
17310 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17317 arg2
= (int)SWIG_As_int(obj1
);
17318 if (PyErr_Occurred()) SWIG_fail
;
17323 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17329 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17333 arg5
= (long)SWIG_As_long(obj4
);
17334 if (PyErr_Occurred()) SWIG_fail
;
17338 arg6
= wxString_in_helper(obj5
);
17339 if (arg6
== NULL
) SWIG_fail
;
17344 if (!wxPyCheckForApp()) SWIG_fail
;
17345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17346 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17348 wxPyEndAllowThreads(__tstate
);
17349 if (PyErr_Occurred()) SWIG_fail
;
17351 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
17366 static PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17367 PyObject
*resultobj
;
17368 wxPyScrolledWindow
*result
;
17369 char *kwnames
[] = {
17373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyScrolledWindow",kwnames
)) goto fail
;
17375 if (!wxPyCheckForApp()) SWIG_fail
;
17376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17377 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
17379 wxPyEndAllowThreads(__tstate
);
17380 if (PyErr_Occurred()) SWIG_fail
;
17382 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
17389 static PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17390 PyObject
*resultobj
;
17391 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17392 PyObject
*arg2
= (PyObject
*) 0 ;
17393 PyObject
*arg3
= (PyObject
*) 0 ;
17394 PyObject
* obj0
= 0 ;
17395 PyObject
* obj1
= 0 ;
17396 PyObject
* obj2
= 0 ;
17397 char *kwnames
[] = {
17398 (char *) "self",(char *) "self",(char *) "_class", NULL
17401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17408 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17410 wxPyEndAllowThreads(__tstate
);
17411 if (PyErr_Occurred()) SWIG_fail
;
17413 Py_INCREF(Py_None
); resultobj
= Py_None
;
17420 static PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17421 PyObject
*resultobj
;
17422 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17425 PyObject
* obj0
= 0 ;
17426 PyObject
* obj1
= 0 ;
17427 char *kwnames
[] = {
17428 (char *) "self",(char *) "size", NULL
17431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17436 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17440 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
17442 wxPyEndAllowThreads(__tstate
);
17443 if (PyErr_Occurred()) SWIG_fail
;
17445 Py_INCREF(Py_None
); resultobj
= Py_None
;
17452 static PyObject
*_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17453 PyObject
*resultobj
;
17454 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17459 PyObject
* obj0
= 0 ;
17460 PyObject
* obj1
= 0 ;
17461 PyObject
* obj2
= 0 ;
17462 PyObject
* obj3
= 0 ;
17463 PyObject
* obj4
= 0 ;
17464 char *kwnames
[] = {
17465 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17471 arg2
= (int)SWIG_As_int(obj1
);
17472 if (PyErr_Occurred()) SWIG_fail
;
17473 arg3
= (int)SWIG_As_int(obj2
);
17474 if (PyErr_Occurred()) SWIG_fail
;
17475 arg4
= (int)SWIG_As_int(obj3
);
17476 if (PyErr_Occurred()) SWIG_fail
;
17477 arg5
= (int)SWIG_As_int(obj4
);
17478 if (PyErr_Occurred()) SWIG_fail
;
17480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17481 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
17483 wxPyEndAllowThreads(__tstate
);
17484 if (PyErr_Occurred()) SWIG_fail
;
17486 Py_INCREF(Py_None
); resultobj
= Py_None
;
17493 static PyObject
*_wrap_PyScrolledWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17494 PyObject
*resultobj
;
17495 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17500 int arg6
= (int) wxSIZE_AUTO
;
17501 PyObject
* obj0
= 0 ;
17502 PyObject
* obj1
= 0 ;
17503 PyObject
* obj2
= 0 ;
17504 PyObject
* obj3
= 0 ;
17505 PyObject
* obj4
= 0 ;
17506 PyObject
* obj5
= 0 ;
17507 char *kwnames
[] = {
17508 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17514 arg2
= (int)SWIG_As_int(obj1
);
17515 if (PyErr_Occurred()) SWIG_fail
;
17516 arg3
= (int)SWIG_As_int(obj2
);
17517 if (PyErr_Occurred()) SWIG_fail
;
17518 arg4
= (int)SWIG_As_int(obj3
);
17519 if (PyErr_Occurred()) SWIG_fail
;
17520 arg5
= (int)SWIG_As_int(obj4
);
17521 if (PyErr_Occurred()) SWIG_fail
;
17523 arg6
= (int)SWIG_As_int(obj5
);
17524 if (PyErr_Occurred()) SWIG_fail
;
17527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17528 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
17530 wxPyEndAllowThreads(__tstate
);
17531 if (PyErr_Occurred()) SWIG_fail
;
17533 Py_INCREF(Py_None
); resultobj
= Py_None
;
17540 static PyObject
*_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17541 PyObject
*resultobj
;
17542 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17545 PyObject
* obj0
= 0 ;
17546 PyObject
* obj1
= 0 ;
17547 PyObject
* obj2
= 0 ;
17548 char *kwnames
[] = {
17549 (char *) "self",(char *) "width",(char *) "height", NULL
17552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17555 arg2
= (int)SWIG_As_int(obj1
);
17556 if (PyErr_Occurred()) SWIG_fail
;
17557 arg3
= (int)SWIG_As_int(obj2
);
17558 if (PyErr_Occurred()) SWIG_fail
;
17560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17561 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
17563 wxPyEndAllowThreads(__tstate
);
17564 if (PyErr_Occurred()) SWIG_fail
;
17566 Py_INCREF(Py_None
); resultobj
= Py_None
;
17573 static PyObject
*_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17574 PyObject
*resultobj
;
17575 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17578 PyObject
* obj0
= 0 ;
17579 PyObject
* obj1
= 0 ;
17580 PyObject
* obj2
= 0 ;
17581 char *kwnames
[] = {
17582 (char *) "self",(char *) "x",(char *) "y", NULL
17585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17588 arg2
= (int)SWIG_As_int(obj1
);
17589 if (PyErr_Occurred()) SWIG_fail
;
17590 arg3
= (int)SWIG_As_int(obj2
);
17591 if (PyErr_Occurred()) SWIG_fail
;
17593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17594 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
17596 wxPyEndAllowThreads(__tstate
);
17597 if (PyErr_Occurred()) SWIG_fail
;
17599 Py_INCREF(Py_None
); resultobj
= Py_None
;
17606 static PyObject
*_wrap_PyScrolledWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17607 PyObject
*resultobj
;
17608 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17609 int *arg2
= (int *) 0 ;
17610 int *arg3
= (int *) 0 ;
17615 PyObject
* obj0
= 0 ;
17616 char *kwnames
[] = {
17617 (char *) "self", NULL
17620 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17621 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
17623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17627 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
17629 wxPyEndAllowThreads(__tstate
);
17630 if (PyErr_Occurred()) SWIG_fail
;
17632 Py_INCREF(Py_None
); resultobj
= Py_None
;
17633 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17634 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17635 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17636 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17643 static PyObject
*_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17644 PyObject
*resultobj
;
17645 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17646 int *arg2
= (int *) 0 ;
17647 int *arg3
= (int *) 0 ;
17652 PyObject
* obj0
= 0 ;
17653 char *kwnames
[] = {
17654 (char *) "self", NULL
17657 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17658 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
17660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17664 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
17666 wxPyEndAllowThreads(__tstate
);
17667 if (PyErr_Occurred()) SWIG_fail
;
17669 Py_INCREF(Py_None
); resultobj
= Py_None
;
17670 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17671 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17672 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17673 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17680 static PyObject
*_wrap_PyScrolledWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17681 PyObject
*resultobj
;
17682 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17683 int *arg2
= (int *) 0 ;
17684 int *arg3
= (int *) 0 ;
17689 PyObject
* obj0
= 0 ;
17690 char *kwnames
[] = {
17691 (char *) "self", NULL
17694 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17695 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
17697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17701 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
17703 wxPyEndAllowThreads(__tstate
);
17704 if (PyErr_Occurred()) SWIG_fail
;
17706 Py_INCREF(Py_None
); resultobj
= Py_None
;
17707 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17708 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17709 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17710 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17717 static PyObject
*_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17718 PyObject
*resultobj
;
17719 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17721 PyObject
* obj0
= 0 ;
17722 char *kwnames
[] = {
17723 (char *) "self", NULL
17726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
17727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17731 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetVirtualSize();
17733 wxPyEndAllowThreads(__tstate
);
17734 if (PyErr_Occurred()) SWIG_fail
;
17737 wxSize
* resultptr
;
17738 resultptr
= new wxSize((wxSize
&) result
);
17739 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17747 static PyObject
*_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17748 PyObject
*resultobj
;
17749 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17751 PyObject
* obj0
= 0 ;
17752 char *kwnames
[] = {
17753 (char *) "self", NULL
17756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
17757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17761 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetBestSize();
17763 wxPyEndAllowThreads(__tstate
);
17764 if (PyErr_Occurred()) SWIG_fail
;
17767 wxSize
* resultptr
;
17768 resultptr
= new wxSize((wxSize
&) result
);
17769 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17777 static PyObject
*_wrap_PyScrolledWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17778 PyObject
*resultobj
;
17779 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17780 PyObject
* obj0
= 0 ;
17781 char *kwnames
[] = {
17782 (char *) "self", NULL
17785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
17786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17790 (arg1
)->base_InitDialog();
17792 wxPyEndAllowThreads(__tstate
);
17793 if (PyErr_Occurred()) SWIG_fail
;
17795 Py_INCREF(Py_None
); resultobj
= Py_None
;
17802 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17803 PyObject
*resultobj
;
17804 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17806 PyObject
* obj0
= 0 ;
17807 char *kwnames
[] = {
17808 (char *) "self", NULL
17811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
17812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17816 result
= (bool)(arg1
)->base_TransferDataToWindow();
17818 wxPyEndAllowThreads(__tstate
);
17819 if (PyErr_Occurred()) SWIG_fail
;
17822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17830 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17831 PyObject
*resultobj
;
17832 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17834 PyObject
* obj0
= 0 ;
17835 char *kwnames
[] = {
17836 (char *) "self", NULL
17839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
17840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17844 result
= (bool)(arg1
)->base_TransferDataFromWindow();
17846 wxPyEndAllowThreads(__tstate
);
17847 if (PyErr_Occurred()) SWIG_fail
;
17850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17858 static PyObject
*_wrap_PyScrolledWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17859 PyObject
*resultobj
;
17860 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17862 PyObject
* obj0
= 0 ;
17863 char *kwnames
[] = {
17864 (char *) "self", NULL
17867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
17868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17872 result
= (bool)(arg1
)->base_Validate();
17874 wxPyEndAllowThreads(__tstate
);
17875 if (PyErr_Occurred()) SWIG_fail
;
17878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17886 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17887 PyObject
*resultobj
;
17888 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17890 PyObject
* obj0
= 0 ;
17891 char *kwnames
[] = {
17892 (char *) "self", NULL
17895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
17896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17900 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocus();
17902 wxPyEndAllowThreads(__tstate
);
17903 if (PyErr_Occurred()) SWIG_fail
;
17906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17914 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17915 PyObject
*resultobj
;
17916 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17918 PyObject
* obj0
= 0 ;
17919 char *kwnames
[] = {
17920 (char *) "self", NULL
17923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
17924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17928 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
17930 wxPyEndAllowThreads(__tstate
);
17931 if (PyErr_Occurred()) SWIG_fail
;
17934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17942 static PyObject
*_wrap_PyScrolledWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17943 PyObject
*resultobj
;
17944 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17946 PyObject
* obj0
= 0 ;
17947 char *kwnames
[] = {
17948 (char *) "self", NULL
17951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
17952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17956 result
= ((wxPyScrolledWindow
const *)arg1
)->base_GetMaxSize();
17958 wxPyEndAllowThreads(__tstate
);
17959 if (PyErr_Occurred()) SWIG_fail
;
17962 wxSize
* resultptr
;
17963 resultptr
= new wxSize((wxSize
&) result
);
17964 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17972 static PyObject
*_wrap_PyScrolledWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17973 PyObject
*resultobj
;
17974 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17975 wxWindow
*arg2
= (wxWindow
*) 0 ;
17976 PyObject
* obj0
= 0 ;
17977 PyObject
* obj1
= 0 ;
17978 char *kwnames
[] = {
17979 (char *) "self",(char *) "child", NULL
17982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17985 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17989 (arg1
)->base_AddChild(arg2
);
17991 wxPyEndAllowThreads(__tstate
);
17992 if (PyErr_Occurred()) SWIG_fail
;
17994 Py_INCREF(Py_None
); resultobj
= Py_None
;
18001 static PyObject
*_wrap_PyScrolledWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18002 PyObject
*resultobj
;
18003 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18004 wxWindow
*arg2
= (wxWindow
*) 0 ;
18005 PyObject
* obj0
= 0 ;
18006 PyObject
* obj1
= 0 ;
18007 char *kwnames
[] = {
18008 (char *) "self",(char *) "child", NULL
18011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
18012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18014 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18018 (arg1
)->base_RemoveChild(arg2
);
18020 wxPyEndAllowThreads(__tstate
);
18021 if (PyErr_Occurred()) SWIG_fail
;
18023 Py_INCREF(Py_None
); resultobj
= Py_None
;
18030 static PyObject
*_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18031 PyObject
*resultobj
;
18032 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18034 PyObject
* obj0
= 0 ;
18035 char *kwnames
[] = {
18036 (char *) "self", NULL
18039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
18040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18044 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_ShouldInheritColours();
18046 wxPyEndAllowThreads(__tstate
);
18047 if (PyErr_Occurred()) SWIG_fail
;
18050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18058 static PyObject
*_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18059 PyObject
*resultobj
;
18060 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18061 wxColour
*arg2
= 0 ;
18063 PyObject
* obj0
= 0 ;
18064 PyObject
* obj1
= 0 ;
18065 char *kwnames
[] = {
18066 (char *) "self",(char *) "c", NULL
18069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
18070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18074 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18078 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
18080 wxPyEndAllowThreads(__tstate
);
18081 if (PyErr_Occurred()) SWIG_fail
;
18083 Py_INCREF(Py_None
); resultobj
= Py_None
;
18090 static PyObject
*_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18091 PyObject
*resultobj
;
18092 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18093 wxVisualAttributes result
;
18094 PyObject
* obj0
= 0 ;
18095 char *kwnames
[] = {
18096 (char *) "self", NULL
18099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",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
= (arg1
)->base_GetDefaultAttributes();
18106 wxPyEndAllowThreads(__tstate
);
18107 if (PyErr_Occurred()) SWIG_fail
;
18110 wxVisualAttributes
* resultptr
;
18111 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
18112 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
18120 static PyObject
* PyScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
18122 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18123 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow
, obj
);
18125 return Py_BuildValue((char *)"");
18127 static int _wrap_PrintoutTitleStr_set(PyObject
*) {
18128 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
18133 static PyObject
*_wrap_PrintoutTitleStr_get() {
18138 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
18140 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
18147 static int _wrap_PreviewCanvasNameStr_set(PyObject
*) {
18148 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
18153 static PyObject
*_wrap_PreviewCanvasNameStr_get() {
18158 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
18160 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
18167 static PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*, PyObject
*args
) {
18168 PyObject
*resultobj
;
18169 wxPrintData
*result
;
18171 if(!PyArg_ParseTuple(args
,(char *)":new_PrintData")) goto fail
;
18173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18174 result
= (wxPrintData
*)new wxPrintData();
18176 wxPyEndAllowThreads(__tstate
);
18177 if (PyErr_Occurred()) SWIG_fail
;
18179 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
18186 static PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*, PyObject
*args
) {
18187 PyObject
*resultobj
;
18188 wxPrintData
*arg1
= 0 ;
18189 wxPrintData
*result
;
18190 PyObject
* obj0
= 0 ;
18192 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintData",&obj0
)) goto fail
;
18193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18194 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18196 if (arg1
== NULL
) {
18197 PyErr_SetString(PyExc_TypeError
,"null reference");
18201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18202 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
18204 wxPyEndAllowThreads(__tstate
);
18205 if (PyErr_Occurred()) SWIG_fail
;
18207 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
18214 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
18219 argc
= PyObject_Length(args
);
18220 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
18221 argv
[ii
] = PyTuple_GetItem(args
,ii
);
18224 return _wrap_new_PrintData__SWIG_0(self
,args
);
18230 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
18238 return _wrap_new_PrintData__SWIG_1(self
,args
);
18242 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintData'");
18247 static PyObject
*_wrap_delete_PrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18248 PyObject
*resultobj
;
18249 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18250 PyObject
* obj0
= 0 ;
18251 char *kwnames
[] = {
18252 (char *) "self", NULL
18255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
18256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18262 wxPyEndAllowThreads(__tstate
);
18263 if (PyErr_Occurred()) SWIG_fail
;
18265 Py_INCREF(Py_None
); resultobj
= Py_None
;
18272 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18273 PyObject
*resultobj
;
18274 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18276 PyObject
* obj0
= 0 ;
18277 char *kwnames
[] = {
18278 (char *) "self", NULL
18281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
18282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18286 result
= (int)(arg1
)->GetNoCopies();
18288 wxPyEndAllowThreads(__tstate
);
18289 if (PyErr_Occurred()) SWIG_fail
;
18291 resultobj
= SWIG_From_int((int)result
);
18298 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18299 PyObject
*resultobj
;
18300 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18302 PyObject
* obj0
= 0 ;
18303 char *kwnames
[] = {
18304 (char *) "self", NULL
18307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
18308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18312 result
= (bool)(arg1
)->GetCollate();
18314 wxPyEndAllowThreads(__tstate
);
18315 if (PyErr_Occurred()) SWIG_fail
;
18318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18326 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18327 PyObject
*resultobj
;
18328 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18330 PyObject
* obj0
= 0 ;
18331 char *kwnames
[] = {
18332 (char *) "self", NULL
18335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
18336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18340 result
= (int)(arg1
)->GetOrientation();
18342 wxPyEndAllowThreads(__tstate
);
18343 if (PyErr_Occurred()) SWIG_fail
;
18345 resultobj
= SWIG_From_int((int)result
);
18352 static PyObject
*_wrap_PrintData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18353 PyObject
*resultobj
;
18354 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18356 PyObject
* obj0
= 0 ;
18357 char *kwnames
[] = {
18358 (char *) "self", NULL
18361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
18362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18366 result
= (bool)(arg1
)->Ok();
18368 wxPyEndAllowThreads(__tstate
);
18369 if (PyErr_Occurred()) SWIG_fail
;
18372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18380 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18381 PyObject
*resultobj
;
18382 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18384 PyObject
* obj0
= 0 ;
18385 char *kwnames
[] = {
18386 (char *) "self", NULL
18389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
18390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18395 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
18396 result
= (wxString
*) &_result_ref
;
18399 wxPyEndAllowThreads(__tstate
);
18400 if (PyErr_Occurred()) SWIG_fail
;
18404 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18406 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18415 static PyObject
*_wrap_PrintData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18416 PyObject
*resultobj
;
18417 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18419 PyObject
* obj0
= 0 ;
18420 char *kwnames
[] = {
18421 (char *) "self", NULL
18424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
18425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18429 result
= (bool)(arg1
)->GetColour();
18431 wxPyEndAllowThreads(__tstate
);
18432 if (PyErr_Occurred()) SWIG_fail
;
18435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18443 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18444 PyObject
*resultobj
;
18445 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18447 PyObject
* obj0
= 0 ;
18448 char *kwnames
[] = {
18449 (char *) "self", NULL
18452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
18453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18457 result
= (int)(arg1
)->GetDuplex();
18459 wxPyEndAllowThreads(__tstate
);
18460 if (PyErr_Occurred()) SWIG_fail
;
18462 resultobj
= SWIG_From_int((int)result
);
18469 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18470 PyObject
*resultobj
;
18471 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18473 PyObject
* obj0
= 0 ;
18474 char *kwnames
[] = {
18475 (char *) "self", NULL
18478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
18479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18483 result
= (int)(arg1
)->GetPaperId();
18485 wxPyEndAllowThreads(__tstate
);
18486 if (PyErr_Occurred()) SWIG_fail
;
18488 resultobj
= SWIG_From_int((int)result
);
18495 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18496 PyObject
*resultobj
;
18497 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18499 PyObject
* obj0
= 0 ;
18500 char *kwnames
[] = {
18501 (char *) "self", NULL
18504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
18505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18510 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
18511 result
= (wxSize
*) &_result_ref
;
18514 wxPyEndAllowThreads(__tstate
);
18515 if (PyErr_Occurred()) SWIG_fail
;
18517 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
18524 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18525 PyObject
*resultobj
;
18526 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18528 PyObject
* obj0
= 0 ;
18529 char *kwnames
[] = {
18530 (char *) "self", NULL
18533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
18534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18538 result
= (int)(arg1
)->GetQuality();
18540 wxPyEndAllowThreads(__tstate
);
18541 if (PyErr_Occurred()) SWIG_fail
;
18543 resultobj
= SWIG_From_int((int)result
);
18550 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18551 PyObject
*resultobj
;
18552 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18554 PyObject
* obj0
= 0 ;
18555 PyObject
* obj1
= 0 ;
18556 char *kwnames
[] = {
18557 (char *) "self",(char *) "v", NULL
18560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
18561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18563 arg2
= (int)SWIG_As_int(obj1
);
18564 if (PyErr_Occurred()) SWIG_fail
;
18566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18567 (arg1
)->SetNoCopies(arg2
);
18569 wxPyEndAllowThreads(__tstate
);
18570 if (PyErr_Occurred()) SWIG_fail
;
18572 Py_INCREF(Py_None
); resultobj
= Py_None
;
18579 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18580 PyObject
*resultobj
;
18581 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18583 PyObject
* obj0
= 0 ;
18584 PyObject
* obj1
= 0 ;
18585 char *kwnames
[] = {
18586 (char *) "self",(char *) "flag", NULL
18589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
18590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18592 arg2
= (bool)SWIG_As_bool(obj1
);
18593 if (PyErr_Occurred()) SWIG_fail
;
18595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18596 (arg1
)->SetCollate(arg2
);
18598 wxPyEndAllowThreads(__tstate
);
18599 if (PyErr_Occurred()) SWIG_fail
;
18601 Py_INCREF(Py_None
); resultobj
= Py_None
;
18608 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18609 PyObject
*resultobj
;
18610 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18612 PyObject
* obj0
= 0 ;
18613 PyObject
* obj1
= 0 ;
18614 char *kwnames
[] = {
18615 (char *) "self",(char *) "orient", NULL
18618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
18619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18621 arg2
= (int)SWIG_As_int(obj1
);
18622 if (PyErr_Occurred()) SWIG_fail
;
18624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18625 (arg1
)->SetOrientation(arg2
);
18627 wxPyEndAllowThreads(__tstate
);
18628 if (PyErr_Occurred()) SWIG_fail
;
18630 Py_INCREF(Py_None
); resultobj
= Py_None
;
18637 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18638 PyObject
*resultobj
;
18639 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18640 wxString
*arg2
= 0 ;
18641 bool temp2
= False
;
18642 PyObject
* obj0
= 0 ;
18643 PyObject
* obj1
= 0 ;
18644 char *kwnames
[] = {
18645 (char *) "self",(char *) "name", NULL
18648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
18649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18652 arg2
= wxString_in_helper(obj1
);
18653 if (arg2
== NULL
) SWIG_fail
;
18657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18658 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
18660 wxPyEndAllowThreads(__tstate
);
18661 if (PyErr_Occurred()) SWIG_fail
;
18663 Py_INCREF(Py_None
); resultobj
= Py_None
;
18678 static PyObject
*_wrap_PrintData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18679 PyObject
*resultobj
;
18680 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18682 PyObject
* obj0
= 0 ;
18683 PyObject
* obj1
= 0 ;
18684 char *kwnames
[] = {
18685 (char *) "self",(char *) "colour", NULL
18688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18691 arg2
= (bool)SWIG_As_bool(obj1
);
18692 if (PyErr_Occurred()) SWIG_fail
;
18694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18695 (arg1
)->SetColour(arg2
);
18697 wxPyEndAllowThreads(__tstate
);
18698 if (PyErr_Occurred()) SWIG_fail
;
18700 Py_INCREF(Py_None
); resultobj
= Py_None
;
18707 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18708 PyObject
*resultobj
;
18709 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18711 PyObject
* obj0
= 0 ;
18712 PyObject
* obj1
= 0 ;
18713 char *kwnames
[] = {
18714 (char *) "self",(char *) "duplex", NULL
18717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
18718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18720 arg2
= (int)SWIG_As_int(obj1
);
18721 if (PyErr_Occurred()) SWIG_fail
;
18723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18724 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
18726 wxPyEndAllowThreads(__tstate
);
18727 if (PyErr_Occurred()) SWIG_fail
;
18729 Py_INCREF(Py_None
); resultobj
= Py_None
;
18736 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18737 PyObject
*resultobj
;
18738 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18740 PyObject
* obj0
= 0 ;
18741 PyObject
* obj1
= 0 ;
18742 char *kwnames
[] = {
18743 (char *) "self",(char *) "sizeId", NULL
18746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
18747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18749 arg2
= (int)SWIG_As_int(obj1
);
18750 if (PyErr_Occurred()) SWIG_fail
;
18752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18753 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
18755 wxPyEndAllowThreads(__tstate
);
18756 if (PyErr_Occurred()) SWIG_fail
;
18758 Py_INCREF(Py_None
); resultobj
= Py_None
;
18765 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18766 PyObject
*resultobj
;
18767 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18770 PyObject
* obj0
= 0 ;
18771 PyObject
* obj1
= 0 ;
18772 char *kwnames
[] = {
18773 (char *) "self",(char *) "sz", NULL
18776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18781 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18785 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
18787 wxPyEndAllowThreads(__tstate
);
18788 if (PyErr_Occurred()) SWIG_fail
;
18790 Py_INCREF(Py_None
); resultobj
= Py_None
;
18797 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18798 PyObject
*resultobj
;
18799 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18801 PyObject
* obj0
= 0 ;
18802 PyObject
* obj1
= 0 ;
18803 char *kwnames
[] = {
18804 (char *) "self",(char *) "quality", NULL
18807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
18808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18810 arg2
= (int)SWIG_As_int(obj1
);
18811 if (PyErr_Occurred()) SWIG_fail
;
18813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18814 (arg1
)->SetQuality(arg2
);
18816 wxPyEndAllowThreads(__tstate
);
18817 if (PyErr_Occurred()) SWIG_fail
;
18819 Py_INCREF(Py_None
); resultobj
= Py_None
;
18826 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18827 PyObject
*resultobj
;
18828 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18830 PyObject
* obj0
= 0 ;
18831 char *kwnames
[] = {
18832 (char *) "self", NULL
18835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
18836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18841 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
18842 result
= (wxString
*) &_result_ref
;
18845 wxPyEndAllowThreads(__tstate
);
18846 if (PyErr_Occurred()) SWIG_fail
;
18850 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18852 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18861 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18862 PyObject
*resultobj
;
18863 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18865 PyObject
* obj0
= 0 ;
18866 char *kwnames
[] = {
18867 (char *) "self", NULL
18870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
18871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18876 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
18877 result
= (wxString
*) &_result_ref
;
18880 wxPyEndAllowThreads(__tstate
);
18881 if (PyErr_Occurred()) SWIG_fail
;
18885 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18887 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18896 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18897 PyObject
*resultobj
;
18898 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18900 PyObject
* obj0
= 0 ;
18901 char *kwnames
[] = {
18902 (char *) "self", NULL
18905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
18906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18911 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
18912 result
= (wxString
*) &_result_ref
;
18915 wxPyEndAllowThreads(__tstate
);
18916 if (PyErr_Occurred()) SWIG_fail
;
18920 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18922 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18931 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18932 PyObject
*resultobj
;
18933 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18935 PyObject
* obj0
= 0 ;
18936 char *kwnames
[] = {
18937 (char *) "self", NULL
18940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
18941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18946 wxString
const &_result_ref
= (arg1
)->GetFilename();
18947 result
= (wxString
*) &_result_ref
;
18950 wxPyEndAllowThreads(__tstate
);
18951 if (PyErr_Occurred()) SWIG_fail
;
18955 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18957 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18966 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18967 PyObject
*resultobj
;
18968 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18970 PyObject
* obj0
= 0 ;
18971 char *kwnames
[] = {
18972 (char *) "self", NULL
18975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
18976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18981 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
18982 result
= (wxString
*) &_result_ref
;
18985 wxPyEndAllowThreads(__tstate
);
18986 if (PyErr_Occurred()) SWIG_fail
;
18990 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18992 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19001 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19002 PyObject
*resultobj
;
19003 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19005 PyObject
* obj0
= 0 ;
19006 char *kwnames
[] = {
19007 (char *) "self", NULL
19010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
19011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19015 result
= (double)(arg1
)->GetPrinterScaleX();
19017 wxPyEndAllowThreads(__tstate
);
19018 if (PyErr_Occurred()) SWIG_fail
;
19020 resultobj
= SWIG_From_double((double)result
);
19027 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19028 PyObject
*resultobj
;
19029 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19031 PyObject
* obj0
= 0 ;
19032 char *kwnames
[] = {
19033 (char *) "self", NULL
19036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
19037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19041 result
= (double)(arg1
)->GetPrinterScaleY();
19043 wxPyEndAllowThreads(__tstate
);
19044 if (PyErr_Occurred()) SWIG_fail
;
19046 resultobj
= SWIG_From_double((double)result
);
19053 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19054 PyObject
*resultobj
;
19055 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19057 PyObject
* obj0
= 0 ;
19058 char *kwnames
[] = {
19059 (char *) "self", NULL
19062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
19063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19067 result
= (long)(arg1
)->GetPrinterTranslateX();
19069 wxPyEndAllowThreads(__tstate
);
19070 if (PyErr_Occurred()) SWIG_fail
;
19072 resultobj
= SWIG_From_long((long)result
);
19079 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(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_GetPrinterTranslateY",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();
19093 result
= (long)(arg1
)->GetPrinterTranslateY();
19095 wxPyEndAllowThreads(__tstate
);
19096 if (PyErr_Occurred()) SWIG_fail
;
19098 resultobj
= SWIG_From_long((long)result
);
19105 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19106 PyObject
*resultobj
;
19107 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19109 PyObject
* obj0
= 0 ;
19110 char *kwnames
[] = {
19111 (char *) "self", NULL
19114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
19115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19119 result
= (int)(arg1
)->GetPrintMode();
19121 wxPyEndAllowThreads(__tstate
);
19122 if (PyErr_Occurred()) SWIG_fail
;
19124 resultobj
= SWIG_From_int((int)result
);
19131 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19132 PyObject
*resultobj
;
19133 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19134 wxString
*arg2
= 0 ;
19135 bool temp2
= False
;
19136 PyObject
* obj0
= 0 ;
19137 PyObject
* obj1
= 0 ;
19138 char *kwnames
[] = {
19139 (char *) "self",(char *) "command", NULL
19142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
19143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19146 arg2
= wxString_in_helper(obj1
);
19147 if (arg2
== NULL
) SWIG_fail
;
19151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19152 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
19154 wxPyEndAllowThreads(__tstate
);
19155 if (PyErr_Occurred()) SWIG_fail
;
19157 Py_INCREF(Py_None
); resultobj
= Py_None
;
19172 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19173 PyObject
*resultobj
;
19174 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19175 wxString
*arg2
= 0 ;
19176 bool temp2
= False
;
19177 PyObject
* obj0
= 0 ;
19178 PyObject
* obj1
= 0 ;
19179 char *kwnames
[] = {
19180 (char *) "self",(char *) "options", NULL
19183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
19184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19187 arg2
= wxString_in_helper(obj1
);
19188 if (arg2
== NULL
) SWIG_fail
;
19192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19193 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
19195 wxPyEndAllowThreads(__tstate
);
19196 if (PyErr_Occurred()) SWIG_fail
;
19198 Py_INCREF(Py_None
); resultobj
= Py_None
;
19213 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19214 PyObject
*resultobj
;
19215 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19216 wxString
*arg2
= 0 ;
19217 bool temp2
= False
;
19218 PyObject
* obj0
= 0 ;
19219 PyObject
* obj1
= 0 ;
19220 char *kwnames
[] = {
19221 (char *) "self",(char *) "command", NULL
19224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
19225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19228 arg2
= wxString_in_helper(obj1
);
19229 if (arg2
== NULL
) SWIG_fail
;
19233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19234 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
19236 wxPyEndAllowThreads(__tstate
);
19237 if (PyErr_Occurred()) SWIG_fail
;
19239 Py_INCREF(Py_None
); resultobj
= Py_None
;
19254 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19255 PyObject
*resultobj
;
19256 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19257 wxString
*arg2
= 0 ;
19258 bool temp2
= False
;
19259 PyObject
* obj0
= 0 ;
19260 PyObject
* obj1
= 0 ;
19261 char *kwnames
[] = {
19262 (char *) "self",(char *) "filename", NULL
19265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
19266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19269 arg2
= wxString_in_helper(obj1
);
19270 if (arg2
== NULL
) SWIG_fail
;
19274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19275 (arg1
)->SetFilename((wxString
const &)*arg2
);
19277 wxPyEndAllowThreads(__tstate
);
19278 if (PyErr_Occurred()) SWIG_fail
;
19280 Py_INCREF(Py_None
); resultobj
= Py_None
;
19295 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19296 PyObject
*resultobj
;
19297 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19298 wxString
*arg2
= 0 ;
19299 bool temp2
= False
;
19300 PyObject
* obj0
= 0 ;
19301 PyObject
* obj1
= 0 ;
19302 char *kwnames
[] = {
19303 (char *) "self",(char *) "path", NULL
19306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
19307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19310 arg2
= wxString_in_helper(obj1
);
19311 if (arg2
== NULL
) SWIG_fail
;
19315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19316 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
19318 wxPyEndAllowThreads(__tstate
);
19319 if (PyErr_Occurred()) SWIG_fail
;
19321 Py_INCREF(Py_None
); resultobj
= Py_None
;
19336 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19337 PyObject
*resultobj
;
19338 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19340 PyObject
* obj0
= 0 ;
19341 PyObject
* obj1
= 0 ;
19342 char *kwnames
[] = {
19343 (char *) "self",(char *) "x", NULL
19346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
19347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19349 arg2
= (double)SWIG_As_double(obj1
);
19350 if (PyErr_Occurred()) SWIG_fail
;
19352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19353 (arg1
)->SetPrinterScaleX(arg2
);
19355 wxPyEndAllowThreads(__tstate
);
19356 if (PyErr_Occurred()) SWIG_fail
;
19358 Py_INCREF(Py_None
); resultobj
= Py_None
;
19365 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19366 PyObject
*resultobj
;
19367 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19369 PyObject
* obj0
= 0 ;
19370 PyObject
* obj1
= 0 ;
19371 char *kwnames
[] = {
19372 (char *) "self",(char *) "y", NULL
19375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
19376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19378 arg2
= (double)SWIG_As_double(obj1
);
19379 if (PyErr_Occurred()) SWIG_fail
;
19381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19382 (arg1
)->SetPrinterScaleY(arg2
);
19384 wxPyEndAllowThreads(__tstate
);
19385 if (PyErr_Occurred()) SWIG_fail
;
19387 Py_INCREF(Py_None
); resultobj
= Py_None
;
19394 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19395 PyObject
*resultobj
;
19396 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19399 PyObject
* obj0
= 0 ;
19400 PyObject
* obj1
= 0 ;
19401 PyObject
* obj2
= 0 ;
19402 char *kwnames
[] = {
19403 (char *) "self",(char *) "x",(char *) "y", NULL
19406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19409 arg2
= (double)SWIG_As_double(obj1
);
19410 if (PyErr_Occurred()) SWIG_fail
;
19411 arg3
= (double)SWIG_As_double(obj2
);
19412 if (PyErr_Occurred()) SWIG_fail
;
19414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19415 (arg1
)->SetPrinterScaling(arg2
,arg3
);
19417 wxPyEndAllowThreads(__tstate
);
19418 if (PyErr_Occurred()) SWIG_fail
;
19420 Py_INCREF(Py_None
); resultobj
= Py_None
;
19427 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19428 PyObject
*resultobj
;
19429 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19431 PyObject
* obj0
= 0 ;
19432 PyObject
* obj1
= 0 ;
19433 char *kwnames
[] = {
19434 (char *) "self",(char *) "x", NULL
19437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
19438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19440 arg2
= (long)SWIG_As_long(obj1
);
19441 if (PyErr_Occurred()) SWIG_fail
;
19443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19444 (arg1
)->SetPrinterTranslateX(arg2
);
19446 wxPyEndAllowThreads(__tstate
);
19447 if (PyErr_Occurred()) SWIG_fail
;
19449 Py_INCREF(Py_None
); resultobj
= Py_None
;
19456 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19457 PyObject
*resultobj
;
19458 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19460 PyObject
* obj0
= 0 ;
19461 PyObject
* obj1
= 0 ;
19462 char *kwnames
[] = {
19463 (char *) "self",(char *) "y", NULL
19466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
19467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19469 arg2
= (long)SWIG_As_long(obj1
);
19470 if (PyErr_Occurred()) SWIG_fail
;
19472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19473 (arg1
)->SetPrinterTranslateY(arg2
);
19475 wxPyEndAllowThreads(__tstate
);
19476 if (PyErr_Occurred()) SWIG_fail
;
19478 Py_INCREF(Py_None
); resultobj
= Py_None
;
19485 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19486 PyObject
*resultobj
;
19487 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19490 PyObject
* obj0
= 0 ;
19491 PyObject
* obj1
= 0 ;
19492 PyObject
* obj2
= 0 ;
19493 char *kwnames
[] = {
19494 (char *) "self",(char *) "x",(char *) "y", NULL
19497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19500 arg2
= (long)SWIG_As_long(obj1
);
19501 if (PyErr_Occurred()) SWIG_fail
;
19502 arg3
= (long)SWIG_As_long(obj2
);
19503 if (PyErr_Occurred()) SWIG_fail
;
19505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19506 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
19508 wxPyEndAllowThreads(__tstate
);
19509 if (PyErr_Occurred()) SWIG_fail
;
19511 Py_INCREF(Py_None
); resultobj
= Py_None
;
19518 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19519 PyObject
*resultobj
;
19520 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19522 PyObject
* obj0
= 0 ;
19523 PyObject
* obj1
= 0 ;
19524 char *kwnames
[] = {
19525 (char *) "self",(char *) "printMode", NULL
19528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
19529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19531 arg2
= (int)SWIG_As_int(obj1
);
19532 if (PyErr_Occurred()) SWIG_fail
;
19534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19535 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
19537 wxPyEndAllowThreads(__tstate
);
19538 if (PyErr_Occurred()) SWIG_fail
;
19540 Py_INCREF(Py_None
); resultobj
= Py_None
;
19547 static PyObject
*_wrap_PrintData_GetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19548 PyObject
*resultobj
;
19549 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19550 wxOutputStream
*result
;
19551 PyObject
* obj0
= 0 ;
19552 char *kwnames
[] = {
19553 (char *) "self", NULL
19556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOutputStream",kwnames
,&obj0
)) goto fail
;
19557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19561 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
19563 wxPyEndAllowThreads(__tstate
);
19564 if (PyErr_Occurred()) SWIG_fail
;
19566 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
19573 static PyObject
*_wrap_PrintData_SetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19574 PyObject
*resultobj
;
19575 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19576 wxOutputStream
*arg2
= (wxOutputStream
*) 0 ;
19577 PyObject
* obj0
= 0 ;
19578 PyObject
* obj1
= 0 ;
19579 char *kwnames
[] = {
19580 (char *) "self",(char *) "outputstream", NULL
19583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOutputStream",kwnames
,&obj0
,&obj1
)) goto fail
;
19584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19586 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxOutputStream
,
19587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19590 (arg1
)->SetOutputStream(arg2
);
19592 wxPyEndAllowThreads(__tstate
);
19593 if (PyErr_Occurred()) SWIG_fail
;
19595 Py_INCREF(Py_None
); resultobj
= Py_None
;
19602 static PyObject
* PrintData_swigregister(PyObject
*, PyObject
*args
) {
19604 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19605 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
19607 return Py_BuildValue((char *)"");
19609 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
19610 PyObject
*resultobj
;
19611 wxPageSetupDialogData
*result
;
19613 if(!PyArg_ParseTuple(args
,(char *)":new_PageSetupDialogData")) goto fail
;
19615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19616 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
19618 wxPyEndAllowThreads(__tstate
);
19619 if (PyErr_Occurred()) SWIG_fail
;
19621 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
19628 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
19629 PyObject
*resultobj
;
19630 wxPageSetupDialogData
*arg1
= 0 ;
19631 wxPageSetupDialogData
*result
;
19632 PyObject
* obj0
= 0 ;
19634 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
19635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19636 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19638 if (arg1
== NULL
) {
19639 PyErr_SetString(PyExc_TypeError
,"null reference");
19643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19644 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
19646 wxPyEndAllowThreads(__tstate
);
19647 if (PyErr_Occurred()) SWIG_fail
;
19649 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
19656 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
19661 argc
= PyObject_Length(args
);
19662 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
19663 argv
[ii
] = PyTuple_GetItem(args
,ii
);
19666 return _wrap_new_PageSetupDialogData__SWIG_0(self
,args
);
19672 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPageSetupDialogData
, 0) == -1) {
19680 return _wrap_new_PageSetupDialogData__SWIG_1(self
,args
);
19684 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PageSetupDialogData'");
19689 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19690 PyObject
*resultobj
;
19691 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19692 PyObject
* obj0
= 0 ;
19693 char *kwnames
[] = {
19694 (char *) "self", NULL
19697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
19698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19704 wxPyEndAllowThreads(__tstate
);
19705 if (PyErr_Occurred()) SWIG_fail
;
19707 Py_INCREF(Py_None
); resultobj
= Py_None
;
19714 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19715 PyObject
*resultobj
;
19716 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19718 PyObject
* obj0
= 0 ;
19719 PyObject
* obj1
= 0 ;
19720 char *kwnames
[] = {
19721 (char *) "self",(char *) "flag", NULL
19724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19727 arg2
= (bool)SWIG_As_bool(obj1
);
19728 if (PyErr_Occurred()) SWIG_fail
;
19730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19731 (arg1
)->EnableHelp(arg2
);
19733 wxPyEndAllowThreads(__tstate
);
19734 if (PyErr_Occurred()) SWIG_fail
;
19736 Py_INCREF(Py_None
); resultobj
= Py_None
;
19743 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19744 PyObject
*resultobj
;
19745 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19747 PyObject
* obj0
= 0 ;
19748 PyObject
* obj1
= 0 ;
19749 char *kwnames
[] = {
19750 (char *) "self",(char *) "flag", NULL
19753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
19754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19756 arg2
= (bool)SWIG_As_bool(obj1
);
19757 if (PyErr_Occurred()) SWIG_fail
;
19759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19760 (arg1
)->EnableMargins(arg2
);
19762 wxPyEndAllowThreads(__tstate
);
19763 if (PyErr_Occurred()) SWIG_fail
;
19765 Py_INCREF(Py_None
); resultobj
= Py_None
;
19772 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19773 PyObject
*resultobj
;
19774 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19776 PyObject
* obj0
= 0 ;
19777 PyObject
* obj1
= 0 ;
19778 char *kwnames
[] = {
19779 (char *) "self",(char *) "flag", NULL
19782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
19783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19785 arg2
= (bool)SWIG_As_bool(obj1
);
19786 if (PyErr_Occurred()) SWIG_fail
;
19788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19789 (arg1
)->EnableOrientation(arg2
);
19791 wxPyEndAllowThreads(__tstate
);
19792 if (PyErr_Occurred()) SWIG_fail
;
19794 Py_INCREF(Py_None
); resultobj
= Py_None
;
19801 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19802 PyObject
*resultobj
;
19803 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19805 PyObject
* obj0
= 0 ;
19806 PyObject
* obj1
= 0 ;
19807 char *kwnames
[] = {
19808 (char *) "self",(char *) "flag", NULL
19811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
19812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19814 arg2
= (bool)SWIG_As_bool(obj1
);
19815 if (PyErr_Occurred()) SWIG_fail
;
19817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19818 (arg1
)->EnablePaper(arg2
);
19820 wxPyEndAllowThreads(__tstate
);
19821 if (PyErr_Occurred()) SWIG_fail
;
19823 Py_INCREF(Py_None
); resultobj
= Py_None
;
19830 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19831 PyObject
*resultobj
;
19832 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19834 PyObject
* obj0
= 0 ;
19835 PyObject
* obj1
= 0 ;
19836 char *kwnames
[] = {
19837 (char *) "self",(char *) "flag", NULL
19840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
19841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19843 arg2
= (bool)SWIG_As_bool(obj1
);
19844 if (PyErr_Occurred()) SWIG_fail
;
19846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19847 (arg1
)->EnablePrinter(arg2
);
19849 wxPyEndAllowThreads(__tstate
);
19850 if (PyErr_Occurred()) SWIG_fail
;
19852 Py_INCREF(Py_None
); resultobj
= Py_None
;
19859 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19860 PyObject
*resultobj
;
19861 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19863 PyObject
* obj0
= 0 ;
19864 char *kwnames
[] = {
19865 (char *) "self", NULL
19868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
19869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19873 result
= (bool)(arg1
)->GetDefaultMinMargins();
19875 wxPyEndAllowThreads(__tstate
);
19876 if (PyErr_Occurred()) SWIG_fail
;
19879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19887 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19888 PyObject
*resultobj
;
19889 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19891 PyObject
* obj0
= 0 ;
19892 char *kwnames
[] = {
19893 (char *) "self", NULL
19896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
19897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19901 result
= (bool)(arg1
)->GetEnableMargins();
19903 wxPyEndAllowThreads(__tstate
);
19904 if (PyErr_Occurred()) SWIG_fail
;
19907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19915 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19916 PyObject
*resultobj
;
19917 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19919 PyObject
* obj0
= 0 ;
19920 char *kwnames
[] = {
19921 (char *) "self", NULL
19924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
19925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19929 result
= (bool)(arg1
)->GetEnableOrientation();
19931 wxPyEndAllowThreads(__tstate
);
19932 if (PyErr_Occurred()) SWIG_fail
;
19935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19943 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19944 PyObject
*resultobj
;
19945 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19947 PyObject
* obj0
= 0 ;
19948 char *kwnames
[] = {
19949 (char *) "self", NULL
19952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
19953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19957 result
= (bool)(arg1
)->GetEnablePaper();
19959 wxPyEndAllowThreads(__tstate
);
19960 if (PyErr_Occurred()) SWIG_fail
;
19963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19971 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19972 PyObject
*resultobj
;
19973 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19975 PyObject
* obj0
= 0 ;
19976 char *kwnames
[] = {
19977 (char *) "self", NULL
19980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
19981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19985 result
= (bool)(arg1
)->GetEnablePrinter();
19987 wxPyEndAllowThreads(__tstate
);
19988 if (PyErr_Occurred()) SWIG_fail
;
19991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19999 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20000 PyObject
*resultobj
;
20001 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20003 PyObject
* obj0
= 0 ;
20004 char *kwnames
[] = {
20005 (char *) "self", NULL
20008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
20009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20013 result
= (bool)(arg1
)->GetEnableHelp();
20015 wxPyEndAllowThreads(__tstate
);
20016 if (PyErr_Occurred()) SWIG_fail
;
20019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20027 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20028 PyObject
*resultobj
;
20029 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20031 PyObject
* obj0
= 0 ;
20032 char *kwnames
[] = {
20033 (char *) "self", NULL
20036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
20037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20041 result
= (bool)(arg1
)->GetDefaultInfo();
20043 wxPyEndAllowThreads(__tstate
);
20044 if (PyErr_Occurred()) SWIG_fail
;
20047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20055 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20056 PyObject
*resultobj
;
20057 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20059 PyObject
* obj0
= 0 ;
20060 char *kwnames
[] = {
20061 (char *) "self", NULL
20064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
20065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20069 result
= (arg1
)->GetMarginTopLeft();
20071 wxPyEndAllowThreads(__tstate
);
20072 if (PyErr_Occurred()) SWIG_fail
;
20075 wxPoint
* resultptr
;
20076 resultptr
= new wxPoint((wxPoint
&) result
);
20077 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20085 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20086 PyObject
*resultobj
;
20087 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20089 PyObject
* obj0
= 0 ;
20090 char *kwnames
[] = {
20091 (char *) "self", NULL
20094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
20095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20099 result
= (arg1
)->GetMarginBottomRight();
20101 wxPyEndAllowThreads(__tstate
);
20102 if (PyErr_Occurred()) SWIG_fail
;
20105 wxPoint
* resultptr
;
20106 resultptr
= new wxPoint((wxPoint
&) result
);
20107 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20115 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20116 PyObject
*resultobj
;
20117 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20119 PyObject
* obj0
= 0 ;
20120 char *kwnames
[] = {
20121 (char *) "self", NULL
20124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
20125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20129 result
= (arg1
)->GetMinMarginTopLeft();
20131 wxPyEndAllowThreads(__tstate
);
20132 if (PyErr_Occurred()) SWIG_fail
;
20135 wxPoint
* resultptr
;
20136 resultptr
= new wxPoint((wxPoint
&) result
);
20137 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20145 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20146 PyObject
*resultobj
;
20147 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20149 PyObject
* obj0
= 0 ;
20150 char *kwnames
[] = {
20151 (char *) "self", NULL
20154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
20155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20159 result
= (arg1
)->GetMinMarginBottomRight();
20161 wxPyEndAllowThreads(__tstate
);
20162 if (PyErr_Occurred()) SWIG_fail
;
20165 wxPoint
* resultptr
;
20166 resultptr
= new wxPoint((wxPoint
&) result
);
20167 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20175 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(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_GetPaperId",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
= (int)(arg1
)->GetPaperId();
20191 wxPyEndAllowThreads(__tstate
);
20192 if (PyErr_Occurred()) SWIG_fail
;
20194 resultobj
= SWIG_From_int((int)result
);
20201 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20202 PyObject
*resultobj
;
20203 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20205 PyObject
* obj0
= 0 ;
20206 char *kwnames
[] = {
20207 (char *) "self", NULL
20210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
20211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20215 result
= (arg1
)->GetPaperSize();
20217 wxPyEndAllowThreads(__tstate
);
20218 if (PyErr_Occurred()) SWIG_fail
;
20221 wxSize
* resultptr
;
20222 resultptr
= new wxSize((wxSize
&) result
);
20223 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20231 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20232 PyObject
*resultobj
;
20233 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20234 wxPrintData
*result
;
20235 PyObject
* obj0
= 0 ;
20236 char *kwnames
[] = {
20237 (char *) "self", NULL
20240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
20241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20246 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
20247 result
= (wxPrintData
*) &_result_ref
;
20250 wxPyEndAllowThreads(__tstate
);
20251 if (PyErr_Occurred()) SWIG_fail
;
20253 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
20260 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20261 PyObject
*resultobj
;
20262 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20264 PyObject
* obj0
= 0 ;
20265 char *kwnames
[] = {
20266 (char *) "self", NULL
20269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
20270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20274 result
= (bool)(arg1
)->Ok();
20276 wxPyEndAllowThreads(__tstate
);
20277 if (PyErr_Occurred()) SWIG_fail
;
20280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20288 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20289 PyObject
*resultobj
;
20290 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20292 PyObject
* obj0
= 0 ;
20293 PyObject
* obj1
= 0 ;
20294 char *kwnames
[] = {
20295 (char *) "self",(char *) "flag", NULL
20298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
20299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20301 arg2
= (bool)SWIG_As_bool(obj1
);
20302 if (PyErr_Occurred()) SWIG_fail
;
20304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20305 (arg1
)->SetDefaultInfo(arg2
);
20307 wxPyEndAllowThreads(__tstate
);
20308 if (PyErr_Occurred()) SWIG_fail
;
20310 Py_INCREF(Py_None
); resultobj
= Py_None
;
20317 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20318 PyObject
*resultobj
;
20319 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20321 PyObject
* obj0
= 0 ;
20322 PyObject
* obj1
= 0 ;
20323 char *kwnames
[] = {
20324 (char *) "self",(char *) "flag", NULL
20327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
20328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20330 arg2
= (bool)SWIG_As_bool(obj1
);
20331 if (PyErr_Occurred()) SWIG_fail
;
20333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20334 (arg1
)->SetDefaultMinMargins(arg2
);
20336 wxPyEndAllowThreads(__tstate
);
20337 if (PyErr_Occurred()) SWIG_fail
;
20339 Py_INCREF(Py_None
); resultobj
= Py_None
;
20346 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20347 PyObject
*resultobj
;
20348 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20349 wxPoint
*arg2
= 0 ;
20351 PyObject
* obj0
= 0 ;
20352 PyObject
* obj1
= 0 ;
20353 char *kwnames
[] = {
20354 (char *) "self",(char *) "pt", NULL
20357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
20358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20362 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20366 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
20368 wxPyEndAllowThreads(__tstate
);
20369 if (PyErr_Occurred()) SWIG_fail
;
20371 Py_INCREF(Py_None
); resultobj
= Py_None
;
20378 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20379 PyObject
*resultobj
;
20380 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20381 wxPoint
*arg2
= 0 ;
20383 PyObject
* obj0
= 0 ;
20384 PyObject
* obj1
= 0 ;
20385 char *kwnames
[] = {
20386 (char *) "self",(char *) "pt", NULL
20389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
20390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20394 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20398 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
20400 wxPyEndAllowThreads(__tstate
);
20401 if (PyErr_Occurred()) SWIG_fail
;
20403 Py_INCREF(Py_None
); resultobj
= Py_None
;
20410 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20411 PyObject
*resultobj
;
20412 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20413 wxPoint
*arg2
= 0 ;
20415 PyObject
* obj0
= 0 ;
20416 PyObject
* obj1
= 0 ;
20417 char *kwnames
[] = {
20418 (char *) "self",(char *) "pt", NULL
20421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
20422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20426 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20430 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
20432 wxPyEndAllowThreads(__tstate
);
20433 if (PyErr_Occurred()) SWIG_fail
;
20435 Py_INCREF(Py_None
); resultobj
= Py_None
;
20442 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20443 PyObject
*resultobj
;
20444 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20445 wxPoint
*arg2
= 0 ;
20447 PyObject
* obj0
= 0 ;
20448 PyObject
* obj1
= 0 ;
20449 char *kwnames
[] = {
20450 (char *) "self",(char *) "pt", NULL
20453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
20454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20458 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20462 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
20464 wxPyEndAllowThreads(__tstate
);
20465 if (PyErr_Occurred()) SWIG_fail
;
20467 Py_INCREF(Py_None
); resultobj
= Py_None
;
20474 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20475 PyObject
*resultobj
;
20476 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20478 PyObject
* obj0
= 0 ;
20479 PyObject
* obj1
= 0 ;
20480 char *kwnames
[] = {
20481 (char *) "self",(char *) "id", NULL
20484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
20485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20487 arg2
= (int)SWIG_As_int(obj1
);
20488 if (PyErr_Occurred()) SWIG_fail
;
20490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20491 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
20493 wxPyEndAllowThreads(__tstate
);
20494 if (PyErr_Occurred()) SWIG_fail
;
20496 Py_INCREF(Py_None
); resultobj
= Py_None
;
20503 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20504 PyObject
*resultobj
;
20505 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20508 PyObject
* obj0
= 0 ;
20509 PyObject
* obj1
= 0 ;
20510 char *kwnames
[] = {
20511 (char *) "self",(char *) "size", NULL
20514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20519 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20523 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
20525 wxPyEndAllowThreads(__tstate
);
20526 if (PyErr_Occurred()) SWIG_fail
;
20528 Py_INCREF(Py_None
); resultobj
= Py_None
;
20535 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20536 PyObject
*resultobj
;
20537 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20538 wxPrintData
*arg2
= 0 ;
20539 PyObject
* obj0
= 0 ;
20540 PyObject
* obj1
= 0 ;
20541 char *kwnames
[] = {
20542 (char *) "self",(char *) "printData", NULL
20545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
20546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20548 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
20549 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20551 if (arg2
== NULL
) {
20552 PyErr_SetString(PyExc_TypeError
,"null reference");
20556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20557 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
20559 wxPyEndAllowThreads(__tstate
);
20560 if (PyErr_Occurred()) SWIG_fail
;
20562 Py_INCREF(Py_None
); resultobj
= Py_None
;
20569 static PyObject
* PageSetupDialogData_swigregister(PyObject
*, PyObject
*args
) {
20571 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20572 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
20574 return Py_BuildValue((char *)"");
20576 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20577 PyObject
*resultobj
;
20578 wxWindow
*arg1
= (wxWindow
*) 0 ;
20579 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
20580 wxPageSetupDialog
*result
;
20581 PyObject
* obj0
= 0 ;
20582 PyObject
* obj1
= 0 ;
20583 char *kwnames
[] = {
20584 (char *) "parent",(char *) "data", NULL
20587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
20588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20591 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPageSetupDialogData
,
20592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20595 if (!wxPyCheckForApp()) SWIG_fail
;
20596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20597 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
20599 wxPyEndAllowThreads(__tstate
);
20600 if (PyErr_Occurred()) SWIG_fail
;
20602 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
20609 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20610 PyObject
*resultobj
;
20611 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
20612 wxPageSetupDialogData
*result
;
20613 PyObject
* obj0
= 0 ;
20614 char *kwnames
[] = {
20615 (char *) "self", NULL
20618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
20619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
20620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20624 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
20625 result
= (wxPageSetupDialogData
*) &_result_ref
;
20628 wxPyEndAllowThreads(__tstate
);
20629 if (PyErr_Occurred()) SWIG_fail
;
20631 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
20638 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20639 PyObject
*resultobj
;
20640 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
20642 PyObject
* obj0
= 0 ;
20643 char *kwnames
[] = {
20644 (char *) "self", NULL
20647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
20648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
20649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20652 result
= (int)(arg1
)->ShowModal();
20654 wxPyEndAllowThreads(__tstate
);
20655 if (PyErr_Occurred()) SWIG_fail
;
20657 resultobj
= SWIG_From_int((int)result
);
20664 static PyObject
* PageSetupDialog_swigregister(PyObject
*, PyObject
*args
) {
20666 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20667 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
20669 return Py_BuildValue((char *)"");
20671 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
20672 PyObject
*resultobj
;
20673 wxPrintDialogData
*result
;
20675 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
20677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20678 result
= (wxPrintDialogData
*)new wxPrintDialogData();
20680 wxPyEndAllowThreads(__tstate
);
20681 if (PyErr_Occurred()) SWIG_fail
;
20683 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
20690 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
20691 PyObject
*resultobj
;
20692 wxPrintData
*arg1
= 0 ;
20693 wxPrintDialogData
*result
;
20694 PyObject
* obj0
= 0 ;
20696 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
20697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
20698 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20700 if (arg1
== NULL
) {
20701 PyErr_SetString(PyExc_TypeError
,"null reference");
20705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20706 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
20708 wxPyEndAllowThreads(__tstate
);
20709 if (PyErr_Occurred()) SWIG_fail
;
20711 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
20718 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
20723 argc
= PyObject_Length(args
);
20724 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
20725 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20728 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
20734 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
20742 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
20746 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintDialogData'");
20751 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20752 PyObject
*resultobj
;
20753 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20754 PyObject
* obj0
= 0 ;
20755 char *kwnames
[] = {
20756 (char *) "self", NULL
20759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
20760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20766 wxPyEndAllowThreads(__tstate
);
20767 if (PyErr_Occurred()) SWIG_fail
;
20769 Py_INCREF(Py_None
); resultobj
= Py_None
;
20776 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20777 PyObject
*resultobj
;
20778 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20780 PyObject
* obj0
= 0 ;
20781 char *kwnames
[] = {
20782 (char *) "self", NULL
20785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
20786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20790 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
20792 wxPyEndAllowThreads(__tstate
);
20793 if (PyErr_Occurred()) SWIG_fail
;
20795 resultobj
= SWIG_From_int((int)result
);
20802 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20803 PyObject
*resultobj
;
20804 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20806 PyObject
* obj0
= 0 ;
20807 char *kwnames
[] = {
20808 (char *) "self", NULL
20811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
20812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20816 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
20818 wxPyEndAllowThreads(__tstate
);
20819 if (PyErr_Occurred()) SWIG_fail
;
20821 resultobj
= SWIG_From_int((int)result
);
20828 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20829 PyObject
*resultobj
;
20830 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20832 PyObject
* obj0
= 0 ;
20833 char *kwnames
[] = {
20834 (char *) "self", NULL
20837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
20838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20842 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
20844 wxPyEndAllowThreads(__tstate
);
20845 if (PyErr_Occurred()) SWIG_fail
;
20847 resultobj
= SWIG_From_int((int)result
);
20854 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20855 PyObject
*resultobj
;
20856 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20858 PyObject
* obj0
= 0 ;
20859 char *kwnames
[] = {
20860 (char *) "self", NULL
20863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
20864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20868 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
20870 wxPyEndAllowThreads(__tstate
);
20871 if (PyErr_Occurred()) SWIG_fail
;
20873 resultobj
= SWIG_From_int((int)result
);
20880 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20881 PyObject
*resultobj
;
20882 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20884 PyObject
* obj0
= 0 ;
20885 char *kwnames
[] = {
20886 (char *) "self", NULL
20889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
20890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20894 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
20896 wxPyEndAllowThreads(__tstate
);
20897 if (PyErr_Occurred()) SWIG_fail
;
20899 resultobj
= SWIG_From_int((int)result
);
20906 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20907 PyObject
*resultobj
;
20908 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20910 PyObject
* obj0
= 0 ;
20911 char *kwnames
[] = {
20912 (char *) "self", NULL
20915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
20916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20920 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
20922 wxPyEndAllowThreads(__tstate
);
20923 if (PyErr_Occurred()) SWIG_fail
;
20926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20934 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20935 PyObject
*resultobj
;
20936 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20938 PyObject
* obj0
= 0 ;
20939 char *kwnames
[] = {
20940 (char *) "self", NULL
20943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
20944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20948 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
20950 wxPyEndAllowThreads(__tstate
);
20951 if (PyErr_Occurred()) SWIG_fail
;
20954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20962 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20963 PyObject
*resultobj
;
20964 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20966 PyObject
* obj0
= 0 ;
20967 char *kwnames
[] = {
20968 (char *) "self", NULL
20971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
20972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20976 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
20978 wxPyEndAllowThreads(__tstate
);
20979 if (PyErr_Occurred()) SWIG_fail
;
20982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20990 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20991 PyObject
*resultobj
;
20992 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20994 PyObject
* obj0
= 0 ;
20995 char *kwnames
[] = {
20996 (char *) "self", NULL
20999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
21000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21004 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
21006 wxPyEndAllowThreads(__tstate
);
21007 if (PyErr_Occurred()) SWIG_fail
;
21010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21018 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21019 PyObject
*resultobj
;
21020 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21022 PyObject
* obj0
= 0 ;
21023 char *kwnames
[] = {
21024 (char *) "self", NULL
21027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
21028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21032 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
21034 wxPyEndAllowThreads(__tstate
);
21035 if (PyErr_Occurred()) SWIG_fail
;
21038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21046 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21047 PyObject
*resultobj
;
21048 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21050 PyObject
* obj0
= 0 ;
21051 PyObject
* obj1
= 0 ;
21052 char *kwnames
[] = {
21053 (char *) "self",(char *) "v", NULL
21056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21059 arg2
= (int)SWIG_As_int(obj1
);
21060 if (PyErr_Occurred()) SWIG_fail
;
21062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21063 (arg1
)->SetFromPage(arg2
);
21065 wxPyEndAllowThreads(__tstate
);
21066 if (PyErr_Occurred()) SWIG_fail
;
21068 Py_INCREF(Py_None
); resultobj
= Py_None
;
21075 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21076 PyObject
*resultobj
;
21077 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21079 PyObject
* obj0
= 0 ;
21080 PyObject
* obj1
= 0 ;
21081 char *kwnames
[] = {
21082 (char *) "self",(char *) "v", NULL
21085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21088 arg2
= (int)SWIG_As_int(obj1
);
21089 if (PyErr_Occurred()) SWIG_fail
;
21091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21092 (arg1
)->SetToPage(arg2
);
21094 wxPyEndAllowThreads(__tstate
);
21095 if (PyErr_Occurred()) SWIG_fail
;
21097 Py_INCREF(Py_None
); resultobj
= Py_None
;
21104 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21105 PyObject
*resultobj
;
21106 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21108 PyObject
* obj0
= 0 ;
21109 PyObject
* obj1
= 0 ;
21110 char *kwnames
[] = {
21111 (char *) "self",(char *) "v", NULL
21114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21117 arg2
= (int)SWIG_As_int(obj1
);
21118 if (PyErr_Occurred()) SWIG_fail
;
21120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21121 (arg1
)->SetMinPage(arg2
);
21123 wxPyEndAllowThreads(__tstate
);
21124 if (PyErr_Occurred()) SWIG_fail
;
21126 Py_INCREF(Py_None
); resultobj
= Py_None
;
21133 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21134 PyObject
*resultobj
;
21135 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21137 PyObject
* obj0
= 0 ;
21138 PyObject
* obj1
= 0 ;
21139 char *kwnames
[] = {
21140 (char *) "self",(char *) "v", NULL
21143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21146 arg2
= (int)SWIG_As_int(obj1
);
21147 if (PyErr_Occurred()) SWIG_fail
;
21149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21150 (arg1
)->SetMaxPage(arg2
);
21152 wxPyEndAllowThreads(__tstate
);
21153 if (PyErr_Occurred()) SWIG_fail
;
21155 Py_INCREF(Py_None
); resultobj
= Py_None
;
21162 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21163 PyObject
*resultobj
;
21164 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21166 PyObject
* obj0
= 0 ;
21167 PyObject
* obj1
= 0 ;
21168 char *kwnames
[] = {
21169 (char *) "self",(char *) "v", NULL
21172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
21173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21175 arg2
= (int)SWIG_As_int(obj1
);
21176 if (PyErr_Occurred()) SWIG_fail
;
21178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21179 (arg1
)->SetNoCopies(arg2
);
21181 wxPyEndAllowThreads(__tstate
);
21182 if (PyErr_Occurred()) SWIG_fail
;
21184 Py_INCREF(Py_None
); resultobj
= Py_None
;
21191 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21192 PyObject
*resultobj
;
21193 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21195 PyObject
* obj0
= 0 ;
21196 PyObject
* obj1
= 0 ;
21197 char *kwnames
[] = {
21198 (char *) "self",(char *) "flag", NULL
21201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
21202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21204 arg2
= (bool)SWIG_As_bool(obj1
);
21205 if (PyErr_Occurred()) SWIG_fail
;
21207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21208 (arg1
)->SetAllPages(arg2
);
21210 wxPyEndAllowThreads(__tstate
);
21211 if (PyErr_Occurred()) SWIG_fail
;
21213 Py_INCREF(Py_None
); resultobj
= Py_None
;
21220 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21221 PyObject
*resultobj
;
21222 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21224 PyObject
* obj0
= 0 ;
21225 PyObject
* obj1
= 0 ;
21226 char *kwnames
[] = {
21227 (char *) "self",(char *) "flag", NULL
21230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
21231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21233 arg2
= (bool)SWIG_As_bool(obj1
);
21234 if (PyErr_Occurred()) SWIG_fail
;
21236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21237 (arg1
)->SetSelection(arg2
);
21239 wxPyEndAllowThreads(__tstate
);
21240 if (PyErr_Occurred()) SWIG_fail
;
21242 Py_INCREF(Py_None
); resultobj
= Py_None
;
21249 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21250 PyObject
*resultobj
;
21251 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21253 PyObject
* obj0
= 0 ;
21254 PyObject
* obj1
= 0 ;
21255 char *kwnames
[] = {
21256 (char *) "self",(char *) "flag", NULL
21259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
21260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21262 arg2
= (bool)SWIG_As_bool(obj1
);
21263 if (PyErr_Occurred()) SWIG_fail
;
21265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21266 (arg1
)->SetCollate(arg2
);
21268 wxPyEndAllowThreads(__tstate
);
21269 if (PyErr_Occurred()) SWIG_fail
;
21271 Py_INCREF(Py_None
); resultobj
= Py_None
;
21278 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21279 PyObject
*resultobj
;
21280 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21282 PyObject
* obj0
= 0 ;
21283 PyObject
* obj1
= 0 ;
21284 char *kwnames
[] = {
21285 (char *) "self",(char *) "flag", NULL
21288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
21289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21291 arg2
= (bool)SWIG_As_bool(obj1
);
21292 if (PyErr_Occurred()) SWIG_fail
;
21294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21295 (arg1
)->SetPrintToFile(arg2
);
21297 wxPyEndAllowThreads(__tstate
);
21298 if (PyErr_Occurred()) SWIG_fail
;
21300 Py_INCREF(Py_None
); resultobj
= Py_None
;
21307 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21308 PyObject
*resultobj
;
21309 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21311 PyObject
* obj0
= 0 ;
21312 PyObject
* obj1
= 0 ;
21313 char *kwnames
[] = {
21314 (char *) "self",(char *) "flag", NULL
21317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21320 arg2
= (bool)SWIG_As_bool(obj1
);
21321 if (PyErr_Occurred()) SWIG_fail
;
21323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21324 (arg1
)->SetSetupDialog(arg2
);
21326 wxPyEndAllowThreads(__tstate
);
21327 if (PyErr_Occurred()) SWIG_fail
;
21329 Py_INCREF(Py_None
); resultobj
= Py_None
;
21336 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21337 PyObject
*resultobj
;
21338 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21340 PyObject
* obj0
= 0 ;
21341 PyObject
* obj1
= 0 ;
21342 char *kwnames
[] = {
21343 (char *) "self",(char *) "flag", NULL
21346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
21347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21349 arg2
= (bool)SWIG_As_bool(obj1
);
21350 if (PyErr_Occurred()) SWIG_fail
;
21352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21353 (arg1
)->EnablePrintToFile(arg2
);
21355 wxPyEndAllowThreads(__tstate
);
21356 if (PyErr_Occurred()) SWIG_fail
;
21358 Py_INCREF(Py_None
); resultobj
= Py_None
;
21365 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21366 PyObject
*resultobj
;
21367 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21369 PyObject
* obj0
= 0 ;
21370 PyObject
* obj1
= 0 ;
21371 char *kwnames
[] = {
21372 (char *) "self",(char *) "flag", NULL
21375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
21376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21378 arg2
= (bool)SWIG_As_bool(obj1
);
21379 if (PyErr_Occurred()) SWIG_fail
;
21381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21382 (arg1
)->EnableSelection(arg2
);
21384 wxPyEndAllowThreads(__tstate
);
21385 if (PyErr_Occurred()) SWIG_fail
;
21387 Py_INCREF(Py_None
); resultobj
= Py_None
;
21394 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21395 PyObject
*resultobj
;
21396 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21398 PyObject
* obj0
= 0 ;
21399 PyObject
* obj1
= 0 ;
21400 char *kwnames
[] = {
21401 (char *) "self",(char *) "flag", NULL
21404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
21405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21407 arg2
= (bool)SWIG_As_bool(obj1
);
21408 if (PyErr_Occurred()) SWIG_fail
;
21410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21411 (arg1
)->EnablePageNumbers(arg2
);
21413 wxPyEndAllowThreads(__tstate
);
21414 if (PyErr_Occurred()) SWIG_fail
;
21416 Py_INCREF(Py_None
); resultobj
= Py_None
;
21423 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21424 PyObject
*resultobj
;
21425 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21427 PyObject
* obj0
= 0 ;
21428 PyObject
* obj1
= 0 ;
21429 char *kwnames
[] = {
21430 (char *) "self",(char *) "flag", NULL
21433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
21434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21436 arg2
= (bool)SWIG_As_bool(obj1
);
21437 if (PyErr_Occurred()) SWIG_fail
;
21439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21440 (arg1
)->EnableHelp(arg2
);
21442 wxPyEndAllowThreads(__tstate
);
21443 if (PyErr_Occurred()) SWIG_fail
;
21445 Py_INCREF(Py_None
); resultobj
= Py_None
;
21452 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21453 PyObject
*resultobj
;
21454 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21456 PyObject
* obj0
= 0 ;
21457 char *kwnames
[] = {
21458 (char *) "self", NULL
21461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
21462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21466 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
21468 wxPyEndAllowThreads(__tstate
);
21469 if (PyErr_Occurred()) SWIG_fail
;
21472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21480 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21481 PyObject
*resultobj
;
21482 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21484 PyObject
* obj0
= 0 ;
21485 char *kwnames
[] = {
21486 (char *) "self", NULL
21489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
21490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21494 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
21496 wxPyEndAllowThreads(__tstate
);
21497 if (PyErr_Occurred()) SWIG_fail
;
21500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21508 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21509 PyObject
*resultobj
;
21510 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21512 PyObject
* obj0
= 0 ;
21513 char *kwnames
[] = {
21514 (char *) "self", NULL
21517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
21518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21522 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
21524 wxPyEndAllowThreads(__tstate
);
21525 if (PyErr_Occurred()) SWIG_fail
;
21528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21536 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21537 PyObject
*resultobj
;
21538 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21540 PyObject
* obj0
= 0 ;
21541 char *kwnames
[] = {
21542 (char *) "self", NULL
21545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
21546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21550 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
21552 wxPyEndAllowThreads(__tstate
);
21553 if (PyErr_Occurred()) SWIG_fail
;
21556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21564 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21565 PyObject
*resultobj
;
21566 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21568 PyObject
* obj0
= 0 ;
21569 char *kwnames
[] = {
21570 (char *) "self", NULL
21573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
21574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21578 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
21580 wxPyEndAllowThreads(__tstate
);
21581 if (PyErr_Occurred()) SWIG_fail
;
21584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21592 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21593 PyObject
*resultobj
;
21594 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21595 wxPrintData
*result
;
21596 PyObject
* obj0
= 0 ;
21597 char *kwnames
[] = {
21598 (char *) "self", NULL
21601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
21602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21607 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
21608 result
= (wxPrintData
*) &_result_ref
;
21611 wxPyEndAllowThreads(__tstate
);
21612 if (PyErr_Occurred()) SWIG_fail
;
21614 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
21621 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21622 PyObject
*resultobj
;
21623 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21624 wxPrintData
*arg2
= 0 ;
21625 PyObject
* obj0
= 0 ;
21626 PyObject
* obj1
= 0 ;
21627 char *kwnames
[] = {
21628 (char *) "self",(char *) "printData", NULL
21631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
21632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21634 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
21635 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21637 if (arg2
== NULL
) {
21638 PyErr_SetString(PyExc_TypeError
,"null reference");
21642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21643 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
21645 wxPyEndAllowThreads(__tstate
);
21646 if (PyErr_Occurred()) SWIG_fail
;
21648 Py_INCREF(Py_None
); resultobj
= Py_None
;
21655 static PyObject
* PrintDialogData_swigregister(PyObject
*, PyObject
*args
) {
21657 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21658 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
21660 return Py_BuildValue((char *)"");
21662 static PyObject
*_wrap_new_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21663 PyObject
*resultobj
;
21664 wxWindow
*arg1
= (wxWindow
*) 0 ;
21665 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
21666 wxPrintDialog
*result
;
21667 PyObject
* obj0
= 0 ;
21668 PyObject
* obj1
= 0 ;
21669 char *kwnames
[] = {
21670 (char *) "parent",(char *) "data", NULL
21673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21677 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintDialogData
,
21678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21681 if (!wxPyCheckForApp()) SWIG_fail
;
21682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21683 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
21685 wxPyEndAllowThreads(__tstate
);
21686 if (PyErr_Occurred()) SWIG_fail
;
21688 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
21695 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21696 PyObject
*resultobj
;
21697 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21698 wxPrintDialogData
*result
;
21699 PyObject
* obj0
= 0 ;
21700 char *kwnames
[] = {
21701 (char *) "self", NULL
21704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21710 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21711 result
= (wxPrintDialogData
*) &_result_ref
;
21714 wxPyEndAllowThreads(__tstate
);
21715 if (PyErr_Occurred()) SWIG_fail
;
21717 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
21724 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21725 PyObject
*resultobj
;
21726 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21728 PyObject
* obj0
= 0 ;
21729 char *kwnames
[] = {
21730 (char *) "self", NULL
21733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
21734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21738 result
= (wxDC
*)(arg1
)->GetPrintDC();
21740 wxPyEndAllowThreads(__tstate
);
21741 if (PyErr_Occurred()) SWIG_fail
;
21744 resultobj
= wxPyMake_wxObject(result
, 1);
21752 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21753 PyObject
*resultobj
;
21754 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21756 PyObject
* obj0
= 0 ;
21757 char *kwnames
[] = {
21758 (char *) "self", NULL
21761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
21762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21766 result
= (int)(arg1
)->ShowModal();
21768 wxPyEndAllowThreads(__tstate
);
21769 if (PyErr_Occurred()) SWIG_fail
;
21771 resultobj
= SWIG_From_int((int)result
);
21778 static PyObject
* PrintDialog_swigregister(PyObject
*, PyObject
*args
) {
21780 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21781 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
21783 return Py_BuildValue((char *)"");
21785 static PyObject
*_wrap_new_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21786 PyObject
*resultobj
;
21787 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
21789 PyObject
* obj0
= 0 ;
21790 char *kwnames
[] = {
21791 (char *) "data", NULL
21794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
21796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21800 if (!wxPyCheckForApp()) SWIG_fail
;
21801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21802 result
= (wxPrinter
*)new wxPrinter(arg1
);
21804 wxPyEndAllowThreads(__tstate
);
21805 if (PyErr_Occurred()) SWIG_fail
;
21807 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
21814 static PyObject
*_wrap_delete_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21815 PyObject
*resultobj
;
21816 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21817 PyObject
* obj0
= 0 ;
21818 char *kwnames
[] = {
21819 (char *) "self", NULL
21822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
21823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21829 wxPyEndAllowThreads(__tstate
);
21830 if (PyErr_Occurred()) SWIG_fail
;
21832 Py_INCREF(Py_None
); resultobj
= Py_None
;
21839 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21840 PyObject
*resultobj
;
21841 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21842 wxWindow
*arg2
= (wxWindow
*) 0 ;
21843 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21844 PyObject
* obj0
= 0 ;
21845 PyObject
* obj1
= 0 ;
21846 PyObject
* obj2
= 0 ;
21847 char *kwnames
[] = {
21848 (char *) "self",(char *) "parent",(char *) "printout", NULL
21851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21854 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21856 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21860 (arg1
)->CreateAbortWindow(arg2
,arg3
);
21862 wxPyEndAllowThreads(__tstate
);
21863 if (PyErr_Occurred()) SWIG_fail
;
21865 Py_INCREF(Py_None
); resultobj
= Py_None
;
21872 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21873 PyObject
*resultobj
;
21874 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21875 wxPrintDialogData
*result
;
21876 PyObject
* obj0
= 0 ;
21877 char *kwnames
[] = {
21878 (char *) "self", NULL
21881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21887 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21888 result
= (wxPrintDialogData
*) &_result_ref
;
21891 wxPyEndAllowThreads(__tstate
);
21892 if (PyErr_Occurred()) SWIG_fail
;
21894 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
21901 static PyObject
*_wrap_Printer_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21902 PyObject
*resultobj
;
21903 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21904 wxWindow
*arg2
= (wxWindow
*) 0 ;
21905 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21906 int arg4
= (int) True
;
21908 PyObject
* obj0
= 0 ;
21909 PyObject
* obj1
= 0 ;
21910 PyObject
* obj2
= 0 ;
21911 PyObject
* obj3
= 0 ;
21912 char *kwnames
[] = {
21913 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
21916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21919 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21921 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21924 arg4
= (int)SWIG_As_int(obj3
);
21925 if (PyErr_Occurred()) SWIG_fail
;
21928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21929 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
21931 wxPyEndAllowThreads(__tstate
);
21932 if (PyErr_Occurred()) SWIG_fail
;
21935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21943 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21944 PyObject
*resultobj
;
21945 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21946 wxWindow
*arg2
= (wxWindow
*) 0 ;
21948 PyObject
* obj0
= 0 ;
21949 PyObject
* obj1
= 0 ;
21950 char *kwnames
[] = {
21951 (char *) "self",(char *) "parent", NULL
21954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21957 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21961 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
21963 wxPyEndAllowThreads(__tstate
);
21964 if (PyErr_Occurred()) SWIG_fail
;
21967 resultobj
= wxPyMake_wxObject(result
, 0);
21975 static PyObject
*_wrap_Printer_ReportError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21976 PyObject
*resultobj
;
21977 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21978 wxWindow
*arg2
= (wxWindow
*) 0 ;
21979 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21980 wxString
*arg4
= 0 ;
21981 bool temp4
= False
;
21982 PyObject
* obj0
= 0 ;
21983 PyObject
* obj1
= 0 ;
21984 PyObject
* obj2
= 0 ;
21985 PyObject
* obj3
= 0 ;
21986 char *kwnames
[] = {
21987 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
21990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21993 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21995 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21998 arg4
= wxString_in_helper(obj3
);
21999 if (arg4
== NULL
) SWIG_fail
;
22003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22004 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
22006 wxPyEndAllowThreads(__tstate
);
22007 if (PyErr_Occurred()) SWIG_fail
;
22009 Py_INCREF(Py_None
); resultobj
= Py_None
;
22024 static PyObject
*_wrap_Printer_Setup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22025 PyObject
*resultobj
;
22026 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22027 wxWindow
*arg2
= (wxWindow
*) 0 ;
22029 PyObject
* obj0
= 0 ;
22030 PyObject
* obj1
= 0 ;
22031 char *kwnames
[] = {
22032 (char *) "self",(char *) "parent", NULL
22035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
22036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22038 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22042 result
= (bool)(arg1
)->Setup(arg2
);
22044 wxPyEndAllowThreads(__tstate
);
22045 if (PyErr_Occurred()) SWIG_fail
;
22048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22056 static PyObject
*_wrap_Printer_GetAbort(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22057 PyObject
*resultobj
;
22058 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22060 PyObject
* obj0
= 0 ;
22061 char *kwnames
[] = {
22062 (char *) "self", NULL
22065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
22066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22070 result
= (bool)(arg1
)->GetAbort();
22072 wxPyEndAllowThreads(__tstate
);
22073 if (PyErr_Occurred()) SWIG_fail
;
22076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22084 static PyObject
*_wrap_Printer_GetLastError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22085 PyObject
*resultobj
;
22087 char *kwnames
[] = {
22091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
22093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22094 result
= (int)wxPrinter::GetLastError();
22096 wxPyEndAllowThreads(__tstate
);
22097 if (PyErr_Occurred()) SWIG_fail
;
22099 resultobj
= SWIG_From_int((int)result
);
22106 static PyObject
* Printer_swigregister(PyObject
*, PyObject
*args
) {
22108 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22109 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
22111 return Py_BuildValue((char *)"");
22113 static PyObject
*_wrap_new_Printout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22114 PyObject
*resultobj
;
22115 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
22116 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
22117 wxPyPrintout
*result
;
22118 bool temp1
= False
;
22119 PyObject
* obj0
= 0 ;
22120 char *kwnames
[] = {
22121 (char *) "title", NULL
22124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
22127 arg1
= wxString_in_helper(obj0
);
22128 if (arg1
== NULL
) SWIG_fail
;
22133 if (!wxPyCheckForApp()) SWIG_fail
;
22134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22135 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
22137 wxPyEndAllowThreads(__tstate
);
22138 if (PyErr_Occurred()) SWIG_fail
;
22141 resultobj
= wxPyMake_wxObject(result
, 1);
22157 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22158 PyObject
*resultobj
;
22159 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22160 PyObject
*arg2
= (PyObject
*) 0 ;
22161 PyObject
*arg3
= (PyObject
*) 0 ;
22162 PyObject
* obj0
= 0 ;
22163 PyObject
* obj1
= 0 ;
22164 PyObject
* obj2
= 0 ;
22165 char *kwnames
[] = {
22166 (char *) "self",(char *) "self",(char *) "_class", NULL
22169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22176 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22178 wxPyEndAllowThreads(__tstate
);
22179 if (PyErr_Occurred()) SWIG_fail
;
22181 Py_INCREF(Py_None
); resultobj
= Py_None
;
22188 static PyObject
*_wrap_Printout_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22189 PyObject
*resultobj
;
22190 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22192 PyObject
* obj0
= 0 ;
22193 char *kwnames
[] = {
22194 (char *) "self", NULL
22197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
22198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22202 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
22204 wxPyEndAllowThreads(__tstate
);
22205 if (PyErr_Occurred()) SWIG_fail
;
22209 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22211 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22220 static PyObject
*_wrap_Printout_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22221 PyObject
*resultobj
;
22222 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22224 PyObject
* obj0
= 0 ;
22225 char *kwnames
[] = {
22226 (char *) "self", NULL
22229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
22230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22234 result
= (wxDC
*)(arg1
)->GetDC();
22236 wxPyEndAllowThreads(__tstate
);
22237 if (PyErr_Occurred()) SWIG_fail
;
22240 resultobj
= wxPyMake_wxObject(result
, 0);
22248 static PyObject
*_wrap_Printout_SetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22249 PyObject
*resultobj
;
22250 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22251 wxDC
*arg2
= (wxDC
*) 0 ;
22252 PyObject
* obj0
= 0 ;
22253 PyObject
* obj1
= 0 ;
22254 char *kwnames
[] = {
22255 (char *) "self",(char *) "dc", NULL
22258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
22259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22261 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22265 (arg1
)->SetDC(arg2
);
22267 wxPyEndAllowThreads(__tstate
);
22268 if (PyErr_Occurred()) SWIG_fail
;
22270 Py_INCREF(Py_None
); resultobj
= Py_None
;
22277 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22278 PyObject
*resultobj
;
22279 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22282 PyObject
* obj0
= 0 ;
22283 PyObject
* obj1
= 0 ;
22284 PyObject
* obj2
= 0 ;
22285 char *kwnames
[] = {
22286 (char *) "self",(char *) "w",(char *) "h", NULL
22289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22292 arg2
= (int)SWIG_As_int(obj1
);
22293 if (PyErr_Occurred()) SWIG_fail
;
22294 arg3
= (int)SWIG_As_int(obj2
);
22295 if (PyErr_Occurred()) SWIG_fail
;
22297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22298 (arg1
)->SetPageSizePixels(arg2
,arg3
);
22300 wxPyEndAllowThreads(__tstate
);
22301 if (PyErr_Occurred()) SWIG_fail
;
22303 Py_INCREF(Py_None
); resultobj
= Py_None
;
22310 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22311 PyObject
*resultobj
;
22312 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22313 int *arg2
= (int *) 0 ;
22314 int *arg3
= (int *) 0 ;
22319 PyObject
* obj0
= 0 ;
22320 char *kwnames
[] = {
22321 (char *) "self", NULL
22324 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22325 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
22327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22331 (arg1
)->GetPageSizePixels(arg2
,arg3
);
22333 wxPyEndAllowThreads(__tstate
);
22334 if (PyErr_Occurred()) SWIG_fail
;
22336 Py_INCREF(Py_None
); resultobj
= Py_None
;
22337 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22338 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22339 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22340 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22347 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22348 PyObject
*resultobj
;
22349 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22352 PyObject
* obj0
= 0 ;
22353 PyObject
* obj1
= 0 ;
22354 PyObject
* obj2
= 0 ;
22355 char *kwnames
[] = {
22356 (char *) "self",(char *) "w",(char *) "h", NULL
22359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22362 arg2
= (int)SWIG_As_int(obj1
);
22363 if (PyErr_Occurred()) SWIG_fail
;
22364 arg3
= (int)SWIG_As_int(obj2
);
22365 if (PyErr_Occurred()) SWIG_fail
;
22367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22368 (arg1
)->SetPageSizeMM(arg2
,arg3
);
22370 wxPyEndAllowThreads(__tstate
);
22371 if (PyErr_Occurred()) SWIG_fail
;
22373 Py_INCREF(Py_None
); resultobj
= Py_None
;
22380 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22381 PyObject
*resultobj
;
22382 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22383 int *arg2
= (int *) 0 ;
22384 int *arg3
= (int *) 0 ;
22389 PyObject
* obj0
= 0 ;
22390 char *kwnames
[] = {
22391 (char *) "self", NULL
22394 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22395 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
22397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22401 (arg1
)->GetPageSizeMM(arg2
,arg3
);
22403 wxPyEndAllowThreads(__tstate
);
22404 if (PyErr_Occurred()) SWIG_fail
;
22406 Py_INCREF(Py_None
); resultobj
= Py_None
;
22407 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22408 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22409 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22410 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22417 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22418 PyObject
*resultobj
;
22419 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22422 PyObject
* obj0
= 0 ;
22423 PyObject
* obj1
= 0 ;
22424 PyObject
* obj2
= 0 ;
22425 char *kwnames
[] = {
22426 (char *) "self",(char *) "x",(char *) "y", NULL
22429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22432 arg2
= (int)SWIG_As_int(obj1
);
22433 if (PyErr_Occurred()) SWIG_fail
;
22434 arg3
= (int)SWIG_As_int(obj2
);
22435 if (PyErr_Occurred()) SWIG_fail
;
22437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22438 (arg1
)->SetPPIScreen(arg2
,arg3
);
22440 wxPyEndAllowThreads(__tstate
);
22441 if (PyErr_Occurred()) SWIG_fail
;
22443 Py_INCREF(Py_None
); resultobj
= Py_None
;
22450 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22451 PyObject
*resultobj
;
22452 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22453 int *arg2
= (int *) 0 ;
22454 int *arg3
= (int *) 0 ;
22459 PyObject
* obj0
= 0 ;
22460 char *kwnames
[] = {
22461 (char *) "self", NULL
22464 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22465 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
22467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22471 (arg1
)->GetPPIScreen(arg2
,arg3
);
22473 wxPyEndAllowThreads(__tstate
);
22474 if (PyErr_Occurred()) SWIG_fail
;
22476 Py_INCREF(Py_None
); resultobj
= Py_None
;
22477 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22478 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22479 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22480 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22487 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22488 PyObject
*resultobj
;
22489 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22492 PyObject
* obj0
= 0 ;
22493 PyObject
* obj1
= 0 ;
22494 PyObject
* obj2
= 0 ;
22495 char *kwnames
[] = {
22496 (char *) "self",(char *) "x",(char *) "y", NULL
22499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22502 arg2
= (int)SWIG_As_int(obj1
);
22503 if (PyErr_Occurred()) SWIG_fail
;
22504 arg3
= (int)SWIG_As_int(obj2
);
22505 if (PyErr_Occurred()) SWIG_fail
;
22507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22508 (arg1
)->SetPPIPrinter(arg2
,arg3
);
22510 wxPyEndAllowThreads(__tstate
);
22511 if (PyErr_Occurred()) SWIG_fail
;
22513 Py_INCREF(Py_None
); resultobj
= Py_None
;
22520 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22521 PyObject
*resultobj
;
22522 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22523 int *arg2
= (int *) 0 ;
22524 int *arg3
= (int *) 0 ;
22529 PyObject
* obj0
= 0 ;
22530 char *kwnames
[] = {
22531 (char *) "self", NULL
22534 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22535 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
22537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22541 (arg1
)->GetPPIPrinter(arg2
,arg3
);
22543 wxPyEndAllowThreads(__tstate
);
22544 if (PyErr_Occurred()) SWIG_fail
;
22546 Py_INCREF(Py_None
); resultobj
= Py_None
;
22547 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22548 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22549 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22550 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22557 static PyObject
*_wrap_Printout_IsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22558 PyObject
*resultobj
;
22559 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22561 PyObject
* obj0
= 0 ;
22562 char *kwnames
[] = {
22563 (char *) "self", NULL
22566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
22567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22571 result
= (bool)(arg1
)->IsPreview();
22573 wxPyEndAllowThreads(__tstate
);
22574 if (PyErr_Occurred()) SWIG_fail
;
22577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22585 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22586 PyObject
*resultobj
;
22587 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22589 PyObject
* obj0
= 0 ;
22590 PyObject
* obj1
= 0 ;
22591 char *kwnames
[] = {
22592 (char *) "self",(char *) "p", NULL
22595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
22596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22598 arg2
= (bool)SWIG_As_bool(obj1
);
22599 if (PyErr_Occurred()) SWIG_fail
;
22601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22602 (arg1
)->SetIsPreview(arg2
);
22604 wxPyEndAllowThreads(__tstate
);
22605 if (PyErr_Occurred()) SWIG_fail
;
22607 Py_INCREF(Py_None
); resultobj
= Py_None
;
22614 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22615 PyObject
*resultobj
;
22616 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22620 PyObject
* obj0
= 0 ;
22621 PyObject
* obj1
= 0 ;
22622 PyObject
* obj2
= 0 ;
22623 char *kwnames
[] = {
22624 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
22627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22630 arg2
= (int)SWIG_As_int(obj1
);
22631 if (PyErr_Occurred()) SWIG_fail
;
22632 arg3
= (int)SWIG_As_int(obj2
);
22633 if (PyErr_Occurred()) SWIG_fail
;
22635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22636 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
22638 wxPyEndAllowThreads(__tstate
);
22639 if (PyErr_Occurred()) SWIG_fail
;
22642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22650 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22651 PyObject
*resultobj
;
22652 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22653 PyObject
* obj0
= 0 ;
22654 char *kwnames
[] = {
22655 (char *) "self", NULL
22658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
22659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22663 (arg1
)->base_OnEndDocument();
22665 wxPyEndAllowThreads(__tstate
);
22666 if (PyErr_Occurred()) SWIG_fail
;
22668 Py_INCREF(Py_None
); resultobj
= Py_None
;
22675 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22676 PyObject
*resultobj
;
22677 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22678 PyObject
* obj0
= 0 ;
22679 char *kwnames
[] = {
22680 (char *) "self", NULL
22683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
22684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22688 (arg1
)->base_OnBeginPrinting();
22690 wxPyEndAllowThreads(__tstate
);
22691 if (PyErr_Occurred()) SWIG_fail
;
22693 Py_INCREF(Py_None
); resultobj
= Py_None
;
22700 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22701 PyObject
*resultobj
;
22702 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22703 PyObject
* obj0
= 0 ;
22704 char *kwnames
[] = {
22705 (char *) "self", NULL
22708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
22709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22713 (arg1
)->base_OnEndPrinting();
22715 wxPyEndAllowThreads(__tstate
);
22716 if (PyErr_Occurred()) SWIG_fail
;
22718 Py_INCREF(Py_None
); resultobj
= Py_None
;
22725 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22726 PyObject
*resultobj
;
22727 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22728 PyObject
* obj0
= 0 ;
22729 char *kwnames
[] = {
22730 (char *) "self", NULL
22733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
22734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22738 (arg1
)->base_OnPreparePrinting();
22740 wxPyEndAllowThreads(__tstate
);
22741 if (PyErr_Occurred()) SWIG_fail
;
22743 Py_INCREF(Py_None
); resultobj
= Py_None
;
22750 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22751 PyObject
*resultobj
;
22752 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22755 PyObject
* obj0
= 0 ;
22756 PyObject
* obj1
= 0 ;
22757 char *kwnames
[] = {
22758 (char *) "self",(char *) "page", NULL
22761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
22762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22764 arg2
= (int)SWIG_As_int(obj1
);
22765 if (PyErr_Occurred()) SWIG_fail
;
22767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22768 result
= (bool)(arg1
)->base_HasPage(arg2
);
22770 wxPyEndAllowThreads(__tstate
);
22771 if (PyErr_Occurred()) SWIG_fail
;
22774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22782 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22783 PyObject
*resultobj
;
22784 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22785 int *arg2
= (int *) 0 ;
22786 int *arg3
= (int *) 0 ;
22787 int *arg4
= (int *) 0 ;
22788 int *arg5
= (int *) 0 ;
22797 PyObject
* obj0
= 0 ;
22798 char *kwnames
[] = {
22799 (char *) "self", NULL
22802 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22803 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22804 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
22805 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
22806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",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_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
22813 wxPyEndAllowThreads(__tstate
);
22814 if (PyErr_Occurred()) SWIG_fail
;
22816 Py_INCREF(Py_None
); resultobj
= Py_None
;
22817 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22818 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22819 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22820 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22821 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
22822 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
22823 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
22824 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
22831 static PyObject
* Printout_swigregister(PyObject
*, PyObject
*args
) {
22833 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22834 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
22836 return Py_BuildValue((char *)"");
22838 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22839 PyObject
*resultobj
;
22840 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22841 wxWindow
*arg2
= (wxWindow
*) 0 ;
22842 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22843 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22844 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22845 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22846 long arg5
= (long) 0 ;
22847 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
22848 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22849 wxPreviewCanvas
*result
;
22852 bool temp6
= False
;
22853 PyObject
* obj0
= 0 ;
22854 PyObject
* obj1
= 0 ;
22855 PyObject
* obj2
= 0 ;
22856 PyObject
* obj3
= 0 ;
22857 PyObject
* obj4
= 0 ;
22858 PyObject
* obj5
= 0 ;
22859 char *kwnames
[] = {
22860 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22866 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22871 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22877 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22881 arg5
= (long)SWIG_As_long(obj4
);
22882 if (PyErr_Occurred()) SWIG_fail
;
22886 arg6
= wxString_in_helper(obj5
);
22887 if (arg6
== NULL
) SWIG_fail
;
22892 if (!wxPyCheckForApp()) SWIG_fail
;
22893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22894 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22896 wxPyEndAllowThreads(__tstate
);
22897 if (PyErr_Occurred()) SWIG_fail
;
22899 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
22914 static PyObject
* PreviewCanvas_swigregister(PyObject
*, PyObject
*args
) {
22916 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22917 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
22919 return Py_BuildValue((char *)"");
22921 static PyObject
*_wrap_new_PreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22922 PyObject
*resultobj
;
22923 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22924 wxFrame
*arg2
= (wxFrame
*) 0 ;
22925 wxString
*arg3
= 0 ;
22926 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22927 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22928 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22929 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22930 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
22931 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
22932 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22933 wxPreviewFrame
*result
;
22934 bool temp3
= False
;
22937 bool temp7
= False
;
22938 PyObject
* obj0
= 0 ;
22939 PyObject
* obj1
= 0 ;
22940 PyObject
* obj2
= 0 ;
22941 PyObject
* obj3
= 0 ;
22942 PyObject
* obj4
= 0 ;
22943 PyObject
* obj5
= 0 ;
22944 PyObject
* obj6
= 0 ;
22945 char *kwnames
[] = {
22946 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22952 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
22953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22955 arg3
= wxString_in_helper(obj2
);
22956 if (arg3
== NULL
) SWIG_fail
;
22962 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22968 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22972 arg6
= (long)SWIG_As_long(obj5
);
22973 if (PyErr_Occurred()) SWIG_fail
;
22977 arg7
= wxString_in_helper(obj6
);
22978 if (arg7
== NULL
) SWIG_fail
;
22983 if (!wxPyCheckForApp()) SWIG_fail
;
22984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22985 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22987 wxPyEndAllowThreads(__tstate
);
22988 if (PyErr_Occurred()) SWIG_fail
;
22990 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
23013 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23014 PyObject
*resultobj
;
23015 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
23016 PyObject
* obj0
= 0 ;
23017 char *kwnames
[] = {
23018 (char *) "self", NULL
23021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
23022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
23023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23026 (arg1
)->Initialize();
23028 wxPyEndAllowThreads(__tstate
);
23029 if (PyErr_Occurred()) SWIG_fail
;
23031 Py_INCREF(Py_None
); resultobj
= Py_None
;
23038 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23039 PyObject
*resultobj
;
23040 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
23041 PyObject
* obj0
= 0 ;
23042 char *kwnames
[] = {
23043 (char *) "self", NULL
23046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
23047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
23048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23051 (arg1
)->CreateControlBar();
23053 wxPyEndAllowThreads(__tstate
);
23054 if (PyErr_Occurred()) SWIG_fail
;
23056 Py_INCREF(Py_None
); resultobj
= Py_None
;
23063 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23064 PyObject
*resultobj
;
23065 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
23066 PyObject
* obj0
= 0 ;
23067 char *kwnames
[] = {
23068 (char *) "self", NULL
23071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
23072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
23073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23076 (arg1
)->CreateCanvas();
23078 wxPyEndAllowThreads(__tstate
);
23079 if (PyErr_Occurred()) SWIG_fail
;
23081 Py_INCREF(Py_None
); resultobj
= Py_None
;
23088 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23089 PyObject
*resultobj
;
23090 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
23091 wxPreviewControlBar
*result
;
23092 PyObject
* obj0
= 0 ;
23093 char *kwnames
[] = {
23094 (char *) "self", NULL
23097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
23098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
23099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23102 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
23104 wxPyEndAllowThreads(__tstate
);
23105 if (PyErr_Occurred()) SWIG_fail
;
23107 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
23114 static PyObject
* PreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
23116 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23117 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
23119 return Py_BuildValue((char *)"");
23121 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23122 PyObject
*resultobj
;
23123 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23125 wxWindow
*arg3
= (wxWindow
*) 0 ;
23126 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23127 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23128 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23129 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23130 long arg6
= (long) wxTAB_TRAVERSAL
;
23131 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
23132 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23133 wxPreviewControlBar
*result
;
23136 bool temp7
= False
;
23137 PyObject
* obj0
= 0 ;
23138 PyObject
* obj1
= 0 ;
23139 PyObject
* obj2
= 0 ;
23140 PyObject
* obj3
= 0 ;
23141 PyObject
* obj4
= 0 ;
23142 PyObject
* obj5
= 0 ;
23143 PyObject
* obj6
= 0 ;
23144 char *kwnames
[] = {
23145 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23151 arg2
= (long)SWIG_As_long(obj1
);
23152 if (PyErr_Occurred()) SWIG_fail
;
23153 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
23154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23158 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23164 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23168 arg6
= (long)SWIG_As_long(obj5
);
23169 if (PyErr_Occurred()) SWIG_fail
;
23173 arg7
= wxString_in_helper(obj6
);
23174 if (arg7
== NULL
) SWIG_fail
;
23179 if (!wxPyCheckForApp()) SWIG_fail
;
23180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23181 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
23183 wxPyEndAllowThreads(__tstate
);
23184 if (PyErr_Occurred()) SWIG_fail
;
23186 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
23201 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23202 PyObject
*resultobj
;
23203 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23205 PyObject
* obj0
= 0 ;
23206 char *kwnames
[] = {
23207 (char *) "self", NULL
23210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
23211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23215 result
= (int)(arg1
)->GetZoomControl();
23217 wxPyEndAllowThreads(__tstate
);
23218 if (PyErr_Occurred()) SWIG_fail
;
23220 resultobj
= SWIG_From_int((int)result
);
23227 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23228 PyObject
*resultobj
;
23229 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23231 PyObject
* obj0
= 0 ;
23232 PyObject
* obj1
= 0 ;
23233 char *kwnames
[] = {
23234 (char *) "self",(char *) "zoom", NULL
23237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
23238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23240 arg2
= (int)SWIG_As_int(obj1
);
23241 if (PyErr_Occurred()) SWIG_fail
;
23243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23244 (arg1
)->SetZoomControl(arg2
);
23246 wxPyEndAllowThreads(__tstate
);
23247 if (PyErr_Occurred()) SWIG_fail
;
23249 Py_INCREF(Py_None
); resultobj
= Py_None
;
23256 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23257 PyObject
*resultobj
;
23258 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23259 wxPrintPreview
*result
;
23260 PyObject
* obj0
= 0 ;
23261 char *kwnames
[] = {
23262 (char *) "self", NULL
23265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
23266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23270 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
23272 wxPyEndAllowThreads(__tstate
);
23273 if (PyErr_Occurred()) SWIG_fail
;
23275 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
23282 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23283 PyObject
*resultobj
;
23284 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23285 PyObject
* obj0
= 0 ;
23286 char *kwnames
[] = {
23287 (char *) "self", NULL
23290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
23291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23297 wxPyEndAllowThreads(__tstate
);
23298 if (PyErr_Occurred()) SWIG_fail
;
23300 Py_INCREF(Py_None
); resultobj
= Py_None
;
23307 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23308 PyObject
*resultobj
;
23309 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23310 PyObject
* obj0
= 0 ;
23311 char *kwnames
[] = {
23312 (char *) "self", NULL
23315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
23316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23320 (arg1
)->OnPrevious();
23322 wxPyEndAllowThreads(__tstate
);
23323 if (PyErr_Occurred()) SWIG_fail
;
23325 Py_INCREF(Py_None
); resultobj
= Py_None
;
23332 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23333 PyObject
*resultobj
;
23334 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23335 PyObject
* obj0
= 0 ;
23336 char *kwnames
[] = {
23337 (char *) "self", NULL
23340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
23341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23347 wxPyEndAllowThreads(__tstate
);
23348 if (PyErr_Occurred()) SWIG_fail
;
23350 Py_INCREF(Py_None
); resultobj
= Py_None
;
23357 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23358 PyObject
*resultobj
;
23359 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23360 PyObject
* obj0
= 0 ;
23361 char *kwnames
[] = {
23362 (char *) "self", NULL
23365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
23366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23372 wxPyEndAllowThreads(__tstate
);
23373 if (PyErr_Occurred()) SWIG_fail
;
23375 Py_INCREF(Py_None
); resultobj
= Py_None
;
23382 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23383 PyObject
*resultobj
;
23384 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23385 PyObject
* obj0
= 0 ;
23386 char *kwnames
[] = {
23387 (char *) "self", NULL
23390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
23391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23397 wxPyEndAllowThreads(__tstate
);
23398 if (PyErr_Occurred()) SWIG_fail
;
23400 Py_INCREF(Py_None
); resultobj
= Py_None
;
23407 static PyObject
* PreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
23409 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23410 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
23412 return Py_BuildValue((char *)"");
23414 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
23415 PyObject
*resultobj
;
23416 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23417 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23418 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
23419 wxPrintPreview
*result
;
23420 PyObject
* obj0
= 0 ;
23421 PyObject
* obj1
= 0 ;
23422 PyObject
* obj2
= 0 ;
23424 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23427 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23430 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
23431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23434 if (!wxPyCheckForApp()) SWIG_fail
;
23435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23436 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
23438 wxPyEndAllowThreads(__tstate
);
23439 if (PyErr_Occurred()) SWIG_fail
;
23441 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
23448 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
23449 PyObject
*resultobj
;
23450 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23451 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23452 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
23453 wxPrintPreview
*result
;
23454 PyObject
* obj0
= 0 ;
23455 PyObject
* obj1
= 0 ;
23456 PyObject
* obj2
= 0 ;
23458 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23461 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23463 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
23464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23466 if (!wxPyCheckForApp()) SWIG_fail
;
23467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23468 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
23470 wxPyEndAllowThreads(__tstate
);
23471 if (PyErr_Occurred()) SWIG_fail
;
23473 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
23480 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
23485 argc
= PyObject_Length(args
);
23486 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
23487 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23489 if ((argc
>= 2) && (argc
<= 3)) {
23493 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23503 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23512 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
23516 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
23524 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
23533 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23543 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23553 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
23561 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
23567 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintPreview'");
23572 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23573 PyObject
*resultobj
;
23574 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23577 PyObject
* obj0
= 0 ;
23578 PyObject
* obj1
= 0 ;
23579 char *kwnames
[] = {
23580 (char *) "self",(char *) "pageNum", NULL
23583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23586 arg2
= (int)SWIG_As_int(obj1
);
23587 if (PyErr_Occurred()) SWIG_fail
;
23589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23590 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
23592 wxPyEndAllowThreads(__tstate
);
23593 if (PyErr_Occurred()) SWIG_fail
;
23596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23604 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23605 PyObject
*resultobj
;
23606 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23608 PyObject
* obj0
= 0 ;
23609 char *kwnames
[] = {
23610 (char *) "self", NULL
23613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
23614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23618 result
= (int)(arg1
)->GetCurrentPage();
23620 wxPyEndAllowThreads(__tstate
);
23621 if (PyErr_Occurred()) SWIG_fail
;
23623 resultobj
= SWIG_From_int((int)result
);
23630 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23631 PyObject
*resultobj
;
23632 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23633 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23634 PyObject
* obj0
= 0 ;
23635 PyObject
* obj1
= 0 ;
23636 char *kwnames
[] = {
23637 (char *) "self",(char *) "printout", NULL
23640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
23641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23643 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23647 (arg1
)->SetPrintout(arg2
);
23649 wxPyEndAllowThreads(__tstate
);
23650 if (PyErr_Occurred()) SWIG_fail
;
23652 Py_INCREF(Py_None
); resultobj
= Py_None
;
23659 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23660 PyObject
*resultobj
;
23661 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23662 wxPyPrintout
*result
;
23663 PyObject
* obj0
= 0 ;
23664 char *kwnames
[] = {
23665 (char *) "self", NULL
23668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
23669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23673 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
23675 wxPyEndAllowThreads(__tstate
);
23676 if (PyErr_Occurred()) SWIG_fail
;
23679 resultobj
= wxPyMake_wxObject(result
, 0);
23687 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23688 PyObject
*resultobj
;
23689 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23690 wxPyPrintout
*result
;
23691 PyObject
* obj0
= 0 ;
23692 char *kwnames
[] = {
23693 (char *) "self", NULL
23696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
23697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23701 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
23703 wxPyEndAllowThreads(__tstate
);
23704 if (PyErr_Occurred()) SWIG_fail
;
23707 resultobj
= wxPyMake_wxObject(result
, 0);
23715 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23716 PyObject
*resultobj
;
23717 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23718 wxFrame
*arg2
= (wxFrame
*) 0 ;
23719 PyObject
* obj0
= 0 ;
23720 PyObject
* obj1
= 0 ;
23721 char *kwnames
[] = {
23722 (char *) "self",(char *) "frame", NULL
23725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
23726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23728 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
23729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23732 (arg1
)->SetFrame(arg2
);
23734 wxPyEndAllowThreads(__tstate
);
23735 if (PyErr_Occurred()) SWIG_fail
;
23737 Py_INCREF(Py_None
); resultobj
= Py_None
;
23744 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23745 PyObject
*resultobj
;
23746 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23747 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23748 PyObject
* obj0
= 0 ;
23749 PyObject
* obj1
= 0 ;
23750 char *kwnames
[] = {
23751 (char *) "self",(char *) "canvas", NULL
23754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
23755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23757 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23761 (arg1
)->SetCanvas(arg2
);
23763 wxPyEndAllowThreads(__tstate
);
23764 if (PyErr_Occurred()) SWIG_fail
;
23766 Py_INCREF(Py_None
); resultobj
= Py_None
;
23773 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23774 PyObject
*resultobj
;
23775 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23777 PyObject
* obj0
= 0 ;
23778 char *kwnames
[] = {
23779 (char *) "self", NULL
23782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
23783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23787 result
= (wxFrame
*)(arg1
)->GetFrame();
23789 wxPyEndAllowThreads(__tstate
);
23790 if (PyErr_Occurred()) SWIG_fail
;
23793 resultobj
= wxPyMake_wxObject(result
, 0);
23801 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23802 PyObject
*resultobj
;
23803 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23804 wxPreviewCanvas
*result
;
23805 PyObject
* obj0
= 0 ;
23806 char *kwnames
[] = {
23807 (char *) "self", NULL
23810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
23811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23815 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
23817 wxPyEndAllowThreads(__tstate
);
23818 if (PyErr_Occurred()) SWIG_fail
;
23820 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
23827 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23828 PyObject
*resultobj
;
23829 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23830 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23833 PyObject
* obj0
= 0 ;
23834 PyObject
* obj1
= 0 ;
23835 PyObject
* obj2
= 0 ;
23836 char *kwnames
[] = {
23837 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23843 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23845 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23846 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23848 if (arg3
== NULL
) {
23849 PyErr_SetString(PyExc_TypeError
,"null reference");
23853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23854 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
23856 wxPyEndAllowThreads(__tstate
);
23857 if (PyErr_Occurred()) SWIG_fail
;
23860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23868 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23869 PyObject
*resultobj
;
23870 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23871 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23874 PyObject
* obj0
= 0 ;
23875 PyObject
* obj1
= 0 ;
23876 PyObject
* obj2
= 0 ;
23877 char *kwnames
[] = {
23878 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23884 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23886 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23887 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23889 if (arg3
== NULL
) {
23890 PyErr_SetString(PyExc_TypeError
,"null reference");
23894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23895 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
23897 wxPyEndAllowThreads(__tstate
);
23898 if (PyErr_Occurred()) SWIG_fail
;
23901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23909 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23910 PyObject
*resultobj
;
23911 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23914 PyObject
* obj0
= 0 ;
23915 PyObject
* obj1
= 0 ;
23916 char *kwnames
[] = {
23917 (char *) "self",(char *) "pageNum", NULL
23920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23923 arg2
= (int)SWIG_As_int(obj1
);
23924 if (PyErr_Occurred()) SWIG_fail
;
23926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23927 result
= (bool)(arg1
)->RenderPage(arg2
);
23929 wxPyEndAllowThreads(__tstate
);
23930 if (PyErr_Occurred()) SWIG_fail
;
23933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23941 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23942 PyObject
*resultobj
;
23943 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23944 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23945 PyObject
* obj0
= 0 ;
23946 PyObject
* obj1
= 0 ;
23947 char *kwnames
[] = {
23948 (char *) "self",(char *) "canvas", NULL
23951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
23952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23954 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23958 (arg1
)->AdjustScrollbars(arg2
);
23960 wxPyEndAllowThreads(__tstate
);
23961 if (PyErr_Occurred()) SWIG_fail
;
23963 Py_INCREF(Py_None
); resultobj
= Py_None
;
23970 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23971 PyObject
*resultobj
;
23972 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23973 wxPrintDialogData
*result
;
23974 PyObject
* obj0
= 0 ;
23975 char *kwnames
[] = {
23976 (char *) "self", NULL
23979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
23980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23985 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
23986 result
= (wxPrintDialogData
*) &_result_ref
;
23989 wxPyEndAllowThreads(__tstate
);
23990 if (PyErr_Occurred()) SWIG_fail
;
23992 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
23999 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24000 PyObject
*resultobj
;
24001 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24003 PyObject
* obj0
= 0 ;
24004 PyObject
* obj1
= 0 ;
24005 char *kwnames
[] = {
24006 (char *) "self",(char *) "percent", NULL
24009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
24010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24012 arg2
= (int)SWIG_As_int(obj1
);
24013 if (PyErr_Occurred()) SWIG_fail
;
24015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24016 (arg1
)->SetZoom(arg2
);
24018 wxPyEndAllowThreads(__tstate
);
24019 if (PyErr_Occurred()) SWIG_fail
;
24021 Py_INCREF(Py_None
); resultobj
= Py_None
;
24028 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24029 PyObject
*resultobj
;
24030 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24032 PyObject
* obj0
= 0 ;
24033 char *kwnames
[] = {
24034 (char *) "self", NULL
24037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
24038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24042 result
= (int)(arg1
)->GetZoom();
24044 wxPyEndAllowThreads(__tstate
);
24045 if (PyErr_Occurred()) SWIG_fail
;
24047 resultobj
= SWIG_From_int((int)result
);
24054 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24055 PyObject
*resultobj
;
24056 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24058 PyObject
* obj0
= 0 ;
24059 char *kwnames
[] = {
24060 (char *) "self", NULL
24063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
24064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24068 result
= (int)(arg1
)->GetMaxPage();
24070 wxPyEndAllowThreads(__tstate
);
24071 if (PyErr_Occurred()) SWIG_fail
;
24073 resultobj
= SWIG_From_int((int)result
);
24080 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24081 PyObject
*resultobj
;
24082 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24084 PyObject
* obj0
= 0 ;
24085 char *kwnames
[] = {
24086 (char *) "self", NULL
24089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
24090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24094 result
= (int)(arg1
)->GetMinPage();
24096 wxPyEndAllowThreads(__tstate
);
24097 if (PyErr_Occurred()) SWIG_fail
;
24099 resultobj
= SWIG_From_int((int)result
);
24106 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24107 PyObject
*resultobj
;
24108 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24110 PyObject
* obj0
= 0 ;
24111 char *kwnames
[] = {
24112 (char *) "self", NULL
24115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
24116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24120 result
= (bool)(arg1
)->Ok();
24122 wxPyEndAllowThreads(__tstate
);
24123 if (PyErr_Occurred()) SWIG_fail
;
24126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24134 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24135 PyObject
*resultobj
;
24136 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24138 PyObject
* obj0
= 0 ;
24139 PyObject
* obj1
= 0 ;
24140 char *kwnames
[] = {
24141 (char *) "self",(char *) "ok", NULL
24144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
24145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24147 arg2
= (bool)SWIG_As_bool(obj1
);
24148 if (PyErr_Occurred()) SWIG_fail
;
24150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24151 (arg1
)->SetOk(arg2
);
24153 wxPyEndAllowThreads(__tstate
);
24154 if (PyErr_Occurred()) SWIG_fail
;
24156 Py_INCREF(Py_None
); resultobj
= Py_None
;
24163 static PyObject
*_wrap_PrintPreview_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24164 PyObject
*resultobj
;
24165 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24168 PyObject
* obj0
= 0 ;
24169 PyObject
* obj1
= 0 ;
24170 char *kwnames
[] = {
24171 (char *) "self",(char *) "interactive", NULL
24174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
24175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24177 arg2
= (bool)SWIG_As_bool(obj1
);
24178 if (PyErr_Occurred()) SWIG_fail
;
24180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24181 result
= (bool)(arg1
)->Print(arg2
);
24183 wxPyEndAllowThreads(__tstate
);
24184 if (PyErr_Occurred()) SWIG_fail
;
24187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24195 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24196 PyObject
*resultobj
;
24197 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24198 PyObject
* obj0
= 0 ;
24199 char *kwnames
[] = {
24200 (char *) "self", NULL
24203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
24204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24208 (arg1
)->DetermineScaling();
24210 wxPyEndAllowThreads(__tstate
);
24211 if (PyErr_Occurred()) SWIG_fail
;
24213 Py_INCREF(Py_None
); resultobj
= Py_None
;
24220 static PyObject
* PrintPreview_swigregister(PyObject
*, PyObject
*args
) {
24222 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24223 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
24225 return Py_BuildValue((char *)"");
24227 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
24228 PyObject
*resultobj
;
24229 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24230 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
24231 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
24232 wxPyPrintPreview
*result
;
24233 PyObject
* obj0
= 0 ;
24234 PyObject
* obj1
= 0 ;
24235 PyObject
* obj2
= 0 ;
24237 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
24238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
24239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24240 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
24241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24243 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
24244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24247 if (!wxPyCheckForApp()) SWIG_fail
;
24248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24249 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
24251 wxPyEndAllowThreads(__tstate
);
24252 if (PyErr_Occurred()) SWIG_fail
;
24254 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
24261 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
24262 PyObject
*resultobj
;
24263 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24264 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
24265 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
24266 wxPyPrintPreview
*result
;
24267 PyObject
* obj0
= 0 ;
24268 PyObject
* obj1
= 0 ;
24269 PyObject
* obj2
= 0 ;
24271 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
24272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
24273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24274 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
24275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24276 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
24277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24279 if (!wxPyCheckForApp()) SWIG_fail
;
24280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24281 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
24283 wxPyEndAllowThreads(__tstate
);
24284 if (PyErr_Occurred()) SWIG_fail
;
24286 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
24293 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
24298 argc
= PyObject_Length(args
);
24299 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
24300 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24302 if ((argc
>= 2) && (argc
<= 3)) {
24306 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24316 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24325 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
24329 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
24337 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
24346 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24356 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24366 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
24374 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
24380 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PyPrintPreview'");
24385 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24386 PyObject
*resultobj
;
24387 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24388 PyObject
*arg2
= (PyObject
*) 0 ;
24389 PyObject
*arg3
= (PyObject
*) 0 ;
24390 PyObject
* obj0
= 0 ;
24391 PyObject
* obj1
= 0 ;
24392 PyObject
* obj2
= 0 ;
24393 char *kwnames
[] = {
24394 (char *) "self",(char *) "self",(char *) "_class", NULL
24397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24404 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24406 wxPyEndAllowThreads(__tstate
);
24407 if (PyErr_Occurred()) SWIG_fail
;
24409 Py_INCREF(Py_None
); resultobj
= Py_None
;
24416 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24417 PyObject
*resultobj
;
24418 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24421 PyObject
* obj0
= 0 ;
24422 PyObject
* obj1
= 0 ;
24423 char *kwnames
[] = {
24424 (char *) "self",(char *) "pageNum", NULL
24427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24430 arg2
= (int)SWIG_As_int(obj1
);
24431 if (PyErr_Occurred()) SWIG_fail
;
24433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24434 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
24436 wxPyEndAllowThreads(__tstate
);
24437 if (PyErr_Occurred()) SWIG_fail
;
24440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24448 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24449 PyObject
*resultobj
;
24450 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24451 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24454 PyObject
* obj0
= 0 ;
24455 PyObject
* obj1
= 0 ;
24456 PyObject
* obj2
= 0 ;
24457 char *kwnames
[] = {
24458 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24464 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24466 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24467 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24469 if (arg3
== NULL
) {
24470 PyErr_SetString(PyExc_TypeError
,"null reference");
24474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24475 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
24477 wxPyEndAllowThreads(__tstate
);
24478 if (PyErr_Occurred()) SWIG_fail
;
24481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24489 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24490 PyObject
*resultobj
;
24491 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24492 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24495 PyObject
* obj0
= 0 ;
24496 PyObject
* obj1
= 0 ;
24497 PyObject
* obj2
= 0 ;
24498 char *kwnames
[] = {
24499 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24505 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24507 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24508 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24510 if (arg3
== NULL
) {
24511 PyErr_SetString(PyExc_TypeError
,"null reference");
24515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24516 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
24518 wxPyEndAllowThreads(__tstate
);
24519 if (PyErr_Occurred()) SWIG_fail
;
24522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24530 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24531 PyObject
*resultobj
;
24532 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24535 PyObject
* obj0
= 0 ;
24536 PyObject
* obj1
= 0 ;
24537 char *kwnames
[] = {
24538 (char *) "self",(char *) "pageNum", NULL
24541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24544 arg2
= (int)SWIG_As_int(obj1
);
24545 if (PyErr_Occurred()) SWIG_fail
;
24547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24548 result
= (bool)(arg1
)->base_RenderPage(arg2
);
24550 wxPyEndAllowThreads(__tstate
);
24551 if (PyErr_Occurred()) SWIG_fail
;
24554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24562 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24563 PyObject
*resultobj
;
24564 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24566 PyObject
* obj0
= 0 ;
24567 PyObject
* obj1
= 0 ;
24568 char *kwnames
[] = {
24569 (char *) "self",(char *) "percent", NULL
24572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
24573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24575 arg2
= (int)SWIG_As_int(obj1
);
24576 if (PyErr_Occurred()) SWIG_fail
;
24578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24579 (arg1
)->base_SetZoom(arg2
);
24581 wxPyEndAllowThreads(__tstate
);
24582 if (PyErr_Occurred()) SWIG_fail
;
24584 Py_INCREF(Py_None
); resultobj
= Py_None
;
24591 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24592 PyObject
*resultobj
;
24593 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24596 PyObject
* obj0
= 0 ;
24597 PyObject
* obj1
= 0 ;
24598 char *kwnames
[] = {
24599 (char *) "self",(char *) "interactive", NULL
24602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
24603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24605 arg2
= (bool)SWIG_As_bool(obj1
);
24606 if (PyErr_Occurred()) SWIG_fail
;
24608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24609 result
= (bool)(arg1
)->base_Print(arg2
);
24611 wxPyEndAllowThreads(__tstate
);
24612 if (PyErr_Occurred()) SWIG_fail
;
24615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24623 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24624 PyObject
*resultobj
;
24625 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24626 PyObject
* obj0
= 0 ;
24627 char *kwnames
[] = {
24628 (char *) "self", NULL
24631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
24632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24636 (arg1
)->base_DetermineScaling();
24638 wxPyEndAllowThreads(__tstate
);
24639 if (PyErr_Occurred()) SWIG_fail
;
24641 Py_INCREF(Py_None
); resultobj
= Py_None
;
24648 static PyObject
* PyPrintPreview_swigregister(PyObject
*, PyObject
*args
) {
24650 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24651 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
24653 return Py_BuildValue((char *)"");
24655 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24656 PyObject
*resultobj
;
24657 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24658 wxFrame
*arg2
= (wxFrame
*) 0 ;
24659 wxString
*arg3
= 0 ;
24660 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24661 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24662 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24663 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24664 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
24665 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
24666 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24667 wxPyPreviewFrame
*result
;
24668 bool temp3
= False
;
24671 bool temp7
= False
;
24672 PyObject
* obj0
= 0 ;
24673 PyObject
* obj1
= 0 ;
24674 PyObject
* obj2
= 0 ;
24675 PyObject
* obj3
= 0 ;
24676 PyObject
* obj4
= 0 ;
24677 PyObject
* obj5
= 0 ;
24678 PyObject
* obj6
= 0 ;
24679 char *kwnames
[] = {
24680 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24686 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
24687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24689 arg3
= wxString_in_helper(obj2
);
24690 if (arg3
== NULL
) SWIG_fail
;
24696 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24702 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24706 arg6
= (long)SWIG_As_long(obj5
);
24707 if (PyErr_Occurred()) SWIG_fail
;
24711 arg7
= wxString_in_helper(obj6
);
24712 if (arg7
== NULL
) SWIG_fail
;
24717 if (!wxPyCheckForApp()) SWIG_fail
;
24718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24719 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24721 wxPyEndAllowThreads(__tstate
);
24722 if (PyErr_Occurred()) SWIG_fail
;
24724 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
24747 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24748 PyObject
*resultobj
;
24749 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24750 PyObject
*arg2
= (PyObject
*) 0 ;
24751 PyObject
*arg3
= (PyObject
*) 0 ;
24752 PyObject
* obj0
= 0 ;
24753 PyObject
* obj1
= 0 ;
24754 PyObject
* obj2
= 0 ;
24755 char *kwnames
[] = {
24756 (char *) "self",(char *) "self",(char *) "_class", NULL
24759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24766 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24768 wxPyEndAllowThreads(__tstate
);
24769 if (PyErr_Occurred()) SWIG_fail
;
24771 Py_INCREF(Py_None
); resultobj
= Py_None
;
24778 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24779 PyObject
*resultobj
;
24780 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24781 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24782 PyObject
* obj0
= 0 ;
24783 PyObject
* obj1
= 0 ;
24784 char *kwnames
[] = {
24785 (char *) "self",(char *) "canvas", NULL
24788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
24789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24791 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24795 (arg1
)->SetPreviewCanvas(arg2
);
24797 wxPyEndAllowThreads(__tstate
);
24798 if (PyErr_Occurred()) SWIG_fail
;
24800 Py_INCREF(Py_None
); resultobj
= Py_None
;
24807 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24808 PyObject
*resultobj
;
24809 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24810 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
24811 PyObject
* obj0
= 0 ;
24812 PyObject
* obj1
= 0 ;
24813 char *kwnames
[] = {
24814 (char *) "self",(char *) "bar", NULL
24817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
24818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24820 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewControlBar
,
24821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24824 (arg1
)->SetControlBar(arg2
);
24826 wxPyEndAllowThreads(__tstate
);
24827 if (PyErr_Occurred()) SWIG_fail
;
24829 Py_INCREF(Py_None
); resultobj
= Py_None
;
24836 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24837 PyObject
*resultobj
;
24838 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24839 PyObject
* obj0
= 0 ;
24840 char *kwnames
[] = {
24841 (char *) "self", NULL
24844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
24845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24849 (arg1
)->base_Initialize();
24851 wxPyEndAllowThreads(__tstate
);
24852 if (PyErr_Occurred()) SWIG_fail
;
24854 Py_INCREF(Py_None
); resultobj
= Py_None
;
24861 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24862 PyObject
*resultobj
;
24863 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24864 PyObject
* obj0
= 0 ;
24865 char *kwnames
[] = {
24866 (char *) "self", NULL
24869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
24870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24874 (arg1
)->base_CreateCanvas();
24876 wxPyEndAllowThreads(__tstate
);
24877 if (PyErr_Occurred()) SWIG_fail
;
24879 Py_INCREF(Py_None
); resultobj
= Py_None
;
24886 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24887 PyObject
*resultobj
;
24888 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24889 PyObject
* obj0
= 0 ;
24890 char *kwnames
[] = {
24891 (char *) "self", NULL
24894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
24895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24899 (arg1
)->base_CreateControlBar();
24901 wxPyEndAllowThreads(__tstate
);
24902 if (PyErr_Occurred()) SWIG_fail
;
24904 Py_INCREF(Py_None
); resultobj
= Py_None
;
24911 static PyObject
* PyPreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
24913 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24914 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
24916 return Py_BuildValue((char *)"");
24918 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24919 PyObject
*resultobj
;
24920 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24922 wxWindow
*arg3
= (wxWindow
*) 0 ;
24923 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24924 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24925 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24926 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24927 long arg6
= (long) 0 ;
24928 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
24929 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24930 wxPyPreviewControlBar
*result
;
24933 bool temp7
= False
;
24934 PyObject
* obj0
= 0 ;
24935 PyObject
* obj1
= 0 ;
24936 PyObject
* obj2
= 0 ;
24937 PyObject
* obj3
= 0 ;
24938 PyObject
* obj4
= 0 ;
24939 PyObject
* obj5
= 0 ;
24940 PyObject
* obj6
= 0 ;
24941 char *kwnames
[] = {
24942 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24948 arg2
= (long)SWIG_As_long(obj1
);
24949 if (PyErr_Occurred()) SWIG_fail
;
24950 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
24951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24955 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24961 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24965 arg6
= (long)SWIG_As_long(obj5
);
24966 if (PyErr_Occurred()) SWIG_fail
;
24970 arg7
= wxString_in_helper(obj6
);
24971 if (arg7
== NULL
) SWIG_fail
;
24976 if (!wxPyCheckForApp()) SWIG_fail
;
24977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24978 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24980 wxPyEndAllowThreads(__tstate
);
24981 if (PyErr_Occurred()) SWIG_fail
;
24983 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
24998 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24999 PyObject
*resultobj
;
25000 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
25001 PyObject
*arg2
= (PyObject
*) 0 ;
25002 PyObject
*arg3
= (PyObject
*) 0 ;
25003 PyObject
* obj0
= 0 ;
25004 PyObject
* obj1
= 0 ;
25005 PyObject
* obj2
= 0 ;
25006 char *kwnames
[] = {
25007 (char *) "self",(char *) "self",(char *) "_class", NULL
25010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
25012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25017 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25019 wxPyEndAllowThreads(__tstate
);
25020 if (PyErr_Occurred()) SWIG_fail
;
25022 Py_INCREF(Py_None
); resultobj
= Py_None
;
25029 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25030 PyObject
*resultobj
;
25031 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
25032 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
25033 PyObject
* obj0
= 0 ;
25034 PyObject
* obj1
= 0 ;
25035 char *kwnames
[] = {
25036 (char *) "self",(char *) "preview", NULL
25039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
25040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
25041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25042 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintPreview
,
25043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25046 (arg1
)->SetPrintPreview(arg2
);
25048 wxPyEndAllowThreads(__tstate
);
25049 if (PyErr_Occurred()) SWIG_fail
;
25051 Py_INCREF(Py_None
); resultobj
= Py_None
;
25058 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25059 PyObject
*resultobj
;
25060 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
25061 PyObject
* obj0
= 0 ;
25062 char *kwnames
[] = {
25063 (char *) "self", NULL
25066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
25067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
25068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25071 (arg1
)->base_CreateButtons();
25073 wxPyEndAllowThreads(__tstate
);
25074 if (PyErr_Occurred()) SWIG_fail
;
25076 Py_INCREF(Py_None
); resultobj
= Py_None
;
25083 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25084 PyObject
*resultobj
;
25085 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
25087 PyObject
* obj0
= 0 ;
25088 PyObject
* obj1
= 0 ;
25089 char *kwnames
[] = {
25090 (char *) "self",(char *) "zoom", NULL
25093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
25094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
25095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25096 arg2
= (int)SWIG_As_int(obj1
);
25097 if (PyErr_Occurred()) SWIG_fail
;
25099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25100 (arg1
)->base_SetZoomControl(arg2
);
25102 wxPyEndAllowThreads(__tstate
);
25103 if (PyErr_Occurred()) SWIG_fail
;
25105 Py_INCREF(Py_None
); resultobj
= Py_None
;
25112 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
25114 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25115 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
25117 return Py_BuildValue((char *)"");
25119 static PyMethodDef SwigMethods
[] = {
25120 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25121 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25122 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25123 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25124 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25125 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
25126 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25127 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25128 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25129 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25130 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25131 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25132 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25133 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25134 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25135 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25136 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25137 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25138 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25139 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25140 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
25141 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
25142 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25143 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25144 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25145 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25146 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25147 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25148 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
25149 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25150 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25151 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25152 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25153 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25154 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25155 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25156 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25157 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25158 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25159 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25160 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25161 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25162 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25163 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
25164 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25165 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25166 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25167 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25168 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25169 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25170 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25171 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25172 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25173 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25174 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25175 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25176 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25177 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25178 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25179 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25180 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25181 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25182 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25183 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25184 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25185 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25186 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25187 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
25188 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25189 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25190 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25191 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25192 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25193 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25194 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25195 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25196 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25197 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25198 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25199 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
25200 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25201 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25202 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25203 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
25204 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25205 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25206 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25207 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
25208 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25209 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25210 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25211 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25212 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
25213 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25214 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25215 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25216 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25217 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25218 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25219 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25220 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25221 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25222 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25223 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25224 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25225 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25226 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25227 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25228 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25229 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
25230 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25231 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25232 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25233 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25234 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25235 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25236 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25237 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25238 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25239 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25240 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25241 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25242 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25243 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25244 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25245 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25246 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25247 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25248 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25249 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25250 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25251 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25252 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25253 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25254 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25255 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25256 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25257 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
25258 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25259 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25260 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25261 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25262 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25263 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25264 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
25265 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25266 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25267 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25268 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25269 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25270 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25271 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25272 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25273 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25274 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25275 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25276 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25277 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25278 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25279 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25280 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25281 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25282 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25283 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25284 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25285 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25286 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25287 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
25288 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25289 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25290 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25291 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25292 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25293 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25294 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25295 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
25296 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25297 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25298 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25299 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25300 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25301 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25302 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25303 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25304 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25305 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25306 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25307 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
25308 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25309 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25310 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25311 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25312 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25313 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
25314 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25315 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25316 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25317 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25318 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25319 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25320 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25321 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25322 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
25323 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25324 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25325 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25326 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25327 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25328 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
25329 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25330 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25331 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25332 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25333 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
25334 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25335 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25336 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25337 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25338 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
) _wrap_PopupTransientWindow_Dismiss
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25339 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
25340 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25341 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25342 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25343 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
25344 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25345 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25346 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25347 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25348 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25349 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25350 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25351 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25352 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25353 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25354 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25355 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25356 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25357 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25358 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25359 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25360 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25361 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
25362 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25363 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25364 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25365 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25366 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25367 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25368 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25369 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25370 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25371 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25372 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25373 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25374 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25375 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25376 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25377 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25378 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25379 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25380 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25381 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25382 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25383 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25384 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25385 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25386 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25387 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
25388 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25389 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25390 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25391 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25392 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25393 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25394 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
) _wrap_HtmlListBox_GetFileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25395 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
25396 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25397 { (char *)"delete_TaskBarIcon", (PyCFunction
) _wrap_delete_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25398 { (char *)"TaskBarIcon_Destroy", (PyCFunction
) _wrap_TaskBarIcon_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25399 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25400 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25401 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25402 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25403 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25404 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
25405 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25406 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
25407 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25408 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25409 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25410 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25411 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25412 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25413 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25414 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25415 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
25416 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25417 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25418 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
25419 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25420 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25421 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25422 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25423 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25424 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25425 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
25426 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25427 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25428 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25429 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25430 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25431 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25432 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25433 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25434 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25435 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25436 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25437 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25438 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25439 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25440 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25441 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25442 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25443 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
25444 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25445 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25446 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25447 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
25448 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25449 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25450 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25451 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25452 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
25453 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25454 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25455 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25456 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
25457 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25458 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25459 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25460 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25461 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25462 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25463 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25464 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25465 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25466 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25467 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25468 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25469 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25470 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25471 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25472 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
25473 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25474 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25475 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
25476 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25477 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
25478 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25479 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25480 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25481 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
25482 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25483 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25484 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25485 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25486 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25487 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25488 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25489 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25490 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
25491 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25492 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25493 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25494 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25495 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25496 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25497 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25498 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25499 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
25500 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25501 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25502 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25503 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25504 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25505 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
25506 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25507 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25508 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25509 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25510 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25511 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25512 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25513 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25514 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25515 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25516 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25517 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
25518 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25519 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25520 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25521 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25522 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25523 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25524 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
25525 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25526 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25527 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25528 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
25529 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25530 { (char *)"new_PrePyWindow", (PyCFunction
) _wrap_new_PrePyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25531 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25532 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25533 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25534 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25535 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25536 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25537 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25538 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25539 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25540 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25541 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25542 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25543 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25544 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25545 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25546 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25547 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25548 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25549 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25550 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25551 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25552 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25553 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25554 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
25555 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25556 { (char *)"new_PrePyPanel", (PyCFunction
) _wrap_new_PrePyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25557 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25558 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25559 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25560 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25561 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25562 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25563 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25564 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25565 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25566 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25567 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25568 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25569 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25570 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25571 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25572 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25573 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25574 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25575 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25576 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25577 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction
) _wrap_PyPanel_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25578 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyPanel_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25579 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyPanel_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25580 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
25581 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25582 { (char *)"new_PrePyScrolledWindow", (PyCFunction
) _wrap_new_PrePyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25583 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25584 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25585 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25586 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25587 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25588 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25589 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25590 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25591 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25592 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25593 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25594 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction
) _wrap_PyScrolledWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25595 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25596 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25597 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction
) _wrap_PyScrolledWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25598 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25599 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25600 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyScrolledWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25601 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction
) _wrap_PyScrolledWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25602 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction
) _wrap_PyScrolledWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25603 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyScrolledWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25604 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25605 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyScrolledWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25606 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
25607 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
25608 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25609 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25610 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25611 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25612 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25613 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25614 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25615 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25616 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25617 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25618 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25619 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25620 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25621 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25622 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25623 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25624 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25625 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25626 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25627 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25628 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25629 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25630 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25631 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25632 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25633 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25634 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25635 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25636 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25637 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25638 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25639 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25640 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25641 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25642 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25643 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25644 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25645 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25646 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25647 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25648 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25649 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25650 { (char *)"PrintData_GetOutputStream", (PyCFunction
) _wrap_PrintData_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25651 { (char *)"PrintData_SetOutputStream", (PyCFunction
) _wrap_PrintData_SetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25652 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
25653 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
25654 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25655 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25656 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25657 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25658 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25659 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25660 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25661 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25662 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25663 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25664 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25665 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25666 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25667 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25668 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25669 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25670 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25671 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25672 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25673 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25674 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25675 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25676 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25677 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25678 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25679 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25680 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25681 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25682 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25683 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25684 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
25685 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25686 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25687 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25688 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
25689 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
25690 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25691 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25692 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25693 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25694 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25695 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25696 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25697 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25698 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25699 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25700 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25701 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25702 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25703 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25704 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25705 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25706 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25707 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25708 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25709 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25710 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25711 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25712 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25713 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25714 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25715 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25716 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25717 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25718 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25719 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25720 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25721 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25722 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
25723 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25724 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25725 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25726 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25727 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
25728 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25729 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25730 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25731 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25732 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25733 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25734 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25735 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25736 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25737 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25738 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
25739 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25740 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25741 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25742 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25743 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25744 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25745 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25746 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25747 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25748 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25749 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25750 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25751 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25752 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25753 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25754 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25755 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25756 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25757 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25758 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25759 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25760 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25761 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
25762 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25763 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
25764 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25765 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25766 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25767 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25768 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25769 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
25770 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25771 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25772 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25773 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25774 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25775 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25776 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25777 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25778 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25779 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
25780 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
25781 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25782 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25783 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25784 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25785 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25786 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25787 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25788 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25789 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25790 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25791 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25792 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25793 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25794 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25795 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25796 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25797 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25798 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25799 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25800 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25801 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25802 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25803 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
25804 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
25805 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25806 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25807 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25808 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25809 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25810 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25811 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25812 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25813 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
25814 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25815 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25816 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25817 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25818 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25819 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25820 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25821 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
25822 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25823 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25824 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25825 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25826 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25827 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
25828 { NULL
, NULL
, 0, NULL
}
25832 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25834 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
25835 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25837 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
25838 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25840 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
25841 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
25843 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
25844 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
25846 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
25847 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
25849 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
25850 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
25852 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
25853 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
25855 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
25856 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25858 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
25859 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
25861 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
25862 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
25864 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
25865 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
25867 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
25868 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
25870 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
25871 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25873 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
25874 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
25876 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
25877 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
25879 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
25880 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25882 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
25883 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25885 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
25886 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
25888 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
25889 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
25891 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
25892 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
25894 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
25895 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
25897 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
25898 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
25900 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
25901 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
25903 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
25904 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
25906 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
25907 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25909 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
25910 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25912 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
25913 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25915 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
25916 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25918 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
25919 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25921 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
25922 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
25924 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
25925 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
25927 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
25928 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25930 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
25931 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
25933 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
25934 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
25936 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
25937 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
25939 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
25940 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
25942 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
25943 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25945 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
25946 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25948 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
25949 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
25951 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
25952 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
25954 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
25955 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
25957 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
25958 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
25960 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
25961 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25963 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
25964 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
25966 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
25967 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
25969 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
25970 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
25972 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
25973 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
25975 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
25976 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
25978 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
25979 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
25981 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
25982 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
25984 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
25985 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
25987 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
25988 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25990 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
25991 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25993 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
25994 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
25996 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
25997 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
25999 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
26000 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26002 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
26003 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26005 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
26006 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
26008 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
26009 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
26011 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
26012 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26014 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
26015 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26017 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
26018 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26020 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
26021 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
26023 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
26024 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26026 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
26027 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
26029 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
26030 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
26032 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
26033 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
26035 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
26036 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
26038 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
26039 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
26041 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
26042 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
26044 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
26045 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
26047 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
26048 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26050 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
26051 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
26053 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
26054 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
26056 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
26057 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26059 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
26060 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26062 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
26063 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
26065 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
26066 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
26068 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
26069 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
26071 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
26072 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26074 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
26075 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26077 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
26078 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26080 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
26081 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
26083 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
26084 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26086 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
26087 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
26089 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
26090 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
26092 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
26093 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26095 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
26096 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26098 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
26099 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26101 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
26102 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
26104 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
26105 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
26107 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
26108 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
26110 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
26111 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26113 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
26114 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26116 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
26117 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
26119 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
26120 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
26122 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
26123 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
26125 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
26126 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26128 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
26129 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
26131 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
26132 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
26134 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
26135 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
26137 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
26138 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
26140 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
26141 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
26143 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
26144 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
26146 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
26147 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26149 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
26150 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
26152 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
26153 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
26155 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
26156 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
26158 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
26159 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
26161 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
26162 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
26164 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
26165 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
26167 static void *_p_wxSizerTo_p_wxObject(void *x
) {
26168 return (void *)((wxObject
*) ((wxSizer
*) x
));
26170 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
26171 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
26173 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
26174 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26176 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
26177 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
26179 static void *_p_wxEventTo_p_wxObject(void *x
) {
26180 return (void *)((wxObject
*) ((wxEvent
*) x
));
26182 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
26183 return (void *)((wxObject
*) ((wxFontData
*) x
));
26185 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
26186 return (void *)((wxObject
*) ((wxPrintData
*) x
));
26188 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
26189 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
26191 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
26192 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
26194 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
26195 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
26197 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
26198 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
26200 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
26201 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
26203 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
26204 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
26206 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
26207 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
26209 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
26210 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
26212 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
26213 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
26215 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
26216 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
26218 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
26219 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
26221 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
26222 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
26224 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
26225 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26227 static void *_p_wxControlTo_p_wxObject(void *x
) {
26228 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
26230 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
26231 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
26233 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
26234 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26236 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
26237 return (void *)((wxObject
*) ((wxFSFile
*) x
));
26239 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
26240 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
26242 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
26243 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
26245 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
26246 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26248 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
26249 return (void *)((wxObject
*) ((wxColourData
*) x
));
26251 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
26252 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
26254 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
26255 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26257 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
26258 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
26260 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
26261 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
26263 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
26264 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
26266 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
26267 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26269 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
26270 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26272 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
26273 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
26275 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
26276 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
26278 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
26279 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26281 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
26282 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26284 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
26285 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
26287 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
26288 return (void *)((wxObject
*) ((wxPrinter
*) x
));
26290 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
26291 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
26293 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
26294 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
26296 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
26297 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26299 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
26300 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
26302 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
26303 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
26305 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
26306 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
26308 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
26309 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
26311 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
26312 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
26314 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
26315 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
26317 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
26318 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
26320 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
26321 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
26323 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
26324 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
26326 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
26327 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
26329 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
26330 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
26332 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
26333 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
26335 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
26336 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
26338 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
26339 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
26341 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
26342 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
26344 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
26345 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
26347 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
26348 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
26350 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
26351 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
26353 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
26354 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
26356 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
26357 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
26359 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
26360 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26362 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
26363 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26365 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
26366 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
26368 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
26369 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26371 static void *_p_wxImageTo_p_wxObject(void *x
) {
26372 return (void *)((wxObject
*) ((wxImage
*) x
));
26374 static void *_p_wxFrameTo_p_wxObject(void *x
) {
26375 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
26377 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
26378 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
26380 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
26381 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
26383 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
26384 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
26386 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
26387 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
26389 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
26390 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26392 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
26393 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26395 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
26396 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
26398 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
26399 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
26401 static void *_p_wxWindowTo_p_wxObject(void *x
) {
26402 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
26404 static void *_p_wxMenuTo_p_wxObject(void *x
) {
26405 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
26407 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
26408 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
26410 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
26411 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
26413 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
26414 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
26416 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
26417 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
26419 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
26420 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
26422 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
26423 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
26425 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
26426 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26428 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
26429 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
26431 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
26432 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26434 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
26435 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26437 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
26438 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26440 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
26441 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
26443 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
26444 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26446 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
26447 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
26449 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
26450 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
26452 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
26453 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
26455 static void *_p_wxPanelTo_p_wxObject(void *x
) {
26456 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
26458 static void *_p_wxDialogTo_p_wxObject(void *x
) {
26459 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
26461 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
26462 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26464 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
26465 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26467 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
26468 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26470 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
26471 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
26473 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
26474 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
26476 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
26477 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
26479 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
26480 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26482 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
26483 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
26485 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
26486 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
26488 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
26489 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
26491 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
26492 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
26494 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
26495 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
26497 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
26498 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26500 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
26501 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
26503 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
26504 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
26506 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
26507 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26509 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
26510 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
26512 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
26513 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
26515 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
26516 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26518 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
26519 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
26521 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
26522 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
26524 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
26525 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
26527 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
26528 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
26530 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
26531 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
26533 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
26534 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26536 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
26537 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26539 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
26540 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26542 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
26543 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26545 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
26546 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26548 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
26549 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26551 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
26552 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
26554 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
26555 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
26557 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
26558 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
26560 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
26561 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
26563 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
26564 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
26566 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
26567 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
26569 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
26570 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
26572 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x
) {
26573 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPrintDialog
*) x
));
26575 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
26576 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
26578 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
26579 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
26581 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
26582 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
26584 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
26585 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
26587 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
26588 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
26590 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
26591 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
26593 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
26594 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
26596 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
26597 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26599 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
26600 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26602 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
26603 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
26605 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
26606 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
26608 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
26609 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26611 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
26612 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
26614 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
26615 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26617 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
26618 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
26620 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
26621 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
26623 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
26624 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26626 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
26627 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26629 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
26630 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
26632 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
26633 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
26635 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
26636 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26638 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
26639 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26641 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
26642 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
26644 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
26645 return (void *)((wxWindow
*) ((wxPanel
*) x
));
26647 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
26648 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
26650 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
26651 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
26653 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
26654 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26656 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
26657 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
26659 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
26660 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26662 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
26663 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
26665 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
26666 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26668 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
26669 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
26671 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
26672 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
26674 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
26675 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
26677 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
26678 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
26680 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
26681 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
26683 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
26684 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26686 static void *_p_wxControlTo_p_wxWindow(void *x
) {
26687 return (void *)((wxWindow
*) ((wxControl
*) x
));
26689 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
26690 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
26692 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
26693 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26695 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
26696 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26698 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
26699 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
26701 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
26702 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
26704 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
26705 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26707 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
26708 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26710 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
26711 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26713 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
26714 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
26716 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
26717 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26719 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
26720 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
26722 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
26723 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26725 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
26726 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26728 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
26729 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26731 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
26732 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
26734 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
26735 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
26737 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
26738 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
26740 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
26741 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26743 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
26744 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26746 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
26747 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26749 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
26750 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
26752 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
26753 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
26755 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
26756 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
26758 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
26759 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
26761 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x
) {
26762 return (void *)((wxDialog
*) ((wxPageSetupDialog
*) x
));
26764 static void *_p_wxPrintDialogTo_p_wxDialog(void *x
) {
26765 return (void *)((wxDialog
*) ((wxPrintDialog
*) x
));
26767 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
26768 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
26770 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
26771 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26773 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
26774 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26776 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
26777 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
26779 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
26780 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
26782 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
26783 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
26785 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
26786 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
26788 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
26789 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26791 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
26792 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26794 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
26795 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26797 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
26798 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26800 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
26801 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
26803 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
26804 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26806 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
26807 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
26809 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
26810 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26812 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
26813 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26815 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
26816 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
26818 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
26819 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26821 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
26822 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26824 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
26825 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
26827 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
26828 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26830 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
26831 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26833 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
26834 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26836 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
26837 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26839 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
26840 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26842 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
26843 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
26845 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
26846 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26848 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}};
26849 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}};
26850 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}};
26851 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}};
26852 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}};
26853 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}};
26854 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}};
26855 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}};
26856 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}};
26857 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}};
26858 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}};
26859 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}};
26860 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}};
26861 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}};
26862 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}};
26863 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}};
26864 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}};
26865 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}};
26866 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}};
26867 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}};
26868 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}};
26869 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}};
26870 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}};
26871 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}};
26872 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}};
26873 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}};
26874 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}};
26875 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}};
26876 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}};
26877 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}};
26878 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}};
26879 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}};
26880 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}};
26881 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}};
26882 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}};
26883 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}};
26884 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}};
26885 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}};
26886 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}};
26887 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}};
26888 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}};
26889 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}};
26890 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}};
26891 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}};
26892 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}};
26893 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}};
26894 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}};
26895 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}};
26896 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}};
26897 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}};
26898 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}};
26899 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}};
26900 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}};
26901 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}};
26902 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}};
26903 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}};
26904 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}};
26905 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}};
26906 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}};
26907 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}};
26908 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}};
26909 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}};
26910 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}};
26911 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}};
26912 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}};
26913 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}};
26914 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}};
26915 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}};
26916 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}};
26917 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}};
26918 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}};
26919 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}};
26920 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}};
26921 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}};
26922 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}};
26923 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}};
26924 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}};
26925 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}};
26926 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}};
26927 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}};
26928 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}};
26929 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}};
26930 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}};
26931 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}};
26932 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}};
26933 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}};
26935 static swig_type_info
*swig_types_initial
[] = {
26936 _swigt__p_wxQueryLayoutInfoEvent
,
26937 _swigt__p_wxPreviewFrame
,
26938 _swigt__p_wxPyPreviewFrame
,
26939 _swigt__p_wxPyPanel
,
26941 _swigt__p_wxFontData
,
26943 _swigt__p_wxPrintData
,
26944 _swigt__p_wxTaskBarIcon
,
26945 _swigt__p_wxIconBundle
,
26946 _swigt__p_wxLayoutAlgorithm
,
26947 _swigt__p_wxFindDialogEvent
,
26948 _swigt__p_wxPreviewCanvas
,
26950 _swigt__p_wxSplitterEvent
,
26951 _swigt__p_wxRegion
,
26952 _swigt__p_wxFindReplaceData
,
26957 _swigt__p_wxVisualAttributes
,
26958 _swigt__p_wxMDIChildFrame
,
26959 _swigt__p_wxColourData
,
26960 _swigt__p_wxNotifyEvent
,
26961 _swigt__p_wxPyWindow
,
26962 _swigt__p_wxSplashScreen
,
26963 _swigt__p_wxFindReplaceDialog
,
26964 _swigt__p_wxProgressDialog
,
26965 _swigt__p_wxMessageDialog
,
26966 _swigt__p_wxTextEntryDialog
,
26967 _swigt__p_wxSingleChoiceDialog
,
26968 _swigt__p_wxMultiChoiceDialog
,
26969 _swigt__p_wxFileDialog
,
26970 _swigt__p_wxPrinter
,
26971 _swigt__p_wxArrayInt
,
26972 _swigt__p_wxEvtHandler
,
26973 _swigt__p_wxCalculateLayoutEvent
,
26974 _swigt__p_wxPyHtmlListBox
,
26975 _swigt__p_wxPyVListBox
,
26978 _swigt__p_wxMiniFrame
,
26980 _swigt__p_wxPyPrintout
,
26981 _swigt__p_wxTaskBarIconEvent
,
26982 _swigt__p_wxScrollWinEvent
,
26983 _swigt__p_wxStatusBar
,
26984 _swigt__p_wxMDIParentFrame
,
26986 _swigt__p_wxObject
,
26987 _swigt__p_wxOutputStream
,
26988 _swigt__p_wxPyScrolledWindow
,
26989 _swigt__p_wxMDIClientWindow
,
26990 _swigt__p_wxTipWindow
,
26991 _swigt__p_wxSashLayoutWindow
,
26992 _swigt__p_wxSplitterWindow
,
26993 _swigt__p_wxSplashScreenWindow
,
26994 _swigt__p_wxPyVScrolledWindow
,
26995 _swigt__p_wxPyPopupTransientWindow
,
26996 _swigt__p_wxPopupWindow
,
26997 _swigt__p_wxSashWindow
,
26998 _swigt__p_wxTopLevelWindow
,
26999 _swigt__p_wxWindow
,
27000 _swigt__p_wxScrolledWindow
,
27001 _swigt__p_wxMenuBar
,
27002 _swigt__p_wxPrintPreview
,
27003 _swigt__p_wxSashEvent
,
27004 _swigt__p_wxString
,
27005 _swigt__p_wxPyPrintPreview
,
27006 _swigt__p_wxFontDialog
,
27007 _swigt__p_wxDirDialog
,
27008 _swigt__p_wxColourDialog
,
27009 _swigt__p_wxDialog
,
27011 _swigt__p_wxPageSetupDialog
,
27012 _swigt__p_wxPrintDialog
,
27013 _swigt__p_wxFileSystem
,
27014 _swigt__p_wxBitmap
,
27015 _swigt__p_wxCommandEvent
,
27016 _swigt__p_wxPreviewControlBar
,
27017 _swigt__p_wxPyPreviewControlBar
,
27018 _swigt__p_wxColour
,
27019 _swigt__p_wxToolBar
,
27020 _swigt__p_wxPageSetupDialogData
,
27021 _swigt__p_wxPrintDialogData
,
27026 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
27028 static swig_const_info swig_const_table
[] = {
27029 {0, 0, 0, 0.0, 0, 0}};
27038 SWIGEXPORT(void) SWIG_init(void) {
27039 static PyObject
*SWIG_globals
= 0;
27040 static int typeinit
= 0;
27043 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
27044 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
27045 d
= PyModule_GetDict(m
);
27048 for (i
= 0; swig_types_initial
[i
]; i
++) {
27049 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
27053 SWIG_InstallConstants(d
,swig_const_table
);
27055 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
27056 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
27057 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
27058 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
27059 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
27060 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_From_int((int)wxSTAY_ON_TOP
));
27061 PyDict_SetItemString(d
,"ICONIZE", SWIG_From_int((int)wxICONIZE
));
27062 PyDict_SetItemString(d
,"MINIMIZE", SWIG_From_int((int)wxMINIMIZE
));
27063 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_From_int((int)wxMAXIMIZE
));
27064 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_From_int((int)wxCLOSE_BOX
));
27065 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_From_int((int)wxTHICK_FRAME
));
27066 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_From_int((int)wxSYSTEM_MENU
));
27067 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_From_int((int)wxMINIMIZE_BOX
));
27068 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_From_int((int)wxMAXIMIZE_BOX
));
27069 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_From_int((int)wxTINY_CAPTION_HORIZ
));
27070 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_From_int((int)wxTINY_CAPTION_VERT
));
27071 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_From_int((int)wxRESIZE_BOX
));
27072 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_From_int((int)wxRESIZE_BORDER
));
27073 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_From_int((int)wxDIALOG_NO_PARENT
));
27074 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)wxDEFAULT_FRAME_STYLE
));
27075 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)wxDEFAULT_DIALOG_STYLE
));
27076 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_From_int((int)wxFRAME_TOOL_WINDOW
));
27077 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)wxFRAME_FLOAT_ON_PARENT
));
27078 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)wxFRAME_NO_WINDOW_MENU
));
27079 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_From_int((int)wxFRAME_NO_TASKBAR
));
27080 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_From_int((int)wxFRAME_SHAPED
));
27081 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_From_int((int)wxDIALOG_MODAL
));
27082 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_From_int((int)wxDIALOG_MODELESS
));
27083 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_From_int((int)wxUSER_COLOURS
));
27084 PyDict_SetItemString(d
,"NO_3D", SWIG_From_int((int)wxNO_3D
));
27085 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)wxFULLSCREEN_NOMENUBAR
));
27086 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)wxFULLSCREEN_NOTOOLBAR
));
27087 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)wxFULLSCREEN_NOSTATUSBAR
));
27088 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_From_int((int)wxFULLSCREEN_NOBORDER
));
27089 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)wxFULLSCREEN_NOCAPTION
));
27090 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_From_int((int)wxFULLSCREEN_ALL
));
27091 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)wxTOPLEVEL_EX_DIALOG
));
27092 PyDict_SetItemString(d
,"USER_ATTENTION_INFO", SWIG_From_int((int)wxUSER_ATTENTION_INFO
));
27093 PyDict_SetItemString(d
,"USER_ATTENTION_ERROR", SWIG_From_int((int)wxUSER_ATTENTION_ERROR
));
27094 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)wxSPLASH_CENTRE_ON_PARENT
));
27095 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)wxSPLASH_CENTRE_ON_SCREEN
));
27096 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_From_int((int)wxSPLASH_NO_CENTRE
));
27097 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_From_int((int)wxSPLASH_TIMEOUT
));
27098 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)wxSPLASH_NO_TIMEOUT
));
27099 PyDict_SetItemString(d
,"SB_NORMAL", SWIG_From_int((int)wxSB_NORMAL
));
27100 PyDict_SetItemString(d
,"SB_FLAT", SWIG_From_int((int)wxSB_FLAT
));
27101 PyDict_SetItemString(d
,"SB_RAISED", SWIG_From_int((int)wxSB_RAISED
));
27102 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
27103 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_From_int((int)wxSP_NOBORDER
));
27104 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_From_int((int)wxSP_NOSASH
));
27105 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)wxSP_PERMIT_UNSPLIT
));
27106 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_From_int((int)wxSP_LIVE_UPDATE
));
27107 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_From_int((int)wxSP_3DSASH
));
27108 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_From_int((int)wxSP_3DBORDER
));
27109 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_From_int((int)wxSP_NO_XP_THEME
));
27110 PyDict_SetItemString(d
,"SP_BORDER", SWIG_From_int((int)wxSP_BORDER
));
27111 PyDict_SetItemString(d
,"SP_3D", SWIG_From_int((int)wxSP_3D
));
27112 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_From_int((int)wxSPLIT_HORIZONTAL
));
27113 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_From_int((int)wxSPLIT_VERTICAL
));
27114 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_From_int((int)wxSPLIT_DRAG_NONE
));
27115 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)wxSPLIT_DRAG_DRAGGING
));
27116 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSPLIT_DRAG_LEFT_DOWN
));
27117 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
27118 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
27119 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
27120 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
27121 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
27122 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
27123 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_From_int((int)wxSASH_DRAG_NONE
));
27124 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_From_int((int)wxSASH_DRAG_DRAGGING
));
27125 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSASH_DRAG_LEFT_DOWN
));
27126 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_From_int((int)wxSW_NOBORDER
));
27127 PyDict_SetItemString(d
,"SW_BORDER", SWIG_From_int((int)wxSW_BORDER
));
27128 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_From_int((int)wxSW_3DSASH
));
27129 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_From_int((int)wxSW_3DBORDER
));
27130 PyDict_SetItemString(d
,"SW_3D", SWIG_From_int((int)wxSW_3D
));
27131 PyDict_SetItemString(d
,"SASH_TOP", SWIG_From_int((int)wxSASH_TOP
));
27132 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_From_int((int)wxSASH_RIGHT
));
27133 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_From_int((int)wxSASH_BOTTOM
));
27134 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_From_int((int)wxSASH_LEFT
));
27135 PyDict_SetItemString(d
,"SASH_NONE", SWIG_From_int((int)wxSASH_NONE
));
27136 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_From_int((int)wxSASH_STATUS_OK
));
27137 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)wxSASH_STATUS_OUT_OF_RANGE
));
27138 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
27139 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_From_int((int)wxLAYOUT_HORIZONTAL
));
27140 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_From_int((int)wxLAYOUT_VERTICAL
));
27141 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_From_int((int)wxLAYOUT_NONE
));
27142 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_From_int((int)wxLAYOUT_TOP
));
27143 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_From_int((int)wxLAYOUT_LEFT
));
27144 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_From_int((int)wxLAYOUT_RIGHT
));
27145 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_From_int((int)wxLAYOUT_BOTTOM
));
27146 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_From_int((int)wxLAYOUT_LENGTH_Y
));
27147 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_From_int((int)wxLAYOUT_LENGTH_X
));
27148 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)wxLAYOUT_MRU_LENGTH
));
27149 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_From_int((int)wxLAYOUT_QUERY
));
27150 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
27151 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
27152 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
27154 // Map renamed classes back to their common name for OOR
27155 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
27156 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
27157 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
27159 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
27160 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
27161 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
27162 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
27163 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
27164 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
27165 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
27166 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
27167 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
27168 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
27169 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
27170 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
27171 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
27172 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_From_int((int)wxCHOICEDLG_STYLE
));
27173 PyDict_SetItemString(d
,"FR_DOWN", SWIG_From_int((int)wxFR_DOWN
));
27174 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_From_int((int)wxFR_WHOLEWORD
));
27175 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_From_int((int)wxFR_MATCHCASE
));
27176 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_From_int((int)wxFR_REPLACEDIALOG
));
27177 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_From_int((int)wxFR_NOUPDOWN
));
27178 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_From_int((int)wxFR_NOMATCHCASE
));
27179 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_From_int((int)wxFR_NOWHOLEWORD
));
27180 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
27181 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
27182 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
27183 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
27184 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
27185 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_From_int((int)4001));
27186 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_From_int((int)4001));
27187 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_From_int((int)4002));
27188 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_From_int((int)4003));
27189 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_From_int((int)4004));
27190 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_From_int((int)4005));
27191 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_From_int((int)4100));
27192 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_From_int((int)4600));
27193 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
27194 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
27195 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_From_int((int)wxPRINT_MODE_NONE
));
27196 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_From_int((int)wxPRINT_MODE_PREVIEW
));
27197 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_From_int((int)wxPRINT_MODE_FILE
));
27198 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_From_int((int)wxPRINT_MODE_PRINTER
));
27199 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_From_int((int)wxPRINT_MODE_STREAM
));
27200 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_From_int((int)wxPRINTER_NO_ERROR
));
27201 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_From_int((int)wxPRINTER_CANCELLED
));
27202 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_From_int((int)wxPRINTER_ERROR
));
27203 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_From_int((int)wxPREVIEW_PRINT
));
27204 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_From_int((int)wxPREVIEW_PREVIOUS
));
27205 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_From_int((int)wxPREVIEW_NEXT
));
27206 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_From_int((int)wxPREVIEW_ZOOM
));
27207 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_From_int((int)wxPREVIEW_FIRST
));
27208 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_From_int((int)wxPREVIEW_LAST
));
27209 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_From_int((int)wxPREVIEW_GOTO
));
27210 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_From_int((int)wxPREVIEW_DEFAULT
));
27211 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_From_int((int)wxID_PREVIEW_CLOSE
));
27212 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_From_int((int)wxID_PREVIEW_NEXT
));
27213 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)wxID_PREVIEW_PREVIOUS
));
27214 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_From_int((int)wxID_PREVIEW_PRINT
));
27215 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_From_int((int)wxID_PREVIEW_ZOOM
));
27216 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_From_int((int)wxID_PREVIEW_FIRST
));
27217 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_From_int((int)wxID_PREVIEW_LAST
));
27218 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_From_int((int)wxID_PREVIEW_GOTO
));
27220 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");