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_wxPyPopupTransientWindow swig_types[55]
267 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[56]
268 #define SWIGTYPE_p_wxSplitterWindow swig_types[57]
269 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[58]
270 #define SWIGTYPE_p_wxPyVScrolledWindow 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 wxPopupWindow
: public wxWindow
{
632 wxPopupWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
633 wxPopupWindow() { wxPyRaiseNotImplemented(); }
636 class wxPyPopupTransientWindow
: public wxPopupWindow
639 wxPyPopupTransientWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
640 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
644 #include <wx/tipwin.h>
646 wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
,wxRect
*rectBound
){
647 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
650 #include <wx/tipwin.h>
653 #include <wx/vscroll.h>
656 class wxPyVScrolledWindow
: public wxVScrolledWindow
658 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
);
660 wxPyVScrolledWindow() : wxVScrolledWindow() {}
662 wxPyVScrolledWindow(wxWindow
*parent
,
663 wxWindowID id
= wxID_ANY
,
664 const wxPoint
& pos
= wxDefaultPosition
,
665 const wxSize
& size
= wxDefaultSize
,
667 const wxString
& name
= wxPyPanelNameStr
)
668 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
671 // Overridable virtuals
673 // this function must be overridden in the derived class and it should
674 // return the height of the given line in pixels
675 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
678 // this function doesn't have to be overridden but it may be useful to do
679 // it if calculating the lines heights is a relatively expensive operation
680 // as it gives the user code a possibility to calculate several of them at
683 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
684 // shouldn't rely on the latter being called for all lines in the interval
685 // specified here. It is also possible that OnGetLineHeight() will be
686 // called for the lines outside of this interval, so this is really just a
687 // hint, not a promise.
689 // finally note that lineMin is inclusive, while lineMax is exclusive, as
691 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
694 // when the number of lines changes, we try to estimate the total height
695 // of all lines which is a rather expensive operation in terms of lines
696 // access, so if the user code may estimate the average height
697 // better/faster than we do, it should override this function to implement
700 // this function should return the best guess for the total height it may
702 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
705 // Also expose some other interesting protected methods
708 // find the index of the line we need to show at the top of the window such
709 // that the last (fully or partially) visible line is the given one
710 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= False
)
711 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
713 // get the total height of the lines between lineMin (inclusive) and
714 // lineMax (exclusive)
715 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
716 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
722 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
724 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
725 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
726 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
729 // See my_fragments.i
730 SWIGSTATICINLINE(int)
731 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
734 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
735 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
739 *val
= (unsigned long)v
;
744 SWIGSTATICINLINE(unsigned long)
745 SWIG_As_unsigned_SS_long(PyObject
* obj
)
748 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
750 this is needed to make valgrind/purify happier. the other
751 solution is throw an exception, but since this code should work
754 memset((void*)&v
, 0, sizeof(unsigned long));
760 SWIGSTATICINLINE(int)
761 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
763 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
767 SWIGSTATICINLINE(PyObject
* )
768 SWIG_From_unsigned_SS_long(unsigned long value
)
770 return (value
> LONG_MAX
) ?
771 PyLong_FromUnsignedLong(value
)
772 : PyInt_FromLong(swig_numeric_cast(value
,long));
776 #include <wx/vlbox.h>
778 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
780 class wxPyVListBox
: public wxVListBox
782 DECLARE_ABSTRACT_CLASS(wxPyVListBox
);
784 wxPyVListBox() : wxVListBox() {}
786 wxPyVListBox(wxWindow
*parent
,
787 wxWindowID id
= wxID_ANY
,
788 const wxPoint
& pos
= wxDefaultPosition
,
789 const wxSize
& size
= wxDefaultSize
,
791 const wxString
& name
= wxPyVListBoxNameStr
)
792 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
795 // Overridable virtuals
797 // the derived class must implement this function to actually draw the item
798 // with the given index on the provided DC
799 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
800 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
803 // the derived class must implement this method to return the height of the
805 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
806 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
809 // this method may be used to draw separators between the lines; note that
810 // the rectangle may be modified, typically to deflate it a bit before
811 // passing to OnDrawItem()
813 // the base class version doesn't do anything
814 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
815 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
818 // this method is used to draw the items background and, maybe, a border
821 // the base class version implements a reasonable default behaviour which
822 // consists in drawing the selected item with the standard background
823 // colour and drawing a border around the item if it is either selected or
825 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
826 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
832 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
834 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
835 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
836 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
837 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
840 PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
841 unsigned long cookie
= 0;
842 int selected
= self
->GetFirstSelected(cookie
);
843 bool blocked
= wxPyBeginBlockThreads();
844 PyObject
* tup
= PyTuple_New(2);
845 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
846 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
847 wxPyEndBlockThreads(blocked
);
850 PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
851 int selected
= self
->GetNextSelected(cookie
);
852 bool blocked
= wxPyBeginBlockThreads();
853 PyObject
* tup
= PyTuple_New(2);
854 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
855 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
856 wxPyEndBlockThreads(blocked
);
860 #include <wx/htmllbox.h>
863 class wxPyHtmlListBox
: public wxHtmlListBox
865 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
);
867 wxPyHtmlListBox() : wxHtmlListBox() {}
869 wxPyHtmlListBox(wxWindow
*parent
,
870 wxWindowID id
= wxID_ANY
,
871 const wxPoint
& pos
= wxDefaultPosition
,
872 const wxSize
& size
= wxDefaultSize
,
874 const wxString
& name
= wxPyVListBoxNameStr
)
875 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
878 // Overridable virtuals
880 // this method must be implemented in the derived class and should return
881 // the body (i.e. without <html>) of the HTML for the given item
882 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
884 // this function may be overridden to decorate HTML returned by OnGetItem()
885 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
888 // // this method allows to customize the selection appearance: it may be used
889 // // to specify the colour of the text which normally has the given colour
890 // // colFg when it is inside the selection
892 // // by default, the original colour is not used at all and all text has the
893 // // same (default for this system) colour inside selection
894 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
896 // // this is the same as GetSelectedTextColour() but allows to customize the
897 // // background colour -- this is even more rarely used as you can change it
898 // // globally using SetSelectionBackground()
899 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
906 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
908 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
909 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
916 // implement dummy classes and such for wxMac
918 class wxTaskBarIcon
: public wxEvtHandler
921 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
925 class wxTaskBarIconEvent
: public wxEvent
928 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
929 { wxPyRaiseNotImplemented(); }
930 virtual wxEvent
* Clone() const { return NULL
; }
934 wxEVT_TASKBAR_MOVE
= 0,
935 wxEVT_TASKBAR_LEFT_DOWN
= 0,
936 wxEVT_TASKBAR_LEFT_UP
= 0,
937 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
938 wxEVT_TASKBAR_RIGHT_UP
= 0,
939 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
940 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
945 // // Otherwise make a class that can virtualize CreatePopupMenu
946 // class wxPyTaskBarIcon : public wxTaskBarIcon
948 // DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon);
950 // wxPyTaskBarIcon() : wxTaskBarIcon()
953 // wxMenu* CreatePopupMenu() {
954 // wxMenu *rval = NULL;
956 // bool blocked = wxPyBeginBlockThreads();
957 // if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
960 // ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
962 // if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
967 // wxPyEndBlockThreads(blocked);
969 // rval = wxTaskBarIcon::CreatePopupMenu();
976 // IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
980 void wxTaskBarIcon_Destroy(wxTaskBarIcon
*self
){
985 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
986 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
987 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
988 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
989 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
990 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
991 PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
993 self
->GetFilenames(arr
);
994 return wxArrayString2PyList_helper(arr
);
996 PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
999 return wxArrayString2PyList_helper(arr
);
1001 PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
1002 return wxArrayInt2PyList_helper(self
->GetSelections());
1004 wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
const &message
,wxString
const &caption
,int choices
,wxString
*choices_array
,long style
,wxPoint
const &pos
){
1005 return new wxSingleChoiceDialog(parent
, message
, caption
,
1006 choices
, choices_array
, NULL
, style
, pos
);
1011 // C++ version of Python aware wxWindow
1012 class wxPyWindow
: public wxWindow
1014 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
1016 wxPyWindow() : wxWindow() {}
1017 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
1018 const wxPoint
& pos
= wxDefaultPosition
,
1019 const wxSize
& size
= wxDefaultSize
,
1021 const wxString
& name
= wxPyPanelNameStr
)
1022 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
1024 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
1026 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1027 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1028 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1029 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1031 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1032 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1033 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1035 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1036 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1038 DEC_PYCALLBACK__(InitDialog
);
1039 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1040 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1041 DEC_PYCALLBACK_BOOL_(Validate
);
1043 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1044 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1045 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1047 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1048 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1050 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
1051 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1052 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
1057 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
1059 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
1060 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
1061 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
1062 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
1064 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
1065 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
1066 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
1068 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
1069 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
1071 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
1072 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
1073 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
1074 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
1076 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
1077 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
1078 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
1080 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
1081 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
1083 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
1084 IMP_PYCALLBACK__COLOUR(wxPyWindow
, wxWindow
, ApplyParentThemeBackground
);
1085 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
1088 // C++ version of Python aware wxPanel
1089 class wxPyPanel
: public wxPanel
1091 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
1093 wxPyPanel() : wxPanel() {}
1094 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
1095 const wxPoint
& pos
= wxDefaultPosition
,
1096 const wxSize
& size
= wxDefaultSize
,
1098 const wxString
& name
= wxPyPanelNameStr
)
1099 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
1101 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
1104 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1105 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1106 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1107 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1109 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1110 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1111 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1113 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1114 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1116 DEC_PYCALLBACK__(InitDialog
);
1117 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1118 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1119 DEC_PYCALLBACK_BOOL_(Validate
);
1121 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1122 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1123 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1125 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1126 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1128 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
1129 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1130 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
1135 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
1137 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
1138 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
1139 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
1140 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
1142 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
1143 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
1144 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
1146 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
1147 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
1149 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
1150 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
1151 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
1152 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
1154 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
1155 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
1156 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
1158 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
1159 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
1161 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
1162 IMP_PYCALLBACK__COLOUR(wxPyPanel
, wxPanel
, ApplyParentThemeBackground
);
1163 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
1166 // C++ version of Python aware wxScrolledWindow
1167 class wxPyScrolledWindow
: public wxScrolledWindow
1169 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
1171 wxPyScrolledWindow() : wxScrolledWindow() {}
1172 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
1173 const wxPoint
& pos
= wxDefaultPosition
,
1174 const wxSize
& size
= wxDefaultSize
,
1176 const wxString
& name
= wxPyPanelNameStr
)
1177 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
1179 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
1181 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1182 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1183 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1184 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1186 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1187 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1188 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1190 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1191 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1193 DEC_PYCALLBACK__(InitDialog
);
1194 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1195 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1196 DEC_PYCALLBACK_BOOL_(Validate
);
1198 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1199 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1200 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1202 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1203 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1205 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
1206 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1207 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
1212 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
1214 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
1215 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
1216 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
1217 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
1219 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
1220 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
1221 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
1223 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
1224 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
1226 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
1227 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
1228 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
1229 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
1231 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
1232 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
1233 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
1235 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
1236 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
1238 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
1239 IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow
, wxScrolledWindow
, ApplyParentThemeBackground
);
1240 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
1244 #include "wx/wxPython/printfw.h"
1247 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
1248 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1252 // Since this one would be tough and ugly to do with the Macros...
1253 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1254 bool hadErr
= False
;
1257 bool blocked
= wxPyBeginBlockThreads();
1258 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
1259 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1260 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
1263 val
= PyTuple_GetItem(result
, 0);
1264 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
1267 val
= PyTuple_GetItem(result
, 1);
1268 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
1271 val
= PyTuple_GetItem(result
, 2);
1272 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
1275 val
= PyTuple_GetItem(result
, 3);
1276 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
1283 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
1288 wxPyEndBlockThreads(blocked
);
1290 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1293 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1294 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1298 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
1299 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
1300 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
1301 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
1302 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
1303 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
1304 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
1310 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1311 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1312 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1315 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1316 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1319 bool blocked = wxPyBeginBlockThreads(); \
1320 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1321 PyObject* win = wxPyMake_wxObject(a,false); \
1322 PyObject* dc = wxPyMake_wxObject(&b,false); \
1323 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
1327 wxPyEndBlockThreads(blocked); \
1329 rval = PCLASS::CBNAME(a, b); \
1332 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1333 return PCLASS::CBNAME(a, b); \
1339 class wxPyPrintPreview
: public wxPrintPreview
1341 DECLARE_CLASS(wxPyPrintPreview
)
1343 wxPyPrintPreview(wxPyPrintout
* printout
,
1344 wxPyPrintout
* printoutForPrinting
,
1345 wxPrintDialogData
* data
=NULL
)
1346 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1348 wxPyPrintPreview(wxPyPrintout
* printout
,
1349 wxPyPrintout
* printoutForPrinting
,
1350 wxPrintData
* data
=NULL
)
1351 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1354 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
1355 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
1356 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
1357 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
1358 DEC_PYCALLBACK_VOID_INT(SetZoom
);
1359 DEC_PYCALLBACK_BOOL_BOOL(Print
);
1360 DEC_PYCALLBACK_VOID_(DetermineScaling
);
1365 // Stupid renamed classes... Fix this in 2.5...
1366 #if defined(__WXMSW__)
1367 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
1368 #elif defined(__WXMAC__)
1369 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
1371 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
1374 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
1375 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
1376 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
1377 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
1378 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
1379 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
1380 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
1383 class wxPyPreviewFrame
: public wxPreviewFrame
1385 DECLARE_CLASS(wxPyPreviewFrame
);
1387 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
1388 const wxString
& title
,
1389 const wxPoint
& pos
= wxDefaultPosition
,
1390 const wxSize
& size
= wxDefaultSize
,
1391 long style
= wxDEFAULT_FRAME_STYLE
,
1392 const wxString
& name
= wxPyFrameNameStr
)
1393 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
1396 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
1397 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
1399 DEC_PYCALLBACK_VOID_(Initialize
);
1400 DEC_PYCALLBACK_VOID_(CreateCanvas
);
1401 DEC_PYCALLBACK_VOID_(CreateControlBar
);
1406 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
1408 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
1409 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
1410 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
1413 class wxPyPreviewControlBar
: public wxPreviewControlBar
1415 DECLARE_CLASS(wxPyPreviewControlBar
);
1417 wxPyPreviewControlBar(wxPrintPreview
*preview
,
1420 const wxPoint
& pos
= wxDefaultPosition
,
1421 const wxSize
& size
= wxDefaultSize
,
1423 const wxString
& name
= wxPyPanelNameStr
)
1424 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
1427 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
1429 DEC_PYCALLBACK_VOID_(CreateButtons
);
1430 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
1435 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
1436 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
1437 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
1442 static PyObject
*_wrap_new_Panel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1443 PyObject
*resultobj
;
1444 wxWindow
*arg1
= (wxWindow
*) 0 ;
1445 int arg2
= (int) (int)-1 ;
1446 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1447 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1448 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1449 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1450 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1451 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1452 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1456 bool temp6
= False
;
1457 PyObject
* obj0
= 0 ;
1458 PyObject
* obj1
= 0 ;
1459 PyObject
* obj2
= 0 ;
1460 PyObject
* obj3
= 0 ;
1461 PyObject
* obj4
= 0 ;
1462 PyObject
* obj5
= 0 ;
1464 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1471 arg2
= (int)SWIG_As_int(obj1
);
1472 if (PyErr_Occurred()) SWIG_fail
;
1477 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1483 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1487 arg5
= (long)SWIG_As_long(obj4
);
1488 if (PyErr_Occurred()) SWIG_fail
;
1492 arg6
= wxString_in_helper(obj5
);
1493 if (arg6
== NULL
) SWIG_fail
;
1498 if (!wxPyCheckForApp()) SWIG_fail
;
1499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1500 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1502 wxPyEndAllowThreads(__tstate
);
1503 if (PyErr_Occurred()) SWIG_fail
;
1505 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
1520 static PyObject
*_wrap_new_PrePanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1521 PyObject
*resultobj
;
1527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
1529 if (!wxPyCheckForApp()) SWIG_fail
;
1530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1531 result
= (wxPanel
*)new wxPanel();
1533 wxPyEndAllowThreads(__tstate
);
1534 if (PyErr_Occurred()) SWIG_fail
;
1536 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
1543 static PyObject
*_wrap_Panel_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1544 PyObject
*resultobj
;
1545 wxPanel
*arg1
= (wxPanel
*) 0 ;
1546 wxWindow
*arg2
= (wxWindow
*) 0 ;
1547 int arg3
= (int) (int)-1 ;
1548 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1549 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1550 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1551 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1552 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1553 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1554 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1558 bool temp7
= False
;
1559 PyObject
* obj0
= 0 ;
1560 PyObject
* obj1
= 0 ;
1561 PyObject
* obj2
= 0 ;
1562 PyObject
* obj3
= 0 ;
1563 PyObject
* obj4
= 0 ;
1564 PyObject
* obj5
= 0 ;
1565 PyObject
* obj6
= 0 ;
1567 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1573 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1576 arg3
= (int)SWIG_As_int(obj2
);
1577 if (PyErr_Occurred()) SWIG_fail
;
1582 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1588 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1592 arg6
= (long)SWIG_As_long(obj5
);
1593 if (PyErr_Occurred()) SWIG_fail
;
1597 arg7
= wxString_in_helper(obj6
);
1598 if (arg7
== NULL
) SWIG_fail
;
1603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1604 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1606 wxPyEndAllowThreads(__tstate
);
1607 if (PyErr_Occurred()) SWIG_fail
;
1610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1626 static PyObject
*_wrap_Panel_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1627 PyObject
*resultobj
;
1628 wxPanel
*arg1
= (wxPanel
*) 0 ;
1629 PyObject
* obj0
= 0 ;
1631 (char *) "self", NULL
1634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
1635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1639 (arg1
)->InitDialog();
1641 wxPyEndAllowThreads(__tstate
);
1642 if (PyErr_Occurred()) SWIG_fail
;
1644 Py_INCREF(Py_None
); resultobj
= Py_None
;
1651 static PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1652 PyObject
*resultobj
;
1653 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
1654 wxVisualAttributes result
;
1655 PyObject
* obj0
= 0 ;
1657 (char *) "variant", NULL
1660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
1662 arg1
= (int)SWIG_As_int(obj0
);
1663 if (PyErr_Occurred()) SWIG_fail
;
1666 if (!wxPyCheckForApp()) SWIG_fail
;
1667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1668 result
= wxPanel::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
1670 wxPyEndAllowThreads(__tstate
);
1671 if (PyErr_Occurred()) SWIG_fail
;
1674 wxVisualAttributes
* resultptr
;
1675 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
1676 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
1684 static PyObject
* Panel_swigregister(PyObject
*, PyObject
*args
) {
1686 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1687 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
1689 return Py_BuildValue((char *)"");
1691 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1692 PyObject
*resultobj
;
1693 wxWindow
*arg1
= (wxWindow
*) 0 ;
1694 int arg2
= (int) (int)-1 ;
1695 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1696 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1697 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1698 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1699 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
1700 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1701 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1702 wxScrolledWindow
*result
;
1705 bool temp6
= False
;
1706 PyObject
* obj0
= 0 ;
1707 PyObject
* obj1
= 0 ;
1708 PyObject
* obj2
= 0 ;
1709 PyObject
* obj3
= 0 ;
1710 PyObject
* obj4
= 0 ;
1711 PyObject
* obj5
= 0 ;
1713 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1720 arg2
= (int)SWIG_As_int(obj1
);
1721 if (PyErr_Occurred()) SWIG_fail
;
1726 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1732 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1736 arg5
= (long)SWIG_As_long(obj4
);
1737 if (PyErr_Occurred()) SWIG_fail
;
1741 arg6
= wxString_in_helper(obj5
);
1742 if (arg6
== NULL
) SWIG_fail
;
1747 if (!wxPyCheckForApp()) SWIG_fail
;
1748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1749 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1751 wxPyEndAllowThreads(__tstate
);
1752 if (PyErr_Occurred()) SWIG_fail
;
1754 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1769 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1770 PyObject
*resultobj
;
1771 wxScrolledWindow
*result
;
1776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
1778 if (!wxPyCheckForApp()) SWIG_fail
;
1779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1780 result
= (wxScrolledWindow
*)new wxScrolledWindow();
1782 wxPyEndAllowThreads(__tstate
);
1783 if (PyErr_Occurred()) SWIG_fail
;
1785 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1792 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1793 PyObject
*resultobj
;
1794 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1795 wxWindow
*arg2
= (wxWindow
*) 0 ;
1796 int arg3
= (int) (int)-1 ;
1797 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1798 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1799 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1800 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1801 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
1802 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1803 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1807 bool temp7
= False
;
1808 PyObject
* obj0
= 0 ;
1809 PyObject
* obj1
= 0 ;
1810 PyObject
* obj2
= 0 ;
1811 PyObject
* obj3
= 0 ;
1812 PyObject
* obj4
= 0 ;
1813 PyObject
* obj5
= 0 ;
1814 PyObject
* obj6
= 0 ;
1816 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1822 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1825 arg3
= (int)SWIG_As_int(obj2
);
1826 if (PyErr_Occurred()) SWIG_fail
;
1831 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1837 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1841 arg6
= (long)SWIG_As_long(obj5
);
1842 if (PyErr_Occurred()) SWIG_fail
;
1846 arg7
= wxString_in_helper(obj6
);
1847 if (arg7
== NULL
) SWIG_fail
;
1852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1853 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1855 wxPyEndAllowThreads(__tstate
);
1856 if (PyErr_Occurred()) SWIG_fail
;
1859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1875 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1876 PyObject
*resultobj
;
1877 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1882 int arg6
= (int) 0 ;
1883 int arg7
= (int) 0 ;
1884 bool arg8
= (bool) False
;
1885 PyObject
* obj0
= 0 ;
1886 PyObject
* obj1
= 0 ;
1887 PyObject
* obj2
= 0 ;
1888 PyObject
* obj3
= 0 ;
1889 PyObject
* obj4
= 0 ;
1890 PyObject
* obj5
= 0 ;
1891 PyObject
* obj6
= 0 ;
1892 PyObject
* obj7
= 0 ;
1894 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1900 arg2
= (int)SWIG_As_int(obj1
);
1901 if (PyErr_Occurred()) SWIG_fail
;
1902 arg3
= (int)SWIG_As_int(obj2
);
1903 if (PyErr_Occurred()) SWIG_fail
;
1904 arg4
= (int)SWIG_As_int(obj3
);
1905 if (PyErr_Occurred()) SWIG_fail
;
1906 arg5
= (int)SWIG_As_int(obj4
);
1907 if (PyErr_Occurred()) SWIG_fail
;
1909 arg6
= (int)SWIG_As_int(obj5
);
1910 if (PyErr_Occurred()) SWIG_fail
;
1913 arg7
= (int)SWIG_As_int(obj6
);
1914 if (PyErr_Occurred()) SWIG_fail
;
1917 arg8
= (bool)SWIG_As_bool(obj7
);
1918 if (PyErr_Occurred()) SWIG_fail
;
1921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1922 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
1924 wxPyEndAllowThreads(__tstate
);
1925 if (PyErr_Occurred()) SWIG_fail
;
1927 Py_INCREF(Py_None
); resultobj
= Py_None
;
1934 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1935 PyObject
*resultobj
;
1936 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1939 PyObject
* obj0
= 0 ;
1940 PyObject
* obj1
= 0 ;
1941 PyObject
* obj2
= 0 ;
1943 (char *) "self",(char *) "x",(char *) "y", NULL
1946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1949 arg2
= (int)SWIG_As_int(obj1
);
1950 if (PyErr_Occurred()) SWIG_fail
;
1951 arg3
= (int)SWIG_As_int(obj2
);
1952 if (PyErr_Occurred()) SWIG_fail
;
1954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1955 (arg1
)->Scroll(arg2
,arg3
);
1957 wxPyEndAllowThreads(__tstate
);
1958 if (PyErr_Occurred()) SWIG_fail
;
1960 Py_INCREF(Py_None
); resultobj
= Py_None
;
1967 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1968 PyObject
*resultobj
;
1969 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1972 PyObject
* obj0
= 0 ;
1973 PyObject
* obj1
= 0 ;
1975 (char *) "self",(char *) "orient", NULL
1978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
1979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1981 arg2
= (int)SWIG_As_int(obj1
);
1982 if (PyErr_Occurred()) SWIG_fail
;
1984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1985 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
1987 wxPyEndAllowThreads(__tstate
);
1988 if (PyErr_Occurred()) SWIG_fail
;
1990 resultobj
= SWIG_From_int((int)result
);
1997 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1998 PyObject
*resultobj
;
1999 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2002 PyObject
* obj0
= 0 ;
2003 PyObject
* obj1
= 0 ;
2004 PyObject
* obj2
= 0 ;
2006 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
2009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2012 arg2
= (int)SWIG_As_int(obj1
);
2013 if (PyErr_Occurred()) SWIG_fail
;
2014 arg3
= (int)SWIG_As_int(obj2
);
2015 if (PyErr_Occurred()) SWIG_fail
;
2017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2018 (arg1
)->SetScrollPageSize(arg2
,arg3
);
2020 wxPyEndAllowThreads(__tstate
);
2021 if (PyErr_Occurred()) SWIG_fail
;
2023 Py_INCREF(Py_None
); resultobj
= Py_None
;
2030 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2031 PyObject
*resultobj
;
2032 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2035 PyObject
* obj0
= 0 ;
2036 PyObject
* obj1
= 0 ;
2037 PyObject
* obj2
= 0 ;
2039 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
2042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2045 arg2
= (int)SWIG_As_int(obj1
);
2046 if (PyErr_Occurred()) SWIG_fail
;
2047 arg3
= (int)SWIG_As_int(obj2
);
2048 if (PyErr_Occurred()) SWIG_fail
;
2050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2051 (arg1
)->SetScrollRate(arg2
,arg3
);
2053 wxPyEndAllowThreads(__tstate
);
2054 if (PyErr_Occurred()) SWIG_fail
;
2056 Py_INCREF(Py_None
); resultobj
= Py_None
;
2063 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2064 PyObject
*resultobj
;
2065 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2066 int *arg2
= (int *) 0 ;
2067 int *arg3
= (int *) 0 ;
2072 PyObject
* obj0
= 0 ;
2074 (char *) "self", NULL
2077 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
2078 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
2079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
2080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2084 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
2086 wxPyEndAllowThreads(__tstate
);
2087 if (PyErr_Occurred()) SWIG_fail
;
2089 Py_INCREF(Py_None
); resultobj
= Py_None
;
2090 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
2091 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
2092 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
2093 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
2100 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2101 PyObject
*resultobj
;
2102 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2105 PyObject
* obj0
= 0 ;
2106 PyObject
* obj1
= 0 ;
2107 PyObject
* obj2
= 0 ;
2109 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
2112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2115 arg2
= (bool)SWIG_As_bool(obj1
);
2116 if (PyErr_Occurred()) SWIG_fail
;
2117 arg3
= (bool)SWIG_As_bool(obj2
);
2118 if (PyErr_Occurred()) SWIG_fail
;
2120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2121 (arg1
)->EnableScrolling(arg2
,arg3
);
2123 wxPyEndAllowThreads(__tstate
);
2124 if (PyErr_Occurred()) SWIG_fail
;
2126 Py_INCREF(Py_None
); resultobj
= Py_None
;
2133 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2134 PyObject
*resultobj
;
2135 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2136 int *arg2
= (int *) 0 ;
2137 int *arg3
= (int *) 0 ;
2142 PyObject
* obj0
= 0 ;
2144 (char *) "self", NULL
2147 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
2148 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
2149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
2150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2154 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
2156 wxPyEndAllowThreads(__tstate
);
2157 if (PyErr_Occurred()) SWIG_fail
;
2159 Py_INCREF(Py_None
); resultobj
= Py_None
;
2160 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
2161 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
2162 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
2163 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
2170 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2171 PyObject
*resultobj
;
2172 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2175 PyObject
* obj0
= 0 ;
2176 PyObject
* obj1
= 0 ;
2177 PyObject
* obj2
= 0 ;
2179 (char *) "self",(char *) "xs",(char *) "ys", NULL
2182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2185 arg2
= (double)SWIG_As_double(obj1
);
2186 if (PyErr_Occurred()) SWIG_fail
;
2187 arg3
= (double)SWIG_As_double(obj2
);
2188 if (PyErr_Occurred()) SWIG_fail
;
2190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2191 (arg1
)->SetScale(arg2
,arg3
);
2193 wxPyEndAllowThreads(__tstate
);
2194 if (PyErr_Occurred()) SWIG_fail
;
2196 Py_INCREF(Py_None
); resultobj
= Py_None
;
2203 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2204 PyObject
*resultobj
;
2205 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2207 PyObject
* obj0
= 0 ;
2209 (char *) "self", NULL
2212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
2213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2217 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
2219 wxPyEndAllowThreads(__tstate
);
2220 if (PyErr_Occurred()) SWIG_fail
;
2222 resultobj
= SWIG_From_double((double)result
);
2229 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2230 PyObject
*resultobj
;
2231 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2233 PyObject
* obj0
= 0 ;
2235 (char *) "self", NULL
2238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
2239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2243 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
2245 wxPyEndAllowThreads(__tstate
);
2246 if (PyErr_Occurred()) SWIG_fail
;
2248 resultobj
= SWIG_From_double((double)result
);
2255 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
2256 PyObject
*resultobj
;
2257 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2261 PyObject
* obj0
= 0 ;
2262 PyObject
* obj1
= 0 ;
2264 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
2265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2269 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2273 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
2275 wxPyEndAllowThreads(__tstate
);
2276 if (PyErr_Occurred()) SWIG_fail
;
2279 wxPoint
* resultptr
;
2280 resultptr
= new wxPoint((wxPoint
&) result
);
2281 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2289 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
2290 PyObject
*resultobj
;
2291 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2294 int *arg4
= (int *) 0 ;
2295 int *arg5
= (int *) 0 ;
2300 PyObject
* obj0
= 0 ;
2301 PyObject
* obj1
= 0 ;
2302 PyObject
* obj2
= 0 ;
2304 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
2305 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
2306 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2309 arg2
= (int)SWIG_As_int(obj1
);
2310 if (PyErr_Occurred()) SWIG_fail
;
2311 arg3
= (int)SWIG_As_int(obj2
);
2312 if (PyErr_Occurred()) SWIG_fail
;
2314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2315 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
2317 wxPyEndAllowThreads(__tstate
);
2318 if (PyErr_Occurred()) SWIG_fail
;
2320 Py_INCREF(Py_None
); resultobj
= Py_None
;
2321 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
2322 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
2323 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
2324 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
2331 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
2336 argc
= PyObject_Length(args
);
2337 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2338 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2344 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2353 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2356 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
2364 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2372 _v
= SWIG_Check_int(argv
[1]);
2374 _v
= SWIG_Check_int(argv
[2]);
2376 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
2382 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2387 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
2388 PyObject
*resultobj
;
2389 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2393 PyObject
* obj0
= 0 ;
2394 PyObject
* obj1
= 0 ;
2396 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
2397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2401 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2405 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
2407 wxPyEndAllowThreads(__tstate
);
2408 if (PyErr_Occurred()) SWIG_fail
;
2411 wxPoint
* resultptr
;
2412 resultptr
= new wxPoint((wxPoint
&) result
);
2413 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2421 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
2422 PyObject
*resultobj
;
2423 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2426 int *arg4
= (int *) 0 ;
2427 int *arg5
= (int *) 0 ;
2432 PyObject
* obj0
= 0 ;
2433 PyObject
* obj1
= 0 ;
2434 PyObject
* obj2
= 0 ;
2436 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
2437 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
2438 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2441 arg2
= (int)SWIG_As_int(obj1
);
2442 if (PyErr_Occurred()) SWIG_fail
;
2443 arg3
= (int)SWIG_As_int(obj2
);
2444 if (PyErr_Occurred()) SWIG_fail
;
2446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2447 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
2449 wxPyEndAllowThreads(__tstate
);
2450 if (PyErr_Occurred()) SWIG_fail
;
2452 Py_INCREF(Py_None
); resultobj
= Py_None
;
2453 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
2454 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
2455 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
2456 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
2463 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
2468 argc
= PyObject_Length(args
);
2469 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2470 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2476 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2485 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2488 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
2496 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2504 _v
= SWIG_Check_int(argv
[1]);
2506 _v
= SWIG_Check_int(argv
[2]);
2508 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
2514 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2519 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2520 PyObject
*resultobj
;
2521 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2522 PyObject
* obj0
= 0 ;
2524 (char *) "self", NULL
2527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
2528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2532 (arg1
)->AdjustScrollbars();
2534 wxPyEndAllowThreads(__tstate
);
2535 if (PyErr_Occurred()) SWIG_fail
;
2537 Py_INCREF(Py_None
); resultobj
= Py_None
;
2544 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2545 PyObject
*resultobj
;
2546 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2547 wxScrollWinEvent
*arg2
= 0 ;
2549 PyObject
* obj0
= 0 ;
2550 PyObject
* obj1
= 0 ;
2552 (char *) "self",(char *) "event", NULL
2555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
2556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2558 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxScrollWinEvent
,
2559 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2562 PyErr_SetString(PyExc_TypeError
,"null reference");
2566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2567 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
2569 wxPyEndAllowThreads(__tstate
);
2570 if (PyErr_Occurred()) SWIG_fail
;
2572 resultobj
= SWIG_From_int((int)result
);
2579 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2580 PyObject
*resultobj
;
2581 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2582 wxWindow
*arg2
= (wxWindow
*) 0 ;
2583 PyObject
* obj0
= 0 ;
2584 PyObject
* obj1
= 0 ;
2586 (char *) "self",(char *) "target", NULL
2589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
2590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2592 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2596 (arg1
)->SetTargetWindow(arg2
);
2598 wxPyEndAllowThreads(__tstate
);
2599 if (PyErr_Occurred()) SWIG_fail
;
2601 Py_INCREF(Py_None
); resultobj
= Py_None
;
2608 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2609 PyObject
*resultobj
;
2610 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2612 PyObject
* obj0
= 0 ;
2614 (char *) "self", NULL
2617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
2618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2622 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
2624 wxPyEndAllowThreads(__tstate
);
2625 if (PyErr_Occurred()) SWIG_fail
;
2628 resultobj
= wxPyMake_wxObject(result
, 0);
2636 static PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2637 PyObject
*resultobj
;
2638 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2641 PyObject
* obj0
= 0 ;
2642 PyObject
* obj1
= 0 ;
2644 (char *) "self",(char *) "rect", NULL
2647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
2648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2652 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2656 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
2658 wxPyEndAllowThreads(__tstate
);
2659 if (PyErr_Occurred()) SWIG_fail
;
2661 Py_INCREF(Py_None
); resultobj
= Py_None
;
2668 static PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2669 PyObject
*resultobj
;
2670 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2672 PyObject
* obj0
= 0 ;
2674 (char *) "self", NULL
2677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetRect",kwnames
,&obj0
)) goto fail
;
2678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2682 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
2684 wxPyEndAllowThreads(__tstate
);
2685 if (PyErr_Occurred()) SWIG_fail
;
2689 resultptr
= new wxRect((wxRect
&) result
);
2690 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
2698 static PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2699 PyObject
*resultobj
;
2700 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2702 PyObject
* obj0
= 0 ;
2703 PyObject
* obj1
= 0 ;
2705 (char *) "self",(char *) "dc", NULL
2708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
2709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2711 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
2712 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2715 PyErr_SetString(PyExc_TypeError
,"null reference");
2719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2720 (arg1
)->DoPrepareDC(*arg2
);
2722 wxPyEndAllowThreads(__tstate
);
2723 if (PyErr_Occurred()) SWIG_fail
;
2725 Py_INCREF(Py_None
); resultobj
= Py_None
;
2732 static PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2733 PyObject
*resultobj
;
2734 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2735 wxVisualAttributes result
;
2736 PyObject
* obj0
= 0 ;
2738 (char *) "variant", NULL
2741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2743 arg1
= (int)SWIG_As_int(obj0
);
2744 if (PyErr_Occurred()) SWIG_fail
;
2747 if (!wxPyCheckForApp()) SWIG_fail
;
2748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2749 result
= wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2751 wxPyEndAllowThreads(__tstate
);
2752 if (PyErr_Occurred()) SWIG_fail
;
2755 wxVisualAttributes
* resultptr
;
2756 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2757 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2765 static PyObject
* ScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
2767 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2768 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
2770 return Py_BuildValue((char *)"");
2772 static int _wrap_FrameNameStr_set(PyObject
*) {
2773 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
2778 static PyObject
*_wrap_FrameNameStr_get() {
2783 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2785 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2792 static int _wrap_DialogNameStr_set(PyObject
*) {
2793 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
2798 static PyObject
*_wrap_DialogNameStr_get() {
2803 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2805 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2812 static int _wrap_StatusLineNameStr_set(PyObject
*) {
2813 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
2818 static PyObject
*_wrap_StatusLineNameStr_get() {
2823 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2825 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2832 static int _wrap_ToolBarNameStr_set(PyObject
*) {
2833 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
2838 static PyObject
*_wrap_ToolBarNameStr_get() {
2843 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2845 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2852 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2853 PyObject
*resultobj
;
2854 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2855 bool arg2
= (bool) True
;
2856 PyObject
* obj0
= 0 ;
2857 PyObject
* obj1
= 0 ;
2859 (char *) "self",(char *) "maximize", NULL
2862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
2863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2866 arg2
= (bool)SWIG_As_bool(obj1
);
2867 if (PyErr_Occurred()) SWIG_fail
;
2870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2871 (arg1
)->Maximize(arg2
);
2873 wxPyEndAllowThreads(__tstate
);
2874 if (PyErr_Occurred()) SWIG_fail
;
2876 Py_INCREF(Py_None
); resultobj
= Py_None
;
2883 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2884 PyObject
*resultobj
;
2885 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2886 PyObject
* obj0
= 0 ;
2888 (char *) "self", NULL
2891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",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();
2898 wxPyEndAllowThreads(__tstate
);
2899 if (PyErr_Occurred()) SWIG_fail
;
2901 Py_INCREF(Py_None
); resultobj
= Py_None
;
2908 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2909 PyObject
*resultobj
;
2910 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2911 bool arg2
= (bool) True
;
2912 PyObject
* obj0
= 0 ;
2913 PyObject
* obj1
= 0 ;
2915 (char *) "self",(char *) "iconize", NULL
2918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
2919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2922 arg2
= (bool)SWIG_As_bool(obj1
);
2923 if (PyErr_Occurred()) SWIG_fail
;
2926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2927 (arg1
)->Iconize(arg2
);
2929 wxPyEndAllowThreads(__tstate
);
2930 if (PyErr_Occurred()) SWIG_fail
;
2932 Py_INCREF(Py_None
); resultobj
= Py_None
;
2939 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2940 PyObject
*resultobj
;
2941 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2943 PyObject
* obj0
= 0 ;
2945 (char *) "self", NULL
2948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
2949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2953 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
2955 wxPyEndAllowThreads(__tstate
);
2956 if (PyErr_Occurred()) SWIG_fail
;
2959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2967 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2968 PyObject
*resultobj
;
2969 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2971 PyObject
* obj0
= 0 ;
2973 (char *) "self", NULL
2976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
2977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2981 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
2983 wxPyEndAllowThreads(__tstate
);
2984 if (PyErr_Occurred()) SWIG_fail
;
2987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2995 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2996 PyObject
*resultobj
;
2997 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2999 PyObject
* obj0
= 0 ;
3001 (char *) "self", NULL
3004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
3005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3009 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
3011 wxPyEndAllowThreads(__tstate
);
3012 if (PyErr_Occurred()) SWIG_fail
;
3016 resultptr
= new wxIcon((wxIcon
&) result
);
3017 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
3025 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3026 PyObject
*resultobj
;
3027 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3029 PyObject
* obj0
= 0 ;
3030 PyObject
* obj1
= 0 ;
3032 (char *) "self",(char *) "icon", NULL
3035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
3036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3038 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
3039 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3042 PyErr_SetString(PyExc_TypeError
,"null reference");
3046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3047 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
3049 wxPyEndAllowThreads(__tstate
);
3050 if (PyErr_Occurred()) SWIG_fail
;
3052 Py_INCREF(Py_None
); resultobj
= Py_None
;
3059 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3060 PyObject
*resultobj
;
3061 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3062 wxIconBundle
*arg2
= 0 ;
3063 PyObject
* obj0
= 0 ;
3064 PyObject
* obj1
= 0 ;
3066 (char *) "self",(char *) "icons", NULL
3069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
3070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3072 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIconBundle
,
3073 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3076 PyErr_SetString(PyExc_TypeError
,"null reference");
3080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3081 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
3083 wxPyEndAllowThreads(__tstate
);
3084 if (PyErr_Occurred()) SWIG_fail
;
3086 Py_INCREF(Py_None
); resultobj
= Py_None
;
3093 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3094 PyObject
*resultobj
;
3095 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3097 long arg3
= (long) wxFULLSCREEN_ALL
;
3099 PyObject
* obj0
= 0 ;
3100 PyObject
* obj1
= 0 ;
3101 PyObject
* obj2
= 0 ;
3103 (char *) "self",(char *) "show",(char *) "style", NULL
3106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3109 arg2
= (bool)SWIG_As_bool(obj1
);
3110 if (PyErr_Occurred()) SWIG_fail
;
3112 arg3
= (long)SWIG_As_long(obj2
);
3113 if (PyErr_Occurred()) SWIG_fail
;
3116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3117 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
3119 wxPyEndAllowThreads(__tstate
);
3120 if (PyErr_Occurred()) SWIG_fail
;
3123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3131 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3132 PyObject
*resultobj
;
3133 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3135 PyObject
* obj0
= 0 ;
3137 (char *) "self", NULL
3140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
3141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3145 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
3147 wxPyEndAllowThreads(__tstate
);
3148 if (PyErr_Occurred()) SWIG_fail
;
3151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3159 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3160 PyObject
*resultobj
;
3161 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3162 wxString
*arg2
= 0 ;
3163 bool temp2
= False
;
3164 PyObject
* obj0
= 0 ;
3165 PyObject
* obj1
= 0 ;
3167 (char *) "self",(char *) "title", NULL
3170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
3171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3174 arg2
= wxString_in_helper(obj1
);
3175 if (arg2
== NULL
) SWIG_fail
;
3179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3180 (arg1
)->SetTitle((wxString
const &)*arg2
);
3182 wxPyEndAllowThreads(__tstate
);
3183 if (PyErr_Occurred()) SWIG_fail
;
3185 Py_INCREF(Py_None
); resultobj
= Py_None
;
3200 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3201 PyObject
*resultobj
;
3202 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3204 PyObject
* obj0
= 0 ;
3206 (char *) "self", NULL
3209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
3210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3214 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
3216 wxPyEndAllowThreads(__tstate
);
3217 if (PyErr_Occurred()) SWIG_fail
;
3221 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3223 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3232 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3233 PyObject
*resultobj
;
3234 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3235 wxRegion
*arg2
= 0 ;
3237 PyObject
* obj0
= 0 ;
3238 PyObject
* obj1
= 0 ;
3240 (char *) "self",(char *) "region", NULL
3243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
3244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3246 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
3247 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3250 PyErr_SetString(PyExc_TypeError
,"null reference");
3254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3255 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
3257 wxPyEndAllowThreads(__tstate
);
3258 if (PyErr_Occurred()) SWIG_fail
;
3261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3269 static PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3270 PyObject
*resultobj
;
3271 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3272 int arg2
= (int) wxUSER_ATTENTION_INFO
;
3273 PyObject
* obj0
= 0 ;
3274 PyObject
* obj1
= 0 ;
3276 (char *) "self",(char *) "flags", NULL
3279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) goto fail
;
3280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3283 arg2
= (int)SWIG_As_int(obj1
);
3284 if (PyErr_Occurred()) SWIG_fail
;
3287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3288 (arg1
)->RequestUserAttention(arg2
);
3290 wxPyEndAllowThreads(__tstate
);
3291 if (PyErr_Occurred()) SWIG_fail
;
3293 Py_INCREF(Py_None
); resultobj
= Py_None
;
3300 static PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3301 PyObject
*resultobj
;
3302 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3304 PyObject
* obj0
= 0 ;
3305 PyObject
* obj1
= 0 ;
3307 (char *) "self",(char *) "on", NULL
3310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) goto fail
;
3311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3313 arg2
= (bool)SWIG_As_bool(obj1
);
3314 if (PyErr_Occurred()) SWIG_fail
;
3316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3317 (arg1
)->MacSetMetalAppearance(arg2
);
3319 wxPyEndAllowThreads(__tstate
);
3320 if (PyErr_Occurred()) SWIG_fail
;
3322 Py_INCREF(Py_None
); resultobj
= Py_None
;
3329 static PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3330 PyObject
*resultobj
;
3331 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3333 PyObject
* obj0
= 0 ;
3335 (char *) "self", NULL
3338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames
,&obj0
)) goto fail
;
3339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3343 result
= (bool)((wxTopLevelWindow
const *)arg1
)->MacGetMetalAppearance();
3345 wxPyEndAllowThreads(__tstate
);
3346 if (PyErr_Occurred()) SWIG_fail
;
3349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3357 static PyObject
* TopLevelWindow_swigregister(PyObject
*, PyObject
*args
) {
3359 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3360 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
3362 return Py_BuildValue((char *)"");
3364 static PyObject
*_wrap_new_Frame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3365 PyObject
*resultobj
;
3366 wxWindow
*arg1
= (wxWindow
*) 0 ;
3367 int arg2
= (int) (int)-1 ;
3368 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3369 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3370 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3371 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3372 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3373 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3374 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
3375 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
3376 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3378 bool temp3
= False
;
3381 bool temp7
= False
;
3382 PyObject
* obj0
= 0 ;
3383 PyObject
* obj1
= 0 ;
3384 PyObject
* obj2
= 0 ;
3385 PyObject
* obj3
= 0 ;
3386 PyObject
* obj4
= 0 ;
3387 PyObject
* obj5
= 0 ;
3388 PyObject
* obj6
= 0 ;
3390 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3397 arg2
= (int)SWIG_As_int(obj1
);
3398 if (PyErr_Occurred()) SWIG_fail
;
3402 arg3
= wxString_in_helper(obj2
);
3403 if (arg3
== NULL
) SWIG_fail
;
3410 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3416 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3420 arg6
= (long)SWIG_As_long(obj5
);
3421 if (PyErr_Occurred()) SWIG_fail
;
3425 arg7
= wxString_in_helper(obj6
);
3426 if (arg7
== NULL
) SWIG_fail
;
3431 if (!wxPyCheckForApp()) SWIG_fail
;
3432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3433 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3435 wxPyEndAllowThreads(__tstate
);
3436 if (PyErr_Occurred()) SWIG_fail
;
3438 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
3461 static PyObject
*_wrap_new_PreFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3462 PyObject
*resultobj
;
3468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
3470 if (!wxPyCheckForApp()) SWIG_fail
;
3471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3472 result
= (wxFrame
*)new wxFrame();
3474 wxPyEndAllowThreads(__tstate
);
3475 if (PyErr_Occurred()) SWIG_fail
;
3477 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
3484 static PyObject
*_wrap_Frame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3485 PyObject
*resultobj
;
3486 wxFrame
*arg1
= (wxFrame
*) 0 ;
3487 wxWindow
*arg2
= (wxWindow
*) 0 ;
3488 int arg3
= (int) (int)-1 ;
3489 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3490 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3491 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3492 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3493 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3494 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3495 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
3496 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
3497 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3499 bool temp4
= False
;
3502 bool temp8
= False
;
3503 PyObject
* obj0
= 0 ;
3504 PyObject
* obj1
= 0 ;
3505 PyObject
* obj2
= 0 ;
3506 PyObject
* obj3
= 0 ;
3507 PyObject
* obj4
= 0 ;
3508 PyObject
* obj5
= 0 ;
3509 PyObject
* obj6
= 0 ;
3510 PyObject
* obj7
= 0 ;
3512 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3518 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3521 arg3
= (int)SWIG_As_int(obj2
);
3522 if (PyErr_Occurred()) SWIG_fail
;
3526 arg4
= wxString_in_helper(obj3
);
3527 if (arg4
== NULL
) SWIG_fail
;
3534 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3540 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3544 arg7
= (long)SWIG_As_long(obj6
);
3545 if (PyErr_Occurred()) SWIG_fail
;
3549 arg8
= wxString_in_helper(obj7
);
3550 if (arg8
== NULL
) SWIG_fail
;
3555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3556 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3558 wxPyEndAllowThreads(__tstate
);
3559 if (PyErr_Occurred()) SWIG_fail
;
3562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3586 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3587 PyObject
*resultobj
;
3588 wxFrame
*arg1
= (wxFrame
*) 0 ;
3590 PyObject
* obj0
= 0 ;
3592 (char *) "self", NULL
3595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
3596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3600 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
3602 wxPyEndAllowThreads(__tstate
);
3603 if (PyErr_Occurred()) SWIG_fail
;
3606 wxPoint
* resultptr
;
3607 resultptr
= new wxPoint((wxPoint
&) result
);
3608 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3616 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3617 PyObject
*resultobj
;
3618 wxFrame
*arg1
= (wxFrame
*) 0 ;
3619 PyObject
* obj0
= 0 ;
3621 (char *) "self", NULL
3624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
3625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3629 (arg1
)->SendSizeEvent();
3631 wxPyEndAllowThreads(__tstate
);
3632 if (PyErr_Occurred()) SWIG_fail
;
3634 Py_INCREF(Py_None
); resultobj
= Py_None
;
3641 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3642 PyObject
*resultobj
;
3643 wxFrame
*arg1
= (wxFrame
*) 0 ;
3644 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
3645 PyObject
* obj0
= 0 ;
3646 PyObject
* obj1
= 0 ;
3648 (char *) "self",(char *) "menubar", NULL
3651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3654 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBar
,
3655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3658 (arg1
)->SetMenuBar(arg2
);
3660 wxPyEndAllowThreads(__tstate
);
3661 if (PyErr_Occurred()) SWIG_fail
;
3663 Py_INCREF(Py_None
); resultobj
= Py_None
;
3670 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3671 PyObject
*resultobj
;
3672 wxFrame
*arg1
= (wxFrame
*) 0 ;
3674 PyObject
* obj0
= 0 ;
3676 (char *) "self", NULL
3679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
3680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3684 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
3686 wxPyEndAllowThreads(__tstate
);
3687 if (PyErr_Occurred()) SWIG_fail
;
3690 resultobj
= wxPyMake_wxObject(result
, 0);
3698 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3699 PyObject
*resultobj
;
3700 wxFrame
*arg1
= (wxFrame
*) 0 ;
3703 PyObject
* obj0
= 0 ;
3704 PyObject
* obj1
= 0 ;
3706 (char *) "self",(char *) "winid", NULL
3709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
3710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3712 arg2
= (int)SWIG_As_int(obj1
);
3713 if (PyErr_Occurred()) SWIG_fail
;
3715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3716 result
= (bool)(arg1
)->ProcessCommand(arg2
);
3718 wxPyEndAllowThreads(__tstate
);
3719 if (PyErr_Occurred()) SWIG_fail
;
3722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3730 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3731 PyObject
*resultobj
;
3732 wxFrame
*arg1
= (wxFrame
*) 0 ;
3733 int arg2
= (int) 1 ;
3734 long arg3
= (long) wxST_SIZEGRIP
;
3735 int arg4
= (int) 0 ;
3736 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
3737 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3738 wxStatusBar
*result
;
3739 bool temp5
= False
;
3740 PyObject
* obj0
= 0 ;
3741 PyObject
* obj1
= 0 ;
3742 PyObject
* obj2
= 0 ;
3743 PyObject
* obj3
= 0 ;
3744 PyObject
* obj4
= 0 ;
3746 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3753 arg2
= (int)SWIG_As_int(obj1
);
3754 if (PyErr_Occurred()) SWIG_fail
;
3757 arg3
= (long)SWIG_As_long(obj2
);
3758 if (PyErr_Occurred()) SWIG_fail
;
3761 arg4
= (int)SWIG_As_int(obj3
);
3762 if (PyErr_Occurred()) SWIG_fail
;
3766 arg5
= wxString_in_helper(obj4
);
3767 if (arg5
== NULL
) SWIG_fail
;
3772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3773 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
3775 wxPyEndAllowThreads(__tstate
);
3776 if (PyErr_Occurred()) SWIG_fail
;
3779 resultobj
= wxPyMake_wxObject(result
, 0);
3795 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3796 PyObject
*resultobj
;
3797 wxFrame
*arg1
= (wxFrame
*) 0 ;
3798 wxStatusBar
*result
;
3799 PyObject
* obj0
= 0 ;
3801 (char *) "self", NULL
3804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
3805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3809 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
3811 wxPyEndAllowThreads(__tstate
);
3812 if (PyErr_Occurred()) SWIG_fail
;
3815 resultobj
= wxPyMake_wxObject(result
, 0);
3823 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3824 PyObject
*resultobj
;
3825 wxFrame
*arg1
= (wxFrame
*) 0 ;
3826 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
3827 PyObject
* obj0
= 0 ;
3828 PyObject
* obj1
= 0 ;
3830 (char *) "self",(char *) "statBar", NULL
3833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3836 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxStatusBar
,
3837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3840 (arg1
)->SetStatusBar(arg2
);
3842 wxPyEndAllowThreads(__tstate
);
3843 if (PyErr_Occurred()) SWIG_fail
;
3845 Py_INCREF(Py_None
); resultobj
= Py_None
;
3852 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3853 PyObject
*resultobj
;
3854 wxFrame
*arg1
= (wxFrame
*) 0 ;
3855 wxString
*arg2
= 0 ;
3856 int arg3
= (int) 0 ;
3857 bool temp2
= False
;
3858 PyObject
* obj0
= 0 ;
3859 PyObject
* obj1
= 0 ;
3860 PyObject
* obj2
= 0 ;
3862 (char *) "self",(char *) "text",(char *) "number", NULL
3865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3869 arg2
= wxString_in_helper(obj1
);
3870 if (arg2
== NULL
) SWIG_fail
;
3874 arg3
= (int)SWIG_As_int(obj2
);
3875 if (PyErr_Occurred()) SWIG_fail
;
3878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3879 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
3881 wxPyEndAllowThreads(__tstate
);
3882 if (PyErr_Occurred()) SWIG_fail
;
3884 Py_INCREF(Py_None
); resultobj
= Py_None
;
3899 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3900 PyObject
*resultobj
;
3901 wxFrame
*arg1
= (wxFrame
*) 0 ;
3903 int *arg3
= (int *) 0 ;
3904 PyObject
* obj0
= 0 ;
3905 PyObject
* obj1
= 0 ;
3907 (char *) "self",(char *) "widths", NULL
3910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
3911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3914 arg2
= PyList_Size(obj1
);
3915 arg3
= int_LIST_helper(obj1
);
3916 if (arg3
== NULL
) SWIG_fail
;
3919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3920 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
3922 wxPyEndAllowThreads(__tstate
);
3923 if (PyErr_Occurred()) SWIG_fail
;
3925 Py_INCREF(Py_None
); resultobj
= Py_None
;
3927 if (arg3
) delete [] arg3
;
3932 if (arg3
) delete [] arg3
;
3938 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3939 PyObject
*resultobj
;
3940 wxFrame
*arg1
= (wxFrame
*) 0 ;
3941 wxString
*arg2
= 0 ;
3942 int arg3
= (int) 0 ;
3943 bool temp2
= False
;
3944 PyObject
* obj0
= 0 ;
3945 PyObject
* obj1
= 0 ;
3946 PyObject
* obj2
= 0 ;
3948 (char *) "self",(char *) "text",(char *) "number", NULL
3951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3955 arg2
= wxString_in_helper(obj1
);
3956 if (arg2
== NULL
) SWIG_fail
;
3960 arg3
= (int)SWIG_As_int(obj2
);
3961 if (PyErr_Occurred()) SWIG_fail
;
3964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3965 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
3967 wxPyEndAllowThreads(__tstate
);
3968 if (PyErr_Occurred()) SWIG_fail
;
3970 Py_INCREF(Py_None
); resultobj
= Py_None
;
3985 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3986 PyObject
*resultobj
;
3987 wxFrame
*arg1
= (wxFrame
*) 0 ;
3988 int arg2
= (int) 0 ;
3989 PyObject
* obj0
= 0 ;
3990 PyObject
* obj1
= 0 ;
3992 (char *) "self",(char *) "number", NULL
3995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
3996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3999 arg2
= (int)SWIG_As_int(obj1
);
4000 if (PyErr_Occurred()) SWIG_fail
;
4003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4004 (arg1
)->PopStatusText(arg2
);
4006 wxPyEndAllowThreads(__tstate
);
4007 if (PyErr_Occurred()) SWIG_fail
;
4009 Py_INCREF(Py_None
); resultobj
= Py_None
;
4016 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4017 PyObject
*resultobj
;
4018 wxFrame
*arg1
= (wxFrame
*) 0 ;
4020 PyObject
* obj0
= 0 ;
4021 PyObject
* obj1
= 0 ;
4023 (char *) "self",(char *) "n", NULL
4026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
4027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4029 arg2
= (int)SWIG_As_int(obj1
);
4030 if (PyErr_Occurred()) SWIG_fail
;
4032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4033 (arg1
)->SetStatusBarPane(arg2
);
4035 wxPyEndAllowThreads(__tstate
);
4036 if (PyErr_Occurred()) SWIG_fail
;
4038 Py_INCREF(Py_None
); resultobj
= Py_None
;
4045 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4046 PyObject
*resultobj
;
4047 wxFrame
*arg1
= (wxFrame
*) 0 ;
4049 PyObject
* obj0
= 0 ;
4051 (char *) "self", NULL
4054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
4055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4059 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
4061 wxPyEndAllowThreads(__tstate
);
4062 if (PyErr_Occurred()) SWIG_fail
;
4064 resultobj
= SWIG_From_int((int)result
);
4071 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4072 PyObject
*resultobj
;
4073 wxFrame
*arg1
= (wxFrame
*) 0 ;
4074 long arg2
= (long) -1 ;
4075 int arg3
= (int) -1 ;
4076 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
4077 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4079 bool temp4
= False
;
4080 PyObject
* obj0
= 0 ;
4081 PyObject
* obj1
= 0 ;
4082 PyObject
* obj2
= 0 ;
4083 PyObject
* obj3
= 0 ;
4085 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
4088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4092 arg2
= (long)SWIG_As_long(obj1
);
4093 if (PyErr_Occurred()) SWIG_fail
;
4096 arg3
= (int)SWIG_As_int(obj2
);
4097 if (PyErr_Occurred()) SWIG_fail
;
4101 arg4
= wxString_in_helper(obj3
);
4102 if (arg4
== NULL
) SWIG_fail
;
4107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4108 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
4110 wxPyEndAllowThreads(__tstate
);
4111 if (PyErr_Occurred()) SWIG_fail
;
4114 resultobj
= wxPyMake_wxObject(result
, 0);
4130 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4131 PyObject
*resultobj
;
4132 wxFrame
*arg1
= (wxFrame
*) 0 ;
4134 PyObject
* obj0
= 0 ;
4136 (char *) "self", NULL
4139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
4140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4144 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
4146 wxPyEndAllowThreads(__tstate
);
4147 if (PyErr_Occurred()) SWIG_fail
;
4150 resultobj
= wxPyMake_wxObject(result
, 0);
4158 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4159 PyObject
*resultobj
;
4160 wxFrame
*arg1
= (wxFrame
*) 0 ;
4161 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
4162 PyObject
* obj0
= 0 ;
4163 PyObject
* obj1
= 0 ;
4165 (char *) "self",(char *) "toolbar", NULL
4168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
4169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4171 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBar
,
4172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4175 (arg1
)->SetToolBar(arg2
);
4177 wxPyEndAllowThreads(__tstate
);
4178 if (PyErr_Occurred()) SWIG_fail
;
4180 Py_INCREF(Py_None
); resultobj
= Py_None
;
4187 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4188 PyObject
*resultobj
;
4189 wxFrame
*arg1
= (wxFrame
*) 0 ;
4190 wxString
*arg2
= 0 ;
4192 bool temp2
= False
;
4193 PyObject
* obj0
= 0 ;
4194 PyObject
* obj1
= 0 ;
4195 PyObject
* obj2
= 0 ;
4197 (char *) "self",(char *) "text",(char *) "show", NULL
4200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4204 arg2
= wxString_in_helper(obj1
);
4205 if (arg2
== NULL
) SWIG_fail
;
4208 arg3
= (bool)SWIG_As_bool(obj2
);
4209 if (PyErr_Occurred()) SWIG_fail
;
4211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4212 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
4214 wxPyEndAllowThreads(__tstate
);
4215 if (PyErr_Occurred()) SWIG_fail
;
4217 Py_INCREF(Py_None
); resultobj
= Py_None
;
4232 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4233 PyObject
*resultobj
;
4234 wxFrame
*arg1
= (wxFrame
*) 0 ;
4235 wxMenu
*arg2
= (wxMenu
*) NULL
;
4236 PyObject
* obj0
= 0 ;
4237 PyObject
* obj1
= 0 ;
4239 (char *) "self",(char *) "menu", NULL
4242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
4243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4246 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
4247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4251 (arg1
)->DoMenuUpdates(arg2
);
4253 wxPyEndAllowThreads(__tstate
);
4254 if (PyErr_Occurred()) SWIG_fail
;
4256 Py_INCREF(Py_None
); resultobj
= Py_None
;
4263 static PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4264 PyObject
*resultobj
;
4265 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4266 wxVisualAttributes result
;
4267 PyObject
* obj0
= 0 ;
4269 (char *) "variant", NULL
4272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4274 arg1
= (int)SWIG_As_int(obj0
);
4275 if (PyErr_Occurred()) SWIG_fail
;
4278 if (!wxPyCheckForApp()) SWIG_fail
;
4279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4280 result
= wxFrame::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4282 wxPyEndAllowThreads(__tstate
);
4283 if (PyErr_Occurred()) SWIG_fail
;
4286 wxVisualAttributes
* resultptr
;
4287 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4288 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4296 static PyObject
* Frame_swigregister(PyObject
*, PyObject
*args
) {
4298 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4299 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
4301 return Py_BuildValue((char *)"");
4303 static PyObject
*_wrap_new_Dialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4304 PyObject
*resultobj
;
4305 wxWindow
*arg1
= (wxWindow
*) 0 ;
4306 int arg2
= (int) (int)-1 ;
4307 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4308 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4309 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4310 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4311 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4312 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4313 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
4314 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
4315 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4317 bool temp3
= False
;
4320 bool temp7
= False
;
4321 PyObject
* obj0
= 0 ;
4322 PyObject
* obj1
= 0 ;
4323 PyObject
* obj2
= 0 ;
4324 PyObject
* obj3
= 0 ;
4325 PyObject
* obj4
= 0 ;
4326 PyObject
* obj5
= 0 ;
4327 PyObject
* obj6
= 0 ;
4329 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4336 arg2
= (int)SWIG_As_int(obj1
);
4337 if (PyErr_Occurred()) SWIG_fail
;
4341 arg3
= wxString_in_helper(obj2
);
4342 if (arg3
== NULL
) SWIG_fail
;
4349 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4355 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4359 arg6
= (long)SWIG_As_long(obj5
);
4360 if (PyErr_Occurred()) SWIG_fail
;
4364 arg7
= wxString_in_helper(obj6
);
4365 if (arg7
== NULL
) SWIG_fail
;
4370 if (!wxPyCheckForApp()) SWIG_fail
;
4371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4372 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4374 wxPyEndAllowThreads(__tstate
);
4375 if (PyErr_Occurred()) SWIG_fail
;
4377 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
4400 static PyObject
*_wrap_new_PreDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4401 PyObject
*resultobj
;
4407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
4409 if (!wxPyCheckForApp()) SWIG_fail
;
4410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4411 result
= (wxDialog
*)new wxDialog();
4413 wxPyEndAllowThreads(__tstate
);
4414 if (PyErr_Occurred()) SWIG_fail
;
4416 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
4423 static PyObject
*_wrap_Dialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4424 PyObject
*resultobj
;
4425 wxDialog
*arg1
= (wxDialog
*) 0 ;
4426 wxWindow
*arg2
= (wxWindow
*) 0 ;
4427 int arg3
= (int) (int)-1 ;
4428 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4429 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4430 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4431 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4432 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4433 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4434 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
4435 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
4436 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4438 bool temp4
= False
;
4441 bool temp8
= False
;
4442 PyObject
* obj0
= 0 ;
4443 PyObject
* obj1
= 0 ;
4444 PyObject
* obj2
= 0 ;
4445 PyObject
* obj3
= 0 ;
4446 PyObject
* obj4
= 0 ;
4447 PyObject
* obj5
= 0 ;
4448 PyObject
* obj6
= 0 ;
4449 PyObject
* obj7
= 0 ;
4451 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4457 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4460 arg3
= (int)SWIG_As_int(obj2
);
4461 if (PyErr_Occurred()) SWIG_fail
;
4465 arg4
= wxString_in_helper(obj3
);
4466 if (arg4
== NULL
) SWIG_fail
;
4473 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4479 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4483 arg7
= (long)SWIG_As_long(obj6
);
4484 if (PyErr_Occurred()) SWIG_fail
;
4488 arg8
= wxString_in_helper(obj7
);
4489 if (arg8
== NULL
) SWIG_fail
;
4494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4495 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4497 wxPyEndAllowThreads(__tstate
);
4498 if (PyErr_Occurred()) SWIG_fail
;
4501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4525 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4526 PyObject
*resultobj
;
4527 wxDialog
*arg1
= (wxDialog
*) 0 ;
4529 PyObject
* obj0
= 0 ;
4530 PyObject
* obj1
= 0 ;
4532 (char *) "self",(char *) "returnCode", NULL
4535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
4536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4538 arg2
= (int)SWIG_As_int(obj1
);
4539 if (PyErr_Occurred()) SWIG_fail
;
4541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4542 (arg1
)->SetReturnCode(arg2
);
4544 wxPyEndAllowThreads(__tstate
);
4545 if (PyErr_Occurred()) SWIG_fail
;
4547 Py_INCREF(Py_None
); resultobj
= Py_None
;
4554 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4555 PyObject
*resultobj
;
4556 wxDialog
*arg1
= (wxDialog
*) 0 ;
4558 PyObject
* obj0
= 0 ;
4560 (char *) "self", NULL
4563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
4564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4568 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
4570 wxPyEndAllowThreads(__tstate
);
4571 if (PyErr_Occurred()) SWIG_fail
;
4573 resultobj
= SWIG_From_int((int)result
);
4580 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4581 PyObject
*resultobj
;
4582 wxDialog
*arg1
= (wxDialog
*) 0 ;
4583 wxString
*arg2
= 0 ;
4585 bool temp2
= False
;
4586 PyObject
* obj0
= 0 ;
4587 PyObject
* obj1
= 0 ;
4589 (char *) "self",(char *) "message", NULL
4592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4596 arg2
= wxString_in_helper(obj1
);
4597 if (arg2
== NULL
) SWIG_fail
;
4601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4602 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
4604 wxPyEndAllowThreads(__tstate
);
4605 if (PyErr_Occurred()) SWIG_fail
;
4608 resultobj
= wxPyMake_wxSizer(result
, 0);
4624 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4625 PyObject
*resultobj
;
4626 wxDialog
*arg1
= (wxDialog
*) 0 ;
4629 PyObject
* obj0
= 0 ;
4630 PyObject
* obj1
= 0 ;
4632 (char *) "self",(char *) "flags", NULL
4635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4638 arg2
= (long)SWIG_As_long(obj1
);
4639 if (PyErr_Occurred()) SWIG_fail
;
4641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4642 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
4644 wxPyEndAllowThreads(__tstate
);
4645 if (PyErr_Occurred()) SWIG_fail
;
4648 resultobj
= wxPyMake_wxSizer(result
, 0);
4656 static PyObject
*_wrap_Dialog_IsModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4657 PyObject
*resultobj
;
4658 wxDialog
*arg1
= (wxDialog
*) 0 ;
4660 PyObject
* obj0
= 0 ;
4662 (char *) "self", NULL
4665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
4666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4670 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
4672 wxPyEndAllowThreads(__tstate
);
4673 if (PyErr_Occurred()) SWIG_fail
;
4676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4684 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4685 PyObject
*resultobj
;
4686 wxDialog
*arg1
= (wxDialog
*) 0 ;
4688 PyObject
* obj0
= 0 ;
4690 (char *) "self", NULL
4693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
4694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4698 result
= (int)(arg1
)->ShowModal();
4700 wxPyEndAllowThreads(__tstate
);
4701 if (PyErr_Occurred()) SWIG_fail
;
4703 resultobj
= SWIG_From_int((int)result
);
4710 static PyObject
*_wrap_Dialog_EndModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4711 PyObject
*resultobj
;
4712 wxDialog
*arg1
= (wxDialog
*) 0 ;
4714 PyObject
* obj0
= 0 ;
4715 PyObject
* obj1
= 0 ;
4717 (char *) "self",(char *) "retCode", NULL
4720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
4721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4723 arg2
= (int)SWIG_As_int(obj1
);
4724 if (PyErr_Occurred()) SWIG_fail
;
4726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4727 (arg1
)->EndModal(arg2
);
4729 wxPyEndAllowThreads(__tstate
);
4730 if (PyErr_Occurred()) SWIG_fail
;
4732 Py_INCREF(Py_None
); resultobj
= Py_None
;
4739 static PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4740 PyObject
*resultobj
;
4741 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4742 wxVisualAttributes result
;
4743 PyObject
* obj0
= 0 ;
4745 (char *) "variant", NULL
4748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4750 arg1
= (int)SWIG_As_int(obj0
);
4751 if (PyErr_Occurred()) SWIG_fail
;
4754 if (!wxPyCheckForApp()) SWIG_fail
;
4755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4756 result
= wxDialog::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4758 wxPyEndAllowThreads(__tstate
);
4759 if (PyErr_Occurred()) SWIG_fail
;
4762 wxVisualAttributes
* resultptr
;
4763 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4764 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4772 static PyObject
* Dialog_swigregister(PyObject
*, PyObject
*args
) {
4774 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4775 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
4777 return Py_BuildValue((char *)"");
4779 static PyObject
*_wrap_new_MiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4780 PyObject
*resultobj
;
4781 wxWindow
*arg1
= (wxWindow
*) 0 ;
4782 int arg2
= (int) (int)-1 ;
4783 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4784 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4785 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4786 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4787 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4788 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4789 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4790 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4791 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4792 wxMiniFrame
*result
;
4793 bool temp3
= False
;
4796 bool temp7
= False
;
4797 PyObject
* obj0
= 0 ;
4798 PyObject
* obj1
= 0 ;
4799 PyObject
* obj2
= 0 ;
4800 PyObject
* obj3
= 0 ;
4801 PyObject
* obj4
= 0 ;
4802 PyObject
* obj5
= 0 ;
4803 PyObject
* obj6
= 0 ;
4805 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4812 arg2
= (int)SWIG_As_int(obj1
);
4813 if (PyErr_Occurred()) SWIG_fail
;
4817 arg3
= wxString_in_helper(obj2
);
4818 if (arg3
== NULL
) SWIG_fail
;
4825 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4831 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4835 arg6
= (long)SWIG_As_long(obj5
);
4836 if (PyErr_Occurred()) SWIG_fail
;
4840 arg7
= wxString_in_helper(obj6
);
4841 if (arg7
== NULL
) SWIG_fail
;
4846 if (!wxPyCheckForApp()) SWIG_fail
;
4847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4848 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4850 wxPyEndAllowThreads(__tstate
);
4851 if (PyErr_Occurred()) SWIG_fail
;
4853 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4876 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4877 PyObject
*resultobj
;
4878 wxMiniFrame
*result
;
4883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
4885 if (!wxPyCheckForApp()) SWIG_fail
;
4886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4887 result
= (wxMiniFrame
*)new wxMiniFrame();
4889 wxPyEndAllowThreads(__tstate
);
4890 if (PyErr_Occurred()) SWIG_fail
;
4892 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4899 static PyObject
*_wrap_MiniFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4900 PyObject
*resultobj
;
4901 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
4902 wxWindow
*arg2
= (wxWindow
*) 0 ;
4903 int arg3
= (int) (int)-1 ;
4904 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4905 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4906 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4907 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4908 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4909 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4910 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4911 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4912 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4914 bool temp4
= False
;
4917 bool temp8
= False
;
4918 PyObject
* obj0
= 0 ;
4919 PyObject
* obj1
= 0 ;
4920 PyObject
* obj2
= 0 ;
4921 PyObject
* obj3
= 0 ;
4922 PyObject
* obj4
= 0 ;
4923 PyObject
* obj5
= 0 ;
4924 PyObject
* obj6
= 0 ;
4925 PyObject
* obj7
= 0 ;
4927 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMiniFrame
,
4932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4933 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4936 arg3
= (int)SWIG_As_int(obj2
);
4937 if (PyErr_Occurred()) SWIG_fail
;
4941 arg4
= wxString_in_helper(obj3
);
4942 if (arg4
== NULL
) SWIG_fail
;
4949 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4955 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4959 arg7
= (long)SWIG_As_long(obj6
);
4960 if (PyErr_Occurred()) SWIG_fail
;
4964 arg8
= wxString_in_helper(obj7
);
4965 if (arg8
== NULL
) SWIG_fail
;
4970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4971 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4973 wxPyEndAllowThreads(__tstate
);
4974 if (PyErr_Occurred()) SWIG_fail
;
4977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5001 static PyObject
* MiniFrame_swigregister(PyObject
*, PyObject
*args
) {
5003 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5004 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
5006 return Py_BuildValue((char *)"");
5008 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5009 PyObject
*resultobj
;
5010 wxBitmap
*arg1
= 0 ;
5011 wxWindow
*arg2
= (wxWindow
*) 0 ;
5013 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5014 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5015 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5016 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5017 long arg6
= (long) wxNO_BORDER
;
5018 wxSplashScreenWindow
*result
;
5021 PyObject
* obj0
= 0 ;
5022 PyObject
* obj1
= 0 ;
5023 PyObject
* obj2
= 0 ;
5024 PyObject
* obj3
= 0 ;
5025 PyObject
* obj4
= 0 ;
5026 PyObject
* obj5
= 0 ;
5028 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
5031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
5033 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5036 PyErr_SetString(PyExc_TypeError
,"null reference");
5039 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5041 arg3
= (int)SWIG_As_int(obj2
);
5042 if (PyErr_Occurred()) SWIG_fail
;
5046 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5052 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5056 arg6
= (long)SWIG_As_long(obj5
);
5057 if (PyErr_Occurred()) SWIG_fail
;
5060 if (!wxPyCheckForApp()) SWIG_fail
;
5061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5062 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
5064 wxPyEndAllowThreads(__tstate
);
5065 if (PyErr_Occurred()) SWIG_fail
;
5067 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
5074 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5075 PyObject
*resultobj
;
5076 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
5077 wxBitmap
*arg2
= 0 ;
5078 PyObject
* obj0
= 0 ;
5079 PyObject
* obj1
= 0 ;
5081 (char *) "self",(char *) "bitmap", NULL
5084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
5086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5087 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5088 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5091 PyErr_SetString(PyExc_TypeError
,"null reference");
5095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5096 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
5098 wxPyEndAllowThreads(__tstate
);
5099 if (PyErr_Occurred()) SWIG_fail
;
5101 Py_INCREF(Py_None
); resultobj
= Py_None
;
5108 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5109 PyObject
*resultobj
;
5110 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
5112 PyObject
* obj0
= 0 ;
5114 (char *) "self", NULL
5117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
5118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
5119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5123 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
5124 result
= (wxBitmap
*) &_result_ref
;
5127 wxPyEndAllowThreads(__tstate
);
5128 if (PyErr_Occurred()) SWIG_fail
;
5131 wxBitmap
* resultptr
= new wxBitmap(*result
);
5132 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5140 static PyObject
* SplashScreenWindow_swigregister(PyObject
*, PyObject
*args
) {
5142 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5143 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
5145 return Py_BuildValue((char *)"");
5147 static PyObject
*_wrap_new_SplashScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5148 PyObject
*resultobj
;
5149 wxBitmap
*arg1
= 0 ;
5152 wxWindow
*arg4
= (wxWindow
*) 0 ;
5153 int arg5
= (int) -1 ;
5154 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
5155 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
5156 wxSize
const &arg7_defvalue
= wxDefaultSize
;
5157 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
5158 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
5159 wxSplashScreen
*result
;
5162 PyObject
* obj0
= 0 ;
5163 PyObject
* obj1
= 0 ;
5164 PyObject
* obj2
= 0 ;
5165 PyObject
* obj3
= 0 ;
5166 PyObject
* obj4
= 0 ;
5167 PyObject
* obj5
= 0 ;
5168 PyObject
* obj6
= 0 ;
5169 PyObject
* obj7
= 0 ;
5171 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
5174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
5176 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5179 PyErr_SetString(PyExc_TypeError
,"null reference");
5182 arg2
= (long)SWIG_As_long(obj1
);
5183 if (PyErr_Occurred()) SWIG_fail
;
5184 arg3
= (int)SWIG_As_int(obj2
);
5185 if (PyErr_Occurred()) SWIG_fail
;
5186 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
5187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5189 arg5
= (int)SWIG_As_int(obj4
);
5190 if (PyErr_Occurred()) SWIG_fail
;
5195 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
5201 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
5205 arg8
= (long)SWIG_As_long(obj7
);
5206 if (PyErr_Occurred()) SWIG_fail
;
5209 if (!wxPyCheckForApp()) SWIG_fail
;
5210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5211 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
5213 wxPyEndAllowThreads(__tstate
);
5214 if (PyErr_Occurred()) SWIG_fail
;
5216 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
5223 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5224 PyObject
*resultobj
;
5225 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
5227 PyObject
* obj0
= 0 ;
5229 (char *) "self", NULL
5232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
5233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
5234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5237 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
5239 wxPyEndAllowThreads(__tstate
);
5240 if (PyErr_Occurred()) SWIG_fail
;
5242 resultobj
= SWIG_From_long((long)result
);
5249 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5250 PyObject
*resultobj
;
5251 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
5252 wxSplashScreenWindow
*result
;
5253 PyObject
* obj0
= 0 ;
5255 (char *) "self", NULL
5258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
5259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
5260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5263 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
5265 wxPyEndAllowThreads(__tstate
);
5266 if (PyErr_Occurred()) SWIG_fail
;
5268 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
5275 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5276 PyObject
*resultobj
;
5277 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
5279 PyObject
* obj0
= 0 ;
5281 (char *) "self", NULL
5284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
5285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
5286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5289 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
5291 wxPyEndAllowThreads(__tstate
);
5292 if (PyErr_Occurred()) SWIG_fail
;
5294 resultobj
= SWIG_From_int((int)result
);
5301 static PyObject
* SplashScreen_swigregister(PyObject
*, PyObject
*args
) {
5303 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5304 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
5306 return Py_BuildValue((char *)"");
5308 static PyObject
*_wrap_new_StatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5309 PyObject
*resultobj
;
5310 wxWindow
*arg1
= (wxWindow
*) 0 ;
5311 int arg2
= (int) -1 ;
5312 long arg3
= (long) wxST_SIZEGRIP
;
5313 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
5314 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5315 wxStatusBar
*result
;
5316 bool temp4
= False
;
5317 PyObject
* obj0
= 0 ;
5318 PyObject
* obj1
= 0 ;
5319 PyObject
* obj2
= 0 ;
5320 PyObject
* obj3
= 0 ;
5322 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5329 arg2
= (int)SWIG_As_int(obj1
);
5330 if (PyErr_Occurred()) SWIG_fail
;
5333 arg3
= (long)SWIG_As_long(obj2
);
5334 if (PyErr_Occurred()) SWIG_fail
;
5338 arg4
= wxString_in_helper(obj3
);
5339 if (arg4
== NULL
) SWIG_fail
;
5344 if (!wxPyCheckForApp()) SWIG_fail
;
5345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5346 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
5348 wxPyEndAllowThreads(__tstate
);
5349 if (PyErr_Occurred()) SWIG_fail
;
5351 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
5366 static PyObject
*_wrap_new_PreStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5367 PyObject
*resultobj
;
5368 wxStatusBar
*result
;
5373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
5375 if (!wxPyCheckForApp()) SWIG_fail
;
5376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5377 result
= (wxStatusBar
*)new wxStatusBar();
5379 wxPyEndAllowThreads(__tstate
);
5380 if (PyErr_Occurred()) SWIG_fail
;
5382 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
5389 static PyObject
*_wrap_StatusBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5390 PyObject
*resultobj
;
5391 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5392 wxWindow
*arg2
= (wxWindow
*) 0 ;
5393 int arg3
= (int) -1 ;
5394 long arg4
= (long) wxST_SIZEGRIP
;
5395 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
5396 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5398 bool temp5
= False
;
5399 PyObject
* obj0
= 0 ;
5400 PyObject
* obj1
= 0 ;
5401 PyObject
* obj2
= 0 ;
5402 PyObject
* obj3
= 0 ;
5403 PyObject
* obj4
= 0 ;
5405 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5411 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5414 arg3
= (int)SWIG_As_int(obj2
);
5415 if (PyErr_Occurred()) SWIG_fail
;
5418 arg4
= (long)SWIG_As_long(obj3
);
5419 if (PyErr_Occurred()) SWIG_fail
;
5423 arg5
= wxString_in_helper(obj4
);
5424 if (arg5
== NULL
) SWIG_fail
;
5429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5430 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
5432 wxPyEndAllowThreads(__tstate
);
5433 if (PyErr_Occurred()) SWIG_fail
;
5436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5452 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5453 PyObject
*resultobj
;
5454 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5455 int arg2
= (int) 1 ;
5456 PyObject
* obj0
= 0 ;
5457 PyObject
* obj1
= 0 ;
5459 (char *) "self",(char *) "number", NULL
5462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
5463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5466 arg2
= (int)SWIG_As_int(obj1
);
5467 if (PyErr_Occurred()) SWIG_fail
;
5470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5471 (arg1
)->SetFieldsCount(arg2
);
5473 wxPyEndAllowThreads(__tstate
);
5474 if (PyErr_Occurred()) SWIG_fail
;
5476 Py_INCREF(Py_None
); resultobj
= Py_None
;
5483 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5484 PyObject
*resultobj
;
5485 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5487 PyObject
* obj0
= 0 ;
5489 (char *) "self", NULL
5492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
5493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5497 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
5499 wxPyEndAllowThreads(__tstate
);
5500 if (PyErr_Occurred()) SWIG_fail
;
5502 resultobj
= SWIG_From_int((int)result
);
5509 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5510 PyObject
*resultobj
;
5511 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5512 wxString
*arg2
= 0 ;
5513 int arg3
= (int) 0 ;
5514 bool temp2
= False
;
5515 PyObject
* obj0
= 0 ;
5516 PyObject
* obj1
= 0 ;
5517 PyObject
* obj2
= 0 ;
5519 (char *) "self",(char *) "text",(char *) "number", NULL
5522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5526 arg2
= wxString_in_helper(obj1
);
5527 if (arg2
== NULL
) SWIG_fail
;
5531 arg3
= (int)SWIG_As_int(obj2
);
5532 if (PyErr_Occurred()) SWIG_fail
;
5535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5536 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
5538 wxPyEndAllowThreads(__tstate
);
5539 if (PyErr_Occurred()) SWIG_fail
;
5541 Py_INCREF(Py_None
); resultobj
= Py_None
;
5556 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5557 PyObject
*resultobj
;
5558 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5559 int arg2
= (int) 0 ;
5561 PyObject
* obj0
= 0 ;
5562 PyObject
* obj1
= 0 ;
5564 (char *) "self",(char *) "number", NULL
5567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5571 arg2
= (int)SWIG_As_int(obj1
);
5572 if (PyErr_Occurred()) SWIG_fail
;
5575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5576 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
5578 wxPyEndAllowThreads(__tstate
);
5579 if (PyErr_Occurred()) SWIG_fail
;
5583 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5585 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5594 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5595 PyObject
*resultobj
;
5596 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5597 wxString
*arg2
= 0 ;
5598 int arg3
= (int) 0 ;
5599 bool temp2
= False
;
5600 PyObject
* obj0
= 0 ;
5601 PyObject
* obj1
= 0 ;
5602 PyObject
* obj2
= 0 ;
5604 (char *) "self",(char *) "text",(char *) "number", NULL
5607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5611 arg2
= wxString_in_helper(obj1
);
5612 if (arg2
== NULL
) SWIG_fail
;
5616 arg3
= (int)SWIG_As_int(obj2
);
5617 if (PyErr_Occurred()) SWIG_fail
;
5620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5621 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5623 wxPyEndAllowThreads(__tstate
);
5624 if (PyErr_Occurred()) SWIG_fail
;
5626 Py_INCREF(Py_None
); resultobj
= Py_None
;
5641 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5642 PyObject
*resultobj
;
5643 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5644 int arg2
= (int) 0 ;
5645 PyObject
* obj0
= 0 ;
5646 PyObject
* obj1
= 0 ;
5648 (char *) "self",(char *) "number", NULL
5651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5655 arg2
= (int)SWIG_As_int(obj1
);
5656 if (PyErr_Occurred()) SWIG_fail
;
5659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5660 (arg1
)->PopStatusText(arg2
);
5662 wxPyEndAllowThreads(__tstate
);
5663 if (PyErr_Occurred()) SWIG_fail
;
5665 Py_INCREF(Py_None
); resultobj
= Py_None
;
5672 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5673 PyObject
*resultobj
;
5674 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5676 int *arg3
= (int *) 0 ;
5677 PyObject
* obj0
= 0 ;
5678 PyObject
* obj1
= 0 ;
5680 (char *) "self",(char *) "widths", NULL
5683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5687 arg2
= PyList_Size(obj1
);
5688 arg3
= int_LIST_helper(obj1
);
5689 if (arg3
== NULL
) SWIG_fail
;
5692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5693 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5695 wxPyEndAllowThreads(__tstate
);
5696 if (PyErr_Occurred()) SWIG_fail
;
5698 Py_INCREF(Py_None
); resultobj
= Py_None
;
5700 if (arg3
) delete [] arg3
;
5705 if (arg3
) delete [] arg3
;
5711 static PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5712 PyObject
*resultobj
;
5713 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5715 int *arg3
= (int *) 0 ;
5716 PyObject
* obj0
= 0 ;
5717 PyObject
* obj1
= 0 ;
5719 (char *) "self",(char *) "styles", NULL
5722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) goto fail
;
5723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5726 arg2
= PyList_Size(obj1
);
5727 arg3
= int_LIST_helper(obj1
);
5728 if (arg3
== NULL
) SWIG_fail
;
5731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5732 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
5734 wxPyEndAllowThreads(__tstate
);
5735 if (PyErr_Occurred()) SWIG_fail
;
5737 Py_INCREF(Py_None
); resultobj
= Py_None
;
5739 if (arg3
) delete [] arg3
;
5744 if (arg3
) delete [] arg3
;
5750 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5751 PyObject
*resultobj
;
5752 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5755 PyObject
* obj0
= 0 ;
5756 PyObject
* obj1
= 0 ;
5758 (char *) "self",(char *) "i", NULL
5761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5764 arg2
= (int)SWIG_As_int(obj1
);
5765 if (PyErr_Occurred()) SWIG_fail
;
5767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5768 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
5770 wxPyEndAllowThreads(__tstate
);
5771 if (PyErr_Occurred()) SWIG_fail
;
5775 resultptr
= new wxRect((wxRect
&) result
);
5776 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5784 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5785 PyObject
*resultobj
;
5786 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5788 PyObject
* obj0
= 0 ;
5789 PyObject
* obj1
= 0 ;
5791 (char *) "self",(char *) "height", NULL
5794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5797 arg2
= (int)SWIG_As_int(obj1
);
5798 if (PyErr_Occurred()) SWIG_fail
;
5800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5801 (arg1
)->SetMinHeight(arg2
);
5803 wxPyEndAllowThreads(__tstate
);
5804 if (PyErr_Occurred()) SWIG_fail
;
5806 Py_INCREF(Py_None
); resultobj
= Py_None
;
5813 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5814 PyObject
*resultobj
;
5815 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5817 PyObject
* obj0
= 0 ;
5819 (char *) "self", NULL
5822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
5823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5827 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
5829 wxPyEndAllowThreads(__tstate
);
5830 if (PyErr_Occurred()) SWIG_fail
;
5832 resultobj
= SWIG_From_int((int)result
);
5839 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5840 PyObject
*resultobj
;
5841 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5843 PyObject
* obj0
= 0 ;
5845 (char *) "self", NULL
5848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
5849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5853 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
5855 wxPyEndAllowThreads(__tstate
);
5856 if (PyErr_Occurred()) SWIG_fail
;
5858 resultobj
= SWIG_From_int((int)result
);
5865 static PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5866 PyObject
*resultobj
;
5867 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5868 wxVisualAttributes result
;
5869 PyObject
* obj0
= 0 ;
5871 (char *) "variant", NULL
5874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5876 arg1
= (int)SWIG_As_int(obj0
);
5877 if (PyErr_Occurred()) SWIG_fail
;
5880 if (!wxPyCheckForApp()) SWIG_fail
;
5881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5882 result
= wxStatusBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5884 wxPyEndAllowThreads(__tstate
);
5885 if (PyErr_Occurred()) SWIG_fail
;
5888 wxVisualAttributes
* resultptr
;
5889 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5890 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5898 static PyObject
* StatusBar_swigregister(PyObject
*, PyObject
*args
) {
5900 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5901 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
5903 return Py_BuildValue((char *)"");
5905 static int _wrap_SplitterNameStr_set(PyObject
*) {
5906 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
5911 static PyObject
*_wrap_SplitterNameStr_get() {
5916 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5918 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5925 static PyObject
*_wrap_new_SplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5926 PyObject
*resultobj
;
5927 wxWindow
*arg1
= (wxWindow
*) 0 ;
5928 int arg2
= (int) -1 ;
5929 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5930 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5931 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5932 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5933 long arg5
= (long) wxSP_3D
;
5934 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
5935 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5936 wxSplitterWindow
*result
;
5939 bool temp6
= False
;
5940 PyObject
* obj0
= 0 ;
5941 PyObject
* obj1
= 0 ;
5942 PyObject
* obj2
= 0 ;
5943 PyObject
* obj3
= 0 ;
5944 PyObject
* obj4
= 0 ;
5945 PyObject
* obj5
= 0 ;
5947 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5954 arg2
= (int)SWIG_As_int(obj1
);
5955 if (PyErr_Occurred()) SWIG_fail
;
5960 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5966 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5970 arg5
= (long)SWIG_As_long(obj4
);
5971 if (PyErr_Occurred()) SWIG_fail
;
5975 arg6
= wxString_in_helper(obj5
);
5976 if (arg6
== NULL
) SWIG_fail
;
5981 if (!wxPyCheckForApp()) SWIG_fail
;
5982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5983 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
5985 wxPyEndAllowThreads(__tstate
);
5986 if (PyErr_Occurred()) SWIG_fail
;
5988 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
6003 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6004 PyObject
*resultobj
;
6005 wxSplitterWindow
*result
;
6010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
6012 if (!wxPyCheckForApp()) SWIG_fail
;
6013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6014 result
= (wxSplitterWindow
*)new wxSplitterWindow();
6016 wxPyEndAllowThreads(__tstate
);
6017 if (PyErr_Occurred()) SWIG_fail
;
6019 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
6026 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6027 PyObject
*resultobj
;
6028 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6029 wxWindow
*arg2
= (wxWindow
*) 0 ;
6030 int arg3
= (int) -1 ;
6031 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6032 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6033 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6034 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6035 long arg6
= (long) wxSP_3D
;
6036 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
6037 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6041 bool temp7
= False
;
6042 PyObject
* obj0
= 0 ;
6043 PyObject
* obj1
= 0 ;
6044 PyObject
* obj2
= 0 ;
6045 PyObject
* obj3
= 0 ;
6046 PyObject
* obj4
= 0 ;
6047 PyObject
* obj5
= 0 ;
6048 PyObject
* obj6
= 0 ;
6050 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6056 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6059 arg3
= (int)SWIG_As_int(obj2
);
6060 if (PyErr_Occurred()) SWIG_fail
;
6065 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6071 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6075 arg6
= (long)SWIG_As_long(obj5
);
6076 if (PyErr_Occurred()) SWIG_fail
;
6080 arg7
= wxString_in_helper(obj6
);
6081 if (arg7
== NULL
) SWIG_fail
;
6086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6087 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6089 wxPyEndAllowThreads(__tstate
);
6090 if (PyErr_Occurred()) SWIG_fail
;
6093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6109 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6110 PyObject
*resultobj
;
6111 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6113 PyObject
* obj0
= 0 ;
6115 (char *) "self", NULL
6118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
6119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6123 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
6125 wxPyEndAllowThreads(__tstate
);
6126 if (PyErr_Occurred()) SWIG_fail
;
6129 resultobj
= wxPyMake_wxObject(result
, 0);
6137 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6138 PyObject
*resultobj
;
6139 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6141 PyObject
* obj0
= 0 ;
6143 (char *) "self", NULL
6146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
6147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6151 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
6153 wxPyEndAllowThreads(__tstate
);
6154 if (PyErr_Occurred()) SWIG_fail
;
6157 resultobj
= wxPyMake_wxObject(result
, 0);
6165 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6166 PyObject
*resultobj
;
6167 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6169 PyObject
* obj0
= 0 ;
6170 PyObject
* obj1
= 0 ;
6172 (char *) "self",(char *) "mode", NULL
6175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
6176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6178 arg2
= (int)SWIG_As_int(obj1
);
6179 if (PyErr_Occurred()) SWIG_fail
;
6181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6182 (arg1
)->SetSplitMode(arg2
);
6184 wxPyEndAllowThreads(__tstate
);
6185 if (PyErr_Occurred()) SWIG_fail
;
6187 Py_INCREF(Py_None
); resultobj
= Py_None
;
6194 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6195 PyObject
*resultobj
;
6196 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6198 PyObject
* obj0
= 0 ;
6200 (char *) "self", NULL
6203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
6204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6208 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
6210 wxPyEndAllowThreads(__tstate
);
6211 if (PyErr_Occurred()) SWIG_fail
;
6213 resultobj
= SWIG_From_int((int)result
);
6220 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6221 PyObject
*resultobj
;
6222 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6223 wxWindow
*arg2
= (wxWindow
*) 0 ;
6224 PyObject
* obj0
= 0 ;
6225 PyObject
* obj1
= 0 ;
6227 (char *) "self",(char *) "window", NULL
6230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
6231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6233 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6237 (arg1
)->Initialize(arg2
);
6239 wxPyEndAllowThreads(__tstate
);
6240 if (PyErr_Occurred()) SWIG_fail
;
6242 Py_INCREF(Py_None
); resultobj
= Py_None
;
6249 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6250 PyObject
*resultobj
;
6251 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6252 wxWindow
*arg2
= (wxWindow
*) 0 ;
6253 wxWindow
*arg3
= (wxWindow
*) 0 ;
6254 int arg4
= (int) 0 ;
6256 PyObject
* obj0
= 0 ;
6257 PyObject
* obj1
= 0 ;
6258 PyObject
* obj2
= 0 ;
6259 PyObject
* obj3
= 0 ;
6261 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6267 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6269 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6272 arg4
= (int)SWIG_As_int(obj3
);
6273 if (PyErr_Occurred()) SWIG_fail
;
6276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6277 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
6279 wxPyEndAllowThreads(__tstate
);
6280 if (PyErr_Occurred()) SWIG_fail
;
6283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6291 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6292 PyObject
*resultobj
;
6293 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6294 wxWindow
*arg2
= (wxWindow
*) 0 ;
6295 wxWindow
*arg3
= (wxWindow
*) 0 ;
6296 int arg4
= (int) 0 ;
6298 PyObject
* obj0
= 0 ;
6299 PyObject
* obj1
= 0 ;
6300 PyObject
* obj2
= 0 ;
6301 PyObject
* obj3
= 0 ;
6303 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6309 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6311 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6314 arg4
= (int)SWIG_As_int(obj3
);
6315 if (PyErr_Occurred()) SWIG_fail
;
6318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6319 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
6321 wxPyEndAllowThreads(__tstate
);
6322 if (PyErr_Occurred()) SWIG_fail
;
6325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6333 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6334 PyObject
*resultobj
;
6335 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6336 wxWindow
*arg2
= (wxWindow
*) NULL
;
6338 PyObject
* obj0
= 0 ;
6339 PyObject
* obj1
= 0 ;
6341 (char *) "self",(char *) "toRemove", NULL
6344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
6345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6348 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6353 result
= (bool)(arg1
)->Unsplit(arg2
);
6355 wxPyEndAllowThreads(__tstate
);
6356 if (PyErr_Occurred()) SWIG_fail
;
6359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6367 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6368 PyObject
*resultobj
;
6369 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6370 wxWindow
*arg2
= (wxWindow
*) 0 ;
6371 wxWindow
*arg3
= (wxWindow
*) 0 ;
6373 PyObject
* obj0
= 0 ;
6374 PyObject
* obj1
= 0 ;
6375 PyObject
* obj2
= 0 ;
6377 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
6380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6383 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6385 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6389 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
6391 wxPyEndAllowThreads(__tstate
);
6392 if (PyErr_Occurred()) SWIG_fail
;
6395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6403 static PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6404 PyObject
*resultobj
;
6405 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6406 PyObject
* obj0
= 0 ;
6408 (char *) "self", NULL
6411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_UpdateSize",kwnames
,&obj0
)) goto fail
;
6412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6416 (arg1
)->UpdateSize();
6418 wxPyEndAllowThreads(__tstate
);
6419 if (PyErr_Occurred()) SWIG_fail
;
6421 Py_INCREF(Py_None
); resultobj
= Py_None
;
6428 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6429 PyObject
*resultobj
;
6430 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6432 PyObject
* obj0
= 0 ;
6434 (char *) "self", NULL
6437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
6438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6442 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
6444 wxPyEndAllowThreads(__tstate
);
6445 if (PyErr_Occurred()) SWIG_fail
;
6448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6456 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6457 PyObject
*resultobj
;
6458 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6460 PyObject
* obj0
= 0 ;
6461 PyObject
* obj1
= 0 ;
6463 (char *) "self",(char *) "width", NULL
6466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6469 arg2
= (int)SWIG_As_int(obj1
);
6470 if (PyErr_Occurred()) SWIG_fail
;
6472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6473 (arg1
)->SetSashSize(arg2
);
6475 wxPyEndAllowThreads(__tstate
);
6476 if (PyErr_Occurred()) SWIG_fail
;
6478 Py_INCREF(Py_None
); resultobj
= Py_None
;
6485 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6486 PyObject
*resultobj
;
6487 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6489 PyObject
* obj0
= 0 ;
6490 PyObject
* obj1
= 0 ;
6492 (char *) "self",(char *) "width", NULL
6495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6498 arg2
= (int)SWIG_As_int(obj1
);
6499 if (PyErr_Occurred()) SWIG_fail
;
6501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6502 (arg1
)->SetBorderSize(arg2
);
6504 wxPyEndAllowThreads(__tstate
);
6505 if (PyErr_Occurred()) SWIG_fail
;
6507 Py_INCREF(Py_None
); resultobj
= Py_None
;
6514 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6515 PyObject
*resultobj
;
6516 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6518 PyObject
* obj0
= 0 ;
6520 (char *) "self", NULL
6523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
6524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6528 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
6530 wxPyEndAllowThreads(__tstate
);
6531 if (PyErr_Occurred()) SWIG_fail
;
6533 resultobj
= SWIG_From_int((int)result
);
6540 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6541 PyObject
*resultobj
;
6542 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6544 PyObject
* obj0
= 0 ;
6546 (char *) "self", NULL
6549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
6550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6554 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
6556 wxPyEndAllowThreads(__tstate
);
6557 if (PyErr_Occurred()) SWIG_fail
;
6559 resultobj
= SWIG_From_int((int)result
);
6566 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6567 PyObject
*resultobj
;
6568 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6570 bool arg3
= (bool) True
;
6571 PyObject
* obj0
= 0 ;
6572 PyObject
* obj1
= 0 ;
6573 PyObject
* obj2
= 0 ;
6575 (char *) "self",(char *) "position",(char *) "redraw", NULL
6578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6581 arg2
= (int)SWIG_As_int(obj1
);
6582 if (PyErr_Occurred()) SWIG_fail
;
6584 arg3
= (bool)SWIG_As_bool(obj2
);
6585 if (PyErr_Occurred()) SWIG_fail
;
6588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6589 (arg1
)->SetSashPosition(arg2
,arg3
);
6591 wxPyEndAllowThreads(__tstate
);
6592 if (PyErr_Occurred()) SWIG_fail
;
6594 Py_INCREF(Py_None
); resultobj
= Py_None
;
6601 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6602 PyObject
*resultobj
;
6603 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6605 PyObject
* obj0
= 0 ;
6607 (char *) "self", NULL
6610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6615 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
6617 wxPyEndAllowThreads(__tstate
);
6618 if (PyErr_Occurred()) SWIG_fail
;
6620 resultobj
= SWIG_From_int((int)result
);
6627 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6628 PyObject
*resultobj
;
6629 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6631 PyObject
* obj0
= 0 ;
6632 PyObject
* obj1
= 0 ;
6634 (char *) "self",(char *) "min", NULL
6637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6640 arg2
= (int)SWIG_As_int(obj1
);
6641 if (PyErr_Occurred()) SWIG_fail
;
6643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6644 (arg1
)->SetMinimumPaneSize(arg2
);
6646 wxPyEndAllowThreads(__tstate
);
6647 if (PyErr_Occurred()) SWIG_fail
;
6649 Py_INCREF(Py_None
); resultobj
= Py_None
;
6656 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6657 PyObject
*resultobj
;
6658 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6660 PyObject
* obj0
= 0 ;
6662 (char *) "self", NULL
6665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
6666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6670 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
6672 wxPyEndAllowThreads(__tstate
);
6673 if (PyErr_Occurred()) SWIG_fail
;
6675 resultobj
= SWIG_From_int((int)result
);
6682 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6683 PyObject
*resultobj
;
6684 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6687 int arg4
= (int) 5 ;
6689 PyObject
* obj0
= 0 ;
6690 PyObject
* obj1
= 0 ;
6691 PyObject
* obj2
= 0 ;
6692 PyObject
* obj3
= 0 ;
6694 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6700 arg2
= (int)SWIG_As_int(obj1
);
6701 if (PyErr_Occurred()) SWIG_fail
;
6702 arg3
= (int)SWIG_As_int(obj2
);
6703 if (PyErr_Occurred()) SWIG_fail
;
6705 arg4
= (int)SWIG_As_int(obj3
);
6706 if (PyErr_Occurred()) SWIG_fail
;
6709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6710 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
6712 wxPyEndAllowThreads(__tstate
);
6713 if (PyErr_Occurred()) SWIG_fail
;
6716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6724 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6725 PyObject
*resultobj
;
6726 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6727 PyObject
* obj0
= 0 ;
6729 (char *) "self", NULL
6732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
6733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6737 (arg1
)->SizeWindows();
6739 wxPyEndAllowThreads(__tstate
);
6740 if (PyErr_Occurred()) SWIG_fail
;
6742 Py_INCREF(Py_None
); resultobj
= Py_None
;
6749 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6750 PyObject
*resultobj
;
6751 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6753 PyObject
* obj0
= 0 ;
6754 PyObject
* obj1
= 0 ;
6756 (char *) "self",(char *) "needUpdating", NULL
6759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
6760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6762 arg2
= (bool)SWIG_As_bool(obj1
);
6763 if (PyErr_Occurred()) SWIG_fail
;
6765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6766 (arg1
)->SetNeedUpdating(arg2
);
6768 wxPyEndAllowThreads(__tstate
);
6769 if (PyErr_Occurred()) SWIG_fail
;
6771 Py_INCREF(Py_None
); resultobj
= Py_None
;
6778 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6779 PyObject
*resultobj
;
6780 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6782 PyObject
* obj0
= 0 ;
6784 (char *) "self", NULL
6787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
6788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6792 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
6794 wxPyEndAllowThreads(__tstate
);
6795 if (PyErr_Occurred()) SWIG_fail
;
6798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6806 static PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6807 PyObject
*resultobj
;
6808 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
6809 wxVisualAttributes result
;
6810 PyObject
* obj0
= 0 ;
6812 (char *) "variant", NULL
6815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6817 arg1
= (int)SWIG_As_int(obj0
);
6818 if (PyErr_Occurred()) SWIG_fail
;
6821 if (!wxPyCheckForApp()) SWIG_fail
;
6822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6823 result
= wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6825 wxPyEndAllowThreads(__tstate
);
6826 if (PyErr_Occurred()) SWIG_fail
;
6829 wxVisualAttributes
* resultptr
;
6830 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
6831 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6839 static PyObject
* SplitterWindow_swigregister(PyObject
*, PyObject
*args
) {
6841 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6842 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
6844 return Py_BuildValue((char *)"");
6846 static PyObject
*_wrap_new_SplitterEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6847 PyObject
*resultobj
;
6848 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
6849 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
6850 wxSplitterEvent
*result
;
6851 PyObject
* obj0
= 0 ;
6852 PyObject
* obj1
= 0 ;
6854 (char *) "type",(char *) "splitter", NULL
6857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6859 arg1
= (wxEventType
)SWIG_As_int(obj0
);
6860 if (PyErr_Occurred()) SWIG_fail
;
6863 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSplitterWindow
,
6864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6868 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
6870 wxPyEndAllowThreads(__tstate
);
6871 if (PyErr_Occurred()) SWIG_fail
;
6873 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
6880 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6881 PyObject
*resultobj
;
6882 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6884 PyObject
* obj0
= 0 ;
6885 PyObject
* obj1
= 0 ;
6887 (char *) "self",(char *) "pos", NULL
6890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
6891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6893 arg2
= (int)SWIG_As_int(obj1
);
6894 if (PyErr_Occurred()) SWIG_fail
;
6896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6897 (arg1
)->SetSashPosition(arg2
);
6899 wxPyEndAllowThreads(__tstate
);
6900 if (PyErr_Occurred()) SWIG_fail
;
6902 Py_INCREF(Py_None
); resultobj
= Py_None
;
6909 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6910 PyObject
*resultobj
;
6911 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6913 PyObject
* obj0
= 0 ;
6915 (char *) "self", NULL
6918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6923 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
6925 wxPyEndAllowThreads(__tstate
);
6926 if (PyErr_Occurred()) SWIG_fail
;
6928 resultobj
= SWIG_From_int((int)result
);
6935 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6936 PyObject
*resultobj
;
6937 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6939 PyObject
* obj0
= 0 ;
6941 (char *) "self", NULL
6944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
6945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6949 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
6951 wxPyEndAllowThreads(__tstate
);
6952 if (PyErr_Occurred()) SWIG_fail
;
6955 resultobj
= wxPyMake_wxObject(result
, 0);
6963 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6964 PyObject
*resultobj
;
6965 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6967 PyObject
* obj0
= 0 ;
6969 (char *) "self", NULL
6972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
6973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6977 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
6979 wxPyEndAllowThreads(__tstate
);
6980 if (PyErr_Occurred()) SWIG_fail
;
6982 resultobj
= SWIG_From_int((int)result
);
6989 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6990 PyObject
*resultobj
;
6991 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6993 PyObject
* obj0
= 0 ;
6995 (char *) "self", NULL
6998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
6999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
7000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7003 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
7005 wxPyEndAllowThreads(__tstate
);
7006 if (PyErr_Occurred()) SWIG_fail
;
7008 resultobj
= SWIG_From_int((int)result
);
7015 static PyObject
* SplitterEvent_swigregister(PyObject
*, PyObject
*args
) {
7017 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7018 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
7020 return Py_BuildValue((char *)"");
7022 static int _wrap_SashNameStr_set(PyObject
*) {
7023 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
7028 static PyObject
*_wrap_SashNameStr_get() {
7033 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
7035 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
7042 static int _wrap_SashLayoutNameStr_set(PyObject
*) {
7043 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
7048 static PyObject
*_wrap_SashLayoutNameStr_get() {
7053 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
7055 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
7062 static PyObject
*_wrap_new_SashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7063 PyObject
*resultobj
;
7064 wxWindow
*arg1
= (wxWindow
*) 0 ;
7065 int arg2
= (int) -1 ;
7066 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7067 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7068 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7069 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7070 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7071 wxString
const &arg6_defvalue
= wxPySashNameStr
;
7072 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7073 wxSashWindow
*result
;
7076 bool temp6
= False
;
7077 PyObject
* obj0
= 0 ;
7078 PyObject
* obj1
= 0 ;
7079 PyObject
* obj2
= 0 ;
7080 PyObject
* obj3
= 0 ;
7081 PyObject
* obj4
= 0 ;
7082 PyObject
* obj5
= 0 ;
7084 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
7089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7091 arg2
= (int)SWIG_As_int(obj1
);
7092 if (PyErr_Occurred()) SWIG_fail
;
7097 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7103 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7107 arg5
= (long)SWIG_As_long(obj4
);
7108 if (PyErr_Occurred()) SWIG_fail
;
7112 arg6
= wxString_in_helper(obj5
);
7113 if (arg6
== NULL
) SWIG_fail
;
7118 if (!wxPyCheckForApp()) SWIG_fail
;
7119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7120 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7122 wxPyEndAllowThreads(__tstate
);
7123 if (PyErr_Occurred()) SWIG_fail
;
7125 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
7140 static PyObject
*_wrap_new_PreSashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7141 PyObject
*resultobj
;
7142 wxSashWindow
*result
;
7147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
7149 if (!wxPyCheckForApp()) SWIG_fail
;
7150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7151 result
= (wxSashWindow
*)new wxSashWindow();
7153 wxPyEndAllowThreads(__tstate
);
7154 if (PyErr_Occurred()) SWIG_fail
;
7156 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
7163 static PyObject
*_wrap_SashWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7164 PyObject
*resultobj
;
7165 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7166 wxWindow
*arg2
= (wxWindow
*) 0 ;
7167 int arg3
= (int) -1 ;
7168 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7169 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7170 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7171 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7172 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7173 wxString
const &arg7_defvalue
= wxPySashNameStr
;
7174 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7178 bool temp7
= False
;
7179 PyObject
* obj0
= 0 ;
7180 PyObject
* obj1
= 0 ;
7181 PyObject
* obj2
= 0 ;
7182 PyObject
* obj3
= 0 ;
7183 PyObject
* obj4
= 0 ;
7184 PyObject
* obj5
= 0 ;
7185 PyObject
* obj6
= 0 ;
7187 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7193 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7196 arg3
= (int)SWIG_As_int(obj2
);
7197 if (PyErr_Occurred()) SWIG_fail
;
7202 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7208 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7212 arg6
= (long)SWIG_As_long(obj5
);
7213 if (PyErr_Occurred()) SWIG_fail
;
7217 arg7
= wxString_in_helper(obj6
);
7218 if (arg7
== NULL
) SWIG_fail
;
7223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7224 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7226 wxPyEndAllowThreads(__tstate
);
7227 if (PyErr_Occurred()) SWIG_fail
;
7230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7246 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7247 PyObject
*resultobj
;
7248 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7251 PyObject
* obj0
= 0 ;
7252 PyObject
* obj1
= 0 ;
7253 PyObject
* obj2
= 0 ;
7255 (char *) "self",(char *) "edge",(char *) "sash", NULL
7258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7261 arg2
= (int)SWIG_As_int(obj1
);
7262 if (PyErr_Occurred()) SWIG_fail
;
7263 arg3
= (bool)SWIG_As_bool(obj2
);
7264 if (PyErr_Occurred()) SWIG_fail
;
7266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7267 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
7269 wxPyEndAllowThreads(__tstate
);
7270 if (PyErr_Occurred()) SWIG_fail
;
7272 Py_INCREF(Py_None
); resultobj
= Py_None
;
7279 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7280 PyObject
*resultobj
;
7281 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7284 PyObject
* obj0
= 0 ;
7285 PyObject
* obj1
= 0 ;
7287 (char *) "self",(char *) "edge", NULL
7290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
7291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7293 arg2
= (int)SWIG_As_int(obj1
);
7294 if (PyErr_Occurred()) SWIG_fail
;
7296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7297 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
7299 wxPyEndAllowThreads(__tstate
);
7300 if (PyErr_Occurred()) SWIG_fail
;
7303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7311 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7312 PyObject
*resultobj
;
7313 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7316 PyObject
* obj0
= 0 ;
7317 PyObject
* obj1
= 0 ;
7318 PyObject
* obj2
= 0 ;
7320 (char *) "self",(char *) "edge",(char *) "border", NULL
7323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7326 arg2
= (int)SWIG_As_int(obj1
);
7327 if (PyErr_Occurred()) SWIG_fail
;
7328 arg3
= (bool)SWIG_As_bool(obj2
);
7329 if (PyErr_Occurred()) SWIG_fail
;
7331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7332 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
7334 wxPyEndAllowThreads(__tstate
);
7335 if (PyErr_Occurred()) SWIG_fail
;
7337 Py_INCREF(Py_None
); resultobj
= Py_None
;
7344 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7345 PyObject
*resultobj
;
7346 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7349 PyObject
* obj0
= 0 ;
7350 PyObject
* obj1
= 0 ;
7352 (char *) "self",(char *) "edge", NULL
7355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
7356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7358 arg2
= (int)SWIG_As_int(obj1
);
7359 if (PyErr_Occurred()) SWIG_fail
;
7361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7362 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
7364 wxPyEndAllowThreads(__tstate
);
7365 if (PyErr_Occurred()) SWIG_fail
;
7368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7376 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7377 PyObject
*resultobj
;
7378 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7381 PyObject
* obj0
= 0 ;
7382 PyObject
* obj1
= 0 ;
7384 (char *) "self",(char *) "edge", NULL
7387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
7388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7390 arg2
= (int)SWIG_As_int(obj1
);
7391 if (PyErr_Occurred()) SWIG_fail
;
7393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7394 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
7396 wxPyEndAllowThreads(__tstate
);
7397 if (PyErr_Occurred()) SWIG_fail
;
7399 resultobj
= SWIG_From_int((int)result
);
7406 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7407 PyObject
*resultobj
;
7408 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7410 PyObject
* obj0
= 0 ;
7411 PyObject
* obj1
= 0 ;
7413 (char *) "self",(char *) "width", NULL
7416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7419 arg2
= (int)SWIG_As_int(obj1
);
7420 if (PyErr_Occurred()) SWIG_fail
;
7422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7423 (arg1
)->SetDefaultBorderSize(arg2
);
7425 wxPyEndAllowThreads(__tstate
);
7426 if (PyErr_Occurred()) SWIG_fail
;
7428 Py_INCREF(Py_None
); resultobj
= Py_None
;
7435 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7436 PyObject
*resultobj
;
7437 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7439 PyObject
* obj0
= 0 ;
7441 (char *) "self", NULL
7444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
7445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7449 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
7451 wxPyEndAllowThreads(__tstate
);
7452 if (PyErr_Occurred()) SWIG_fail
;
7454 resultobj
= SWIG_From_int((int)result
);
7461 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7462 PyObject
*resultobj
;
7463 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7465 PyObject
* obj0
= 0 ;
7466 PyObject
* obj1
= 0 ;
7468 (char *) "self",(char *) "width", NULL
7471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7474 arg2
= (int)SWIG_As_int(obj1
);
7475 if (PyErr_Occurred()) SWIG_fail
;
7477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7478 (arg1
)->SetExtraBorderSize(arg2
);
7480 wxPyEndAllowThreads(__tstate
);
7481 if (PyErr_Occurred()) SWIG_fail
;
7483 Py_INCREF(Py_None
); resultobj
= Py_None
;
7490 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7491 PyObject
*resultobj
;
7492 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7494 PyObject
* obj0
= 0 ;
7496 (char *) "self", NULL
7499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
7500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7504 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
7506 wxPyEndAllowThreads(__tstate
);
7507 if (PyErr_Occurred()) SWIG_fail
;
7509 resultobj
= SWIG_From_int((int)result
);
7516 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7517 PyObject
*resultobj
;
7518 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7520 PyObject
* obj0
= 0 ;
7521 PyObject
* obj1
= 0 ;
7523 (char *) "self",(char *) "min", NULL
7526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7529 arg2
= (int)SWIG_As_int(obj1
);
7530 if (PyErr_Occurred()) SWIG_fail
;
7532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7533 (arg1
)->SetMinimumSizeX(arg2
);
7535 wxPyEndAllowThreads(__tstate
);
7536 if (PyErr_Occurred()) SWIG_fail
;
7538 Py_INCREF(Py_None
); resultobj
= Py_None
;
7545 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7546 PyObject
*resultobj
;
7547 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7549 PyObject
* obj0
= 0 ;
7550 PyObject
* obj1
= 0 ;
7552 (char *) "self",(char *) "min", NULL
7555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7558 arg2
= (int)SWIG_As_int(obj1
);
7559 if (PyErr_Occurred()) SWIG_fail
;
7561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7562 (arg1
)->SetMinimumSizeY(arg2
);
7564 wxPyEndAllowThreads(__tstate
);
7565 if (PyErr_Occurred()) SWIG_fail
;
7567 Py_INCREF(Py_None
); resultobj
= Py_None
;
7574 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7575 PyObject
*resultobj
;
7576 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7578 PyObject
* obj0
= 0 ;
7580 (char *) "self", NULL
7583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
7584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7588 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
7590 wxPyEndAllowThreads(__tstate
);
7591 if (PyErr_Occurred()) SWIG_fail
;
7593 resultobj
= SWIG_From_int((int)result
);
7600 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7601 PyObject
*resultobj
;
7602 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7604 PyObject
* obj0
= 0 ;
7606 (char *) "self", NULL
7609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
7610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7614 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
7616 wxPyEndAllowThreads(__tstate
);
7617 if (PyErr_Occurred()) SWIG_fail
;
7619 resultobj
= SWIG_From_int((int)result
);
7626 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7627 PyObject
*resultobj
;
7628 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7630 PyObject
* obj0
= 0 ;
7631 PyObject
* obj1
= 0 ;
7633 (char *) "self",(char *) "max", NULL
7636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7639 arg2
= (int)SWIG_As_int(obj1
);
7640 if (PyErr_Occurred()) SWIG_fail
;
7642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7643 (arg1
)->SetMaximumSizeX(arg2
);
7645 wxPyEndAllowThreads(__tstate
);
7646 if (PyErr_Occurred()) SWIG_fail
;
7648 Py_INCREF(Py_None
); resultobj
= Py_None
;
7655 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7656 PyObject
*resultobj
;
7657 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7659 PyObject
* obj0
= 0 ;
7660 PyObject
* obj1
= 0 ;
7662 (char *) "self",(char *) "max", NULL
7665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7668 arg2
= (int)SWIG_As_int(obj1
);
7669 if (PyErr_Occurred()) SWIG_fail
;
7671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7672 (arg1
)->SetMaximumSizeY(arg2
);
7674 wxPyEndAllowThreads(__tstate
);
7675 if (PyErr_Occurred()) SWIG_fail
;
7677 Py_INCREF(Py_None
); resultobj
= Py_None
;
7684 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7685 PyObject
*resultobj
;
7686 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7688 PyObject
* obj0
= 0 ;
7690 (char *) "self", NULL
7693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
7694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7698 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
7700 wxPyEndAllowThreads(__tstate
);
7701 if (PyErr_Occurred()) SWIG_fail
;
7703 resultobj
= SWIG_From_int((int)result
);
7710 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7711 PyObject
*resultobj
;
7712 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7714 PyObject
* obj0
= 0 ;
7716 (char *) "self", NULL
7719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
7720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7724 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
7726 wxPyEndAllowThreads(__tstate
);
7727 if (PyErr_Occurred()) SWIG_fail
;
7729 resultobj
= SWIG_From_int((int)result
);
7736 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7737 PyObject
*resultobj
;
7738 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7741 int arg4
= (int) 2 ;
7743 PyObject
* obj0
= 0 ;
7744 PyObject
* obj1
= 0 ;
7745 PyObject
* obj2
= 0 ;
7746 PyObject
* obj3
= 0 ;
7748 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7754 arg2
= (int)SWIG_As_int(obj1
);
7755 if (PyErr_Occurred()) SWIG_fail
;
7756 arg3
= (int)SWIG_As_int(obj2
);
7757 if (PyErr_Occurred()) SWIG_fail
;
7759 arg4
= (int)SWIG_As_int(obj3
);
7760 if (PyErr_Occurred()) SWIG_fail
;
7763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7764 result
= (int)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
7766 wxPyEndAllowThreads(__tstate
);
7767 if (PyErr_Occurred()) SWIG_fail
;
7769 resultobj
= SWIG_From_int((int)result
);
7776 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7777 PyObject
*resultobj
;
7778 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7779 PyObject
* obj0
= 0 ;
7781 (char *) "self", NULL
7784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
7785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7789 (arg1
)->SizeWindows();
7791 wxPyEndAllowThreads(__tstate
);
7792 if (PyErr_Occurred()) SWIG_fail
;
7794 Py_INCREF(Py_None
); resultobj
= Py_None
;
7801 static PyObject
* SashWindow_swigregister(PyObject
*, PyObject
*args
) {
7803 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7804 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
7806 return Py_BuildValue((char *)"");
7808 static PyObject
*_wrap_new_SashEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7809 PyObject
*resultobj
;
7810 int arg1
= (int) 0 ;
7811 int arg2
= (int) wxSASH_NONE
;
7812 wxSashEvent
*result
;
7813 PyObject
* obj0
= 0 ;
7814 PyObject
* obj1
= 0 ;
7816 (char *) "id",(char *) "edge", NULL
7819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7821 arg1
= (int)SWIG_As_int(obj0
);
7822 if (PyErr_Occurred()) SWIG_fail
;
7825 arg2
= (int)SWIG_As_int(obj1
);
7826 if (PyErr_Occurred()) SWIG_fail
;
7829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7830 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
7832 wxPyEndAllowThreads(__tstate
);
7833 if (PyErr_Occurred()) SWIG_fail
;
7835 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
7842 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7843 PyObject
*resultobj
;
7844 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7846 PyObject
* obj0
= 0 ;
7847 PyObject
* obj1
= 0 ;
7849 (char *) "self",(char *) "edge", NULL
7852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
7853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7855 arg2
= (int)SWIG_As_int(obj1
);
7856 if (PyErr_Occurred()) SWIG_fail
;
7858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7859 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
7861 wxPyEndAllowThreads(__tstate
);
7862 if (PyErr_Occurred()) SWIG_fail
;
7864 Py_INCREF(Py_None
); resultobj
= Py_None
;
7871 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7872 PyObject
*resultobj
;
7873 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7875 PyObject
* obj0
= 0 ;
7877 (char *) "self", NULL
7880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
7881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7885 result
= (int)((wxSashEvent
const *)arg1
)->GetEdge();
7887 wxPyEndAllowThreads(__tstate
);
7888 if (PyErr_Occurred()) SWIG_fail
;
7890 resultobj
= SWIG_From_int((int)result
);
7897 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7898 PyObject
*resultobj
;
7899 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7902 PyObject
* obj0
= 0 ;
7903 PyObject
* obj1
= 0 ;
7905 (char *) "self",(char *) "rect", NULL
7908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7913 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7917 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
7919 wxPyEndAllowThreads(__tstate
);
7920 if (PyErr_Occurred()) SWIG_fail
;
7922 Py_INCREF(Py_None
); resultobj
= Py_None
;
7929 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7930 PyObject
*resultobj
;
7931 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7933 PyObject
* obj0
= 0 ;
7935 (char *) "self", NULL
7938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
7939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7943 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
7945 wxPyEndAllowThreads(__tstate
);
7946 if (PyErr_Occurred()) SWIG_fail
;
7950 resultptr
= new wxRect((wxRect
&) result
);
7951 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7959 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7960 PyObject
*resultobj
;
7961 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7963 PyObject
* obj0
= 0 ;
7964 PyObject
* obj1
= 0 ;
7966 (char *) "self",(char *) "status", NULL
7969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
7970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7972 arg2
= (int)SWIG_As_int(obj1
);
7973 if (PyErr_Occurred()) SWIG_fail
;
7975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7976 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
7978 wxPyEndAllowThreads(__tstate
);
7979 if (PyErr_Occurred()) SWIG_fail
;
7981 Py_INCREF(Py_None
); resultobj
= Py_None
;
7988 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7989 PyObject
*resultobj
;
7990 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7992 PyObject
* obj0
= 0 ;
7994 (char *) "self", NULL
7997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
7998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8002 result
= (int)((wxSashEvent
const *)arg1
)->GetDragStatus();
8004 wxPyEndAllowThreads(__tstate
);
8005 if (PyErr_Occurred()) SWIG_fail
;
8007 resultobj
= SWIG_From_int((int)result
);
8014 static PyObject
* SashEvent_swigregister(PyObject
*, PyObject
*args
) {
8016 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8017 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
8019 return Py_BuildValue((char *)"");
8021 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8022 PyObject
*resultobj
;
8023 int arg1
= (int) 0 ;
8024 wxQueryLayoutInfoEvent
*result
;
8025 PyObject
* obj0
= 0 ;
8030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
8032 arg1
= (int)SWIG_As_int(obj0
);
8033 if (PyErr_Occurred()) SWIG_fail
;
8036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8037 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
8039 wxPyEndAllowThreads(__tstate
);
8040 if (PyErr_Occurred()) SWIG_fail
;
8042 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
8049 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8050 PyObject
*resultobj
;
8051 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8053 PyObject
* obj0
= 0 ;
8054 PyObject
* obj1
= 0 ;
8056 (char *) "self",(char *) "length", NULL
8059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8062 arg2
= (int)SWIG_As_int(obj1
);
8063 if (PyErr_Occurred()) SWIG_fail
;
8065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8066 (arg1
)->SetRequestedLength(arg2
);
8068 wxPyEndAllowThreads(__tstate
);
8069 if (PyErr_Occurred()) SWIG_fail
;
8071 Py_INCREF(Py_None
); resultobj
= Py_None
;
8078 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8079 PyObject
*resultobj
;
8080 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8082 PyObject
* obj0
= 0 ;
8084 (char *) "self", NULL
8087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
8088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8092 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
8094 wxPyEndAllowThreads(__tstate
);
8095 if (PyErr_Occurred()) SWIG_fail
;
8097 resultobj
= SWIG_From_int((int)result
);
8104 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8105 PyObject
*resultobj
;
8106 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8108 PyObject
* obj0
= 0 ;
8109 PyObject
* obj1
= 0 ;
8111 (char *) "self",(char *) "flags", NULL
8114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
8115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8117 arg2
= (int)SWIG_As_int(obj1
);
8118 if (PyErr_Occurred()) SWIG_fail
;
8120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8121 (arg1
)->SetFlags(arg2
);
8123 wxPyEndAllowThreads(__tstate
);
8124 if (PyErr_Occurred()) SWIG_fail
;
8126 Py_INCREF(Py_None
); resultobj
= Py_None
;
8133 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8134 PyObject
*resultobj
;
8135 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8137 PyObject
* obj0
= 0 ;
8139 (char *) "self", NULL
8142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
8143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8147 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
8149 wxPyEndAllowThreads(__tstate
);
8150 if (PyErr_Occurred()) SWIG_fail
;
8152 resultobj
= SWIG_From_int((int)result
);
8159 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8160 PyObject
*resultobj
;
8161 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8164 PyObject
* obj0
= 0 ;
8165 PyObject
* obj1
= 0 ;
8167 (char *) "self",(char *) "size", NULL
8170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8175 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8179 (arg1
)->SetSize((wxSize
const &)*arg2
);
8181 wxPyEndAllowThreads(__tstate
);
8182 if (PyErr_Occurred()) SWIG_fail
;
8184 Py_INCREF(Py_None
); resultobj
= Py_None
;
8191 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(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_GetSize",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
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
8207 wxPyEndAllowThreads(__tstate
);
8208 if (PyErr_Occurred()) SWIG_fail
;
8212 resultptr
= new wxSize((wxSize
&) result
);
8213 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
8221 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8222 PyObject
*resultobj
;
8223 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8225 PyObject
* obj0
= 0 ;
8226 PyObject
* obj1
= 0 ;
8228 (char *) "self",(char *) "orient", NULL
8231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8234 arg2
= (int)SWIG_As_int(obj1
);
8235 if (PyErr_Occurred()) SWIG_fail
;
8237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8238 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8240 wxPyEndAllowThreads(__tstate
);
8241 if (PyErr_Occurred()) SWIG_fail
;
8243 Py_INCREF(Py_None
); resultobj
= Py_None
;
8250 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8251 PyObject
*resultobj
;
8252 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8254 PyObject
* obj0
= 0 ;
8256 (char *) "self", NULL
8259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
8260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8264 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
8266 wxPyEndAllowThreads(__tstate
);
8267 if (PyErr_Occurred()) SWIG_fail
;
8269 resultobj
= SWIG_From_int((int)result
);
8276 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8277 PyObject
*resultobj
;
8278 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8280 PyObject
* obj0
= 0 ;
8281 PyObject
* obj1
= 0 ;
8283 (char *) "self",(char *) "align", NULL
8286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8289 arg2
= (int)SWIG_As_int(obj1
);
8290 if (PyErr_Occurred()) SWIG_fail
;
8292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8293 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8295 wxPyEndAllowThreads(__tstate
);
8296 if (PyErr_Occurred()) SWIG_fail
;
8298 Py_INCREF(Py_None
); resultobj
= Py_None
;
8305 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8306 PyObject
*resultobj
;
8307 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8309 PyObject
* obj0
= 0 ;
8311 (char *) "self", NULL
8314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
8315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8319 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
8321 wxPyEndAllowThreads(__tstate
);
8322 if (PyErr_Occurred()) SWIG_fail
;
8324 resultobj
= SWIG_From_int((int)result
);
8331 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*, PyObject
*args
) {
8333 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8334 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
8336 return Py_BuildValue((char *)"");
8338 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8339 PyObject
*resultobj
;
8340 int arg1
= (int) 0 ;
8341 wxCalculateLayoutEvent
*result
;
8342 PyObject
* obj0
= 0 ;
8347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
8349 arg1
= (int)SWIG_As_int(obj0
);
8350 if (PyErr_Occurred()) SWIG_fail
;
8353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8354 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
8356 wxPyEndAllowThreads(__tstate
);
8357 if (PyErr_Occurred()) SWIG_fail
;
8359 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
8366 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8367 PyObject
*resultobj
;
8368 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8370 PyObject
* obj0
= 0 ;
8371 PyObject
* obj1
= 0 ;
8373 (char *) "self",(char *) "flags", NULL
8376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
8377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8379 arg2
= (int)SWIG_As_int(obj1
);
8380 if (PyErr_Occurred()) SWIG_fail
;
8382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8383 (arg1
)->SetFlags(arg2
);
8385 wxPyEndAllowThreads(__tstate
);
8386 if (PyErr_Occurred()) SWIG_fail
;
8388 Py_INCREF(Py_None
); resultobj
= Py_None
;
8395 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8396 PyObject
*resultobj
;
8397 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8399 PyObject
* obj0
= 0 ;
8401 (char *) "self", NULL
8404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
8405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8409 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
8411 wxPyEndAllowThreads(__tstate
);
8412 if (PyErr_Occurred()) SWIG_fail
;
8414 resultobj
= SWIG_From_int((int)result
);
8421 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8422 PyObject
*resultobj
;
8423 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8426 PyObject
* obj0
= 0 ;
8427 PyObject
* obj1
= 0 ;
8429 (char *) "self",(char *) "rect", NULL
8432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
8433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8437 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8441 (arg1
)->SetRect((wxRect
const &)*arg2
);
8443 wxPyEndAllowThreads(__tstate
);
8444 if (PyErr_Occurred()) SWIG_fail
;
8446 Py_INCREF(Py_None
); resultobj
= Py_None
;
8453 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8454 PyObject
*resultobj
;
8455 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8457 PyObject
* obj0
= 0 ;
8459 (char *) "self", NULL
8462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
8463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8467 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
8469 wxPyEndAllowThreads(__tstate
);
8470 if (PyErr_Occurred()) SWIG_fail
;
8474 resultptr
= new wxRect((wxRect
&) result
);
8475 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
8483 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*, PyObject
*args
) {
8485 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8486 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
8488 return Py_BuildValue((char *)"");
8490 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8491 PyObject
*resultobj
;
8492 wxWindow
*arg1
= (wxWindow
*) 0 ;
8493 int arg2
= (int) -1 ;
8494 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8495 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8496 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8497 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8498 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8499 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
8500 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8501 wxSashLayoutWindow
*result
;
8504 bool temp6
= False
;
8505 PyObject
* obj0
= 0 ;
8506 PyObject
* obj1
= 0 ;
8507 PyObject
* obj2
= 0 ;
8508 PyObject
* obj3
= 0 ;
8509 PyObject
* obj4
= 0 ;
8510 PyObject
* obj5
= 0 ;
8512 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8519 arg2
= (int)SWIG_As_int(obj1
);
8520 if (PyErr_Occurred()) SWIG_fail
;
8525 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8531 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8535 arg5
= (long)SWIG_As_long(obj4
);
8536 if (PyErr_Occurred()) SWIG_fail
;
8540 arg6
= wxString_in_helper(obj5
);
8541 if (arg6
== NULL
) SWIG_fail
;
8546 if (!wxPyCheckForApp()) SWIG_fail
;
8547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8548 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8550 wxPyEndAllowThreads(__tstate
);
8551 if (PyErr_Occurred()) SWIG_fail
;
8553 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8568 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8569 PyObject
*resultobj
;
8570 wxSashLayoutWindow
*result
;
8575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
8577 if (!wxPyCheckForApp()) SWIG_fail
;
8578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8579 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
8581 wxPyEndAllowThreads(__tstate
);
8582 if (PyErr_Occurred()) SWIG_fail
;
8584 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8591 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8592 PyObject
*resultobj
;
8593 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8594 wxWindow
*arg2
= (wxWindow
*) 0 ;
8595 int arg3
= (int) -1 ;
8596 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8597 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8598 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8599 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8600 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8601 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
8602 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8606 bool temp7
= False
;
8607 PyObject
* obj0
= 0 ;
8608 PyObject
* obj1
= 0 ;
8609 PyObject
* obj2
= 0 ;
8610 PyObject
* obj3
= 0 ;
8611 PyObject
* obj4
= 0 ;
8612 PyObject
* obj5
= 0 ;
8613 PyObject
* obj6
= 0 ;
8615 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8621 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8624 arg3
= (int)SWIG_As_int(obj2
);
8625 if (PyErr_Occurred()) SWIG_fail
;
8630 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8636 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8640 arg6
= (long)SWIG_As_long(obj5
);
8641 if (PyErr_Occurred()) SWIG_fail
;
8645 arg7
= wxString_in_helper(obj6
);
8646 if (arg7
== NULL
) SWIG_fail
;
8651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8652 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8654 wxPyEndAllowThreads(__tstate
);
8655 if (PyErr_Occurred()) SWIG_fail
;
8658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8674 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8675 PyObject
*resultobj
;
8676 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8678 PyObject
* obj0
= 0 ;
8680 (char *) "self", NULL
8683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
8684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8688 result
= (int)(arg1
)->GetAlignment();
8690 wxPyEndAllowThreads(__tstate
);
8691 if (PyErr_Occurred()) SWIG_fail
;
8693 resultobj
= SWIG_From_int((int)result
);
8700 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8701 PyObject
*resultobj
;
8702 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8704 PyObject
* obj0
= 0 ;
8706 (char *) "self", NULL
8709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
8710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8714 result
= (int)(arg1
)->GetOrientation();
8716 wxPyEndAllowThreads(__tstate
);
8717 if (PyErr_Occurred()) SWIG_fail
;
8719 resultobj
= SWIG_From_int((int)result
);
8726 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8727 PyObject
*resultobj
;
8728 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8730 PyObject
* obj0
= 0 ;
8731 PyObject
* obj1
= 0 ;
8733 (char *) "self",(char *) "alignment", NULL
8736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8739 arg2
= (int)SWIG_As_int(obj1
);
8740 if (PyErr_Occurred()) SWIG_fail
;
8742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8743 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8745 wxPyEndAllowThreads(__tstate
);
8746 if (PyErr_Occurred()) SWIG_fail
;
8748 Py_INCREF(Py_None
); resultobj
= Py_None
;
8755 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8756 PyObject
*resultobj
;
8757 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8760 PyObject
* obj0
= 0 ;
8761 PyObject
* obj1
= 0 ;
8763 (char *) "self",(char *) "size", NULL
8766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8771 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8775 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
8777 wxPyEndAllowThreads(__tstate
);
8778 if (PyErr_Occurred()) SWIG_fail
;
8780 Py_INCREF(Py_None
); resultobj
= Py_None
;
8787 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8788 PyObject
*resultobj
;
8789 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8791 PyObject
* obj0
= 0 ;
8792 PyObject
* obj1
= 0 ;
8794 (char *) "self",(char *) "orientation", NULL
8797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8800 arg2
= (int)SWIG_As_int(obj1
);
8801 if (PyErr_Occurred()) SWIG_fail
;
8803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8804 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8806 wxPyEndAllowThreads(__tstate
);
8807 if (PyErr_Occurred()) SWIG_fail
;
8809 Py_INCREF(Py_None
); resultobj
= Py_None
;
8816 static PyObject
* SashLayoutWindow_swigregister(PyObject
*, PyObject
*args
) {
8818 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8819 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
8821 return Py_BuildValue((char *)"");
8823 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8824 PyObject
*resultobj
;
8825 wxLayoutAlgorithm
*result
;
8830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
8832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8833 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
8835 wxPyEndAllowThreads(__tstate
);
8836 if (PyErr_Occurred()) SWIG_fail
;
8838 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
8845 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8846 PyObject
*resultobj
;
8847 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8848 PyObject
* obj0
= 0 ;
8850 (char *) "self", NULL
8853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
8854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8860 wxPyEndAllowThreads(__tstate
);
8861 if (PyErr_Occurred()) SWIG_fail
;
8863 Py_INCREF(Py_None
); resultobj
= Py_None
;
8870 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8871 PyObject
*resultobj
;
8872 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8873 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
8874 wxRect
*arg3
= (wxRect
*) NULL
;
8876 PyObject
* obj0
= 0 ;
8877 PyObject
* obj1
= 0 ;
8878 PyObject
* obj2
= 0 ;
8880 (char *) "self",(char *) "frame",(char *) "rect", NULL
8883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8886 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
8887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8889 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
8890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8894 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
8896 wxPyEndAllowThreads(__tstate
);
8897 if (PyErr_Occurred()) SWIG_fail
;
8900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8908 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8909 PyObject
*resultobj
;
8910 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8911 wxFrame
*arg2
= (wxFrame
*) 0 ;
8912 wxWindow
*arg3
= (wxWindow
*) NULL
;
8914 PyObject
* obj0
= 0 ;
8915 PyObject
* obj1
= 0 ;
8916 PyObject
* obj2
= 0 ;
8918 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8924 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
8925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8927 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8932 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
8934 wxPyEndAllowThreads(__tstate
);
8935 if (PyErr_Occurred()) SWIG_fail
;
8938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8946 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8947 PyObject
*resultobj
;
8948 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8949 wxWindow
*arg2
= (wxWindow
*) 0 ;
8950 wxWindow
*arg3
= (wxWindow
*) NULL
;
8952 PyObject
* obj0
= 0 ;
8953 PyObject
* obj1
= 0 ;
8954 PyObject
* obj2
= 0 ;
8956 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8962 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8965 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8970 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
8972 wxPyEndAllowThreads(__tstate
);
8973 if (PyErr_Occurred()) SWIG_fail
;
8976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8984 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*, PyObject
*args
) {
8986 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8987 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
8989 return Py_BuildValue((char *)"");
8991 static PyObject
*_wrap_new_PopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8992 PyObject
*resultobj
;
8993 wxWindow
*arg1
= (wxWindow
*) 0 ;
8994 int arg2
= (int) wxBORDER_NONE
;
8995 wxPopupWindow
*result
;
8996 PyObject
* obj0
= 0 ;
8997 PyObject
* obj1
= 0 ;
8999 (char *) "parent",(char *) "flags", NULL
9002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
9003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9006 arg2
= (int)SWIG_As_int(obj1
);
9007 if (PyErr_Occurred()) SWIG_fail
;
9010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9011 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
9013 wxPyEndAllowThreads(__tstate
);
9014 if (PyErr_Occurred()) SWIG_fail
;
9016 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
9023 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9024 PyObject
*resultobj
;
9025 wxPopupWindow
*result
;
9030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
9032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9033 result
= (wxPopupWindow
*)new wxPopupWindow();
9035 wxPyEndAllowThreads(__tstate
);
9036 if (PyErr_Occurred()) SWIG_fail
;
9038 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
9045 static PyObject
* PopupWindow_swigregister(PyObject
*, PyObject
*args
) {
9047 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9048 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
9050 return Py_BuildValue((char *)"");
9052 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9053 PyObject
*resultobj
;
9054 wxWindow
*arg1
= (wxWindow
*) 0 ;
9055 int arg2
= (int) wxBORDER_NONE
;
9056 wxPyPopupTransientWindow
*result
;
9057 PyObject
* obj0
= 0 ;
9058 PyObject
* obj1
= 0 ;
9060 (char *) "parent",(char *) "style", NULL
9063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
9064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9067 arg2
= (int)SWIG_As_int(obj1
);
9068 if (PyErr_Occurred()) SWIG_fail
;
9071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9072 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
9074 wxPyEndAllowThreads(__tstate
);
9075 if (PyErr_Occurred()) SWIG_fail
;
9077 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
9084 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9085 PyObject
*resultobj
;
9086 wxPyPopupTransientWindow
*result
;
9091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
9093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9094 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
9096 wxPyEndAllowThreads(__tstate
);
9097 if (PyErr_Occurred()) SWIG_fail
;
9099 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
9106 static PyObject
* PopupTransientWindow_swigregister(PyObject
*, PyObject
*args
) {
9108 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9109 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
9111 return Py_BuildValue((char *)"");
9113 static PyObject
*_wrap_new_TipWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9114 PyObject
*resultobj
;
9115 wxWindow
*arg1
= (wxWindow
*) 0 ;
9116 wxString
*arg2
= 0 ;
9117 int arg3
= (int) 100 ;
9118 wxRect
*arg4
= (wxRect
*) NULL
;
9119 wxTipWindow
*result
;
9120 bool temp2
= False
;
9121 PyObject
* obj0
= 0 ;
9122 PyObject
* obj1
= 0 ;
9123 PyObject
* obj2
= 0 ;
9124 PyObject
* obj3
= 0 ;
9126 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
9129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9133 arg2
= wxString_in_helper(obj1
);
9134 if (arg2
== NULL
) SWIG_fail
;
9138 arg3
= (int)SWIG_As_int(obj2
);
9139 if (PyErr_Occurred()) SWIG_fail
;
9142 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
9143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9146 if (!wxPyCheckForApp()) SWIG_fail
;
9147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9148 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9150 wxPyEndAllowThreads(__tstate
);
9151 if (PyErr_Occurred()) SWIG_fail
;
9153 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
9168 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9169 PyObject
*resultobj
;
9170 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
9173 PyObject
* obj0
= 0 ;
9174 PyObject
* obj1
= 0 ;
9176 (char *) "self",(char *) "rectBound", NULL
9179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
9180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
9181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9184 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9188 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
9190 wxPyEndAllowThreads(__tstate
);
9191 if (PyErr_Occurred()) SWIG_fail
;
9193 Py_INCREF(Py_None
); resultobj
= Py_None
;
9200 static PyObject
*_wrap_TipWindow_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9201 PyObject
*resultobj
;
9202 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
9203 PyObject
* obj0
= 0 ;
9205 (char *) "self", NULL
9208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
9209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
9210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9215 wxPyEndAllowThreads(__tstate
);
9216 if (PyErr_Occurred()) SWIG_fail
;
9218 Py_INCREF(Py_None
); resultobj
= Py_None
;
9225 static PyObject
* TipWindow_swigregister(PyObject
*, PyObject
*args
) {
9227 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9228 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
9230 return Py_BuildValue((char *)"");
9232 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9233 PyObject
*resultobj
;
9234 wxWindow
*arg1
= (wxWindow
*) 0 ;
9235 int arg2
= (int) wxID_ANY
;
9236 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9237 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9238 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9239 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9240 long arg5
= (long) 0 ;
9241 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
9242 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9243 wxPyVScrolledWindow
*result
;
9246 bool temp6
= False
;
9247 PyObject
* obj0
= 0 ;
9248 PyObject
* obj1
= 0 ;
9249 PyObject
* obj2
= 0 ;
9250 PyObject
* obj3
= 0 ;
9251 PyObject
* obj4
= 0 ;
9252 PyObject
* obj5
= 0 ;
9254 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9261 arg2
= (int)SWIG_As_int(obj1
);
9262 if (PyErr_Occurred()) SWIG_fail
;
9267 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9273 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9277 arg5
= (long)SWIG_As_long(obj4
);
9278 if (PyErr_Occurred()) SWIG_fail
;
9282 arg6
= wxString_in_helper(obj5
);
9283 if (arg6
== NULL
) SWIG_fail
;
9288 if (!wxPyCheckForApp()) SWIG_fail
;
9289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9290 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9292 wxPyEndAllowThreads(__tstate
);
9293 if (PyErr_Occurred()) SWIG_fail
;
9295 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
9310 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9311 PyObject
*resultobj
;
9312 wxPyVScrolledWindow
*result
;
9317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
9319 if (!wxPyCheckForApp()) SWIG_fail
;
9320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9321 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
9323 wxPyEndAllowThreads(__tstate
);
9324 if (PyErr_Occurred()) SWIG_fail
;
9326 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
9333 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9334 PyObject
*resultobj
;
9335 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9336 PyObject
*arg2
= (PyObject
*) 0 ;
9337 PyObject
*arg3
= (PyObject
*) 0 ;
9338 PyObject
* obj0
= 0 ;
9339 PyObject
* obj1
= 0 ;
9340 PyObject
* obj2
= 0 ;
9342 (char *) "self",(char *) "self",(char *) "_class", NULL
9345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9352 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9354 wxPyEndAllowThreads(__tstate
);
9355 if (PyErr_Occurred()) SWIG_fail
;
9357 Py_INCREF(Py_None
); resultobj
= Py_None
;
9364 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9365 PyObject
*resultobj
;
9366 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9367 wxWindow
*arg2
= (wxWindow
*) 0 ;
9368 int arg3
= (int) wxID_ANY
;
9369 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9370 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9371 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9372 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9373 long arg6
= (long) 0 ;
9374 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
9375 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9379 bool temp7
= False
;
9380 PyObject
* obj0
= 0 ;
9381 PyObject
* obj1
= 0 ;
9382 PyObject
* obj2
= 0 ;
9383 PyObject
* obj3
= 0 ;
9384 PyObject
* obj4
= 0 ;
9385 PyObject
* obj5
= 0 ;
9386 PyObject
* obj6
= 0 ;
9388 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9394 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9397 arg3
= (int)SWIG_As_int(obj2
);
9398 if (PyErr_Occurred()) SWIG_fail
;
9403 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9409 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9413 arg6
= (long)SWIG_As_long(obj5
);
9414 if (PyErr_Occurred()) SWIG_fail
;
9418 arg7
= wxString_in_helper(obj6
);
9419 if (arg7
== NULL
) SWIG_fail
;
9424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9425 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9427 wxPyEndAllowThreads(__tstate
);
9428 if (PyErr_Occurred()) SWIG_fail
;
9431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9447 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9448 PyObject
*resultobj
;
9449 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9451 PyObject
* obj0
= 0 ;
9452 PyObject
* obj1
= 0 ;
9454 (char *) "self",(char *) "count", NULL
9457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9460 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9461 if (PyErr_Occurred()) SWIG_fail
;
9463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9464 (arg1
)->SetLineCount(arg2
);
9466 wxPyEndAllowThreads(__tstate
);
9467 if (PyErr_Occurred()) SWIG_fail
;
9469 Py_INCREF(Py_None
); resultobj
= Py_None
;
9476 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9477 PyObject
*resultobj
;
9478 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9481 PyObject
* obj0
= 0 ;
9482 PyObject
* obj1
= 0 ;
9484 (char *) "self",(char *) "line", NULL
9487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9490 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9491 if (PyErr_Occurred()) SWIG_fail
;
9493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9494 result
= (bool)(arg1
)->ScrollToLine(arg2
);
9496 wxPyEndAllowThreads(__tstate
);
9497 if (PyErr_Occurred()) SWIG_fail
;
9500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9508 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9509 PyObject
*resultobj
;
9510 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9513 PyObject
* obj0
= 0 ;
9514 PyObject
* obj1
= 0 ;
9516 (char *) "self",(char *) "lines", NULL
9519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
9520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9522 arg2
= (int)SWIG_As_int(obj1
);
9523 if (PyErr_Occurred()) SWIG_fail
;
9525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9526 result
= (bool)(arg1
)->ScrollLines(arg2
);
9528 wxPyEndAllowThreads(__tstate
);
9529 if (PyErr_Occurred()) SWIG_fail
;
9532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9540 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9541 PyObject
*resultobj
;
9542 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9545 PyObject
* obj0
= 0 ;
9546 PyObject
* obj1
= 0 ;
9548 (char *) "self",(char *) "pages", NULL
9551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
9552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9554 arg2
= (int)SWIG_As_int(obj1
);
9555 if (PyErr_Occurred()) SWIG_fail
;
9557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9558 result
= (bool)(arg1
)->ScrollPages(arg2
);
9560 wxPyEndAllowThreads(__tstate
);
9561 if (PyErr_Occurred()) SWIG_fail
;
9564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9572 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9573 PyObject
*resultobj
;
9574 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9576 PyObject
* obj0
= 0 ;
9577 PyObject
* obj1
= 0 ;
9579 (char *) "self",(char *) "line", NULL
9582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9585 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9586 if (PyErr_Occurred()) SWIG_fail
;
9588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9589 (arg1
)->RefreshLine(arg2
);
9591 wxPyEndAllowThreads(__tstate
);
9592 if (PyErr_Occurred()) SWIG_fail
;
9594 Py_INCREF(Py_None
); resultobj
= Py_None
;
9601 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9602 PyObject
*resultobj
;
9603 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9606 PyObject
* obj0
= 0 ;
9607 PyObject
* obj1
= 0 ;
9608 PyObject
* obj2
= 0 ;
9610 (char *) "self",(char *) "from",(char *) "to", NULL
9613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9616 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9617 if (PyErr_Occurred()) SWIG_fail
;
9618 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
9619 if (PyErr_Occurred()) SWIG_fail
;
9621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9622 (arg1
)->RefreshLines(arg2
,arg3
);
9624 wxPyEndAllowThreads(__tstate
);
9625 if (PyErr_Occurred()) SWIG_fail
;
9627 Py_INCREF(Py_None
); resultobj
= Py_None
;
9634 static PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9635 PyObject
*resultobj
;
9636 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9640 PyObject
* obj0
= 0 ;
9641 PyObject
* obj1
= 0 ;
9642 PyObject
* obj2
= 0 ;
9644 (char *) "self",(char *) "x",(char *) "y", NULL
9647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9650 arg2
= (int)SWIG_As_int(obj1
);
9651 if (PyErr_Occurred()) SWIG_fail
;
9652 arg3
= (int)SWIG_As_int(obj2
);
9653 if (PyErr_Occurred()) SWIG_fail
;
9655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9656 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
9658 wxPyEndAllowThreads(__tstate
);
9659 if (PyErr_Occurred()) SWIG_fail
;
9661 resultobj
= SWIG_From_int((int)result
);
9668 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9669 PyObject
*resultobj
;
9670 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9674 PyObject
* obj0
= 0 ;
9675 PyObject
* obj1
= 0 ;
9677 (char *) "self",(char *) "pt", NULL
9680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9685 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9689 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9691 wxPyEndAllowThreads(__tstate
);
9692 if (PyErr_Occurred()) SWIG_fail
;
9694 resultobj
= SWIG_From_int((int)result
);
9701 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9702 PyObject
*resultobj
;
9703 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9704 PyObject
* obj0
= 0 ;
9706 (char *) "self", NULL
9709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
9710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9714 (arg1
)->RefreshAll();
9716 wxPyEndAllowThreads(__tstate
);
9717 if (PyErr_Occurred()) SWIG_fail
;
9719 Py_INCREF(Py_None
); resultobj
= Py_None
;
9726 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9727 PyObject
*resultobj
;
9728 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9730 PyObject
* obj0
= 0 ;
9732 (char *) "self", NULL
9735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
9736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9740 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
9742 wxPyEndAllowThreads(__tstate
);
9743 if (PyErr_Occurred()) SWIG_fail
;
9745 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
9752 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9753 PyObject
*resultobj
;
9754 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9756 PyObject
* obj0
= 0 ;
9758 (char *) "self", NULL
9761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
9762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9766 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
9768 wxPyEndAllowThreads(__tstate
);
9769 if (PyErr_Occurred()) SWIG_fail
;
9771 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
9778 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9779 PyObject
*resultobj
;
9780 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9782 PyObject
* obj0
= 0 ;
9784 (char *) "self", NULL
9787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
9788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9792 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
9794 wxPyEndAllowThreads(__tstate
);
9795 if (PyErr_Occurred()) SWIG_fail
;
9797 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
9804 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9805 PyObject
*resultobj
;
9806 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9809 PyObject
* obj0
= 0 ;
9810 PyObject
* obj1
= 0 ;
9812 (char *) "self",(char *) "line", NULL
9815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
9816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9818 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9819 if (PyErr_Occurred()) SWIG_fail
;
9821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9822 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
9824 wxPyEndAllowThreads(__tstate
);
9825 if (PyErr_Occurred()) SWIG_fail
;
9828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9836 static PyObject
* VScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
9838 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9839 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
9841 return Py_BuildValue((char *)"");
9843 static int _wrap_VListBoxNameStr_set(PyObject
*) {
9844 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
9849 static PyObject
*_wrap_VListBoxNameStr_get() {
9854 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9856 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9863 static PyObject
*_wrap_new_VListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9864 PyObject
*resultobj
;
9865 wxWindow
*arg1
= (wxWindow
*) 0 ;
9866 int arg2
= (int) wxID_ANY
;
9867 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9868 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9869 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9870 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9871 long arg5
= (long) 0 ;
9872 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
9873 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9874 wxPyVListBox
*result
;
9877 bool temp6
= False
;
9878 PyObject
* obj0
= 0 ;
9879 PyObject
* obj1
= 0 ;
9880 PyObject
* obj2
= 0 ;
9881 PyObject
* obj3
= 0 ;
9882 PyObject
* obj4
= 0 ;
9883 PyObject
* obj5
= 0 ;
9885 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9892 arg2
= (int)SWIG_As_int(obj1
);
9893 if (PyErr_Occurred()) SWIG_fail
;
9898 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9904 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9908 arg5
= (long)SWIG_As_long(obj4
);
9909 if (PyErr_Occurred()) SWIG_fail
;
9913 arg6
= wxString_in_helper(obj5
);
9914 if (arg6
== NULL
) SWIG_fail
;
9919 if (!wxPyCheckForApp()) SWIG_fail
;
9920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9921 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9923 wxPyEndAllowThreads(__tstate
);
9924 if (PyErr_Occurred()) SWIG_fail
;
9926 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9941 static PyObject
*_wrap_new_PreVListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9942 PyObject
*resultobj
;
9943 wxPyVListBox
*result
;
9948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
9950 if (!wxPyCheckForApp()) SWIG_fail
;
9951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9952 result
= (wxPyVListBox
*)new wxPyVListBox();
9954 wxPyEndAllowThreads(__tstate
);
9955 if (PyErr_Occurred()) SWIG_fail
;
9957 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9964 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9965 PyObject
*resultobj
;
9966 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9967 PyObject
*arg2
= (PyObject
*) 0 ;
9968 PyObject
*arg3
= (PyObject
*) 0 ;
9969 PyObject
* obj0
= 0 ;
9970 PyObject
* obj1
= 0 ;
9971 PyObject
* obj2
= 0 ;
9973 (char *) "self",(char *) "self",(char *) "_class", NULL
9976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
9978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9983 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9985 wxPyEndAllowThreads(__tstate
);
9986 if (PyErr_Occurred()) SWIG_fail
;
9988 Py_INCREF(Py_None
); resultobj
= Py_None
;
9995 static PyObject
*_wrap_VListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9996 PyObject
*resultobj
;
9997 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
9998 wxWindow
*arg2
= (wxWindow
*) 0 ;
9999 int arg3
= (int) wxID_ANY
;
10000 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10001 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10002 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10003 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10004 long arg6
= (long) 0 ;
10005 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
10006 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10010 bool temp7
= False
;
10011 PyObject
* obj0
= 0 ;
10012 PyObject
* obj1
= 0 ;
10013 PyObject
* obj2
= 0 ;
10014 PyObject
* obj3
= 0 ;
10015 PyObject
* obj4
= 0 ;
10016 PyObject
* obj5
= 0 ;
10017 PyObject
* obj6
= 0 ;
10018 char *kwnames
[] = {
10019 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10025 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10028 arg3
= (int)SWIG_As_int(obj2
);
10029 if (PyErr_Occurred()) SWIG_fail
;
10034 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10040 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10044 arg6
= (long)SWIG_As_long(obj5
);
10045 if (PyErr_Occurred()) SWIG_fail
;
10049 arg7
= wxString_in_helper(obj6
);
10050 if (arg7
== NULL
) SWIG_fail
;
10055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10056 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10058 wxPyEndAllowThreads(__tstate
);
10059 if (PyErr_Occurred()) SWIG_fail
;
10062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10078 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10079 PyObject
*resultobj
;
10080 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10082 PyObject
* obj0
= 0 ;
10083 char *kwnames
[] = {
10084 (char *) "self", NULL
10087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
10088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10092 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
10094 wxPyEndAllowThreads(__tstate
);
10095 if (PyErr_Occurred()) SWIG_fail
;
10097 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
10104 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10105 PyObject
*resultobj
;
10106 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10108 PyObject
* obj0
= 0 ;
10109 char *kwnames
[] = {
10110 (char *) "self", NULL
10113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
10114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10118 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
10120 wxPyEndAllowThreads(__tstate
);
10121 if (PyErr_Occurred()) SWIG_fail
;
10124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10132 static PyObject
*_wrap_VListBox_GetSelection(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_GetSelection",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
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
10148 wxPyEndAllowThreads(__tstate
);
10149 if (PyErr_Occurred()) SWIG_fail
;
10151 resultobj
= SWIG_From_int((int)result
);
10158 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10159 PyObject
*resultobj
;
10160 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10163 PyObject
* obj0
= 0 ;
10164 PyObject
* obj1
= 0 ;
10165 char *kwnames
[] = {
10166 (char *) "self",(char *) "item", NULL
10169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
10170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10172 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10173 if (PyErr_Occurred()) SWIG_fail
;
10175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10176 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
10178 wxPyEndAllowThreads(__tstate
);
10179 if (PyErr_Occurred()) SWIG_fail
;
10182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10190 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10191 PyObject
*resultobj
;
10192 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10195 PyObject
* obj0
= 0 ;
10196 PyObject
* obj1
= 0 ;
10197 char *kwnames
[] = {
10198 (char *) "self",(char *) "item", NULL
10201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
10202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10204 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10205 if (PyErr_Occurred()) SWIG_fail
;
10207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10208 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
10210 wxPyEndAllowThreads(__tstate
);
10211 if (PyErr_Occurred()) SWIG_fail
;
10214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10222 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10223 PyObject
*resultobj
;
10224 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10226 PyObject
* obj0
= 0 ;
10227 char *kwnames
[] = {
10228 (char *) "self", NULL
10231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
10232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10236 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
10238 wxPyEndAllowThreads(__tstate
);
10239 if (PyErr_Occurred()) SWIG_fail
;
10241 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
10248 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10249 PyObject
*resultobj
;
10250 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10252 PyObject
* obj0
= 0 ;
10253 char *kwnames
[] = {
10254 (char *) "self", NULL
10257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
10258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10262 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
10264 wxPyEndAllowThreads(__tstate
);
10265 if (PyErr_Occurred()) SWIG_fail
;
10267 resultobj
= result
;
10274 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10275 PyObject
*resultobj
;
10276 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10277 unsigned long arg2
;
10279 PyObject
* obj0
= 0 ;
10280 PyObject
* obj1
= 0 ;
10281 char *kwnames
[] = {
10282 (char *) "self",(char *) "cookie", NULL
10285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
10286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10288 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
10289 if (PyErr_Occurred()) SWIG_fail
;
10291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10292 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
10294 wxPyEndAllowThreads(__tstate
);
10295 if (PyErr_Occurred()) SWIG_fail
;
10297 resultobj
= result
;
10304 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10305 PyObject
*resultobj
;
10306 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10308 PyObject
* obj0
= 0 ;
10309 char *kwnames
[] = {
10310 (char *) "self", NULL
10313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
10314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10318 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
10320 wxPyEndAllowThreads(__tstate
);
10321 if (PyErr_Occurred()) SWIG_fail
;
10324 wxPoint
* resultptr
;
10325 resultptr
= new wxPoint((wxPoint
&) result
);
10326 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
10334 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10335 PyObject
*resultobj
;
10336 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10338 PyObject
* obj0
= 0 ;
10339 char *kwnames
[] = {
10340 (char *) "self", NULL
10343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
10344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10349 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
10350 result
= (wxColour
*) &_result_ref
;
10353 wxPyEndAllowThreads(__tstate
);
10354 if (PyErr_Occurred()) SWIG_fail
;
10356 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
10363 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10364 PyObject
*resultobj
;
10365 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10367 PyObject
* obj0
= 0 ;
10368 PyObject
* obj1
= 0 ;
10369 char *kwnames
[] = {
10370 (char *) "self",(char *) "count", NULL
10373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10376 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10377 if (PyErr_Occurred()) SWIG_fail
;
10379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10380 (arg1
)->SetItemCount(arg2
);
10382 wxPyEndAllowThreads(__tstate
);
10383 if (PyErr_Occurred()) SWIG_fail
;
10385 Py_INCREF(Py_None
); resultobj
= Py_None
;
10392 static PyObject
*_wrap_VListBox_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10393 PyObject
*resultobj
;
10394 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10395 PyObject
* obj0
= 0 ;
10396 char *kwnames
[] = {
10397 (char *) "self", NULL
10400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
10401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10407 wxPyEndAllowThreads(__tstate
);
10408 if (PyErr_Occurred()) SWIG_fail
;
10410 Py_INCREF(Py_None
); resultobj
= Py_None
;
10417 static PyObject
*_wrap_VListBox_SetSelection(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 *) "selection", NULL
10427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",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
= (int)SWIG_As_int(obj1
);
10431 if (PyErr_Occurred()) SWIG_fail
;
10433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10434 (arg1
)->SetSelection(arg2
);
10436 wxPyEndAllowThreads(__tstate
);
10437 if (PyErr_Occurred()) SWIG_fail
;
10439 Py_INCREF(Py_None
); resultobj
= Py_None
;
10446 static PyObject
*_wrap_VListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10447 PyObject
*resultobj
;
10448 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10450 bool arg3
= (bool) True
;
10452 PyObject
* obj0
= 0 ;
10453 PyObject
* obj1
= 0 ;
10454 PyObject
* obj2
= 0 ;
10455 char *kwnames
[] = {
10456 (char *) "self",(char *) "item",(char *) "select", NULL
10459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10462 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10463 if (PyErr_Occurred()) SWIG_fail
;
10465 arg3
= (bool)SWIG_As_bool(obj2
);
10466 if (PyErr_Occurred()) SWIG_fail
;
10469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10470 result
= (bool)(arg1
)->Select(arg2
,arg3
);
10472 wxPyEndAllowThreads(__tstate
);
10473 if (PyErr_Occurred()) SWIG_fail
;
10476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10484 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10485 PyObject
*resultobj
;
10486 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10490 PyObject
* obj0
= 0 ;
10491 PyObject
* obj1
= 0 ;
10492 PyObject
* obj2
= 0 ;
10493 char *kwnames
[] = {
10494 (char *) "self",(char *) "from",(char *) "to", NULL
10497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10500 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10501 if (PyErr_Occurred()) SWIG_fail
;
10502 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
10503 if (PyErr_Occurred()) SWIG_fail
;
10505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10506 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
10508 wxPyEndAllowThreads(__tstate
);
10509 if (PyErr_Occurred()) SWIG_fail
;
10512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10520 static PyObject
*_wrap_VListBox_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10521 PyObject
*resultobj
;
10522 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10524 PyObject
* obj0
= 0 ;
10525 PyObject
* obj1
= 0 ;
10526 char *kwnames
[] = {
10527 (char *) "self",(char *) "item", NULL
10530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
10531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10533 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10534 if (PyErr_Occurred()) SWIG_fail
;
10536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10537 (arg1
)->Toggle(arg2
);
10539 wxPyEndAllowThreads(__tstate
);
10540 if (PyErr_Occurred()) SWIG_fail
;
10542 Py_INCREF(Py_None
); resultobj
= Py_None
;
10549 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10550 PyObject
*resultobj
;
10551 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10553 PyObject
* obj0
= 0 ;
10554 char *kwnames
[] = {
10555 (char *) "self", NULL
10558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
10559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10563 result
= (bool)(arg1
)->SelectAll();
10565 wxPyEndAllowThreads(__tstate
);
10566 if (PyErr_Occurred()) SWIG_fail
;
10569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10577 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10578 PyObject
*resultobj
;
10579 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10581 PyObject
* obj0
= 0 ;
10582 char *kwnames
[] = {
10583 (char *) "self", NULL
10586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
10587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10591 result
= (bool)(arg1
)->DeselectAll();
10593 wxPyEndAllowThreads(__tstate
);
10594 if (PyErr_Occurred()) SWIG_fail
;
10597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10605 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10606 PyObject
*resultobj
;
10607 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10608 wxPoint
*arg2
= 0 ;
10610 PyObject
* obj0
= 0 ;
10611 PyObject
* obj1
= 0 ;
10612 char *kwnames
[] = {
10613 (char *) "self",(char *) "pt", NULL
10616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
10617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10621 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10625 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
10627 wxPyEndAllowThreads(__tstate
);
10628 if (PyErr_Occurred()) SWIG_fail
;
10630 Py_INCREF(Py_None
); resultobj
= Py_None
;
10637 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10638 PyObject
*resultobj
;
10639 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10642 PyObject
* obj0
= 0 ;
10643 PyObject
* obj1
= 0 ;
10644 PyObject
* obj2
= 0 ;
10645 char *kwnames
[] = {
10646 (char *) "self",(char *) "x",(char *) "y", NULL
10649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10652 arg2
= (int)SWIG_As_int(obj1
);
10653 if (PyErr_Occurred()) SWIG_fail
;
10654 arg3
= (int)SWIG_As_int(obj2
);
10655 if (PyErr_Occurred()) SWIG_fail
;
10657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10658 (arg1
)->SetMargins(arg2
,arg3
);
10660 wxPyEndAllowThreads(__tstate
);
10661 if (PyErr_Occurred()) SWIG_fail
;
10663 Py_INCREF(Py_None
); resultobj
= Py_None
;
10670 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10671 PyObject
*resultobj
;
10672 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10673 wxColour
*arg2
= 0 ;
10675 PyObject
* obj0
= 0 ;
10676 PyObject
* obj1
= 0 ;
10677 char *kwnames
[] = {
10678 (char *) "self",(char *) "col", NULL
10681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
10682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10686 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10690 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
10692 wxPyEndAllowThreads(__tstate
);
10693 if (PyErr_Occurred()) SWIG_fail
;
10695 Py_INCREF(Py_None
); resultobj
= Py_None
;
10702 static PyObject
* VListBox_swigregister(PyObject
*, PyObject
*args
) {
10704 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10705 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
10707 return Py_BuildValue((char *)"");
10709 static PyObject
*_wrap_new_HtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10710 PyObject
*resultobj
;
10711 wxWindow
*arg1
= (wxWindow
*) 0 ;
10712 int arg2
= (int) wxID_ANY
;
10713 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10714 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10715 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10716 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10717 long arg5
= (long) 0 ;
10718 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
10719 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10720 wxPyHtmlListBox
*result
;
10723 bool temp6
= False
;
10724 PyObject
* obj0
= 0 ;
10725 PyObject
* obj1
= 0 ;
10726 PyObject
* obj2
= 0 ;
10727 PyObject
* obj3
= 0 ;
10728 PyObject
* obj4
= 0 ;
10729 PyObject
* obj5
= 0 ;
10730 char *kwnames
[] = {
10731 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10738 arg2
= (int)SWIG_As_int(obj1
);
10739 if (PyErr_Occurred()) SWIG_fail
;
10744 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10750 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10754 arg5
= (long)SWIG_As_long(obj4
);
10755 if (PyErr_Occurred()) SWIG_fail
;
10759 arg6
= wxString_in_helper(obj5
);
10760 if (arg6
== NULL
) SWIG_fail
;
10765 if (!wxPyCheckForApp()) SWIG_fail
;
10766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10767 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10769 wxPyEndAllowThreads(__tstate
);
10770 if (PyErr_Occurred()) SWIG_fail
;
10772 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10787 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10788 PyObject
*resultobj
;
10789 wxPyHtmlListBox
*result
;
10790 char *kwnames
[] = {
10794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
10796 if (!wxPyCheckForApp()) SWIG_fail
;
10797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10798 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
10800 wxPyEndAllowThreads(__tstate
);
10801 if (PyErr_Occurred()) SWIG_fail
;
10803 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10810 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10811 PyObject
*resultobj
;
10812 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10813 PyObject
*arg2
= (PyObject
*) 0 ;
10814 PyObject
*arg3
= (PyObject
*) 0 ;
10815 PyObject
* obj0
= 0 ;
10816 PyObject
* obj1
= 0 ;
10817 PyObject
* obj2
= 0 ;
10818 char *kwnames
[] = {
10819 (char *) "self",(char *) "self",(char *) "_class", NULL
10822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10829 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10831 wxPyEndAllowThreads(__tstate
);
10832 if (PyErr_Occurred()) SWIG_fail
;
10834 Py_INCREF(Py_None
); resultobj
= Py_None
;
10841 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10842 PyObject
*resultobj
;
10843 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10844 wxWindow
*arg2
= (wxWindow
*) 0 ;
10845 int arg3
= (int) wxID_ANY
;
10846 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10847 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10848 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10849 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10850 long arg6
= (long) 0 ;
10851 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
10852 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10856 bool temp7
= False
;
10857 PyObject
* obj0
= 0 ;
10858 PyObject
* obj1
= 0 ;
10859 PyObject
* obj2
= 0 ;
10860 PyObject
* obj3
= 0 ;
10861 PyObject
* obj4
= 0 ;
10862 PyObject
* obj5
= 0 ;
10863 PyObject
* obj6
= 0 ;
10864 char *kwnames
[] = {
10865 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10871 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10874 arg3
= (int)SWIG_As_int(obj2
);
10875 if (PyErr_Occurred()) SWIG_fail
;
10880 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10886 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10890 arg6
= (long)SWIG_As_long(obj5
);
10891 if (PyErr_Occurred()) SWIG_fail
;
10895 arg7
= wxString_in_helper(obj6
);
10896 if (arg7
== NULL
) SWIG_fail
;
10901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10902 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10904 wxPyEndAllowThreads(__tstate
);
10905 if (PyErr_Occurred()) SWIG_fail
;
10908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10924 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10925 PyObject
*resultobj
;
10926 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10927 PyObject
* obj0
= 0 ;
10928 char *kwnames
[] = {
10929 (char *) "self", NULL
10932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
10933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10937 (arg1
)->RefreshAll();
10939 wxPyEndAllowThreads(__tstate
);
10940 if (PyErr_Occurred()) SWIG_fail
;
10942 Py_INCREF(Py_None
); resultobj
= Py_None
;
10949 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10950 PyObject
*resultobj
;
10951 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10953 PyObject
* obj0
= 0 ;
10954 PyObject
* obj1
= 0 ;
10955 char *kwnames
[] = {
10956 (char *) "self",(char *) "count", NULL
10959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10962 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10963 if (PyErr_Occurred()) SWIG_fail
;
10965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10966 (arg1
)->SetItemCount(arg2
);
10968 wxPyEndAllowThreads(__tstate
);
10969 if (PyErr_Occurred()) SWIG_fail
;
10971 Py_INCREF(Py_None
); resultobj
= Py_None
;
10978 static PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10979 PyObject
*resultobj
;
10980 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10981 wxFileSystem
*result
;
10982 PyObject
* obj0
= 0 ;
10983 char *kwnames
[] = {
10984 (char *) "self", NULL
10987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_GetFileSystem",kwnames
,&obj0
)) goto fail
;
10988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10993 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
10994 result
= (wxFileSystem
*) &_result_ref
;
10997 wxPyEndAllowThreads(__tstate
);
10998 if (PyErr_Occurred()) SWIG_fail
;
11000 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileSystem
, 0);
11007 static PyObject
* HtmlListBox_swigregister(PyObject
*, PyObject
*args
) {
11009 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11010 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
11012 return Py_BuildValue((char *)"");
11014 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11015 PyObject
*resultobj
;
11016 wxTaskBarIcon
*result
;
11017 char *kwnames
[] = {
11021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
11023 if (!wxPyCheckForApp()) SWIG_fail
;
11024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11025 result
= (wxTaskBarIcon
*)new wxTaskBarIcon();
11027 wxPyEndAllowThreads(__tstate
);
11028 if (PyErr_Occurred()) SWIG_fail
;
11030 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIcon
, 1);
11037 static PyObject
*_wrap_delete_TaskBarIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11038 PyObject
*resultobj
;
11039 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
11040 PyObject
* obj0
= 0 ;
11041 char *kwnames
[] = {
11042 (char *) "self", NULL
11045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TaskBarIcon",kwnames
,&obj0
)) goto fail
;
11046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
11047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11052 wxPyEndAllowThreads(__tstate
);
11053 if (PyErr_Occurred()) SWIG_fail
;
11055 Py_INCREF(Py_None
); resultobj
= Py_None
;
11062 static PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11063 PyObject
*resultobj
;
11064 wxTaskBarIcon
*arg1
= (wxTaskBarIcon
*) 0 ;
11065 PyObject
* obj0
= 0 ;
11066 char *kwnames
[] = {
11067 (char *) "self", NULL
11070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_Destroy",kwnames
,&obj0
)) goto fail
;
11071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTaskBarIcon
,
11072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11075 wxTaskBarIcon_Destroy(arg1
);
11077 wxPyEndAllowThreads(__tstate
);
11078 if (PyErr_Occurred()) SWIG_fail
;
11080 Py_INCREF(Py_None
); resultobj
= Py_None
;
11087 static PyObject
* TaskBarIcon_swigregister(PyObject
*, PyObject
*args
) {
11089 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11090 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon
, obj
);
11092 return Py_BuildValue((char *)"");
11094 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11095 PyObject
*resultobj
;
11097 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
11098 wxTaskBarIconEvent
*result
;
11099 PyObject
* obj0
= 0 ;
11100 PyObject
* obj1
= 0 ;
11101 char *kwnames
[] = {
11102 (char *) "evtType",(char *) "tbIcon", NULL
11105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11106 arg1
= (wxEventType
)SWIG_As_int(obj0
);
11107 if (PyErr_Occurred()) SWIG_fail
;
11108 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTaskBarIcon
,
11109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11112 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
11114 wxPyEndAllowThreads(__tstate
);
11115 if (PyErr_Occurred()) SWIG_fail
;
11117 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
11124 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*, PyObject
*args
) {
11126 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11127 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
11129 return Py_BuildValue((char *)"");
11131 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
11132 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
11137 static PyObject
*_wrap_FileSelectorPromptStr_get() {
11142 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
11144 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
11151 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
11152 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
11157 static PyObject
*_wrap_DirSelectorPromptStr_get() {
11162 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
11164 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
11171 static int _wrap_DirDialogNameStr_set(PyObject
*) {
11172 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
11177 static PyObject
*_wrap_DirDialogNameStr_get() {
11182 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
11184 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
11191 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
11192 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
11197 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
11202 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
11204 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
11211 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*) {
11212 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
11217 static PyObject
*_wrap_GetTextFromUserPromptStr_get() {
11222 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
11224 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
11231 static int _wrap_MessageBoxCaptionStr_set(PyObject
*) {
11232 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
11237 static PyObject
*_wrap_MessageBoxCaptionStr_get() {
11242 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
11244 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
11251 static PyObject
*_wrap_new_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11252 PyObject
*resultobj
;
11253 wxColourData
*result
;
11254 char *kwnames
[] = {
11258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
11260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11261 result
= (wxColourData
*)new wxColourData();
11263 wxPyEndAllowThreads(__tstate
);
11264 if (PyErr_Occurred()) SWIG_fail
;
11266 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
11273 static PyObject
*_wrap_delete_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11274 PyObject
*resultobj
;
11275 wxColourData
*arg1
= (wxColourData
*) 0 ;
11276 PyObject
* obj0
= 0 ;
11277 char *kwnames
[] = {
11278 (char *) "self", NULL
11281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
11282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11288 wxPyEndAllowThreads(__tstate
);
11289 if (PyErr_Occurred()) SWIG_fail
;
11291 Py_INCREF(Py_None
); resultobj
= Py_None
;
11298 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11299 PyObject
*resultobj
;
11300 wxColourData
*arg1
= (wxColourData
*) 0 ;
11302 PyObject
* obj0
= 0 ;
11303 char *kwnames
[] = {
11304 (char *) "self", NULL
11307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
11308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11312 result
= (bool)(arg1
)->GetChooseFull();
11314 wxPyEndAllowThreads(__tstate
);
11315 if (PyErr_Occurred()) SWIG_fail
;
11318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11326 static PyObject
*_wrap_ColourData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11327 PyObject
*resultobj
;
11328 wxColourData
*arg1
= (wxColourData
*) 0 ;
11330 PyObject
* obj0
= 0 ;
11331 char *kwnames
[] = {
11332 (char *) "self", NULL
11335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
11336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11340 result
= (arg1
)->GetColour();
11342 wxPyEndAllowThreads(__tstate
);
11343 if (PyErr_Occurred()) SWIG_fail
;
11346 wxColour
* resultptr
;
11347 resultptr
= new wxColour((wxColour
&) result
);
11348 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11356 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11357 PyObject
*resultobj
;
11358 wxColourData
*arg1
= (wxColourData
*) 0 ;
11361 PyObject
* obj0
= 0 ;
11362 PyObject
* obj1
= 0 ;
11363 char *kwnames
[] = {
11364 (char *) "self",(char *) "i", NULL
11367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11370 arg2
= (int)SWIG_As_int(obj1
);
11371 if (PyErr_Occurred()) SWIG_fail
;
11373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11374 result
= (arg1
)->GetCustomColour(arg2
);
11376 wxPyEndAllowThreads(__tstate
);
11377 if (PyErr_Occurred()) SWIG_fail
;
11380 wxColour
* resultptr
;
11381 resultptr
= new wxColour((wxColour
&) result
);
11382 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11390 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11391 PyObject
*resultobj
;
11392 wxColourData
*arg1
= (wxColourData
*) 0 ;
11394 PyObject
* obj0
= 0 ;
11395 PyObject
* obj1
= 0 ;
11396 char *kwnames
[] = {
11397 (char *) "self",(char *) "flag", NULL
11400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
11401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11403 arg2
= (int)SWIG_As_int(obj1
);
11404 if (PyErr_Occurred()) SWIG_fail
;
11406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11407 (arg1
)->SetChooseFull(arg2
);
11409 wxPyEndAllowThreads(__tstate
);
11410 if (PyErr_Occurred()) SWIG_fail
;
11412 Py_INCREF(Py_None
); resultobj
= Py_None
;
11419 static PyObject
*_wrap_ColourData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11420 PyObject
*resultobj
;
11421 wxColourData
*arg1
= (wxColourData
*) 0 ;
11422 wxColour
*arg2
= 0 ;
11424 PyObject
* obj0
= 0 ;
11425 PyObject
* obj1
= 0 ;
11426 char *kwnames
[] = {
11427 (char *) "self",(char *) "colour", NULL
11430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11435 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11439 (arg1
)->SetColour((wxColour
const &)*arg2
);
11441 wxPyEndAllowThreads(__tstate
);
11442 if (PyErr_Occurred()) SWIG_fail
;
11444 Py_INCREF(Py_None
); resultobj
= Py_None
;
11451 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11452 PyObject
*resultobj
;
11453 wxColourData
*arg1
= (wxColourData
*) 0 ;
11455 wxColour
*arg3
= 0 ;
11457 PyObject
* obj0
= 0 ;
11458 PyObject
* obj1
= 0 ;
11459 PyObject
* obj2
= 0 ;
11460 char *kwnames
[] = {
11461 (char *) "self",(char *) "i",(char *) "colour", NULL
11464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11467 arg2
= (int)SWIG_As_int(obj1
);
11468 if (PyErr_Occurred()) SWIG_fail
;
11471 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11475 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
11477 wxPyEndAllowThreads(__tstate
);
11478 if (PyErr_Occurred()) SWIG_fail
;
11480 Py_INCREF(Py_None
); resultobj
= Py_None
;
11487 static PyObject
* ColourData_swigregister(PyObject
*, PyObject
*args
) {
11489 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11490 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
11492 return Py_BuildValue((char *)"");
11494 static PyObject
*_wrap_new_ColourDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11495 PyObject
*resultobj
;
11496 wxWindow
*arg1
= (wxWindow
*) 0 ;
11497 wxColourData
*arg2
= (wxColourData
*) NULL
;
11498 wxColourDialog
*result
;
11499 PyObject
* obj0
= 0 ;
11500 PyObject
* obj1
= 0 ;
11501 char *kwnames
[] = {
11502 (char *) "parent",(char *) "data", NULL
11505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
11506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11509 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColourData
,
11510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11513 if (!wxPyCheckForApp()) SWIG_fail
;
11514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11515 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
11517 wxPyEndAllowThreads(__tstate
);
11518 if (PyErr_Occurred()) SWIG_fail
;
11520 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
11527 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11528 PyObject
*resultobj
;
11529 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
11530 wxColourData
*result
;
11531 PyObject
* obj0
= 0 ;
11532 char *kwnames
[] = {
11533 (char *) "self", NULL
11536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
11537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDialog
,
11538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11542 wxColourData
&_result_ref
= (arg1
)->GetColourData();
11543 result
= (wxColourData
*) &_result_ref
;
11546 wxPyEndAllowThreads(__tstate
);
11547 if (PyErr_Occurred()) SWIG_fail
;
11549 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
11556 static PyObject
* ColourDialog_swigregister(PyObject
*, PyObject
*args
) {
11558 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11559 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
11561 return Py_BuildValue((char *)"");
11563 static PyObject
*_wrap_new_DirDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11564 PyObject
*resultobj
;
11565 wxWindow
*arg1
= (wxWindow
*) 0 ;
11566 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
11567 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11568 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11569 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11570 long arg4
= (long) 0 ;
11571 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11572 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11573 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11574 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11575 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
11576 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11577 wxDirDialog
*result
;
11578 bool temp2
= False
;
11579 bool temp3
= False
;
11582 bool temp7
= False
;
11583 PyObject
* obj0
= 0 ;
11584 PyObject
* obj1
= 0 ;
11585 PyObject
* obj2
= 0 ;
11586 PyObject
* obj3
= 0 ;
11587 PyObject
* obj4
= 0 ;
11588 PyObject
* obj5
= 0 ;
11589 PyObject
* obj6
= 0 ;
11590 char *kwnames
[] = {
11591 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11599 arg2
= wxString_in_helper(obj1
);
11600 if (arg2
== NULL
) SWIG_fail
;
11606 arg3
= wxString_in_helper(obj2
);
11607 if (arg3
== NULL
) SWIG_fail
;
11612 arg4
= (long)SWIG_As_long(obj3
);
11613 if (PyErr_Occurred()) SWIG_fail
;
11618 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11624 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11629 arg7
= wxString_in_helper(obj6
);
11630 if (arg7
== NULL
) SWIG_fail
;
11635 if (!wxPyCheckForApp()) SWIG_fail
;
11636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11637 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
11639 wxPyEndAllowThreads(__tstate
);
11640 if (PyErr_Occurred()) SWIG_fail
;
11642 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
11673 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11674 PyObject
*resultobj
;
11675 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11677 PyObject
* obj0
= 0 ;
11678 char *kwnames
[] = {
11679 (char *) "self", NULL
11682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
11683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11687 result
= (arg1
)->GetPath();
11689 wxPyEndAllowThreads(__tstate
);
11690 if (PyErr_Occurred()) SWIG_fail
;
11694 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11696 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11705 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11706 PyObject
*resultobj
;
11707 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11709 PyObject
* obj0
= 0 ;
11710 char *kwnames
[] = {
11711 (char *) "self", NULL
11714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
11715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11719 result
= (arg1
)->GetMessage();
11721 wxPyEndAllowThreads(__tstate
);
11722 if (PyErr_Occurred()) SWIG_fail
;
11726 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11728 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11737 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11738 PyObject
*resultobj
;
11739 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11741 PyObject
* obj0
= 0 ;
11742 char *kwnames
[] = {
11743 (char *) "self", NULL
11746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
11747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11751 result
= (long)(arg1
)->GetStyle();
11753 wxPyEndAllowThreads(__tstate
);
11754 if (PyErr_Occurred()) SWIG_fail
;
11756 resultobj
= SWIG_From_long((long)result
);
11763 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11764 PyObject
*resultobj
;
11765 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11766 wxString
*arg2
= 0 ;
11767 bool temp2
= False
;
11768 PyObject
* obj0
= 0 ;
11769 PyObject
* obj1
= 0 ;
11770 char *kwnames
[] = {
11771 (char *) "self",(char *) "message", NULL
11774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11778 arg2
= wxString_in_helper(obj1
);
11779 if (arg2
== NULL
) SWIG_fail
;
11783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11784 (arg1
)->SetMessage((wxString
const &)*arg2
);
11786 wxPyEndAllowThreads(__tstate
);
11787 if (PyErr_Occurred()) SWIG_fail
;
11789 Py_INCREF(Py_None
); resultobj
= Py_None
;
11804 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11805 PyObject
*resultobj
;
11806 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11807 wxString
*arg2
= 0 ;
11808 bool temp2
= False
;
11809 PyObject
* obj0
= 0 ;
11810 PyObject
* obj1
= 0 ;
11811 char *kwnames
[] = {
11812 (char *) "self",(char *) "path", NULL
11815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
11816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11819 arg2
= wxString_in_helper(obj1
);
11820 if (arg2
== NULL
) SWIG_fail
;
11824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11825 (arg1
)->SetPath((wxString
const &)*arg2
);
11827 wxPyEndAllowThreads(__tstate
);
11828 if (PyErr_Occurred()) SWIG_fail
;
11830 Py_INCREF(Py_None
); resultobj
= Py_None
;
11845 static PyObject
* DirDialog_swigregister(PyObject
*, PyObject
*args
) {
11847 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11848 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
11850 return Py_BuildValue((char *)"");
11852 static PyObject
*_wrap_new_FileDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11853 PyObject
*resultobj
;
11854 wxWindow
*arg1
= (wxWindow
*) 0 ;
11855 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
11856 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11857 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11858 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11859 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11860 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11861 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
11862 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
11863 long arg6
= (long) 0 ;
11864 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
11865 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
11866 wxFileDialog
*result
;
11867 bool temp2
= False
;
11868 bool temp3
= False
;
11869 bool temp4
= False
;
11870 bool temp5
= False
;
11872 PyObject
* obj0
= 0 ;
11873 PyObject
* obj1
= 0 ;
11874 PyObject
* obj2
= 0 ;
11875 PyObject
* obj3
= 0 ;
11876 PyObject
* obj4
= 0 ;
11877 PyObject
* obj5
= 0 ;
11878 PyObject
* obj6
= 0 ;
11879 char *kwnames
[] = {
11880 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11888 arg2
= wxString_in_helper(obj1
);
11889 if (arg2
== NULL
) SWIG_fail
;
11895 arg3
= wxString_in_helper(obj2
);
11896 if (arg3
== NULL
) SWIG_fail
;
11902 arg4
= wxString_in_helper(obj3
);
11903 if (arg4
== NULL
) SWIG_fail
;
11909 arg5
= wxString_in_helper(obj4
);
11910 if (arg5
== NULL
) SWIG_fail
;
11915 arg6
= (long)SWIG_As_long(obj5
);
11916 if (PyErr_Occurred()) SWIG_fail
;
11921 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
11925 if (!wxPyCheckForApp()) SWIG_fail
;
11926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11927 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
11929 wxPyEndAllowThreads(__tstate
);
11930 if (PyErr_Occurred()) SWIG_fail
;
11932 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
11971 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11972 PyObject
*resultobj
;
11973 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
11974 wxString
*arg2
= 0 ;
11975 bool temp2
= False
;
11976 PyObject
* obj0
= 0 ;
11977 PyObject
* obj1
= 0 ;
11978 char *kwnames
[] = {
11979 (char *) "self",(char *) "message", NULL
11982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
11984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11986 arg2
= wxString_in_helper(obj1
);
11987 if (arg2
== NULL
) SWIG_fail
;
11991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11992 (arg1
)->SetMessage((wxString
const &)*arg2
);
11994 wxPyEndAllowThreads(__tstate
);
11995 if (PyErr_Occurred()) SWIG_fail
;
11997 Py_INCREF(Py_None
); resultobj
= Py_None
;
12012 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12013 PyObject
*resultobj
;
12014 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12015 wxString
*arg2
= 0 ;
12016 bool temp2
= False
;
12017 PyObject
* obj0
= 0 ;
12018 PyObject
* obj1
= 0 ;
12019 char *kwnames
[] = {
12020 (char *) "self",(char *) "path", NULL
12023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
12024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12027 arg2
= wxString_in_helper(obj1
);
12028 if (arg2
== NULL
) SWIG_fail
;
12032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12033 (arg1
)->SetPath((wxString
const &)*arg2
);
12035 wxPyEndAllowThreads(__tstate
);
12036 if (PyErr_Occurred()) SWIG_fail
;
12038 Py_INCREF(Py_None
); resultobj
= Py_None
;
12053 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12054 PyObject
*resultobj
;
12055 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12056 wxString
*arg2
= 0 ;
12057 bool temp2
= False
;
12058 PyObject
* obj0
= 0 ;
12059 PyObject
* obj1
= 0 ;
12060 char *kwnames
[] = {
12061 (char *) "self",(char *) "dir", NULL
12064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
12065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12068 arg2
= wxString_in_helper(obj1
);
12069 if (arg2
== NULL
) SWIG_fail
;
12073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12074 (arg1
)->SetDirectory((wxString
const &)*arg2
);
12076 wxPyEndAllowThreads(__tstate
);
12077 if (PyErr_Occurred()) SWIG_fail
;
12079 Py_INCREF(Py_None
); resultobj
= Py_None
;
12094 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12095 PyObject
*resultobj
;
12096 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12097 wxString
*arg2
= 0 ;
12098 bool temp2
= False
;
12099 PyObject
* obj0
= 0 ;
12100 PyObject
* obj1
= 0 ;
12101 char *kwnames
[] = {
12102 (char *) "self",(char *) "name", NULL
12105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
12106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12109 arg2
= wxString_in_helper(obj1
);
12110 if (arg2
== NULL
) SWIG_fail
;
12114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12115 (arg1
)->SetFilename((wxString
const &)*arg2
);
12117 wxPyEndAllowThreads(__tstate
);
12118 if (PyErr_Occurred()) SWIG_fail
;
12120 Py_INCREF(Py_None
); resultobj
= Py_None
;
12135 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12136 PyObject
*resultobj
;
12137 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12138 wxString
*arg2
= 0 ;
12139 bool temp2
= False
;
12140 PyObject
* obj0
= 0 ;
12141 PyObject
* obj1
= 0 ;
12142 char *kwnames
[] = {
12143 (char *) "self",(char *) "wildCard", NULL
12146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
12147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12150 arg2
= wxString_in_helper(obj1
);
12151 if (arg2
== NULL
) SWIG_fail
;
12155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12156 (arg1
)->SetWildcard((wxString
const &)*arg2
);
12158 wxPyEndAllowThreads(__tstate
);
12159 if (PyErr_Occurred()) SWIG_fail
;
12161 Py_INCREF(Py_None
); resultobj
= Py_None
;
12176 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12177 PyObject
*resultobj
;
12178 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12180 PyObject
* obj0
= 0 ;
12181 PyObject
* obj1
= 0 ;
12182 char *kwnames
[] = {
12183 (char *) "self",(char *) "style", NULL
12186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
12187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12189 arg2
= (long)SWIG_As_long(obj1
);
12190 if (PyErr_Occurred()) SWIG_fail
;
12192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12193 (arg1
)->SetStyle(arg2
);
12195 wxPyEndAllowThreads(__tstate
);
12196 if (PyErr_Occurred()) SWIG_fail
;
12198 Py_INCREF(Py_None
); resultobj
= Py_None
;
12205 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12206 PyObject
*resultobj
;
12207 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12209 PyObject
* obj0
= 0 ;
12210 PyObject
* obj1
= 0 ;
12211 char *kwnames
[] = {
12212 (char *) "self",(char *) "filterIndex", NULL
12215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
12216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12218 arg2
= (int)SWIG_As_int(obj1
);
12219 if (PyErr_Occurred()) SWIG_fail
;
12221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12222 (arg1
)->SetFilterIndex(arg2
);
12224 wxPyEndAllowThreads(__tstate
);
12225 if (PyErr_Occurred()) SWIG_fail
;
12227 Py_INCREF(Py_None
); resultobj
= Py_None
;
12234 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12235 PyObject
*resultobj
;
12236 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12238 PyObject
* obj0
= 0 ;
12239 char *kwnames
[] = {
12240 (char *) "self", NULL
12243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
12244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12248 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
12250 wxPyEndAllowThreads(__tstate
);
12251 if (PyErr_Occurred()) SWIG_fail
;
12255 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12257 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12266 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12267 PyObject
*resultobj
;
12268 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12270 PyObject
* obj0
= 0 ;
12271 char *kwnames
[] = {
12272 (char *) "self", NULL
12275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
12276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12280 result
= ((wxFileDialog
const *)arg1
)->GetPath();
12282 wxPyEndAllowThreads(__tstate
);
12283 if (PyErr_Occurred()) SWIG_fail
;
12287 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12289 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12298 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12299 PyObject
*resultobj
;
12300 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12302 PyObject
* obj0
= 0 ;
12303 char *kwnames
[] = {
12304 (char *) "self", NULL
12307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
12308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12312 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
12314 wxPyEndAllowThreads(__tstate
);
12315 if (PyErr_Occurred()) SWIG_fail
;
12319 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12321 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12330 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12331 PyObject
*resultobj
;
12332 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12334 PyObject
* obj0
= 0 ;
12335 char *kwnames
[] = {
12336 (char *) "self", NULL
12339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
12340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12344 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
12346 wxPyEndAllowThreads(__tstate
);
12347 if (PyErr_Occurred()) SWIG_fail
;
12351 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12353 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12362 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12363 PyObject
*resultobj
;
12364 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12366 PyObject
* obj0
= 0 ;
12367 char *kwnames
[] = {
12368 (char *) "self", NULL
12371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
12372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12376 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
12378 wxPyEndAllowThreads(__tstate
);
12379 if (PyErr_Occurred()) SWIG_fail
;
12383 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12385 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12394 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12395 PyObject
*resultobj
;
12396 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12398 PyObject
* obj0
= 0 ;
12399 char *kwnames
[] = {
12400 (char *) "self", NULL
12403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
12404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12408 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
12410 wxPyEndAllowThreads(__tstate
);
12411 if (PyErr_Occurred()) SWIG_fail
;
12413 resultobj
= SWIG_From_long((long)result
);
12420 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12421 PyObject
*resultobj
;
12422 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12424 PyObject
* obj0
= 0 ;
12425 char *kwnames
[] = {
12426 (char *) "self", NULL
12429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
12430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12434 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
12436 wxPyEndAllowThreads(__tstate
);
12437 if (PyErr_Occurred()) SWIG_fail
;
12439 resultobj
= SWIG_From_int((int)result
);
12446 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12447 PyObject
*resultobj
;
12448 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12450 PyObject
* obj0
= 0 ;
12451 char *kwnames
[] = {
12452 (char *) "self", NULL
12455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
12456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12460 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
12462 wxPyEndAllowThreads(__tstate
);
12463 if (PyErr_Occurred()) SWIG_fail
;
12465 resultobj
= result
;
12472 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12473 PyObject
*resultobj
;
12474 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12476 PyObject
* obj0
= 0 ;
12477 char *kwnames
[] = {
12478 (char *) "self", NULL
12481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
12482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12486 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
12488 wxPyEndAllowThreads(__tstate
);
12489 if (PyErr_Occurred()) SWIG_fail
;
12491 resultobj
= result
;
12498 static PyObject
* FileDialog_swigregister(PyObject
*, PyObject
*args
) {
12500 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12501 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
12503 return Py_BuildValue((char *)"");
12505 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12506 PyObject
*resultobj
;
12507 wxWindow
*arg1
= (wxWindow
*) 0 ;
12508 wxString
*arg2
= 0 ;
12509 wxString
*arg3
= 0 ;
12510 int arg4
= (int) 0 ;
12511 wxString
*arg5
= (wxString
*) NULL
;
12512 long arg6
= (long) wxCHOICEDLG_STYLE
;
12513 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12514 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12515 wxMultiChoiceDialog
*result
;
12516 bool temp2
= False
;
12517 bool temp3
= False
;
12519 PyObject
* obj0
= 0 ;
12520 PyObject
* obj1
= 0 ;
12521 PyObject
* obj2
= 0 ;
12522 PyObject
* obj3
= 0 ;
12523 PyObject
* obj4
= 0 ;
12524 PyObject
* obj5
= 0 ;
12525 char *kwnames
[] = {
12526 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12533 arg2
= wxString_in_helper(obj1
);
12534 if (arg2
== NULL
) SWIG_fail
;
12538 arg3
= wxString_in_helper(obj2
);
12539 if (arg3
== NULL
) SWIG_fail
;
12544 arg4
= PyList_Size(obj3
);
12545 arg5
= wxString_LIST_helper(obj3
);
12546 if (arg5
== NULL
) SWIG_fail
;
12550 arg6
= (long)SWIG_As_long(obj4
);
12551 if (PyErr_Occurred()) SWIG_fail
;
12556 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12560 if (!wxPyCheckForApp()) SWIG_fail
;
12561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12562 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12564 wxPyEndAllowThreads(__tstate
);
12565 if (PyErr_Occurred()) SWIG_fail
;
12567 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
12577 if (arg5
) delete [] arg5
;
12590 if (arg5
) delete [] arg5
;
12596 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12597 PyObject
*resultobj
;
12598 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12599 wxArrayInt
*arg2
= 0 ;
12600 bool temp2
= False
;
12601 PyObject
* obj0
= 0 ;
12602 PyObject
* obj1
= 0 ;
12603 char *kwnames
[] = {
12604 (char *) "self",(char *) "selections", NULL
12607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
12608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12611 if (! PySequence_Check(obj1
)) {
12612 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
12615 arg2
= new wxArrayInt
;
12617 int i
, len
=PySequence_Length(obj1
);
12618 for (i
=0; i
<len
; i
++) {
12619 PyObject
* item
= PySequence_GetItem(obj1
, i
);
12620 PyObject
* number
= PyNumber_Int(item
);
12621 arg2
->Add(PyInt_AS_LONG(number
));
12627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12628 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
12630 wxPyEndAllowThreads(__tstate
);
12631 if (PyErr_Occurred()) SWIG_fail
;
12633 Py_INCREF(Py_None
); resultobj
= Py_None
;
12635 if (temp2
) delete arg2
;
12640 if (temp2
) delete arg2
;
12646 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12647 PyObject
*resultobj
;
12648 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12650 PyObject
* obj0
= 0 ;
12651 char *kwnames
[] = {
12652 (char *) "self", NULL
12655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
12656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12660 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
12662 wxPyEndAllowThreads(__tstate
);
12663 if (PyErr_Occurred()) SWIG_fail
;
12665 resultobj
= result
;
12672 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
12674 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12675 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
12677 return Py_BuildValue((char *)"");
12679 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12680 PyObject
*resultobj
;
12681 wxWindow
*arg1
= (wxWindow
*) 0 ;
12682 wxString
*arg2
= 0 ;
12683 wxString
*arg3
= 0 ;
12685 wxString
*arg5
= (wxString
*) 0 ;
12686 long arg6
= (long) wxCHOICEDLG_STYLE
;
12687 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12688 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12689 wxSingleChoiceDialog
*result
;
12690 bool temp2
= False
;
12691 bool temp3
= False
;
12693 PyObject
* obj0
= 0 ;
12694 PyObject
* obj1
= 0 ;
12695 PyObject
* obj2
= 0 ;
12696 PyObject
* obj3
= 0 ;
12697 PyObject
* obj4
= 0 ;
12698 PyObject
* obj5
= 0 ;
12699 char *kwnames
[] = {
12700 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12707 arg2
= wxString_in_helper(obj1
);
12708 if (arg2
== NULL
) SWIG_fail
;
12712 arg3
= wxString_in_helper(obj2
);
12713 if (arg3
== NULL
) SWIG_fail
;
12717 arg4
= PyList_Size(obj3
);
12718 arg5
= wxString_LIST_helper(obj3
);
12719 if (arg5
== NULL
) SWIG_fail
;
12722 arg6
= (long)SWIG_As_long(obj4
);
12723 if (PyErr_Occurred()) SWIG_fail
;
12728 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12732 if (!wxPyCheckForApp()) SWIG_fail
;
12733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12734 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12736 wxPyEndAllowThreads(__tstate
);
12737 if (PyErr_Occurred()) SWIG_fail
;
12739 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
12749 if (arg5
) delete [] arg5
;
12762 if (arg5
) delete [] arg5
;
12768 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12769 PyObject
*resultobj
;
12770 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12772 PyObject
* obj0
= 0 ;
12773 char *kwnames
[] = {
12774 (char *) "self", NULL
12777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
12778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12782 result
= (int)(arg1
)->GetSelection();
12784 wxPyEndAllowThreads(__tstate
);
12785 if (PyErr_Occurred()) SWIG_fail
;
12787 resultobj
= SWIG_From_int((int)result
);
12794 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12795 PyObject
*resultobj
;
12796 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12798 PyObject
* obj0
= 0 ;
12799 char *kwnames
[] = {
12800 (char *) "self", NULL
12803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
12804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12808 result
= (arg1
)->GetStringSelection();
12810 wxPyEndAllowThreads(__tstate
);
12811 if (PyErr_Occurred()) SWIG_fail
;
12815 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12817 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12826 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12827 PyObject
*resultobj
;
12828 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12830 PyObject
* obj0
= 0 ;
12831 PyObject
* obj1
= 0 ;
12832 char *kwnames
[] = {
12833 (char *) "self",(char *) "sel", NULL
12836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12839 arg2
= (int)SWIG_As_int(obj1
);
12840 if (PyErr_Occurred()) SWIG_fail
;
12842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12843 (arg1
)->SetSelection(arg2
);
12845 wxPyEndAllowThreads(__tstate
);
12846 if (PyErr_Occurred()) SWIG_fail
;
12848 Py_INCREF(Py_None
); resultobj
= Py_None
;
12855 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
12857 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12858 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
12860 return Py_BuildValue((char *)"");
12862 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12863 PyObject
*resultobj
;
12864 wxWindow
*arg1
= (wxWindow
*) 0 ;
12865 wxString
*arg2
= 0 ;
12866 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
12867 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12868 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12869 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12870 long arg5
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
12871 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12872 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12873 wxTextEntryDialog
*result
;
12874 bool temp2
= False
;
12875 bool temp3
= False
;
12876 bool temp4
= False
;
12878 PyObject
* obj0
= 0 ;
12879 PyObject
* obj1
= 0 ;
12880 PyObject
* obj2
= 0 ;
12881 PyObject
* obj3
= 0 ;
12882 PyObject
* obj4
= 0 ;
12883 PyObject
* obj5
= 0 ;
12884 char *kwnames
[] = {
12885 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12892 arg2
= wxString_in_helper(obj1
);
12893 if (arg2
== NULL
) SWIG_fail
;
12898 arg3
= wxString_in_helper(obj2
);
12899 if (arg3
== NULL
) SWIG_fail
;
12905 arg4
= wxString_in_helper(obj3
);
12906 if (arg4
== NULL
) SWIG_fail
;
12911 arg5
= (long)SWIG_As_long(obj4
);
12912 if (PyErr_Occurred()) SWIG_fail
;
12917 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12921 if (!wxPyCheckForApp()) SWIG_fail
;
12922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12923 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
12925 wxPyEndAllowThreads(__tstate
);
12926 if (PyErr_Occurred()) SWIG_fail
;
12928 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
12959 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12960 PyObject
*resultobj
;
12961 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12963 PyObject
* obj0
= 0 ;
12964 char *kwnames
[] = {
12965 (char *) "self", NULL
12968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
12969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
12970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12973 result
= (arg1
)->GetValue();
12975 wxPyEndAllowThreads(__tstate
);
12976 if (PyErr_Occurred()) SWIG_fail
;
12980 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12982 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12991 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12992 PyObject
*resultobj
;
12993 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
12994 wxString
*arg2
= 0 ;
12995 bool temp2
= False
;
12996 PyObject
* obj0
= 0 ;
12997 PyObject
* obj1
= 0 ;
12998 char *kwnames
[] = {
12999 (char *) "self",(char *) "value", NULL
13002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
13004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13006 arg2
= wxString_in_helper(obj1
);
13007 if (arg2
== NULL
) SWIG_fail
;
13011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13012 (arg1
)->SetValue((wxString
const &)*arg2
);
13014 wxPyEndAllowThreads(__tstate
);
13015 if (PyErr_Occurred()) SWIG_fail
;
13017 Py_INCREF(Py_None
); resultobj
= Py_None
;
13032 static PyObject
* TextEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
13034 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13035 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
13037 return Py_BuildValue((char *)"");
13039 static PyObject
*_wrap_new_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13040 PyObject
*resultobj
;
13041 wxFontData
*result
;
13042 char *kwnames
[] = {
13046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
13048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13049 result
= (wxFontData
*)new wxFontData();
13051 wxPyEndAllowThreads(__tstate
);
13052 if (PyErr_Occurred()) SWIG_fail
;
13054 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
13061 static PyObject
*_wrap_delete_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13062 PyObject
*resultobj
;
13063 wxFontData
*arg1
= (wxFontData
*) 0 ;
13064 PyObject
* obj0
= 0 ;
13065 char *kwnames
[] = {
13066 (char *) "self", NULL
13069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
13070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13076 wxPyEndAllowThreads(__tstate
);
13077 if (PyErr_Occurred()) SWIG_fail
;
13079 Py_INCREF(Py_None
); resultobj
= Py_None
;
13086 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13087 PyObject
*resultobj
;
13088 wxFontData
*arg1
= (wxFontData
*) 0 ;
13090 PyObject
* obj0
= 0 ;
13091 PyObject
* obj1
= 0 ;
13092 char *kwnames
[] = {
13093 (char *) "self",(char *) "enable", NULL
13096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
13097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13099 arg2
= (bool)SWIG_As_bool(obj1
);
13100 if (PyErr_Occurred()) SWIG_fail
;
13102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13103 (arg1
)->EnableEffects(arg2
);
13105 wxPyEndAllowThreads(__tstate
);
13106 if (PyErr_Occurred()) SWIG_fail
;
13108 Py_INCREF(Py_None
); resultobj
= Py_None
;
13115 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13116 PyObject
*resultobj
;
13117 wxFontData
*arg1
= (wxFontData
*) 0 ;
13119 PyObject
* obj0
= 0 ;
13120 char *kwnames
[] = {
13121 (char *) "self", NULL
13124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
13125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13129 result
= (bool)(arg1
)->GetAllowSymbols();
13131 wxPyEndAllowThreads(__tstate
);
13132 if (PyErr_Occurred()) SWIG_fail
;
13135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13143 static PyObject
*_wrap_FontData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13144 PyObject
*resultobj
;
13145 wxFontData
*arg1
= (wxFontData
*) 0 ;
13147 PyObject
* obj0
= 0 ;
13148 char *kwnames
[] = {
13149 (char *) "self", NULL
13152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
13153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13157 result
= (arg1
)->GetColour();
13159 wxPyEndAllowThreads(__tstate
);
13160 if (PyErr_Occurred()) SWIG_fail
;
13163 wxColour
* resultptr
;
13164 resultptr
= new wxColour((wxColour
&) result
);
13165 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13173 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13174 PyObject
*resultobj
;
13175 wxFontData
*arg1
= (wxFontData
*) 0 ;
13177 PyObject
* obj0
= 0 ;
13178 char *kwnames
[] = {
13179 (char *) "self", NULL
13182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
13183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13187 result
= (arg1
)->GetChosenFont();
13189 wxPyEndAllowThreads(__tstate
);
13190 if (PyErr_Occurred()) SWIG_fail
;
13193 wxFont
* resultptr
;
13194 resultptr
= new wxFont((wxFont
&) result
);
13195 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13203 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13204 PyObject
*resultobj
;
13205 wxFontData
*arg1
= (wxFontData
*) 0 ;
13207 PyObject
* obj0
= 0 ;
13208 char *kwnames
[] = {
13209 (char *) "self", NULL
13212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
13213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13217 result
= (bool)(arg1
)->GetEnableEffects();
13219 wxPyEndAllowThreads(__tstate
);
13220 if (PyErr_Occurred()) SWIG_fail
;
13223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13231 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13232 PyObject
*resultobj
;
13233 wxFontData
*arg1
= (wxFontData
*) 0 ;
13235 PyObject
* obj0
= 0 ;
13236 char *kwnames
[] = {
13237 (char *) "self", NULL
13240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
13241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13245 result
= (arg1
)->GetInitialFont();
13247 wxPyEndAllowThreads(__tstate
);
13248 if (PyErr_Occurred()) SWIG_fail
;
13251 wxFont
* resultptr
;
13252 resultptr
= new wxFont((wxFont
&) result
);
13253 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13261 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13262 PyObject
*resultobj
;
13263 wxFontData
*arg1
= (wxFontData
*) 0 ;
13265 PyObject
* obj0
= 0 ;
13266 char *kwnames
[] = {
13267 (char *) "self", NULL
13270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
13271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13275 result
= (bool)(arg1
)->GetShowHelp();
13277 wxPyEndAllowThreads(__tstate
);
13278 if (PyErr_Occurred()) SWIG_fail
;
13281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13289 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13290 PyObject
*resultobj
;
13291 wxFontData
*arg1
= (wxFontData
*) 0 ;
13293 PyObject
* obj0
= 0 ;
13294 PyObject
* obj1
= 0 ;
13295 char *kwnames
[] = {
13296 (char *) "self",(char *) "allowSymbols", NULL
13299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
13300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13302 arg2
= (bool)SWIG_As_bool(obj1
);
13303 if (PyErr_Occurred()) SWIG_fail
;
13305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13306 (arg1
)->SetAllowSymbols(arg2
);
13308 wxPyEndAllowThreads(__tstate
);
13309 if (PyErr_Occurred()) SWIG_fail
;
13311 Py_INCREF(Py_None
); resultobj
= Py_None
;
13318 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13319 PyObject
*resultobj
;
13320 wxFontData
*arg1
= (wxFontData
*) 0 ;
13322 PyObject
* obj0
= 0 ;
13323 PyObject
* obj1
= 0 ;
13324 char *kwnames
[] = {
13325 (char *) "self",(char *) "font", NULL
13328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13331 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13332 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13334 if (arg2
== NULL
) {
13335 PyErr_SetString(PyExc_TypeError
,"null reference");
13339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13340 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
13342 wxPyEndAllowThreads(__tstate
);
13343 if (PyErr_Occurred()) SWIG_fail
;
13345 Py_INCREF(Py_None
); resultobj
= Py_None
;
13352 static PyObject
*_wrap_FontData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13353 PyObject
*resultobj
;
13354 wxFontData
*arg1
= (wxFontData
*) 0 ;
13355 wxColour
*arg2
= 0 ;
13357 PyObject
* obj0
= 0 ;
13358 PyObject
* obj1
= 0 ;
13359 char *kwnames
[] = {
13360 (char *) "self",(char *) "colour", NULL
13363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13368 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13372 (arg1
)->SetColour((wxColour
const &)*arg2
);
13374 wxPyEndAllowThreads(__tstate
);
13375 if (PyErr_Occurred()) SWIG_fail
;
13377 Py_INCREF(Py_None
); resultobj
= Py_None
;
13384 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13385 PyObject
*resultobj
;
13386 wxFontData
*arg1
= (wxFontData
*) 0 ;
13388 PyObject
* obj0
= 0 ;
13389 PyObject
* obj1
= 0 ;
13390 char *kwnames
[] = {
13391 (char *) "self",(char *) "font", NULL
13394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13397 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13398 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13400 if (arg2
== NULL
) {
13401 PyErr_SetString(PyExc_TypeError
,"null reference");
13405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13406 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
13408 wxPyEndAllowThreads(__tstate
);
13409 if (PyErr_Occurred()) SWIG_fail
;
13411 Py_INCREF(Py_None
); resultobj
= Py_None
;
13418 static PyObject
*_wrap_FontData_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13419 PyObject
*resultobj
;
13420 wxFontData
*arg1
= (wxFontData
*) 0 ;
13423 PyObject
* obj0
= 0 ;
13424 PyObject
* obj1
= 0 ;
13425 PyObject
* obj2
= 0 ;
13426 char *kwnames
[] = {
13427 (char *) "self",(char *) "min",(char *) "max", NULL
13430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13433 arg2
= (int)SWIG_As_int(obj1
);
13434 if (PyErr_Occurred()) SWIG_fail
;
13435 arg3
= (int)SWIG_As_int(obj2
);
13436 if (PyErr_Occurred()) SWIG_fail
;
13438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13439 (arg1
)->SetRange(arg2
,arg3
);
13441 wxPyEndAllowThreads(__tstate
);
13442 if (PyErr_Occurred()) SWIG_fail
;
13444 Py_INCREF(Py_None
); resultobj
= Py_None
;
13451 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13452 PyObject
*resultobj
;
13453 wxFontData
*arg1
= (wxFontData
*) 0 ;
13455 PyObject
* obj0
= 0 ;
13456 PyObject
* obj1
= 0 ;
13457 char *kwnames
[] = {
13458 (char *) "self",(char *) "showHelp", NULL
13461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
13462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13464 arg2
= (bool)SWIG_As_bool(obj1
);
13465 if (PyErr_Occurred()) SWIG_fail
;
13467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13468 (arg1
)->SetShowHelp(arg2
);
13470 wxPyEndAllowThreads(__tstate
);
13471 if (PyErr_Occurred()) SWIG_fail
;
13473 Py_INCREF(Py_None
); resultobj
= Py_None
;
13480 static PyObject
* FontData_swigregister(PyObject
*, PyObject
*args
) {
13482 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13483 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
13485 return Py_BuildValue((char *)"");
13487 static PyObject
*_wrap_new_FontDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13488 PyObject
*resultobj
;
13489 wxWindow
*arg1
= (wxWindow
*) 0 ;
13490 wxFontData
*arg2
= 0 ;
13491 wxFontDialog
*result
;
13492 PyObject
* obj0
= 0 ;
13493 PyObject
* obj1
= 0 ;
13494 char *kwnames
[] = {
13495 (char *) "parent",(char *) "data", NULL
13498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
13499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13501 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFontData
,
13502 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13504 if (arg2
== NULL
) {
13505 PyErr_SetString(PyExc_TypeError
,"null reference");
13509 if (!wxPyCheckForApp()) SWIG_fail
;
13510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13511 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
13513 wxPyEndAllowThreads(__tstate
);
13514 if (PyErr_Occurred()) SWIG_fail
;
13516 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
13523 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13524 PyObject
*resultobj
;
13525 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
13526 wxFontData
*result
;
13527 PyObject
* obj0
= 0 ;
13528 char *kwnames
[] = {
13529 (char *) "self", NULL
13532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
13533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontDialog
,
13534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13538 wxFontData
&_result_ref
= (arg1
)->GetFontData();
13539 result
= (wxFontData
*) &_result_ref
;
13542 wxPyEndAllowThreads(__tstate
);
13543 if (PyErr_Occurred()) SWIG_fail
;
13545 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
13552 static PyObject
* FontDialog_swigregister(PyObject
*, PyObject
*args
) {
13554 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13555 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
13557 return Py_BuildValue((char *)"");
13559 static PyObject
*_wrap_new_MessageDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13560 PyObject
*resultobj
;
13561 wxWindow
*arg1
= (wxWindow
*) 0 ;
13562 wxString
*arg2
= 0 ;
13563 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
13564 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13565 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
13566 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13567 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13568 wxMessageDialog
*result
;
13569 bool temp2
= False
;
13570 bool temp3
= False
;
13572 PyObject
* obj0
= 0 ;
13573 PyObject
* obj1
= 0 ;
13574 PyObject
* obj2
= 0 ;
13575 PyObject
* obj3
= 0 ;
13576 PyObject
* obj4
= 0 ;
13577 char *kwnames
[] = {
13578 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13585 arg2
= wxString_in_helper(obj1
);
13586 if (arg2
== NULL
) SWIG_fail
;
13591 arg3
= wxString_in_helper(obj2
);
13592 if (arg3
== NULL
) SWIG_fail
;
13597 arg4
= (long)SWIG_As_long(obj3
);
13598 if (PyErr_Occurred()) SWIG_fail
;
13603 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13607 if (!wxPyCheckForApp()) SWIG_fail
;
13608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13609 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
13611 wxPyEndAllowThreads(__tstate
);
13612 if (PyErr_Occurred()) SWIG_fail
;
13614 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
13637 static PyObject
* MessageDialog_swigregister(PyObject
*, PyObject
*args
) {
13639 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13640 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
13642 return Py_BuildValue((char *)"");
13644 static PyObject
*_wrap_new_ProgressDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13645 PyObject
*resultobj
;
13646 wxString
*arg1
= 0 ;
13647 wxString
*arg2
= 0 ;
13648 int arg3
= (int) 100 ;
13649 wxWindow
*arg4
= (wxWindow
*) NULL
;
13650 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
13651 wxProgressDialog
*result
;
13652 bool temp1
= False
;
13653 bool temp2
= False
;
13654 PyObject
* obj0
= 0 ;
13655 PyObject
* obj1
= 0 ;
13656 PyObject
* obj2
= 0 ;
13657 PyObject
* obj3
= 0 ;
13658 PyObject
* obj4
= 0 ;
13659 char *kwnames
[] = {
13660 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13665 arg1
= wxString_in_helper(obj0
);
13666 if (arg1
== NULL
) SWIG_fail
;
13670 arg2
= wxString_in_helper(obj1
);
13671 if (arg2
== NULL
) SWIG_fail
;
13675 arg3
= (int)SWIG_As_int(obj2
);
13676 if (PyErr_Occurred()) SWIG_fail
;
13679 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
13680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13683 arg5
= (int)SWIG_As_int(obj4
);
13684 if (PyErr_Occurred()) SWIG_fail
;
13687 if (!wxPyCheckForApp()) SWIG_fail
;
13688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13689 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
13691 wxPyEndAllowThreads(__tstate
);
13692 if (PyErr_Occurred()) SWIG_fail
;
13694 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
13717 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13718 PyObject
*resultobj
;
13719 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13721 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13722 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13724 bool temp3
= False
;
13725 PyObject
* obj0
= 0 ;
13726 PyObject
* obj1
= 0 ;
13727 PyObject
* obj2
= 0 ;
13728 char *kwnames
[] = {
13729 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13735 arg2
= (int)SWIG_As_int(obj1
);
13736 if (PyErr_Occurred()) SWIG_fail
;
13739 arg3
= wxString_in_helper(obj2
);
13740 if (arg3
== NULL
) SWIG_fail
;
13745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13746 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
13748 wxPyEndAllowThreads(__tstate
);
13749 if (PyErr_Occurred()) SWIG_fail
;
13752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13768 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13769 PyObject
*resultobj
;
13770 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
13771 PyObject
* obj0
= 0 ;
13772 char *kwnames
[] = {
13773 (char *) "self", NULL
13776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
13777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
13778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13783 wxPyEndAllowThreads(__tstate
);
13784 if (PyErr_Occurred()) SWIG_fail
;
13786 Py_INCREF(Py_None
); resultobj
= Py_None
;
13793 static PyObject
* ProgressDialog_swigregister(PyObject
*, PyObject
*args
) {
13795 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13796 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
13798 return Py_BuildValue((char *)"");
13800 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13801 PyObject
*resultobj
;
13802 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13803 int arg2
= (int) 0 ;
13804 wxFindDialogEvent
*result
;
13805 PyObject
* obj0
= 0 ;
13806 PyObject
* obj1
= 0 ;
13807 char *kwnames
[] = {
13808 (char *) "commandType",(char *) "id", NULL
13811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13813 arg1
= (wxEventType
)SWIG_As_int(obj0
);
13814 if (PyErr_Occurred()) SWIG_fail
;
13817 arg2
= (int)SWIG_As_int(obj1
);
13818 if (PyErr_Occurred()) SWIG_fail
;
13821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13822 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
13824 wxPyEndAllowThreads(__tstate
);
13825 if (PyErr_Occurred()) SWIG_fail
;
13827 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
13834 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13835 PyObject
*resultobj
;
13836 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13838 PyObject
* obj0
= 0 ;
13839 char *kwnames
[] = {
13840 (char *) "self", NULL
13843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
13844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13848 result
= (int)(arg1
)->GetFlags();
13850 wxPyEndAllowThreads(__tstate
);
13851 if (PyErr_Occurred()) SWIG_fail
;
13853 resultobj
= SWIG_From_int((int)result
);
13860 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13861 PyObject
*resultobj
;
13862 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13864 PyObject
* obj0
= 0 ;
13865 char *kwnames
[] = {
13866 (char *) "self", NULL
13869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
13870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13875 wxString
const &_result_ref
= (arg1
)->GetFindString();
13876 result
= (wxString
*) &_result_ref
;
13879 wxPyEndAllowThreads(__tstate
);
13880 if (PyErr_Occurred()) SWIG_fail
;
13884 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13886 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13895 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13896 PyObject
*resultobj
;
13897 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13899 PyObject
* obj0
= 0 ;
13900 char *kwnames
[] = {
13901 (char *) "self", NULL
13904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
13905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13910 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
13911 result
= (wxString
*) &_result_ref
;
13914 wxPyEndAllowThreads(__tstate
);
13915 if (PyErr_Occurred()) SWIG_fail
;
13919 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13921 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13930 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13931 PyObject
*resultobj
;
13932 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13933 wxFindReplaceDialog
*result
;
13934 PyObject
* obj0
= 0 ;
13935 char *kwnames
[] = {
13936 (char *) "self", NULL
13939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
13940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13944 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
13946 wxPyEndAllowThreads(__tstate
);
13947 if (PyErr_Occurred()) SWIG_fail
;
13949 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
13956 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13957 PyObject
*resultobj
;
13958 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13960 PyObject
* obj0
= 0 ;
13961 PyObject
* obj1
= 0 ;
13962 char *kwnames
[] = {
13963 (char *) "self",(char *) "flags", NULL
13966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
13967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13969 arg2
= (int)SWIG_As_int(obj1
);
13970 if (PyErr_Occurred()) SWIG_fail
;
13972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13973 (arg1
)->SetFlags(arg2
);
13975 wxPyEndAllowThreads(__tstate
);
13976 if (PyErr_Occurred()) SWIG_fail
;
13978 Py_INCREF(Py_None
); resultobj
= Py_None
;
13985 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13986 PyObject
*resultobj
;
13987 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
13988 wxString
*arg2
= 0 ;
13989 bool temp2
= False
;
13990 PyObject
* obj0
= 0 ;
13991 PyObject
* obj1
= 0 ;
13992 char *kwnames
[] = {
13993 (char *) "self",(char *) "str", NULL
13996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
13997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
13998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14000 arg2
= wxString_in_helper(obj1
);
14001 if (arg2
== NULL
) SWIG_fail
;
14005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14006 (arg1
)->SetFindString((wxString
const &)*arg2
);
14008 wxPyEndAllowThreads(__tstate
);
14009 if (PyErr_Occurred()) SWIG_fail
;
14011 Py_INCREF(Py_None
); resultobj
= Py_None
;
14026 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14027 PyObject
*resultobj
;
14028 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14029 wxString
*arg2
= 0 ;
14030 bool temp2
= False
;
14031 PyObject
* obj0
= 0 ;
14032 PyObject
* obj1
= 0 ;
14033 char *kwnames
[] = {
14034 (char *) "self",(char *) "str", NULL
14037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
14038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14041 arg2
= wxString_in_helper(obj1
);
14042 if (arg2
== NULL
) SWIG_fail
;
14046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14047 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
14049 wxPyEndAllowThreads(__tstate
);
14050 if (PyErr_Occurred()) SWIG_fail
;
14052 Py_INCREF(Py_None
); resultobj
= Py_None
;
14067 static PyObject
* FindDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
14069 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14070 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
14072 return Py_BuildValue((char *)"");
14074 static PyObject
*_wrap_new_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14075 PyObject
*resultobj
;
14076 int arg1
= (int) 0 ;
14077 wxFindReplaceData
*result
;
14078 PyObject
* obj0
= 0 ;
14079 char *kwnames
[] = {
14080 (char *) "flags", NULL
14083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
14085 arg1
= (int)SWIG_As_int(obj0
);
14086 if (PyErr_Occurred()) SWIG_fail
;
14089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14090 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
14092 wxPyEndAllowThreads(__tstate
);
14093 if (PyErr_Occurred()) SWIG_fail
;
14095 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
14102 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14103 PyObject
*resultobj
;
14104 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14105 PyObject
* obj0
= 0 ;
14106 char *kwnames
[] = {
14107 (char *) "self", NULL
14110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
14111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14117 wxPyEndAllowThreads(__tstate
);
14118 if (PyErr_Occurred()) SWIG_fail
;
14120 Py_INCREF(Py_None
); resultobj
= Py_None
;
14127 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14128 PyObject
*resultobj
;
14129 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14131 PyObject
* obj0
= 0 ;
14132 char *kwnames
[] = {
14133 (char *) "self", NULL
14136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
14137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14142 wxString
const &_result_ref
= (arg1
)->GetFindString();
14143 result
= (wxString
*) &_result_ref
;
14146 wxPyEndAllowThreads(__tstate
);
14147 if (PyErr_Occurred()) SWIG_fail
;
14151 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14153 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14162 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14163 PyObject
*resultobj
;
14164 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14166 PyObject
* obj0
= 0 ;
14167 char *kwnames
[] = {
14168 (char *) "self", NULL
14171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
14172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14177 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
14178 result
= (wxString
*) &_result_ref
;
14181 wxPyEndAllowThreads(__tstate
);
14182 if (PyErr_Occurred()) SWIG_fail
;
14186 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14188 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14197 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14198 PyObject
*resultobj
;
14199 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14201 PyObject
* obj0
= 0 ;
14202 char *kwnames
[] = {
14203 (char *) "self", NULL
14206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
14207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14211 result
= (int)(arg1
)->GetFlags();
14213 wxPyEndAllowThreads(__tstate
);
14214 if (PyErr_Occurred()) SWIG_fail
;
14216 resultobj
= SWIG_From_int((int)result
);
14223 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14224 PyObject
*resultobj
;
14225 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14227 PyObject
* obj0
= 0 ;
14228 PyObject
* obj1
= 0 ;
14229 char *kwnames
[] = {
14230 (char *) "self",(char *) "flags", NULL
14233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
14234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14236 arg2
= (int)SWIG_As_int(obj1
);
14237 if (PyErr_Occurred()) SWIG_fail
;
14239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14240 (arg1
)->SetFlags(arg2
);
14242 wxPyEndAllowThreads(__tstate
);
14243 if (PyErr_Occurred()) SWIG_fail
;
14245 Py_INCREF(Py_None
); resultobj
= Py_None
;
14252 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14253 PyObject
*resultobj
;
14254 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 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:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
14264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
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
)->SetFindString((wxString
const &)*arg2
);
14275 wxPyEndAllowThreads(__tstate
);
14276 if (PyErr_Occurred()) SWIG_fail
;
14278 Py_INCREF(Py_None
); resultobj
= Py_None
;
14293 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14294 PyObject
*resultobj
;
14295 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14296 wxString
*arg2
= 0 ;
14297 bool temp2
= False
;
14298 PyObject
* obj0
= 0 ;
14299 PyObject
* obj1
= 0 ;
14300 char *kwnames
[] = {
14301 (char *) "self",(char *) "str", NULL
14304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
14305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14308 arg2
= wxString_in_helper(obj1
);
14309 if (arg2
== NULL
) SWIG_fail
;
14313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14314 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
14316 wxPyEndAllowThreads(__tstate
);
14317 if (PyErr_Occurred()) SWIG_fail
;
14319 Py_INCREF(Py_None
); resultobj
= Py_None
;
14334 static PyObject
* FindReplaceData_swigregister(PyObject
*, PyObject
*args
) {
14336 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14337 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
14339 return Py_BuildValue((char *)"");
14341 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14342 PyObject
*resultobj
;
14343 wxWindow
*arg1
= (wxWindow
*) 0 ;
14344 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14345 wxString
*arg3
= 0 ;
14346 int arg4
= (int) 0 ;
14347 wxFindReplaceDialog
*result
;
14348 bool temp3
= False
;
14349 PyObject
* obj0
= 0 ;
14350 PyObject
* obj1
= 0 ;
14351 PyObject
* obj2
= 0 ;
14352 PyObject
* obj3
= 0 ;
14353 char *kwnames
[] = {
14354 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14360 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14363 arg3
= wxString_in_helper(obj2
);
14364 if (arg3
== NULL
) SWIG_fail
;
14368 arg4
= (int)SWIG_As_int(obj3
);
14369 if (PyErr_Occurred()) SWIG_fail
;
14372 if (!wxPyCheckForApp()) SWIG_fail
;
14373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14374 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
14376 wxPyEndAllowThreads(__tstate
);
14377 if (PyErr_Occurred()) SWIG_fail
;
14379 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14394 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14395 PyObject
*resultobj
;
14396 wxFindReplaceDialog
*result
;
14397 char *kwnames
[] = {
14401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
14403 if (!wxPyCheckForApp()) SWIG_fail
;
14404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14405 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
14407 wxPyEndAllowThreads(__tstate
);
14408 if (PyErr_Occurred()) SWIG_fail
;
14410 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14417 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14418 PyObject
*resultobj
;
14419 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14420 wxWindow
*arg2
= (wxWindow
*) 0 ;
14421 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
14422 wxString
*arg4
= 0 ;
14423 int arg5
= (int) 0 ;
14425 bool temp4
= False
;
14426 PyObject
* obj0
= 0 ;
14427 PyObject
* obj1
= 0 ;
14428 PyObject
* obj2
= 0 ;
14429 PyObject
* obj3
= 0 ;
14430 PyObject
* obj4
= 0 ;
14431 char *kwnames
[] = {
14432 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14438 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14440 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFindReplaceData
,
14441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14443 arg4
= wxString_in_helper(obj3
);
14444 if (arg4
== NULL
) SWIG_fail
;
14448 arg5
= (int)SWIG_As_int(obj4
);
14449 if (PyErr_Occurred()) SWIG_fail
;
14452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14453 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14455 wxPyEndAllowThreads(__tstate
);
14456 if (PyErr_Occurred()) SWIG_fail
;
14459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14475 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14476 PyObject
*resultobj
;
14477 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14478 wxFindReplaceData
*result
;
14479 PyObject
* obj0
= 0 ;
14480 char *kwnames
[] = {
14481 (char *) "self", NULL
14484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
14485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14489 result
= (wxFindReplaceData
*)(arg1
)->GetData();
14491 wxPyEndAllowThreads(__tstate
);
14492 if (PyErr_Occurred()) SWIG_fail
;
14494 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
14501 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14502 PyObject
*resultobj
;
14503 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14504 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14505 PyObject
* obj0
= 0 ;
14506 PyObject
* obj1
= 0 ;
14507 char *kwnames
[] = {
14508 (char *) "self",(char *) "data", NULL
14511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
14512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14514 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14518 (arg1
)->SetData(arg2
);
14520 wxPyEndAllowThreads(__tstate
);
14521 if (PyErr_Occurred()) SWIG_fail
;
14523 Py_INCREF(Py_None
); resultobj
= Py_None
;
14530 static PyObject
* FindReplaceDialog_swigregister(PyObject
*, PyObject
*args
) {
14532 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14533 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
14535 return Py_BuildValue((char *)"");
14537 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14538 PyObject
*resultobj
;
14539 wxWindow
*arg1
= (wxWindow
*) 0 ;
14540 int arg2
= (int) (int)-1 ;
14541 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14542 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14543 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14544 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14545 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14546 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14547 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14548 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14549 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14550 wxMDIParentFrame
*result
;
14551 bool temp3
= False
;
14554 bool temp7
= False
;
14555 PyObject
* obj0
= 0 ;
14556 PyObject
* obj1
= 0 ;
14557 PyObject
* obj2
= 0 ;
14558 PyObject
* obj3
= 0 ;
14559 PyObject
* obj4
= 0 ;
14560 PyObject
* obj5
= 0 ;
14561 PyObject
* obj6
= 0 ;
14562 char *kwnames
[] = {
14563 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14570 arg2
= (int)SWIG_As_int(obj1
);
14571 if (PyErr_Occurred()) SWIG_fail
;
14575 arg3
= wxString_in_helper(obj2
);
14576 if (arg3
== NULL
) SWIG_fail
;
14583 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14589 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14593 arg6
= (long)SWIG_As_long(obj5
);
14594 if (PyErr_Occurred()) SWIG_fail
;
14598 arg7
= wxString_in_helper(obj6
);
14599 if (arg7
== NULL
) SWIG_fail
;
14604 if (!wxPyCheckForApp()) SWIG_fail
;
14605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14606 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14608 wxPyEndAllowThreads(__tstate
);
14609 if (PyErr_Occurred()) SWIG_fail
;
14611 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14634 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14635 PyObject
*resultobj
;
14636 wxMDIParentFrame
*result
;
14637 char *kwnames
[] = {
14641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
14643 if (!wxPyCheckForApp()) SWIG_fail
;
14644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14645 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
14647 wxPyEndAllowThreads(__tstate
);
14648 if (PyErr_Occurred()) SWIG_fail
;
14650 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14657 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14658 PyObject
*resultobj
;
14659 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14660 wxWindow
*arg2
= (wxWindow
*) 0 ;
14661 int arg3
= (int) (int)-1 ;
14662 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14663 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14664 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14665 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14666 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14667 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14668 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14669 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
14670 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14672 bool temp4
= False
;
14675 bool temp8
= False
;
14676 PyObject
* obj0
= 0 ;
14677 PyObject
* obj1
= 0 ;
14678 PyObject
* obj2
= 0 ;
14679 PyObject
* obj3
= 0 ;
14680 PyObject
* obj4
= 0 ;
14681 PyObject
* obj5
= 0 ;
14682 PyObject
* obj6
= 0 ;
14683 PyObject
* obj7
= 0 ;
14684 char *kwnames
[] = {
14685 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14691 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14694 arg3
= (int)SWIG_As_int(obj2
);
14695 if (PyErr_Occurred()) SWIG_fail
;
14699 arg4
= wxString_in_helper(obj3
);
14700 if (arg4
== NULL
) SWIG_fail
;
14707 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14713 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14717 arg7
= (long)SWIG_As_long(obj6
);
14718 if (PyErr_Occurred()) SWIG_fail
;
14722 arg8
= wxString_in_helper(obj7
);
14723 if (arg8
== NULL
) SWIG_fail
;
14728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14729 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
14731 wxPyEndAllowThreads(__tstate
);
14732 if (PyErr_Occurred()) SWIG_fail
;
14735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14759 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14760 PyObject
*resultobj
;
14761 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14762 PyObject
* obj0
= 0 ;
14763 char *kwnames
[] = {
14764 (char *) "self", NULL
14767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
14768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14772 (arg1
)->ActivateNext();
14774 wxPyEndAllowThreads(__tstate
);
14775 if (PyErr_Occurred()) SWIG_fail
;
14777 Py_INCREF(Py_None
); resultobj
= Py_None
;
14784 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14785 PyObject
*resultobj
;
14786 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14787 PyObject
* obj0
= 0 ;
14788 char *kwnames
[] = {
14789 (char *) "self", NULL
14792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
14793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14797 (arg1
)->ActivatePrevious();
14799 wxPyEndAllowThreads(__tstate
);
14800 if (PyErr_Occurred()) SWIG_fail
;
14802 Py_INCREF(Py_None
); resultobj
= Py_None
;
14809 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14810 PyObject
*resultobj
;
14811 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14812 PyObject
* obj0
= 0 ;
14813 char *kwnames
[] = {
14814 (char *) "self", NULL
14817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
14818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14822 (arg1
)->ArrangeIcons();
14824 wxPyEndAllowThreads(__tstate
);
14825 if (PyErr_Occurred()) SWIG_fail
;
14827 Py_INCREF(Py_None
); resultobj
= Py_None
;
14834 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14835 PyObject
*resultobj
;
14836 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14837 PyObject
* obj0
= 0 ;
14838 char *kwnames
[] = {
14839 (char *) "self", NULL
14842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
14843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14849 wxPyEndAllowThreads(__tstate
);
14850 if (PyErr_Occurred()) SWIG_fail
;
14852 Py_INCREF(Py_None
); resultobj
= Py_None
;
14859 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14860 PyObject
*resultobj
;
14861 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14862 wxMDIChildFrame
*result
;
14863 PyObject
* obj0
= 0 ;
14864 char *kwnames
[] = {
14865 (char *) "self", NULL
14868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
14869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14873 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
14875 wxPyEndAllowThreads(__tstate
);
14876 if (PyErr_Occurred()) SWIG_fail
;
14879 resultobj
= wxPyMake_wxObject(result
, 0);
14887 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14888 PyObject
*resultobj
;
14889 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14890 wxMDIClientWindow
*result
;
14891 PyObject
* obj0
= 0 ;
14892 char *kwnames
[] = {
14893 (char *) "self", NULL
14896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
14897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14901 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
14903 wxPyEndAllowThreads(__tstate
);
14904 if (PyErr_Occurred()) SWIG_fail
;
14907 resultobj
= wxPyMake_wxObject(result
, 0);
14915 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14916 PyObject
*resultobj
;
14917 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14919 PyObject
* obj0
= 0 ;
14920 char *kwnames
[] = {
14921 (char *) "self", NULL
14924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
14925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14929 result
= (wxWindow
*)(arg1
)->GetToolBar();
14931 wxPyEndAllowThreads(__tstate
);
14932 if (PyErr_Occurred()) SWIG_fail
;
14935 resultobj
= wxPyMake_wxObject(result
, 0);
14943 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14944 PyObject
*resultobj
;
14945 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14946 PyObject
* obj0
= 0 ;
14947 char *kwnames
[] = {
14948 (char *) "self", NULL
14951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
14952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
14953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14958 wxPyEndAllowThreads(__tstate
);
14959 if (PyErr_Occurred()) SWIG_fail
;
14961 Py_INCREF(Py_None
); resultobj
= Py_None
;
14968 static PyObject
* MDIParentFrame_swigregister(PyObject
*, PyObject
*args
) {
14970 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14971 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
14973 return Py_BuildValue((char *)"");
14975 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14976 PyObject
*resultobj
;
14977 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
14978 int arg2
= (int) (int)-1 ;
14979 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14980 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14981 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14982 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14983 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14984 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14985 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
14986 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14987 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14988 wxMDIChildFrame
*result
;
14989 bool temp3
= False
;
14992 bool temp7
= False
;
14993 PyObject
* obj0
= 0 ;
14994 PyObject
* obj1
= 0 ;
14995 PyObject
* obj2
= 0 ;
14996 PyObject
* obj3
= 0 ;
14997 PyObject
* obj4
= 0 ;
14998 PyObject
* obj5
= 0 ;
14999 PyObject
* obj6
= 0 ;
15000 char *kwnames
[] = {
15001 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15008 arg2
= (int)SWIG_As_int(obj1
);
15009 if (PyErr_Occurred()) SWIG_fail
;
15013 arg3
= wxString_in_helper(obj2
);
15014 if (arg3
== NULL
) SWIG_fail
;
15021 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15027 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15031 arg6
= (long)SWIG_As_long(obj5
);
15032 if (PyErr_Occurred()) SWIG_fail
;
15036 arg7
= wxString_in_helper(obj6
);
15037 if (arg7
== NULL
) SWIG_fail
;
15042 if (!wxPyCheckForApp()) SWIG_fail
;
15043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15044 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15046 wxPyEndAllowThreads(__tstate
);
15047 if (PyErr_Occurred()) SWIG_fail
;
15049 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
15072 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15073 PyObject
*resultobj
;
15074 wxMDIChildFrame
*result
;
15075 char *kwnames
[] = {
15079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
15081 if (!wxPyCheckForApp()) SWIG_fail
;
15082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15083 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
15085 wxPyEndAllowThreads(__tstate
);
15086 if (PyErr_Occurred()) SWIG_fail
;
15088 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
15095 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15096 PyObject
*resultobj
;
15097 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15098 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
15099 int arg3
= (int) (int)-1 ;
15100 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15101 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15102 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15103 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15104 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15105 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15106 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
15107 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
15108 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15110 bool temp4
= False
;
15113 bool temp8
= False
;
15114 PyObject
* obj0
= 0 ;
15115 PyObject
* obj1
= 0 ;
15116 PyObject
* obj2
= 0 ;
15117 PyObject
* obj3
= 0 ;
15118 PyObject
* obj4
= 0 ;
15119 PyObject
* obj5
= 0 ;
15120 PyObject
* obj6
= 0 ;
15121 PyObject
* obj7
= 0 ;
15122 char *kwnames
[] = {
15123 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
15127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15129 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
15130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15132 arg3
= (int)SWIG_As_int(obj2
);
15133 if (PyErr_Occurred()) SWIG_fail
;
15137 arg4
= wxString_in_helper(obj3
);
15138 if (arg4
== NULL
) SWIG_fail
;
15145 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15151 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15155 arg7
= (long)SWIG_As_long(obj6
);
15156 if (PyErr_Occurred()) SWIG_fail
;
15160 arg8
= wxString_in_helper(obj7
);
15161 if (arg8
== NULL
) SWIG_fail
;
15166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15167 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
15169 wxPyEndAllowThreads(__tstate
);
15170 if (PyErr_Occurred()) SWIG_fail
;
15173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15197 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15198 PyObject
*resultobj
;
15199 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15200 PyObject
* obj0
= 0 ;
15201 char *kwnames
[] = {
15202 (char *) "self", NULL
15205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
15206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15210 (arg1
)->Activate();
15212 wxPyEndAllowThreads(__tstate
);
15213 if (PyErr_Occurred()) SWIG_fail
;
15215 Py_INCREF(Py_None
); resultobj
= Py_None
;
15222 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15223 PyObject
*resultobj
;
15224 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15226 PyObject
* obj0
= 0 ;
15227 PyObject
* obj1
= 0 ;
15228 char *kwnames
[] = {
15229 (char *) "self",(char *) "maximize", NULL
15232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
15233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15235 arg2
= (bool)SWIG_As_bool(obj1
);
15236 if (PyErr_Occurred()) SWIG_fail
;
15238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15239 (arg1
)->Maximize(arg2
);
15241 wxPyEndAllowThreads(__tstate
);
15242 if (PyErr_Occurred()) SWIG_fail
;
15244 Py_INCREF(Py_None
); resultobj
= Py_None
;
15251 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15252 PyObject
*resultobj
;
15253 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15254 PyObject
* obj0
= 0 ;
15255 char *kwnames
[] = {
15256 (char *) "self", NULL
15259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
15260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15266 wxPyEndAllowThreads(__tstate
);
15267 if (PyErr_Occurred()) SWIG_fail
;
15269 Py_INCREF(Py_None
); resultobj
= Py_None
;
15276 static PyObject
* MDIChildFrame_swigregister(PyObject
*, PyObject
*args
) {
15278 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15279 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
15281 return Py_BuildValue((char *)"");
15283 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15284 PyObject
*resultobj
;
15285 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15286 long arg2
= (long) 0 ;
15287 wxMDIClientWindow
*result
;
15288 PyObject
* obj0
= 0 ;
15289 PyObject
* obj1
= 0 ;
15290 char *kwnames
[] = {
15291 (char *) "parent",(char *) "style", NULL
15294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
15295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15298 arg2
= (long)SWIG_As_long(obj1
);
15299 if (PyErr_Occurred()) SWIG_fail
;
15302 if (!wxPyCheckForApp()) SWIG_fail
;
15303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15304 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
15306 wxPyEndAllowThreads(__tstate
);
15307 if (PyErr_Occurred()) SWIG_fail
;
15309 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
15316 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15317 PyObject
*resultobj
;
15318 wxMDIClientWindow
*result
;
15319 char *kwnames
[] = {
15323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
15325 if (!wxPyCheckForApp()) SWIG_fail
;
15326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15327 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
15329 wxPyEndAllowThreads(__tstate
);
15330 if (PyErr_Occurred()) SWIG_fail
;
15332 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
15339 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15340 PyObject
*resultobj
;
15341 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
15342 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
15343 long arg3
= (long) 0 ;
15345 PyObject
* obj0
= 0 ;
15346 PyObject
* obj1
= 0 ;
15347 PyObject
* obj2
= 0 ;
15348 char *kwnames
[] = {
15349 (char *) "self",(char *) "parent",(char *) "style", NULL
15352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIClientWindow
,
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
= (long)SWIG_As_long(obj2
);
15359 if (PyErr_Occurred()) SWIG_fail
;
15362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15363 result
= (bool)(arg1
)->Create(arg2
,arg3
);
15365 wxPyEndAllowThreads(__tstate
);
15366 if (PyErr_Occurred()) SWIG_fail
;
15369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15377 static PyObject
* MDIClientWindow_swigregister(PyObject
*, PyObject
*args
) {
15379 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15380 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
15382 return Py_BuildValue((char *)"");
15384 static PyObject
*_wrap_new_PyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15385 PyObject
*resultobj
;
15386 wxWindow
*arg1
= (wxWindow
*) 0 ;
15387 int arg2
= (int) (int)-1 ;
15388 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15389 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15390 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15391 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15392 long arg5
= (long) 0 ;
15393 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15394 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15395 wxPyWindow
*result
;
15398 bool temp6
= False
;
15399 PyObject
* obj0
= 0 ;
15400 PyObject
* obj1
= 0 ;
15401 PyObject
* obj2
= 0 ;
15402 PyObject
* obj3
= 0 ;
15403 PyObject
* obj4
= 0 ;
15404 PyObject
* obj5
= 0 ;
15405 char *kwnames
[] = {
15406 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15413 arg2
= (int)SWIG_As_int(obj1
);
15414 if (PyErr_Occurred()) SWIG_fail
;
15419 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15425 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15429 arg5
= (long)SWIG_As_long(obj4
);
15430 if (PyErr_Occurred()) SWIG_fail
;
15434 arg6
= wxString_in_helper(obj5
);
15435 if (arg6
== NULL
) SWIG_fail
;
15440 if (!wxPyCheckForApp()) SWIG_fail
;
15441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15442 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15444 wxPyEndAllowThreads(__tstate
);
15445 if (PyErr_Occurred()) SWIG_fail
;
15447 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15462 static PyObject
*_wrap_new_PrePyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15463 PyObject
*resultobj
;
15464 wxPyWindow
*result
;
15465 char *kwnames
[] = {
15469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyWindow",kwnames
)) goto fail
;
15471 if (!wxPyCheckForApp()) SWIG_fail
;
15472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15473 result
= (wxPyWindow
*)new wxPyWindow();
15475 wxPyEndAllowThreads(__tstate
);
15476 if (PyErr_Occurred()) SWIG_fail
;
15478 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15485 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15486 PyObject
*resultobj
;
15487 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15488 PyObject
*arg2
= (PyObject
*) 0 ;
15489 PyObject
*arg3
= (PyObject
*) 0 ;
15490 PyObject
* obj0
= 0 ;
15491 PyObject
* obj1
= 0 ;
15492 PyObject
* obj2
= 0 ;
15493 char *kwnames
[] = {
15494 (char *) "self",(char *) "self",(char *) "_class", NULL
15497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15504 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15506 wxPyEndAllowThreads(__tstate
);
15507 if (PyErr_Occurred()) SWIG_fail
;
15509 Py_INCREF(Py_None
); resultobj
= Py_None
;
15516 static PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15517 PyObject
*resultobj
;
15518 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15521 PyObject
* obj0
= 0 ;
15522 PyObject
* obj1
= 0 ;
15523 char *kwnames
[] = {
15524 (char *) "self",(char *) "size", NULL
15527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15532 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15536 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
15538 wxPyEndAllowThreads(__tstate
);
15539 if (PyErr_Occurred()) SWIG_fail
;
15541 Py_INCREF(Py_None
); resultobj
= Py_None
;
15548 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15549 PyObject
*resultobj
;
15550 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15555 PyObject
* obj0
= 0 ;
15556 PyObject
* obj1
= 0 ;
15557 PyObject
* obj2
= 0 ;
15558 PyObject
* obj3
= 0 ;
15559 PyObject
* obj4
= 0 ;
15560 char *kwnames
[] = {
15561 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15567 arg2
= (int)SWIG_As_int(obj1
);
15568 if (PyErr_Occurred()) SWIG_fail
;
15569 arg3
= (int)SWIG_As_int(obj2
);
15570 if (PyErr_Occurred()) SWIG_fail
;
15571 arg4
= (int)SWIG_As_int(obj3
);
15572 if (PyErr_Occurred()) SWIG_fail
;
15573 arg5
= (int)SWIG_As_int(obj4
);
15574 if (PyErr_Occurred()) SWIG_fail
;
15576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15577 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
15579 wxPyEndAllowThreads(__tstate
);
15580 if (PyErr_Occurred()) SWIG_fail
;
15582 Py_INCREF(Py_None
); resultobj
= Py_None
;
15589 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15590 PyObject
*resultobj
;
15591 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15596 int arg6
= (int) wxSIZE_AUTO
;
15597 PyObject
* obj0
= 0 ;
15598 PyObject
* obj1
= 0 ;
15599 PyObject
* obj2
= 0 ;
15600 PyObject
* obj3
= 0 ;
15601 PyObject
* obj4
= 0 ;
15602 PyObject
* obj5
= 0 ;
15603 char *kwnames
[] = {
15604 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15610 arg2
= (int)SWIG_As_int(obj1
);
15611 if (PyErr_Occurred()) SWIG_fail
;
15612 arg3
= (int)SWIG_As_int(obj2
);
15613 if (PyErr_Occurred()) SWIG_fail
;
15614 arg4
= (int)SWIG_As_int(obj3
);
15615 if (PyErr_Occurred()) SWIG_fail
;
15616 arg5
= (int)SWIG_As_int(obj4
);
15617 if (PyErr_Occurred()) SWIG_fail
;
15619 arg6
= (int)SWIG_As_int(obj5
);
15620 if (PyErr_Occurred()) SWIG_fail
;
15623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15624 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
15626 wxPyEndAllowThreads(__tstate
);
15627 if (PyErr_Occurred()) SWIG_fail
;
15629 Py_INCREF(Py_None
); resultobj
= Py_None
;
15636 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15637 PyObject
*resultobj
;
15638 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15641 PyObject
* obj0
= 0 ;
15642 PyObject
* obj1
= 0 ;
15643 PyObject
* obj2
= 0 ;
15644 char *kwnames
[] = {
15645 (char *) "self",(char *) "width",(char *) "height", NULL
15648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15651 arg2
= (int)SWIG_As_int(obj1
);
15652 if (PyErr_Occurred()) SWIG_fail
;
15653 arg3
= (int)SWIG_As_int(obj2
);
15654 if (PyErr_Occurred()) SWIG_fail
;
15656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15657 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
15659 wxPyEndAllowThreads(__tstate
);
15660 if (PyErr_Occurred()) SWIG_fail
;
15662 Py_INCREF(Py_None
); resultobj
= Py_None
;
15669 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15670 PyObject
*resultobj
;
15671 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15674 PyObject
* obj0
= 0 ;
15675 PyObject
* obj1
= 0 ;
15676 PyObject
* obj2
= 0 ;
15677 char *kwnames
[] = {
15678 (char *) "self",(char *) "x",(char *) "y", NULL
15681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15684 arg2
= (int)SWIG_As_int(obj1
);
15685 if (PyErr_Occurred()) SWIG_fail
;
15686 arg3
= (int)SWIG_As_int(obj2
);
15687 if (PyErr_Occurred()) SWIG_fail
;
15689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15690 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
15692 wxPyEndAllowThreads(__tstate
);
15693 if (PyErr_Occurred()) SWIG_fail
;
15695 Py_INCREF(Py_None
); resultobj
= Py_None
;
15702 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15703 PyObject
*resultobj
;
15704 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15705 int *arg2
= (int *) 0 ;
15706 int *arg3
= (int *) 0 ;
15711 PyObject
* obj0
= 0 ;
15712 char *kwnames
[] = {
15713 (char *) "self", NULL
15716 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
15717 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
15719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15723 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
15725 wxPyEndAllowThreads(__tstate
);
15726 if (PyErr_Occurred()) SWIG_fail
;
15728 Py_INCREF(Py_None
); resultobj
= Py_None
;
15729 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
15730 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
15731 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15732 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15739 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15740 PyObject
*resultobj
;
15741 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15742 int *arg2
= (int *) 0 ;
15743 int *arg3
= (int *) 0 ;
15748 PyObject
* obj0
= 0 ;
15749 char *kwnames
[] = {
15750 (char *) "self", NULL
15753 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
15754 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
15756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15760 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
15762 wxPyEndAllowThreads(__tstate
);
15763 if (PyErr_Occurred()) SWIG_fail
;
15765 Py_INCREF(Py_None
); resultobj
= Py_None
;
15766 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
15767 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
15768 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15769 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15776 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15777 PyObject
*resultobj
;
15778 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15779 int *arg2
= (int *) 0 ;
15780 int *arg3
= (int *) 0 ;
15785 PyObject
* obj0
= 0 ;
15786 char *kwnames
[] = {
15787 (char *) "self", NULL
15790 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
15791 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
15793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15797 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
15799 wxPyEndAllowThreads(__tstate
);
15800 if (PyErr_Occurred()) SWIG_fail
;
15802 Py_INCREF(Py_None
); resultobj
= Py_None
;
15803 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
15804 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
15805 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15806 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
15813 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15814 PyObject
*resultobj
;
15815 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15817 PyObject
* obj0
= 0 ;
15818 char *kwnames
[] = {
15819 (char *) "self", NULL
15822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
15823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15827 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
15829 wxPyEndAllowThreads(__tstate
);
15830 if (PyErr_Occurred()) SWIG_fail
;
15833 wxSize
* resultptr
;
15834 resultptr
= new wxSize((wxSize
&) result
);
15835 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15843 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15844 PyObject
*resultobj
;
15845 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15847 PyObject
* obj0
= 0 ;
15848 char *kwnames
[] = {
15849 (char *) "self", NULL
15852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
15853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15857 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
15859 wxPyEndAllowThreads(__tstate
);
15860 if (PyErr_Occurred()) SWIG_fail
;
15863 wxSize
* resultptr
;
15864 resultptr
= new wxSize((wxSize
&) result
);
15865 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15873 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15874 PyObject
*resultobj
;
15875 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15876 PyObject
* obj0
= 0 ;
15877 char *kwnames
[] = {
15878 (char *) "self", NULL
15881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
15882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15886 (arg1
)->base_InitDialog();
15888 wxPyEndAllowThreads(__tstate
);
15889 if (PyErr_Occurred()) SWIG_fail
;
15891 Py_INCREF(Py_None
); resultobj
= Py_None
;
15898 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15899 PyObject
*resultobj
;
15900 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15902 PyObject
* obj0
= 0 ;
15903 char *kwnames
[] = {
15904 (char *) "self", NULL
15907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
15908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15912 result
= (bool)(arg1
)->base_TransferDataToWindow();
15914 wxPyEndAllowThreads(__tstate
);
15915 if (PyErr_Occurred()) SWIG_fail
;
15918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15926 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15927 PyObject
*resultobj
;
15928 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15930 PyObject
* obj0
= 0 ;
15931 char *kwnames
[] = {
15932 (char *) "self", NULL
15935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
15936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15940 result
= (bool)(arg1
)->base_TransferDataFromWindow();
15942 wxPyEndAllowThreads(__tstate
);
15943 if (PyErr_Occurred()) SWIG_fail
;
15946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15954 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15955 PyObject
*resultobj
;
15956 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15958 PyObject
* obj0
= 0 ;
15959 char *kwnames
[] = {
15960 (char *) "self", NULL
15963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
15964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15968 result
= (bool)(arg1
)->base_Validate();
15970 wxPyEndAllowThreads(__tstate
);
15971 if (PyErr_Occurred()) SWIG_fail
;
15974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15982 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15983 PyObject
*resultobj
;
15984 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15986 PyObject
* obj0
= 0 ;
15987 char *kwnames
[] = {
15988 (char *) "self", NULL
15991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
15992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15996 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
15998 wxPyEndAllowThreads(__tstate
);
15999 if (PyErr_Occurred()) SWIG_fail
;
16002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16010 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16011 PyObject
*resultobj
;
16012 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16014 PyObject
* obj0
= 0 ;
16015 char *kwnames
[] = {
16016 (char *) "self", NULL
16019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
16020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16024 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
16026 wxPyEndAllowThreads(__tstate
);
16027 if (PyErr_Occurred()) SWIG_fail
;
16030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16038 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16039 PyObject
*resultobj
;
16040 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16042 PyObject
* obj0
= 0 ;
16043 char *kwnames
[] = {
16044 (char *) "self", NULL
16047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
16048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16052 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
16054 wxPyEndAllowThreads(__tstate
);
16055 if (PyErr_Occurred()) SWIG_fail
;
16058 wxSize
* resultptr
;
16059 resultptr
= new wxSize((wxSize
&) result
);
16060 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16068 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16069 PyObject
*resultobj
;
16070 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16071 wxWindow
*arg2
= (wxWindow
*) 0 ;
16072 PyObject
* obj0
= 0 ;
16073 PyObject
* obj1
= 0 ;
16074 char *kwnames
[] = {
16075 (char *) "self",(char *) "child", NULL
16078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16081 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16085 (arg1
)->base_AddChild(arg2
);
16087 wxPyEndAllowThreads(__tstate
);
16088 if (PyErr_Occurred()) SWIG_fail
;
16090 Py_INCREF(Py_None
); resultobj
= Py_None
;
16097 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16098 PyObject
*resultobj
;
16099 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16100 wxWindow
*arg2
= (wxWindow
*) 0 ;
16101 PyObject
* obj0
= 0 ;
16102 PyObject
* obj1
= 0 ;
16103 char *kwnames
[] = {
16104 (char *) "self",(char *) "child", NULL
16107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16110 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16114 (arg1
)->base_RemoveChild(arg2
);
16116 wxPyEndAllowThreads(__tstate
);
16117 if (PyErr_Occurred()) SWIG_fail
;
16119 Py_INCREF(Py_None
); resultobj
= Py_None
;
16126 static PyObject
*_wrap_PyWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16127 PyObject
*resultobj
;
16128 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16130 PyObject
* obj0
= 0 ;
16131 char *kwnames
[] = {
16132 (char *) "self", NULL
16135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
16136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16140 result
= (bool)((wxPyWindow
const *)arg1
)->base_ShouldInheritColours();
16142 wxPyEndAllowThreads(__tstate
);
16143 if (PyErr_Occurred()) SWIG_fail
;
16146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16154 static PyObject
*_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16155 PyObject
*resultobj
;
16156 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16157 wxColour
*arg2
= 0 ;
16159 PyObject
* obj0
= 0 ;
16160 PyObject
* obj1
= 0 ;
16161 char *kwnames
[] = {
16162 (char *) "self",(char *) "c", NULL
16165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
16166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16170 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16174 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
16176 wxPyEndAllowThreads(__tstate
);
16177 if (PyErr_Occurred()) SWIG_fail
;
16179 Py_INCREF(Py_None
); resultobj
= Py_None
;
16186 static PyObject
*_wrap_PyWindow_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16187 PyObject
*resultobj
;
16188 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16189 wxVisualAttributes result
;
16190 PyObject
* obj0
= 0 ;
16191 char *kwnames
[] = {
16192 (char *) "self", NULL
16195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16200 result
= (arg1
)->base_GetDefaultAttributes();
16202 wxPyEndAllowThreads(__tstate
);
16203 if (PyErr_Occurred()) SWIG_fail
;
16206 wxVisualAttributes
* resultptr
;
16207 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
16208 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16216 static PyObject
* PyWindow_swigregister(PyObject
*, PyObject
*args
) {
16218 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16219 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
16221 return Py_BuildValue((char *)"");
16223 static PyObject
*_wrap_new_PyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16224 PyObject
*resultobj
;
16225 wxWindow
*arg1
= (wxWindow
*) 0 ;
16226 int arg2
= (int) (int)-1 ;
16227 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16228 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16229 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16230 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16231 long arg5
= (long) 0 ;
16232 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
16233 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
16237 bool temp6
= False
;
16238 PyObject
* obj0
= 0 ;
16239 PyObject
* obj1
= 0 ;
16240 PyObject
* obj2
= 0 ;
16241 PyObject
* obj3
= 0 ;
16242 PyObject
* obj4
= 0 ;
16243 PyObject
* obj5
= 0 ;
16244 char *kwnames
[] = {
16245 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16252 arg2
= (int)SWIG_As_int(obj1
);
16253 if (PyErr_Occurred()) SWIG_fail
;
16258 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16264 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16268 arg5
= (long)SWIG_As_long(obj4
);
16269 if (PyErr_Occurred()) SWIG_fail
;
16273 arg6
= wxString_in_helper(obj5
);
16274 if (arg6
== NULL
) SWIG_fail
;
16279 if (!wxPyCheckForApp()) SWIG_fail
;
16280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16281 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
16283 wxPyEndAllowThreads(__tstate
);
16284 if (PyErr_Occurred()) SWIG_fail
;
16286 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
16301 static PyObject
*_wrap_new_PrePyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16302 PyObject
*resultobj
;
16304 char *kwnames
[] = {
16308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyPanel",kwnames
)) goto fail
;
16310 if (!wxPyCheckForApp()) SWIG_fail
;
16311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16312 result
= (wxPyPanel
*)new wxPyPanel();
16314 wxPyEndAllowThreads(__tstate
);
16315 if (PyErr_Occurred()) SWIG_fail
;
16317 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
16324 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16325 PyObject
*resultobj
;
16326 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16327 PyObject
*arg2
= (PyObject
*) 0 ;
16328 PyObject
*arg3
= (PyObject
*) 0 ;
16329 PyObject
* obj0
= 0 ;
16330 PyObject
* obj1
= 0 ;
16331 PyObject
* obj2
= 0 ;
16332 char *kwnames
[] = {
16333 (char *) "self",(char *) "self",(char *) "_class", NULL
16336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16343 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16345 wxPyEndAllowThreads(__tstate
);
16346 if (PyErr_Occurred()) SWIG_fail
;
16348 Py_INCREF(Py_None
); resultobj
= Py_None
;
16355 static PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16356 PyObject
*resultobj
;
16357 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16360 PyObject
* obj0
= 0 ;
16361 PyObject
* obj1
= 0 ;
16362 char *kwnames
[] = {
16363 (char *) "self",(char *) "size", NULL
16366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16371 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16375 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
16377 wxPyEndAllowThreads(__tstate
);
16378 if (PyErr_Occurred()) SWIG_fail
;
16380 Py_INCREF(Py_None
); resultobj
= Py_None
;
16387 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16388 PyObject
*resultobj
;
16389 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16394 PyObject
* obj0
= 0 ;
16395 PyObject
* obj1
= 0 ;
16396 PyObject
* obj2
= 0 ;
16397 PyObject
* obj3
= 0 ;
16398 PyObject
* obj4
= 0 ;
16399 char *kwnames
[] = {
16400 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16406 arg2
= (int)SWIG_As_int(obj1
);
16407 if (PyErr_Occurred()) SWIG_fail
;
16408 arg3
= (int)SWIG_As_int(obj2
);
16409 if (PyErr_Occurred()) SWIG_fail
;
16410 arg4
= (int)SWIG_As_int(obj3
);
16411 if (PyErr_Occurred()) SWIG_fail
;
16412 arg5
= (int)SWIG_As_int(obj4
);
16413 if (PyErr_Occurred()) SWIG_fail
;
16415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16416 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
16418 wxPyEndAllowThreads(__tstate
);
16419 if (PyErr_Occurred()) SWIG_fail
;
16421 Py_INCREF(Py_None
); resultobj
= Py_None
;
16428 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16429 PyObject
*resultobj
;
16430 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16435 int arg6
= (int) wxSIZE_AUTO
;
16436 PyObject
* obj0
= 0 ;
16437 PyObject
* obj1
= 0 ;
16438 PyObject
* obj2
= 0 ;
16439 PyObject
* obj3
= 0 ;
16440 PyObject
* obj4
= 0 ;
16441 PyObject
* obj5
= 0 ;
16442 char *kwnames
[] = {
16443 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16449 arg2
= (int)SWIG_As_int(obj1
);
16450 if (PyErr_Occurred()) SWIG_fail
;
16451 arg3
= (int)SWIG_As_int(obj2
);
16452 if (PyErr_Occurred()) SWIG_fail
;
16453 arg4
= (int)SWIG_As_int(obj3
);
16454 if (PyErr_Occurred()) SWIG_fail
;
16455 arg5
= (int)SWIG_As_int(obj4
);
16456 if (PyErr_Occurred()) SWIG_fail
;
16458 arg6
= (int)SWIG_As_int(obj5
);
16459 if (PyErr_Occurred()) SWIG_fail
;
16462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16463 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
16465 wxPyEndAllowThreads(__tstate
);
16466 if (PyErr_Occurred()) SWIG_fail
;
16468 Py_INCREF(Py_None
); resultobj
= Py_None
;
16475 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16476 PyObject
*resultobj
;
16477 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16480 PyObject
* obj0
= 0 ;
16481 PyObject
* obj1
= 0 ;
16482 PyObject
* obj2
= 0 ;
16483 char *kwnames
[] = {
16484 (char *) "self",(char *) "width",(char *) "height", NULL
16487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16490 arg2
= (int)SWIG_As_int(obj1
);
16491 if (PyErr_Occurred()) SWIG_fail
;
16492 arg3
= (int)SWIG_As_int(obj2
);
16493 if (PyErr_Occurred()) SWIG_fail
;
16495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16496 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
16498 wxPyEndAllowThreads(__tstate
);
16499 if (PyErr_Occurred()) SWIG_fail
;
16501 Py_INCREF(Py_None
); resultobj
= Py_None
;
16508 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16509 PyObject
*resultobj
;
16510 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16513 PyObject
* obj0
= 0 ;
16514 PyObject
* obj1
= 0 ;
16515 PyObject
* obj2
= 0 ;
16516 char *kwnames
[] = {
16517 (char *) "self",(char *) "x",(char *) "y", NULL
16520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16523 arg2
= (int)SWIG_As_int(obj1
);
16524 if (PyErr_Occurred()) SWIG_fail
;
16525 arg3
= (int)SWIG_As_int(obj2
);
16526 if (PyErr_Occurred()) SWIG_fail
;
16528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16529 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
16531 wxPyEndAllowThreads(__tstate
);
16532 if (PyErr_Occurred()) SWIG_fail
;
16534 Py_INCREF(Py_None
); resultobj
= Py_None
;
16541 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16542 PyObject
*resultobj
;
16543 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16544 int *arg2
= (int *) 0 ;
16545 int *arg3
= (int *) 0 ;
16550 PyObject
* obj0
= 0 ;
16551 char *kwnames
[] = {
16552 (char *) "self", NULL
16555 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16556 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
16558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16562 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
16564 wxPyEndAllowThreads(__tstate
);
16565 if (PyErr_Occurred()) SWIG_fail
;
16567 Py_INCREF(Py_None
); resultobj
= Py_None
;
16568 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16569 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16570 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16571 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16578 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16579 PyObject
*resultobj
;
16580 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16581 int *arg2
= (int *) 0 ;
16582 int *arg3
= (int *) 0 ;
16587 PyObject
* obj0
= 0 ;
16588 char *kwnames
[] = {
16589 (char *) "self", NULL
16592 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16593 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
16595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16599 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
16601 wxPyEndAllowThreads(__tstate
);
16602 if (PyErr_Occurred()) SWIG_fail
;
16604 Py_INCREF(Py_None
); resultobj
= Py_None
;
16605 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16606 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16607 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16608 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16615 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16616 PyObject
*resultobj
;
16617 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16618 int *arg2
= (int *) 0 ;
16619 int *arg3
= (int *) 0 ;
16624 PyObject
* obj0
= 0 ;
16625 char *kwnames
[] = {
16626 (char *) "self", NULL
16629 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16630 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
16632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16636 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
16638 wxPyEndAllowThreads(__tstate
);
16639 if (PyErr_Occurred()) SWIG_fail
;
16641 Py_INCREF(Py_None
); resultobj
= Py_None
;
16642 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16643 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16644 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16645 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16652 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16653 PyObject
*resultobj
;
16654 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16656 PyObject
* obj0
= 0 ;
16657 char *kwnames
[] = {
16658 (char *) "self", NULL
16661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
16662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16666 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
16668 wxPyEndAllowThreads(__tstate
);
16669 if (PyErr_Occurred()) SWIG_fail
;
16672 wxSize
* resultptr
;
16673 resultptr
= new wxSize((wxSize
&) result
);
16674 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16682 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16683 PyObject
*resultobj
;
16684 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16686 PyObject
* obj0
= 0 ;
16687 char *kwnames
[] = {
16688 (char *) "self", NULL
16691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
16692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16696 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
16698 wxPyEndAllowThreads(__tstate
);
16699 if (PyErr_Occurred()) SWIG_fail
;
16702 wxSize
* resultptr
;
16703 resultptr
= new wxSize((wxSize
&) result
);
16704 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16712 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16713 PyObject
*resultobj
;
16714 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16715 PyObject
* obj0
= 0 ;
16716 char *kwnames
[] = {
16717 (char *) "self", NULL
16720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
16721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16725 (arg1
)->base_InitDialog();
16727 wxPyEndAllowThreads(__tstate
);
16728 if (PyErr_Occurred()) SWIG_fail
;
16730 Py_INCREF(Py_None
); resultobj
= Py_None
;
16737 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16738 PyObject
*resultobj
;
16739 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16741 PyObject
* obj0
= 0 ;
16742 char *kwnames
[] = {
16743 (char *) "self", NULL
16746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
16747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16751 result
= (bool)(arg1
)->base_TransferDataToWindow();
16753 wxPyEndAllowThreads(__tstate
);
16754 if (PyErr_Occurred()) SWIG_fail
;
16757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16765 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16766 PyObject
*resultobj
;
16767 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16769 PyObject
* obj0
= 0 ;
16770 char *kwnames
[] = {
16771 (char *) "self", NULL
16774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
16775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16779 result
= (bool)(arg1
)->base_TransferDataFromWindow();
16781 wxPyEndAllowThreads(__tstate
);
16782 if (PyErr_Occurred()) SWIG_fail
;
16785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16793 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16794 PyObject
*resultobj
;
16795 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16797 PyObject
* obj0
= 0 ;
16798 char *kwnames
[] = {
16799 (char *) "self", NULL
16802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
16803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16807 result
= (bool)(arg1
)->base_Validate();
16809 wxPyEndAllowThreads(__tstate
);
16810 if (PyErr_Occurred()) SWIG_fail
;
16813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16821 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16822 PyObject
*resultobj
;
16823 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16825 PyObject
* obj0
= 0 ;
16826 char *kwnames
[] = {
16827 (char *) "self", NULL
16830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
16831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16835 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
16837 wxPyEndAllowThreads(__tstate
);
16838 if (PyErr_Occurred()) SWIG_fail
;
16841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16849 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16850 PyObject
*resultobj
;
16851 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16853 PyObject
* obj0
= 0 ;
16854 char *kwnames
[] = {
16855 (char *) "self", NULL
16858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
16859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16863 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
16865 wxPyEndAllowThreads(__tstate
);
16866 if (PyErr_Occurred()) SWIG_fail
;
16869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16877 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16878 PyObject
*resultobj
;
16879 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16881 PyObject
* obj0
= 0 ;
16882 char *kwnames
[] = {
16883 (char *) "self", NULL
16886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
16887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16891 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
16893 wxPyEndAllowThreads(__tstate
);
16894 if (PyErr_Occurred()) SWIG_fail
;
16897 wxSize
* resultptr
;
16898 resultptr
= new wxSize((wxSize
&) result
);
16899 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16907 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16908 PyObject
*resultobj
;
16909 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16910 wxWindow
*arg2
= (wxWindow
*) 0 ;
16911 PyObject
* obj0
= 0 ;
16912 PyObject
* obj1
= 0 ;
16913 char *kwnames
[] = {
16914 (char *) "self",(char *) "child", NULL
16917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16920 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16924 (arg1
)->base_AddChild(arg2
);
16926 wxPyEndAllowThreads(__tstate
);
16927 if (PyErr_Occurred()) SWIG_fail
;
16929 Py_INCREF(Py_None
); resultobj
= Py_None
;
16936 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16937 PyObject
*resultobj
;
16938 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16939 wxWindow
*arg2
= (wxWindow
*) 0 ;
16940 PyObject
* obj0
= 0 ;
16941 PyObject
* obj1
= 0 ;
16942 char *kwnames
[] = {
16943 (char *) "self",(char *) "child", NULL
16946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16949 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16953 (arg1
)->base_RemoveChild(arg2
);
16955 wxPyEndAllowThreads(__tstate
);
16956 if (PyErr_Occurred()) SWIG_fail
;
16958 Py_INCREF(Py_None
); resultobj
= Py_None
;
16965 static PyObject
*_wrap_PyPanel_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16966 PyObject
*resultobj
;
16967 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16969 PyObject
* obj0
= 0 ;
16970 char *kwnames
[] = {
16971 (char *) "self", NULL
16974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
16975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16979 result
= (bool)((wxPyPanel
const *)arg1
)->base_ShouldInheritColours();
16981 wxPyEndAllowThreads(__tstate
);
16982 if (PyErr_Occurred()) SWIG_fail
;
16985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16993 static PyObject
*_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16994 PyObject
*resultobj
;
16995 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16996 wxColour
*arg2
= 0 ;
16998 PyObject
* obj0
= 0 ;
16999 PyObject
* obj1
= 0 ;
17000 char *kwnames
[] = {
17001 (char *) "self",(char *) "c", NULL
17004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
17005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17009 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17013 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
17015 wxPyEndAllowThreads(__tstate
);
17016 if (PyErr_Occurred()) SWIG_fail
;
17018 Py_INCREF(Py_None
); resultobj
= Py_None
;
17025 static PyObject
*_wrap_PyPanel_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17026 PyObject
*resultobj
;
17027 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17028 wxVisualAttributes result
;
17029 PyObject
* obj0
= 0 ;
17030 char *kwnames
[] = {
17031 (char *) "self", NULL
17034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17039 result
= (arg1
)->base_GetDefaultAttributes();
17041 wxPyEndAllowThreads(__tstate
);
17042 if (PyErr_Occurred()) SWIG_fail
;
17045 wxVisualAttributes
* resultptr
;
17046 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
17047 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17055 static PyObject
* PyPanel_swigregister(PyObject
*, PyObject
*args
) {
17057 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17058 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
17060 return Py_BuildValue((char *)"");
17062 static PyObject
*_wrap_new_PyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17063 PyObject
*resultobj
;
17064 wxWindow
*arg1
= (wxWindow
*) 0 ;
17065 int arg2
= (int) (int)-1 ;
17066 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17067 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17068 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17069 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17070 long arg5
= (long) 0 ;
17071 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
17072 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17073 wxPyScrolledWindow
*result
;
17076 bool temp6
= False
;
17077 PyObject
* obj0
= 0 ;
17078 PyObject
* obj1
= 0 ;
17079 PyObject
* obj2
= 0 ;
17080 PyObject
* obj3
= 0 ;
17081 PyObject
* obj4
= 0 ;
17082 PyObject
* obj5
= 0 ;
17083 char *kwnames
[] = {
17084 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17091 arg2
= (int)SWIG_As_int(obj1
);
17092 if (PyErr_Occurred()) SWIG_fail
;
17097 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17103 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17107 arg5
= (long)SWIG_As_long(obj4
);
17108 if (PyErr_Occurred()) SWIG_fail
;
17112 arg6
= wxString_in_helper(obj5
);
17113 if (arg6
== NULL
) SWIG_fail
;
17118 if (!wxPyCheckForApp()) SWIG_fail
;
17119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17120 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17122 wxPyEndAllowThreads(__tstate
);
17123 if (PyErr_Occurred()) SWIG_fail
;
17125 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
17140 static PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17141 PyObject
*resultobj
;
17142 wxPyScrolledWindow
*result
;
17143 char *kwnames
[] = {
17147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyScrolledWindow",kwnames
)) goto fail
;
17149 if (!wxPyCheckForApp()) SWIG_fail
;
17150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17151 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
17153 wxPyEndAllowThreads(__tstate
);
17154 if (PyErr_Occurred()) SWIG_fail
;
17156 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
17163 static PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17164 PyObject
*resultobj
;
17165 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17166 PyObject
*arg2
= (PyObject
*) 0 ;
17167 PyObject
*arg3
= (PyObject
*) 0 ;
17168 PyObject
* obj0
= 0 ;
17169 PyObject
* obj1
= 0 ;
17170 PyObject
* obj2
= 0 ;
17171 char *kwnames
[] = {
17172 (char *) "self",(char *) "self",(char *) "_class", NULL
17175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17182 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17184 wxPyEndAllowThreads(__tstate
);
17185 if (PyErr_Occurred()) SWIG_fail
;
17187 Py_INCREF(Py_None
); resultobj
= Py_None
;
17194 static PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17195 PyObject
*resultobj
;
17196 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17199 PyObject
* obj0
= 0 ;
17200 PyObject
* obj1
= 0 ;
17201 char *kwnames
[] = {
17202 (char *) "self",(char *) "size", NULL
17205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17210 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17214 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
17216 wxPyEndAllowThreads(__tstate
);
17217 if (PyErr_Occurred()) SWIG_fail
;
17219 Py_INCREF(Py_None
); resultobj
= Py_None
;
17226 static PyObject
*_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17227 PyObject
*resultobj
;
17228 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17233 PyObject
* obj0
= 0 ;
17234 PyObject
* obj1
= 0 ;
17235 PyObject
* obj2
= 0 ;
17236 PyObject
* obj3
= 0 ;
17237 PyObject
* obj4
= 0 ;
17238 char *kwnames
[] = {
17239 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17245 arg2
= (int)SWIG_As_int(obj1
);
17246 if (PyErr_Occurred()) SWIG_fail
;
17247 arg3
= (int)SWIG_As_int(obj2
);
17248 if (PyErr_Occurred()) SWIG_fail
;
17249 arg4
= (int)SWIG_As_int(obj3
);
17250 if (PyErr_Occurred()) SWIG_fail
;
17251 arg5
= (int)SWIG_As_int(obj4
);
17252 if (PyErr_Occurred()) SWIG_fail
;
17254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17255 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
17257 wxPyEndAllowThreads(__tstate
);
17258 if (PyErr_Occurred()) SWIG_fail
;
17260 Py_INCREF(Py_None
); resultobj
= Py_None
;
17267 static PyObject
*_wrap_PyScrolledWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17268 PyObject
*resultobj
;
17269 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17274 int arg6
= (int) wxSIZE_AUTO
;
17275 PyObject
* obj0
= 0 ;
17276 PyObject
* obj1
= 0 ;
17277 PyObject
* obj2
= 0 ;
17278 PyObject
* obj3
= 0 ;
17279 PyObject
* obj4
= 0 ;
17280 PyObject
* obj5
= 0 ;
17281 char *kwnames
[] = {
17282 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17288 arg2
= (int)SWIG_As_int(obj1
);
17289 if (PyErr_Occurred()) SWIG_fail
;
17290 arg3
= (int)SWIG_As_int(obj2
);
17291 if (PyErr_Occurred()) SWIG_fail
;
17292 arg4
= (int)SWIG_As_int(obj3
);
17293 if (PyErr_Occurred()) SWIG_fail
;
17294 arg5
= (int)SWIG_As_int(obj4
);
17295 if (PyErr_Occurred()) SWIG_fail
;
17297 arg6
= (int)SWIG_As_int(obj5
);
17298 if (PyErr_Occurred()) SWIG_fail
;
17301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17302 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
17304 wxPyEndAllowThreads(__tstate
);
17305 if (PyErr_Occurred()) SWIG_fail
;
17307 Py_INCREF(Py_None
); resultobj
= Py_None
;
17314 static PyObject
*_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17315 PyObject
*resultobj
;
17316 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17319 PyObject
* obj0
= 0 ;
17320 PyObject
* obj1
= 0 ;
17321 PyObject
* obj2
= 0 ;
17322 char *kwnames
[] = {
17323 (char *) "self",(char *) "width",(char *) "height", NULL
17326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17329 arg2
= (int)SWIG_As_int(obj1
);
17330 if (PyErr_Occurred()) SWIG_fail
;
17331 arg3
= (int)SWIG_As_int(obj2
);
17332 if (PyErr_Occurred()) SWIG_fail
;
17334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17335 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
17337 wxPyEndAllowThreads(__tstate
);
17338 if (PyErr_Occurred()) SWIG_fail
;
17340 Py_INCREF(Py_None
); resultobj
= Py_None
;
17347 static PyObject
*_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17348 PyObject
*resultobj
;
17349 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17352 PyObject
* obj0
= 0 ;
17353 PyObject
* obj1
= 0 ;
17354 PyObject
* obj2
= 0 ;
17355 char *kwnames
[] = {
17356 (char *) "self",(char *) "x",(char *) "y", NULL
17359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17362 arg2
= (int)SWIG_As_int(obj1
);
17363 if (PyErr_Occurred()) SWIG_fail
;
17364 arg3
= (int)SWIG_As_int(obj2
);
17365 if (PyErr_Occurred()) SWIG_fail
;
17367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17368 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
17370 wxPyEndAllowThreads(__tstate
);
17371 if (PyErr_Occurred()) SWIG_fail
;
17373 Py_INCREF(Py_None
); resultobj
= Py_None
;
17380 static PyObject
*_wrap_PyScrolledWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17381 PyObject
*resultobj
;
17382 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17383 int *arg2
= (int *) 0 ;
17384 int *arg3
= (int *) 0 ;
17389 PyObject
* obj0
= 0 ;
17390 char *kwnames
[] = {
17391 (char *) "self", NULL
17394 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17395 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
17397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17401 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
17403 wxPyEndAllowThreads(__tstate
);
17404 if (PyErr_Occurred()) SWIG_fail
;
17406 Py_INCREF(Py_None
); resultobj
= Py_None
;
17407 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17408 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17409 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17410 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17417 static PyObject
*_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17418 PyObject
*resultobj
;
17419 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17420 int *arg2
= (int *) 0 ;
17421 int *arg3
= (int *) 0 ;
17426 PyObject
* obj0
= 0 ;
17427 char *kwnames
[] = {
17428 (char *) "self", NULL
17431 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17432 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
17434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17438 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
17440 wxPyEndAllowThreads(__tstate
);
17441 if (PyErr_Occurred()) SWIG_fail
;
17443 Py_INCREF(Py_None
); resultobj
= Py_None
;
17444 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17445 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17446 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17447 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17454 static PyObject
*_wrap_PyScrolledWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17455 PyObject
*resultobj
;
17456 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17457 int *arg2
= (int *) 0 ;
17458 int *arg3
= (int *) 0 ;
17463 PyObject
* obj0
= 0 ;
17464 char *kwnames
[] = {
17465 (char *) "self", NULL
17468 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17469 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
17471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17475 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
17477 wxPyEndAllowThreads(__tstate
);
17478 if (PyErr_Occurred()) SWIG_fail
;
17480 Py_INCREF(Py_None
); resultobj
= Py_None
;
17481 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17482 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17483 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17484 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17491 static PyObject
*_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17492 PyObject
*resultobj
;
17493 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17495 PyObject
* obj0
= 0 ;
17496 char *kwnames
[] = {
17497 (char *) "self", NULL
17500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
17501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17505 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetVirtualSize();
17507 wxPyEndAllowThreads(__tstate
);
17508 if (PyErr_Occurred()) SWIG_fail
;
17511 wxSize
* resultptr
;
17512 resultptr
= new wxSize((wxSize
&) result
);
17513 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17521 static PyObject
*_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17522 PyObject
*resultobj
;
17523 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17525 PyObject
* obj0
= 0 ;
17526 char *kwnames
[] = {
17527 (char *) "self", NULL
17530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
17531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17535 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetBestSize();
17537 wxPyEndAllowThreads(__tstate
);
17538 if (PyErr_Occurred()) SWIG_fail
;
17541 wxSize
* resultptr
;
17542 resultptr
= new wxSize((wxSize
&) result
);
17543 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17551 static PyObject
*_wrap_PyScrolledWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17552 PyObject
*resultobj
;
17553 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17554 PyObject
* obj0
= 0 ;
17555 char *kwnames
[] = {
17556 (char *) "self", NULL
17559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
17560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17564 (arg1
)->base_InitDialog();
17566 wxPyEndAllowThreads(__tstate
);
17567 if (PyErr_Occurred()) SWIG_fail
;
17569 Py_INCREF(Py_None
); resultobj
= Py_None
;
17576 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17577 PyObject
*resultobj
;
17578 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17580 PyObject
* obj0
= 0 ;
17581 char *kwnames
[] = {
17582 (char *) "self", NULL
17585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
17586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17590 result
= (bool)(arg1
)->base_TransferDataToWindow();
17592 wxPyEndAllowThreads(__tstate
);
17593 if (PyErr_Occurred()) SWIG_fail
;
17596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17604 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17605 PyObject
*resultobj
;
17606 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17608 PyObject
* obj0
= 0 ;
17609 char *kwnames
[] = {
17610 (char *) "self", NULL
17613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
17614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17618 result
= (bool)(arg1
)->base_TransferDataFromWindow();
17620 wxPyEndAllowThreads(__tstate
);
17621 if (PyErr_Occurred()) SWIG_fail
;
17624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17632 static PyObject
*_wrap_PyScrolledWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17633 PyObject
*resultobj
;
17634 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17636 PyObject
* obj0
= 0 ;
17637 char *kwnames
[] = {
17638 (char *) "self", NULL
17641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
17642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17646 result
= (bool)(arg1
)->base_Validate();
17648 wxPyEndAllowThreads(__tstate
);
17649 if (PyErr_Occurred()) SWIG_fail
;
17652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17660 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17661 PyObject
*resultobj
;
17662 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17664 PyObject
* obj0
= 0 ;
17665 char *kwnames
[] = {
17666 (char *) "self", NULL
17669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
17670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17674 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocus();
17676 wxPyEndAllowThreads(__tstate
);
17677 if (PyErr_Occurred()) SWIG_fail
;
17680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17688 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17689 PyObject
*resultobj
;
17690 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17692 PyObject
* obj0
= 0 ;
17693 char *kwnames
[] = {
17694 (char *) "self", NULL
17697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
17698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17702 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
17704 wxPyEndAllowThreads(__tstate
);
17705 if (PyErr_Occurred()) SWIG_fail
;
17708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17716 static PyObject
*_wrap_PyScrolledWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17717 PyObject
*resultobj
;
17718 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17720 PyObject
* obj0
= 0 ;
17721 char *kwnames
[] = {
17722 (char *) "self", NULL
17725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
17726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17730 result
= ((wxPyScrolledWindow
const *)arg1
)->base_GetMaxSize();
17732 wxPyEndAllowThreads(__tstate
);
17733 if (PyErr_Occurred()) SWIG_fail
;
17736 wxSize
* resultptr
;
17737 resultptr
= new wxSize((wxSize
&) result
);
17738 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17746 static PyObject
*_wrap_PyScrolledWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17747 PyObject
*resultobj
;
17748 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17749 wxWindow
*arg2
= (wxWindow
*) 0 ;
17750 PyObject
* obj0
= 0 ;
17751 PyObject
* obj1
= 0 ;
17752 char *kwnames
[] = {
17753 (char *) "self",(char *) "child", NULL
17756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17759 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17763 (arg1
)->base_AddChild(arg2
);
17765 wxPyEndAllowThreads(__tstate
);
17766 if (PyErr_Occurred()) SWIG_fail
;
17768 Py_INCREF(Py_None
); resultobj
= Py_None
;
17775 static PyObject
*_wrap_PyScrolledWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17776 PyObject
*resultobj
;
17777 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17778 wxWindow
*arg2
= (wxWindow
*) 0 ;
17779 PyObject
* obj0
= 0 ;
17780 PyObject
* obj1
= 0 ;
17781 char *kwnames
[] = {
17782 (char *) "self",(char *) "child", NULL
17785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17788 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17792 (arg1
)->base_RemoveChild(arg2
);
17794 wxPyEndAllowThreads(__tstate
);
17795 if (PyErr_Occurred()) SWIG_fail
;
17797 Py_INCREF(Py_None
); resultobj
= Py_None
;
17804 static PyObject
*_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17805 PyObject
*resultobj
;
17806 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17808 PyObject
* obj0
= 0 ;
17809 char *kwnames
[] = {
17810 (char *) "self", NULL
17813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
17814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17818 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_ShouldInheritColours();
17820 wxPyEndAllowThreads(__tstate
);
17821 if (PyErr_Occurred()) SWIG_fail
;
17824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17832 static PyObject
*_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17833 PyObject
*resultobj
;
17834 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17835 wxColour
*arg2
= 0 ;
17837 PyObject
* obj0
= 0 ;
17838 PyObject
* obj1
= 0 ;
17839 char *kwnames
[] = {
17840 (char *) "self",(char *) "c", NULL
17843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
17844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17848 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17852 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
17854 wxPyEndAllowThreads(__tstate
);
17855 if (PyErr_Occurred()) SWIG_fail
;
17857 Py_INCREF(Py_None
); resultobj
= Py_None
;
17864 static PyObject
*_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17865 PyObject
*resultobj
;
17866 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17867 wxVisualAttributes result
;
17868 PyObject
* obj0
= 0 ;
17869 char *kwnames
[] = {
17870 (char *) "self", NULL
17873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17878 result
= (arg1
)->base_GetDefaultAttributes();
17880 wxPyEndAllowThreads(__tstate
);
17881 if (PyErr_Occurred()) SWIG_fail
;
17884 wxVisualAttributes
* resultptr
;
17885 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
17886 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17894 static PyObject
* PyScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
17896 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17897 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow
, obj
);
17899 return Py_BuildValue((char *)"");
17901 static int _wrap_PrintoutTitleStr_set(PyObject
*) {
17902 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
17907 static PyObject
*_wrap_PrintoutTitleStr_get() {
17912 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
17914 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
17921 static int _wrap_PreviewCanvasNameStr_set(PyObject
*) {
17922 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
17927 static PyObject
*_wrap_PreviewCanvasNameStr_get() {
17932 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
17934 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
17941 static PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*, PyObject
*args
) {
17942 PyObject
*resultobj
;
17943 wxPrintData
*result
;
17945 if(!PyArg_ParseTuple(args
,(char *)":new_PrintData")) goto fail
;
17947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17948 result
= (wxPrintData
*)new wxPrintData();
17950 wxPyEndAllowThreads(__tstate
);
17951 if (PyErr_Occurred()) SWIG_fail
;
17953 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
17960 static PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*, PyObject
*args
) {
17961 PyObject
*resultobj
;
17962 wxPrintData
*arg1
= 0 ;
17963 wxPrintData
*result
;
17964 PyObject
* obj0
= 0 ;
17966 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintData",&obj0
)) goto fail
;
17967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
17968 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17970 if (arg1
== NULL
) {
17971 PyErr_SetString(PyExc_TypeError
,"null reference");
17975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17976 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
17978 wxPyEndAllowThreads(__tstate
);
17979 if (PyErr_Occurred()) SWIG_fail
;
17981 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
17988 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
17993 argc
= PyObject_Length(args
);
17994 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
17995 argv
[ii
] = PyTuple_GetItem(args
,ii
);
17998 return _wrap_new_PrintData__SWIG_0(self
,args
);
18004 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
18012 return _wrap_new_PrintData__SWIG_1(self
,args
);
18016 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintData'");
18021 static PyObject
*_wrap_delete_PrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18022 PyObject
*resultobj
;
18023 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18024 PyObject
* obj0
= 0 ;
18025 char *kwnames
[] = {
18026 (char *) "self", NULL
18029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
18030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18036 wxPyEndAllowThreads(__tstate
);
18037 if (PyErr_Occurred()) SWIG_fail
;
18039 Py_INCREF(Py_None
); resultobj
= Py_None
;
18046 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18047 PyObject
*resultobj
;
18048 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18050 PyObject
* obj0
= 0 ;
18051 char *kwnames
[] = {
18052 (char *) "self", NULL
18055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
18056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18060 result
= (int)(arg1
)->GetNoCopies();
18062 wxPyEndAllowThreads(__tstate
);
18063 if (PyErr_Occurred()) SWIG_fail
;
18065 resultobj
= SWIG_From_int((int)result
);
18072 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18073 PyObject
*resultobj
;
18074 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18076 PyObject
* obj0
= 0 ;
18077 char *kwnames
[] = {
18078 (char *) "self", NULL
18081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
18082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18086 result
= (bool)(arg1
)->GetCollate();
18088 wxPyEndAllowThreads(__tstate
);
18089 if (PyErr_Occurred()) SWIG_fail
;
18092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18100 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18101 PyObject
*resultobj
;
18102 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18104 PyObject
* obj0
= 0 ;
18105 char *kwnames
[] = {
18106 (char *) "self", NULL
18109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
18110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18114 result
= (int)(arg1
)->GetOrientation();
18116 wxPyEndAllowThreads(__tstate
);
18117 if (PyErr_Occurred()) SWIG_fail
;
18119 resultobj
= SWIG_From_int((int)result
);
18126 static PyObject
*_wrap_PrintData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18127 PyObject
*resultobj
;
18128 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18130 PyObject
* obj0
= 0 ;
18131 char *kwnames
[] = {
18132 (char *) "self", NULL
18135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
18136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18140 result
= (bool)(arg1
)->Ok();
18142 wxPyEndAllowThreads(__tstate
);
18143 if (PyErr_Occurred()) SWIG_fail
;
18146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18154 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18155 PyObject
*resultobj
;
18156 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18158 PyObject
* obj0
= 0 ;
18159 char *kwnames
[] = {
18160 (char *) "self", NULL
18163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
18164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18169 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
18170 result
= (wxString
*) &_result_ref
;
18173 wxPyEndAllowThreads(__tstate
);
18174 if (PyErr_Occurred()) SWIG_fail
;
18178 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18180 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18189 static PyObject
*_wrap_PrintData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18190 PyObject
*resultobj
;
18191 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18193 PyObject
* obj0
= 0 ;
18194 char *kwnames
[] = {
18195 (char *) "self", NULL
18198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
18199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18203 result
= (bool)(arg1
)->GetColour();
18205 wxPyEndAllowThreads(__tstate
);
18206 if (PyErr_Occurred()) SWIG_fail
;
18209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18217 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18218 PyObject
*resultobj
;
18219 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18221 PyObject
* obj0
= 0 ;
18222 char *kwnames
[] = {
18223 (char *) "self", NULL
18226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
18227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18231 result
= (int)(arg1
)->GetDuplex();
18233 wxPyEndAllowThreads(__tstate
);
18234 if (PyErr_Occurred()) SWIG_fail
;
18236 resultobj
= SWIG_From_int((int)result
);
18243 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18244 PyObject
*resultobj
;
18245 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18247 PyObject
* obj0
= 0 ;
18248 char *kwnames
[] = {
18249 (char *) "self", NULL
18252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
18253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18257 result
= (int)(arg1
)->GetPaperId();
18259 wxPyEndAllowThreads(__tstate
);
18260 if (PyErr_Occurred()) SWIG_fail
;
18262 resultobj
= SWIG_From_int((int)result
);
18269 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18270 PyObject
*resultobj
;
18271 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18273 PyObject
* obj0
= 0 ;
18274 char *kwnames
[] = {
18275 (char *) "self", NULL
18278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
18279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18284 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
18285 result
= (wxSize
*) &_result_ref
;
18288 wxPyEndAllowThreads(__tstate
);
18289 if (PyErr_Occurred()) SWIG_fail
;
18291 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
18298 static PyObject
*_wrap_PrintData_GetQuality(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_GetQuality",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
= (int)(arg1
)->GetQuality();
18314 wxPyEndAllowThreads(__tstate
);
18315 if (PyErr_Occurred()) SWIG_fail
;
18317 resultobj
= SWIG_From_int((int)result
);
18324 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18325 PyObject
*resultobj
;
18326 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18328 PyObject
* obj0
= 0 ;
18329 PyObject
* obj1
= 0 ;
18330 char *kwnames
[] = {
18331 (char *) "self",(char *) "v", NULL
18334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
18335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18337 arg2
= (int)SWIG_As_int(obj1
);
18338 if (PyErr_Occurred()) SWIG_fail
;
18340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18341 (arg1
)->SetNoCopies(arg2
);
18343 wxPyEndAllowThreads(__tstate
);
18344 if (PyErr_Occurred()) SWIG_fail
;
18346 Py_INCREF(Py_None
); resultobj
= Py_None
;
18353 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18354 PyObject
*resultobj
;
18355 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18357 PyObject
* obj0
= 0 ;
18358 PyObject
* obj1
= 0 ;
18359 char *kwnames
[] = {
18360 (char *) "self",(char *) "flag", NULL
18363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
18364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18366 arg2
= (bool)SWIG_As_bool(obj1
);
18367 if (PyErr_Occurred()) SWIG_fail
;
18369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18370 (arg1
)->SetCollate(arg2
);
18372 wxPyEndAllowThreads(__tstate
);
18373 if (PyErr_Occurred()) SWIG_fail
;
18375 Py_INCREF(Py_None
); resultobj
= Py_None
;
18382 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18383 PyObject
*resultobj
;
18384 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18386 PyObject
* obj0
= 0 ;
18387 PyObject
* obj1
= 0 ;
18388 char *kwnames
[] = {
18389 (char *) "self",(char *) "orient", NULL
18392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
18393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18395 arg2
= (int)SWIG_As_int(obj1
);
18396 if (PyErr_Occurred()) SWIG_fail
;
18398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18399 (arg1
)->SetOrientation(arg2
);
18401 wxPyEndAllowThreads(__tstate
);
18402 if (PyErr_Occurred()) SWIG_fail
;
18404 Py_INCREF(Py_None
); resultobj
= Py_None
;
18411 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18412 PyObject
*resultobj
;
18413 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18414 wxString
*arg2
= 0 ;
18415 bool temp2
= False
;
18416 PyObject
* obj0
= 0 ;
18417 PyObject
* obj1
= 0 ;
18418 char *kwnames
[] = {
18419 (char *) "self",(char *) "name", NULL
18422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
18423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18426 arg2
= wxString_in_helper(obj1
);
18427 if (arg2
== NULL
) SWIG_fail
;
18431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18432 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
18434 wxPyEndAllowThreads(__tstate
);
18435 if (PyErr_Occurred()) SWIG_fail
;
18437 Py_INCREF(Py_None
); resultobj
= Py_None
;
18452 static PyObject
*_wrap_PrintData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18453 PyObject
*resultobj
;
18454 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18456 PyObject
* obj0
= 0 ;
18457 PyObject
* obj1
= 0 ;
18458 char *kwnames
[] = {
18459 (char *) "self",(char *) "colour", NULL
18462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18465 arg2
= (bool)SWIG_As_bool(obj1
);
18466 if (PyErr_Occurred()) SWIG_fail
;
18468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18469 (arg1
)->SetColour(arg2
);
18471 wxPyEndAllowThreads(__tstate
);
18472 if (PyErr_Occurred()) SWIG_fail
;
18474 Py_INCREF(Py_None
); resultobj
= Py_None
;
18481 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18482 PyObject
*resultobj
;
18483 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18485 PyObject
* obj0
= 0 ;
18486 PyObject
* obj1
= 0 ;
18487 char *kwnames
[] = {
18488 (char *) "self",(char *) "duplex", NULL
18491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
18492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18494 arg2
= (int)SWIG_As_int(obj1
);
18495 if (PyErr_Occurred()) SWIG_fail
;
18497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18498 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
18500 wxPyEndAllowThreads(__tstate
);
18501 if (PyErr_Occurred()) SWIG_fail
;
18503 Py_INCREF(Py_None
); resultobj
= Py_None
;
18510 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18511 PyObject
*resultobj
;
18512 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18514 PyObject
* obj0
= 0 ;
18515 PyObject
* obj1
= 0 ;
18516 char *kwnames
[] = {
18517 (char *) "self",(char *) "sizeId", NULL
18520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
18521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18523 arg2
= (int)SWIG_As_int(obj1
);
18524 if (PyErr_Occurred()) SWIG_fail
;
18526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18527 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
18529 wxPyEndAllowThreads(__tstate
);
18530 if (PyErr_Occurred()) SWIG_fail
;
18532 Py_INCREF(Py_None
); resultobj
= Py_None
;
18539 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18540 PyObject
*resultobj
;
18541 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18544 PyObject
* obj0
= 0 ;
18545 PyObject
* obj1
= 0 ;
18546 char *kwnames
[] = {
18547 (char *) "self",(char *) "sz", NULL
18550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18555 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18559 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
18561 wxPyEndAllowThreads(__tstate
);
18562 if (PyErr_Occurred()) SWIG_fail
;
18564 Py_INCREF(Py_None
); resultobj
= Py_None
;
18571 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18572 PyObject
*resultobj
;
18573 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18575 PyObject
* obj0
= 0 ;
18576 PyObject
* obj1
= 0 ;
18577 char *kwnames
[] = {
18578 (char *) "self",(char *) "quality", NULL
18581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
18582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18584 arg2
= (int)SWIG_As_int(obj1
);
18585 if (PyErr_Occurred()) SWIG_fail
;
18587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18588 (arg1
)->SetQuality(arg2
);
18590 wxPyEndAllowThreads(__tstate
);
18591 if (PyErr_Occurred()) SWIG_fail
;
18593 Py_INCREF(Py_None
); resultobj
= Py_None
;
18600 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18601 PyObject
*resultobj
;
18602 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18604 PyObject
* obj0
= 0 ;
18605 char *kwnames
[] = {
18606 (char *) "self", NULL
18609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
18610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18615 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
18616 result
= (wxString
*) &_result_ref
;
18619 wxPyEndAllowThreads(__tstate
);
18620 if (PyErr_Occurred()) SWIG_fail
;
18624 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18626 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18635 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18636 PyObject
*resultobj
;
18637 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18639 PyObject
* obj0
= 0 ;
18640 char *kwnames
[] = {
18641 (char *) "self", NULL
18644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
18645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18650 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
18651 result
= (wxString
*) &_result_ref
;
18654 wxPyEndAllowThreads(__tstate
);
18655 if (PyErr_Occurred()) SWIG_fail
;
18659 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18661 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18670 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18671 PyObject
*resultobj
;
18672 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18674 PyObject
* obj0
= 0 ;
18675 char *kwnames
[] = {
18676 (char *) "self", NULL
18679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
18680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18685 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
18686 result
= (wxString
*) &_result_ref
;
18689 wxPyEndAllowThreads(__tstate
);
18690 if (PyErr_Occurred()) SWIG_fail
;
18694 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18696 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18705 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18706 PyObject
*resultobj
;
18707 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18709 PyObject
* obj0
= 0 ;
18710 char *kwnames
[] = {
18711 (char *) "self", NULL
18714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
18715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18720 wxString
const &_result_ref
= (arg1
)->GetFilename();
18721 result
= (wxString
*) &_result_ref
;
18724 wxPyEndAllowThreads(__tstate
);
18725 if (PyErr_Occurred()) SWIG_fail
;
18729 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18731 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18740 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18741 PyObject
*resultobj
;
18742 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18744 PyObject
* obj0
= 0 ;
18745 char *kwnames
[] = {
18746 (char *) "self", NULL
18749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
18750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18755 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
18756 result
= (wxString
*) &_result_ref
;
18759 wxPyEndAllowThreads(__tstate
);
18760 if (PyErr_Occurred()) SWIG_fail
;
18764 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18766 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18775 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18776 PyObject
*resultobj
;
18777 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18779 PyObject
* obj0
= 0 ;
18780 char *kwnames
[] = {
18781 (char *) "self", NULL
18784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
18785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18789 result
= (double)(arg1
)->GetPrinterScaleX();
18791 wxPyEndAllowThreads(__tstate
);
18792 if (PyErr_Occurred()) SWIG_fail
;
18794 resultobj
= SWIG_From_double((double)result
);
18801 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18802 PyObject
*resultobj
;
18803 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18805 PyObject
* obj0
= 0 ;
18806 char *kwnames
[] = {
18807 (char *) "self", NULL
18810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
18811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18815 result
= (double)(arg1
)->GetPrinterScaleY();
18817 wxPyEndAllowThreads(__tstate
);
18818 if (PyErr_Occurred()) SWIG_fail
;
18820 resultobj
= SWIG_From_double((double)result
);
18827 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18828 PyObject
*resultobj
;
18829 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18831 PyObject
* obj0
= 0 ;
18832 char *kwnames
[] = {
18833 (char *) "self", NULL
18836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
18837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18841 result
= (long)(arg1
)->GetPrinterTranslateX();
18843 wxPyEndAllowThreads(__tstate
);
18844 if (PyErr_Occurred()) SWIG_fail
;
18846 resultobj
= SWIG_From_long((long)result
);
18853 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18854 PyObject
*resultobj
;
18855 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18857 PyObject
* obj0
= 0 ;
18858 char *kwnames
[] = {
18859 (char *) "self", NULL
18862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
18863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18867 result
= (long)(arg1
)->GetPrinterTranslateY();
18869 wxPyEndAllowThreads(__tstate
);
18870 if (PyErr_Occurred()) SWIG_fail
;
18872 resultobj
= SWIG_From_long((long)result
);
18879 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18880 PyObject
*resultobj
;
18881 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18883 PyObject
* obj0
= 0 ;
18884 char *kwnames
[] = {
18885 (char *) "self", NULL
18888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
18889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18893 result
= (int)(arg1
)->GetPrintMode();
18895 wxPyEndAllowThreads(__tstate
);
18896 if (PyErr_Occurred()) SWIG_fail
;
18898 resultobj
= SWIG_From_int((int)result
);
18905 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18906 PyObject
*resultobj
;
18907 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18908 wxString
*arg2
= 0 ;
18909 bool temp2
= False
;
18910 PyObject
* obj0
= 0 ;
18911 PyObject
* obj1
= 0 ;
18912 char *kwnames
[] = {
18913 (char *) "self",(char *) "command", NULL
18916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
18917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18920 arg2
= wxString_in_helper(obj1
);
18921 if (arg2
== NULL
) SWIG_fail
;
18925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18926 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
18928 wxPyEndAllowThreads(__tstate
);
18929 if (PyErr_Occurred()) SWIG_fail
;
18931 Py_INCREF(Py_None
); resultobj
= Py_None
;
18946 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18947 PyObject
*resultobj
;
18948 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18949 wxString
*arg2
= 0 ;
18950 bool temp2
= False
;
18951 PyObject
* obj0
= 0 ;
18952 PyObject
* obj1
= 0 ;
18953 char *kwnames
[] = {
18954 (char *) "self",(char *) "options", NULL
18957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
18958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18961 arg2
= wxString_in_helper(obj1
);
18962 if (arg2
== NULL
) SWIG_fail
;
18966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18967 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
18969 wxPyEndAllowThreads(__tstate
);
18970 if (PyErr_Occurred()) SWIG_fail
;
18972 Py_INCREF(Py_None
); resultobj
= Py_None
;
18987 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18988 PyObject
*resultobj
;
18989 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18990 wxString
*arg2
= 0 ;
18991 bool temp2
= False
;
18992 PyObject
* obj0
= 0 ;
18993 PyObject
* obj1
= 0 ;
18994 char *kwnames
[] = {
18995 (char *) "self",(char *) "command", NULL
18998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
18999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19002 arg2
= wxString_in_helper(obj1
);
19003 if (arg2
== NULL
) SWIG_fail
;
19007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19008 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
19010 wxPyEndAllowThreads(__tstate
);
19011 if (PyErr_Occurred()) SWIG_fail
;
19013 Py_INCREF(Py_None
); resultobj
= Py_None
;
19028 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19029 PyObject
*resultobj
;
19030 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19031 wxString
*arg2
= 0 ;
19032 bool temp2
= False
;
19033 PyObject
* obj0
= 0 ;
19034 PyObject
* obj1
= 0 ;
19035 char *kwnames
[] = {
19036 (char *) "self",(char *) "filename", NULL
19039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
19040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19043 arg2
= wxString_in_helper(obj1
);
19044 if (arg2
== NULL
) SWIG_fail
;
19048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19049 (arg1
)->SetFilename((wxString
const &)*arg2
);
19051 wxPyEndAllowThreads(__tstate
);
19052 if (PyErr_Occurred()) SWIG_fail
;
19054 Py_INCREF(Py_None
); resultobj
= Py_None
;
19069 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19070 PyObject
*resultobj
;
19071 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19072 wxString
*arg2
= 0 ;
19073 bool temp2
= False
;
19074 PyObject
* obj0
= 0 ;
19075 PyObject
* obj1
= 0 ;
19076 char *kwnames
[] = {
19077 (char *) "self",(char *) "path", NULL
19080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
19081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19084 arg2
= wxString_in_helper(obj1
);
19085 if (arg2
== NULL
) SWIG_fail
;
19089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19090 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
19092 wxPyEndAllowThreads(__tstate
);
19093 if (PyErr_Occurred()) SWIG_fail
;
19095 Py_INCREF(Py_None
); resultobj
= Py_None
;
19110 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19111 PyObject
*resultobj
;
19112 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19114 PyObject
* obj0
= 0 ;
19115 PyObject
* obj1
= 0 ;
19116 char *kwnames
[] = {
19117 (char *) "self",(char *) "x", NULL
19120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
19121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19123 arg2
= (double)SWIG_As_double(obj1
);
19124 if (PyErr_Occurred()) SWIG_fail
;
19126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19127 (arg1
)->SetPrinterScaleX(arg2
);
19129 wxPyEndAllowThreads(__tstate
);
19130 if (PyErr_Occurred()) SWIG_fail
;
19132 Py_INCREF(Py_None
); resultobj
= Py_None
;
19139 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19140 PyObject
*resultobj
;
19141 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19143 PyObject
* obj0
= 0 ;
19144 PyObject
* obj1
= 0 ;
19145 char *kwnames
[] = {
19146 (char *) "self",(char *) "y", NULL
19149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
19150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19152 arg2
= (double)SWIG_As_double(obj1
);
19153 if (PyErr_Occurred()) SWIG_fail
;
19155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19156 (arg1
)->SetPrinterScaleY(arg2
);
19158 wxPyEndAllowThreads(__tstate
);
19159 if (PyErr_Occurred()) SWIG_fail
;
19161 Py_INCREF(Py_None
); resultobj
= Py_None
;
19168 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19169 PyObject
*resultobj
;
19170 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19173 PyObject
* obj0
= 0 ;
19174 PyObject
* obj1
= 0 ;
19175 PyObject
* obj2
= 0 ;
19176 char *kwnames
[] = {
19177 (char *) "self",(char *) "x",(char *) "y", NULL
19180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19183 arg2
= (double)SWIG_As_double(obj1
);
19184 if (PyErr_Occurred()) SWIG_fail
;
19185 arg3
= (double)SWIG_As_double(obj2
);
19186 if (PyErr_Occurred()) SWIG_fail
;
19188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19189 (arg1
)->SetPrinterScaling(arg2
,arg3
);
19191 wxPyEndAllowThreads(__tstate
);
19192 if (PyErr_Occurred()) SWIG_fail
;
19194 Py_INCREF(Py_None
); resultobj
= Py_None
;
19201 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19202 PyObject
*resultobj
;
19203 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19205 PyObject
* obj0
= 0 ;
19206 PyObject
* obj1
= 0 ;
19207 char *kwnames
[] = {
19208 (char *) "self",(char *) "x", NULL
19211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
19212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19214 arg2
= (long)SWIG_As_long(obj1
);
19215 if (PyErr_Occurred()) SWIG_fail
;
19217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19218 (arg1
)->SetPrinterTranslateX(arg2
);
19220 wxPyEndAllowThreads(__tstate
);
19221 if (PyErr_Occurred()) SWIG_fail
;
19223 Py_INCREF(Py_None
); resultobj
= Py_None
;
19230 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19231 PyObject
*resultobj
;
19232 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19234 PyObject
* obj0
= 0 ;
19235 PyObject
* obj1
= 0 ;
19236 char *kwnames
[] = {
19237 (char *) "self",(char *) "y", NULL
19240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
19241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19243 arg2
= (long)SWIG_As_long(obj1
);
19244 if (PyErr_Occurred()) SWIG_fail
;
19246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19247 (arg1
)->SetPrinterTranslateY(arg2
);
19249 wxPyEndAllowThreads(__tstate
);
19250 if (PyErr_Occurred()) SWIG_fail
;
19252 Py_INCREF(Py_None
); resultobj
= Py_None
;
19259 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19260 PyObject
*resultobj
;
19261 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19264 PyObject
* obj0
= 0 ;
19265 PyObject
* obj1
= 0 ;
19266 PyObject
* obj2
= 0 ;
19267 char *kwnames
[] = {
19268 (char *) "self",(char *) "x",(char *) "y", NULL
19271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19274 arg2
= (long)SWIG_As_long(obj1
);
19275 if (PyErr_Occurred()) SWIG_fail
;
19276 arg3
= (long)SWIG_As_long(obj2
);
19277 if (PyErr_Occurred()) SWIG_fail
;
19279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19280 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
19282 wxPyEndAllowThreads(__tstate
);
19283 if (PyErr_Occurred()) SWIG_fail
;
19285 Py_INCREF(Py_None
); resultobj
= Py_None
;
19292 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19293 PyObject
*resultobj
;
19294 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19296 PyObject
* obj0
= 0 ;
19297 PyObject
* obj1
= 0 ;
19298 char *kwnames
[] = {
19299 (char *) "self",(char *) "printMode", NULL
19302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
19303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19305 arg2
= (int)SWIG_As_int(obj1
);
19306 if (PyErr_Occurred()) SWIG_fail
;
19308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19309 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
19311 wxPyEndAllowThreads(__tstate
);
19312 if (PyErr_Occurred()) SWIG_fail
;
19314 Py_INCREF(Py_None
); resultobj
= Py_None
;
19321 static PyObject
*_wrap_PrintData_GetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19322 PyObject
*resultobj
;
19323 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19324 wxOutputStream
*result
;
19325 PyObject
* obj0
= 0 ;
19326 char *kwnames
[] = {
19327 (char *) "self", NULL
19330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOutputStream",kwnames
,&obj0
)) goto fail
;
19331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19335 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
19337 wxPyEndAllowThreads(__tstate
);
19338 if (PyErr_Occurred()) SWIG_fail
;
19340 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
19347 static PyObject
*_wrap_PrintData_SetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19348 PyObject
*resultobj
;
19349 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19350 wxOutputStream
*arg2
= (wxOutputStream
*) 0 ;
19351 PyObject
* obj0
= 0 ;
19352 PyObject
* obj1
= 0 ;
19353 char *kwnames
[] = {
19354 (char *) "self",(char *) "outputstream", NULL
19357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOutputStream",kwnames
,&obj0
,&obj1
)) goto fail
;
19358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19360 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxOutputStream
,
19361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19364 (arg1
)->SetOutputStream(arg2
);
19366 wxPyEndAllowThreads(__tstate
);
19367 if (PyErr_Occurred()) SWIG_fail
;
19369 Py_INCREF(Py_None
); resultobj
= Py_None
;
19376 static PyObject
* PrintData_swigregister(PyObject
*, PyObject
*args
) {
19378 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19379 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
19381 return Py_BuildValue((char *)"");
19383 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
19384 PyObject
*resultobj
;
19385 wxPageSetupDialogData
*result
;
19387 if(!PyArg_ParseTuple(args
,(char *)":new_PageSetupDialogData")) goto fail
;
19389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19390 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
19392 wxPyEndAllowThreads(__tstate
);
19393 if (PyErr_Occurred()) SWIG_fail
;
19395 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
19402 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
19403 PyObject
*resultobj
;
19404 wxPageSetupDialogData
*arg1
= 0 ;
19405 wxPageSetupDialogData
*result
;
19406 PyObject
* obj0
= 0 ;
19408 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
19409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19410 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19412 if (arg1
== NULL
) {
19413 PyErr_SetString(PyExc_TypeError
,"null reference");
19417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19418 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
19420 wxPyEndAllowThreads(__tstate
);
19421 if (PyErr_Occurred()) SWIG_fail
;
19423 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
19430 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
19435 argc
= PyObject_Length(args
);
19436 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
19437 argv
[ii
] = PyTuple_GetItem(args
,ii
);
19440 return _wrap_new_PageSetupDialogData__SWIG_0(self
,args
);
19446 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPageSetupDialogData
, 0) == -1) {
19454 return _wrap_new_PageSetupDialogData__SWIG_1(self
,args
);
19458 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PageSetupDialogData'");
19463 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19464 PyObject
*resultobj
;
19465 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19466 PyObject
* obj0
= 0 ;
19467 char *kwnames
[] = {
19468 (char *) "self", NULL
19471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
19472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19478 wxPyEndAllowThreads(__tstate
);
19479 if (PyErr_Occurred()) SWIG_fail
;
19481 Py_INCREF(Py_None
); resultobj
= Py_None
;
19488 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19489 PyObject
*resultobj
;
19490 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19492 PyObject
* obj0
= 0 ;
19493 PyObject
* obj1
= 0 ;
19494 char *kwnames
[] = {
19495 (char *) "self",(char *) "flag", NULL
19498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19501 arg2
= (bool)SWIG_As_bool(obj1
);
19502 if (PyErr_Occurred()) SWIG_fail
;
19504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19505 (arg1
)->EnableHelp(arg2
);
19507 wxPyEndAllowThreads(__tstate
);
19508 if (PyErr_Occurred()) SWIG_fail
;
19510 Py_INCREF(Py_None
); resultobj
= Py_None
;
19517 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19518 PyObject
*resultobj
;
19519 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19521 PyObject
* obj0
= 0 ;
19522 PyObject
* obj1
= 0 ;
19523 char *kwnames
[] = {
19524 (char *) "self",(char *) "flag", NULL
19527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
19528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19530 arg2
= (bool)SWIG_As_bool(obj1
);
19531 if (PyErr_Occurred()) SWIG_fail
;
19533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19534 (arg1
)->EnableMargins(arg2
);
19536 wxPyEndAllowThreads(__tstate
);
19537 if (PyErr_Occurred()) SWIG_fail
;
19539 Py_INCREF(Py_None
); resultobj
= Py_None
;
19546 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19547 PyObject
*resultobj
;
19548 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19550 PyObject
* obj0
= 0 ;
19551 PyObject
* obj1
= 0 ;
19552 char *kwnames
[] = {
19553 (char *) "self",(char *) "flag", NULL
19556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
19557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19559 arg2
= (bool)SWIG_As_bool(obj1
);
19560 if (PyErr_Occurred()) SWIG_fail
;
19562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19563 (arg1
)->EnableOrientation(arg2
);
19565 wxPyEndAllowThreads(__tstate
);
19566 if (PyErr_Occurred()) SWIG_fail
;
19568 Py_INCREF(Py_None
); resultobj
= Py_None
;
19575 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19576 PyObject
*resultobj
;
19577 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19579 PyObject
* obj0
= 0 ;
19580 PyObject
* obj1
= 0 ;
19581 char *kwnames
[] = {
19582 (char *) "self",(char *) "flag", NULL
19585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
19586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19588 arg2
= (bool)SWIG_As_bool(obj1
);
19589 if (PyErr_Occurred()) SWIG_fail
;
19591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19592 (arg1
)->EnablePaper(arg2
);
19594 wxPyEndAllowThreads(__tstate
);
19595 if (PyErr_Occurred()) SWIG_fail
;
19597 Py_INCREF(Py_None
); resultobj
= Py_None
;
19604 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19605 PyObject
*resultobj
;
19606 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19608 PyObject
* obj0
= 0 ;
19609 PyObject
* obj1
= 0 ;
19610 char *kwnames
[] = {
19611 (char *) "self",(char *) "flag", NULL
19614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
19615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19617 arg2
= (bool)SWIG_As_bool(obj1
);
19618 if (PyErr_Occurred()) SWIG_fail
;
19620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19621 (arg1
)->EnablePrinter(arg2
);
19623 wxPyEndAllowThreads(__tstate
);
19624 if (PyErr_Occurred()) SWIG_fail
;
19626 Py_INCREF(Py_None
); resultobj
= Py_None
;
19633 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19634 PyObject
*resultobj
;
19635 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19637 PyObject
* obj0
= 0 ;
19638 char *kwnames
[] = {
19639 (char *) "self", NULL
19642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
19643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19647 result
= (bool)(arg1
)->GetDefaultMinMargins();
19649 wxPyEndAllowThreads(__tstate
);
19650 if (PyErr_Occurred()) SWIG_fail
;
19653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19661 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19662 PyObject
*resultobj
;
19663 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19665 PyObject
* obj0
= 0 ;
19666 char *kwnames
[] = {
19667 (char *) "self", NULL
19670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
19671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19675 result
= (bool)(arg1
)->GetEnableMargins();
19677 wxPyEndAllowThreads(__tstate
);
19678 if (PyErr_Occurred()) SWIG_fail
;
19681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19689 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19690 PyObject
*resultobj
;
19691 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19693 PyObject
* obj0
= 0 ;
19694 char *kwnames
[] = {
19695 (char *) "self", NULL
19698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
19699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19703 result
= (bool)(arg1
)->GetEnableOrientation();
19705 wxPyEndAllowThreads(__tstate
);
19706 if (PyErr_Occurred()) SWIG_fail
;
19709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19717 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19718 PyObject
*resultobj
;
19719 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19721 PyObject
* obj0
= 0 ;
19722 char *kwnames
[] = {
19723 (char *) "self", NULL
19726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
19727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19731 result
= (bool)(arg1
)->GetEnablePaper();
19733 wxPyEndAllowThreads(__tstate
);
19734 if (PyErr_Occurred()) SWIG_fail
;
19737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19745 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19746 PyObject
*resultobj
;
19747 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19749 PyObject
* obj0
= 0 ;
19750 char *kwnames
[] = {
19751 (char *) "self", NULL
19754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
19755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19759 result
= (bool)(arg1
)->GetEnablePrinter();
19761 wxPyEndAllowThreads(__tstate
);
19762 if (PyErr_Occurred()) SWIG_fail
;
19765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19773 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19774 PyObject
*resultobj
;
19775 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19777 PyObject
* obj0
= 0 ;
19778 char *kwnames
[] = {
19779 (char *) "self", NULL
19782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
19783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19787 result
= (bool)(arg1
)->GetEnableHelp();
19789 wxPyEndAllowThreads(__tstate
);
19790 if (PyErr_Occurred()) SWIG_fail
;
19793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19801 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19802 PyObject
*resultobj
;
19803 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19805 PyObject
* obj0
= 0 ;
19806 char *kwnames
[] = {
19807 (char *) "self", NULL
19810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
19811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19815 result
= (bool)(arg1
)->GetDefaultInfo();
19817 wxPyEndAllowThreads(__tstate
);
19818 if (PyErr_Occurred()) SWIG_fail
;
19821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19829 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19830 PyObject
*resultobj
;
19831 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19833 PyObject
* obj0
= 0 ;
19834 char *kwnames
[] = {
19835 (char *) "self", NULL
19838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
19839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19843 result
= (arg1
)->GetMarginTopLeft();
19845 wxPyEndAllowThreads(__tstate
);
19846 if (PyErr_Occurred()) SWIG_fail
;
19849 wxPoint
* resultptr
;
19850 resultptr
= new wxPoint((wxPoint
&) result
);
19851 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19859 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(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_GetMarginBottomRight",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
= (arg1
)->GetMarginBottomRight();
19875 wxPyEndAllowThreads(__tstate
);
19876 if (PyErr_Occurred()) SWIG_fail
;
19879 wxPoint
* resultptr
;
19880 resultptr
= new wxPoint((wxPoint
&) result
);
19881 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19889 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19890 PyObject
*resultobj
;
19891 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19893 PyObject
* obj0
= 0 ;
19894 char *kwnames
[] = {
19895 (char *) "self", NULL
19898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
19899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19903 result
= (arg1
)->GetMinMarginTopLeft();
19905 wxPyEndAllowThreads(__tstate
);
19906 if (PyErr_Occurred()) SWIG_fail
;
19909 wxPoint
* resultptr
;
19910 resultptr
= new wxPoint((wxPoint
&) result
);
19911 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19919 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19920 PyObject
*resultobj
;
19921 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19923 PyObject
* obj0
= 0 ;
19924 char *kwnames
[] = {
19925 (char *) "self", NULL
19928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
19929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19933 result
= (arg1
)->GetMinMarginBottomRight();
19935 wxPyEndAllowThreads(__tstate
);
19936 if (PyErr_Occurred()) SWIG_fail
;
19939 wxPoint
* resultptr
;
19940 resultptr
= new wxPoint((wxPoint
&) result
);
19941 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
19949 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19950 PyObject
*resultobj
;
19951 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19953 PyObject
* obj0
= 0 ;
19954 char *kwnames
[] = {
19955 (char *) "self", NULL
19958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
19959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19963 result
= (int)(arg1
)->GetPaperId();
19965 wxPyEndAllowThreads(__tstate
);
19966 if (PyErr_Occurred()) SWIG_fail
;
19968 resultobj
= SWIG_From_int((int)result
);
19975 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19976 PyObject
*resultobj
;
19977 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19979 PyObject
* obj0
= 0 ;
19980 char *kwnames
[] = {
19981 (char *) "self", NULL
19984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
19985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19989 result
= (arg1
)->GetPaperSize();
19991 wxPyEndAllowThreads(__tstate
);
19992 if (PyErr_Occurred()) SWIG_fail
;
19995 wxSize
* resultptr
;
19996 resultptr
= new wxSize((wxSize
&) result
);
19997 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20005 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20006 PyObject
*resultobj
;
20007 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20008 wxPrintData
*result
;
20009 PyObject
* obj0
= 0 ;
20010 char *kwnames
[] = {
20011 (char *) "self", NULL
20014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
20015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20020 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
20021 result
= (wxPrintData
*) &_result_ref
;
20024 wxPyEndAllowThreads(__tstate
);
20025 if (PyErr_Occurred()) SWIG_fail
;
20027 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
20034 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20035 PyObject
*resultobj
;
20036 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20038 PyObject
* obj0
= 0 ;
20039 char *kwnames
[] = {
20040 (char *) "self", NULL
20043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
20044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20048 result
= (bool)(arg1
)->Ok();
20050 wxPyEndAllowThreads(__tstate
);
20051 if (PyErr_Occurred()) SWIG_fail
;
20054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20062 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20063 PyObject
*resultobj
;
20064 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20066 PyObject
* obj0
= 0 ;
20067 PyObject
* obj1
= 0 ;
20068 char *kwnames
[] = {
20069 (char *) "self",(char *) "flag", NULL
20072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
20073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20075 arg2
= (bool)SWIG_As_bool(obj1
);
20076 if (PyErr_Occurred()) SWIG_fail
;
20078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20079 (arg1
)->SetDefaultInfo(arg2
);
20081 wxPyEndAllowThreads(__tstate
);
20082 if (PyErr_Occurred()) SWIG_fail
;
20084 Py_INCREF(Py_None
); resultobj
= Py_None
;
20091 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20092 PyObject
*resultobj
;
20093 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20095 PyObject
* obj0
= 0 ;
20096 PyObject
* obj1
= 0 ;
20097 char *kwnames
[] = {
20098 (char *) "self",(char *) "flag", NULL
20101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
20102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20104 arg2
= (bool)SWIG_As_bool(obj1
);
20105 if (PyErr_Occurred()) SWIG_fail
;
20107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20108 (arg1
)->SetDefaultMinMargins(arg2
);
20110 wxPyEndAllowThreads(__tstate
);
20111 if (PyErr_Occurred()) SWIG_fail
;
20113 Py_INCREF(Py_None
); resultobj
= Py_None
;
20120 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20121 PyObject
*resultobj
;
20122 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20123 wxPoint
*arg2
= 0 ;
20125 PyObject
* obj0
= 0 ;
20126 PyObject
* obj1
= 0 ;
20127 char *kwnames
[] = {
20128 (char *) "self",(char *) "pt", NULL
20131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
20132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20136 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20140 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
20142 wxPyEndAllowThreads(__tstate
);
20143 if (PyErr_Occurred()) SWIG_fail
;
20145 Py_INCREF(Py_None
); resultobj
= Py_None
;
20152 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20153 PyObject
*resultobj
;
20154 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20155 wxPoint
*arg2
= 0 ;
20157 PyObject
* obj0
= 0 ;
20158 PyObject
* obj1
= 0 ;
20159 char *kwnames
[] = {
20160 (char *) "self",(char *) "pt", NULL
20163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
20164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20168 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20172 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
20174 wxPyEndAllowThreads(__tstate
);
20175 if (PyErr_Occurred()) SWIG_fail
;
20177 Py_INCREF(Py_None
); resultobj
= Py_None
;
20184 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20185 PyObject
*resultobj
;
20186 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20187 wxPoint
*arg2
= 0 ;
20189 PyObject
* obj0
= 0 ;
20190 PyObject
* obj1
= 0 ;
20191 char *kwnames
[] = {
20192 (char *) "self",(char *) "pt", NULL
20195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
20196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20200 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20204 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
20206 wxPyEndAllowThreads(__tstate
);
20207 if (PyErr_Occurred()) SWIG_fail
;
20209 Py_INCREF(Py_None
); resultobj
= Py_None
;
20216 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20217 PyObject
*resultobj
;
20218 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20219 wxPoint
*arg2
= 0 ;
20221 PyObject
* obj0
= 0 ;
20222 PyObject
* obj1
= 0 ;
20223 char *kwnames
[] = {
20224 (char *) "self",(char *) "pt", NULL
20227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
20228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20232 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20236 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
20238 wxPyEndAllowThreads(__tstate
);
20239 if (PyErr_Occurred()) SWIG_fail
;
20241 Py_INCREF(Py_None
); resultobj
= Py_None
;
20248 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20249 PyObject
*resultobj
;
20250 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20252 PyObject
* obj0
= 0 ;
20253 PyObject
* obj1
= 0 ;
20254 char *kwnames
[] = {
20255 (char *) "self",(char *) "id", NULL
20258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
20259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20261 arg2
= (int)SWIG_As_int(obj1
);
20262 if (PyErr_Occurred()) SWIG_fail
;
20264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20265 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
20267 wxPyEndAllowThreads(__tstate
);
20268 if (PyErr_Occurred()) SWIG_fail
;
20270 Py_INCREF(Py_None
); resultobj
= Py_None
;
20277 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20278 PyObject
*resultobj
;
20279 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20282 PyObject
* obj0
= 0 ;
20283 PyObject
* obj1
= 0 ;
20284 char *kwnames
[] = {
20285 (char *) "self",(char *) "size", NULL
20288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20293 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20297 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
20299 wxPyEndAllowThreads(__tstate
);
20300 if (PyErr_Occurred()) SWIG_fail
;
20302 Py_INCREF(Py_None
); resultobj
= Py_None
;
20309 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20310 PyObject
*resultobj
;
20311 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20312 wxPrintData
*arg2
= 0 ;
20313 PyObject
* obj0
= 0 ;
20314 PyObject
* obj1
= 0 ;
20315 char *kwnames
[] = {
20316 (char *) "self",(char *) "printData", NULL
20319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
20320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20322 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
20323 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20325 if (arg2
== NULL
) {
20326 PyErr_SetString(PyExc_TypeError
,"null reference");
20330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20331 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
20333 wxPyEndAllowThreads(__tstate
);
20334 if (PyErr_Occurred()) SWIG_fail
;
20336 Py_INCREF(Py_None
); resultobj
= Py_None
;
20343 static PyObject
* PageSetupDialogData_swigregister(PyObject
*, PyObject
*args
) {
20345 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20346 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
20348 return Py_BuildValue((char *)"");
20350 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20351 PyObject
*resultobj
;
20352 wxWindow
*arg1
= (wxWindow
*) 0 ;
20353 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
20354 wxPageSetupDialog
*result
;
20355 PyObject
* obj0
= 0 ;
20356 PyObject
* obj1
= 0 ;
20357 char *kwnames
[] = {
20358 (char *) "parent",(char *) "data", NULL
20361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
20362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20365 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPageSetupDialogData
,
20366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20369 if (!wxPyCheckForApp()) SWIG_fail
;
20370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20371 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
20373 wxPyEndAllowThreads(__tstate
);
20374 if (PyErr_Occurred()) SWIG_fail
;
20376 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
20383 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20384 PyObject
*resultobj
;
20385 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
20386 wxPageSetupDialogData
*result
;
20387 PyObject
* obj0
= 0 ;
20388 char *kwnames
[] = {
20389 (char *) "self", NULL
20392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
20393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
20394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20398 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
20399 result
= (wxPageSetupDialogData
*) &_result_ref
;
20402 wxPyEndAllowThreads(__tstate
);
20403 if (PyErr_Occurred()) SWIG_fail
;
20405 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
20412 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20413 PyObject
*resultobj
;
20414 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
20416 PyObject
* obj0
= 0 ;
20417 char *kwnames
[] = {
20418 (char *) "self", NULL
20421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
20422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
20423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20426 result
= (int)(arg1
)->ShowModal();
20428 wxPyEndAllowThreads(__tstate
);
20429 if (PyErr_Occurred()) SWIG_fail
;
20431 resultobj
= SWIG_From_int((int)result
);
20438 static PyObject
* PageSetupDialog_swigregister(PyObject
*, PyObject
*args
) {
20440 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20441 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
20443 return Py_BuildValue((char *)"");
20445 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
20446 PyObject
*resultobj
;
20447 wxPrintDialogData
*result
;
20449 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
20451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20452 result
= (wxPrintDialogData
*)new wxPrintDialogData();
20454 wxPyEndAllowThreads(__tstate
);
20455 if (PyErr_Occurred()) SWIG_fail
;
20457 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
20464 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
20465 PyObject
*resultobj
;
20466 wxPrintData
*arg1
= 0 ;
20467 wxPrintDialogData
*result
;
20468 PyObject
* obj0
= 0 ;
20470 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
20471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
20472 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20474 if (arg1
== NULL
) {
20475 PyErr_SetString(PyExc_TypeError
,"null reference");
20479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20480 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
20482 wxPyEndAllowThreads(__tstate
);
20483 if (PyErr_Occurred()) SWIG_fail
;
20485 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
20492 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
20497 argc
= PyObject_Length(args
);
20498 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
20499 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20502 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
20508 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
20516 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
20520 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintDialogData'");
20525 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20526 PyObject
*resultobj
;
20527 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20528 PyObject
* obj0
= 0 ;
20529 char *kwnames
[] = {
20530 (char *) "self", NULL
20533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
20534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20540 wxPyEndAllowThreads(__tstate
);
20541 if (PyErr_Occurred()) SWIG_fail
;
20543 Py_INCREF(Py_None
); resultobj
= Py_None
;
20550 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20551 PyObject
*resultobj
;
20552 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20554 PyObject
* obj0
= 0 ;
20555 char *kwnames
[] = {
20556 (char *) "self", NULL
20559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
20560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20564 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
20566 wxPyEndAllowThreads(__tstate
);
20567 if (PyErr_Occurred()) SWIG_fail
;
20569 resultobj
= SWIG_From_int((int)result
);
20576 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20577 PyObject
*resultobj
;
20578 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20580 PyObject
* obj0
= 0 ;
20581 char *kwnames
[] = {
20582 (char *) "self", NULL
20585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
20586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20590 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
20592 wxPyEndAllowThreads(__tstate
);
20593 if (PyErr_Occurred()) SWIG_fail
;
20595 resultobj
= SWIG_From_int((int)result
);
20602 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20603 PyObject
*resultobj
;
20604 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20606 PyObject
* obj0
= 0 ;
20607 char *kwnames
[] = {
20608 (char *) "self", NULL
20611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
20612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20616 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
20618 wxPyEndAllowThreads(__tstate
);
20619 if (PyErr_Occurred()) SWIG_fail
;
20621 resultobj
= SWIG_From_int((int)result
);
20628 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20629 PyObject
*resultobj
;
20630 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20632 PyObject
* obj0
= 0 ;
20633 char *kwnames
[] = {
20634 (char *) "self", NULL
20637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
20638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20642 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
20644 wxPyEndAllowThreads(__tstate
);
20645 if (PyErr_Occurred()) SWIG_fail
;
20647 resultobj
= SWIG_From_int((int)result
);
20654 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20655 PyObject
*resultobj
;
20656 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20658 PyObject
* obj0
= 0 ;
20659 char *kwnames
[] = {
20660 (char *) "self", NULL
20663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
20664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20668 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
20670 wxPyEndAllowThreads(__tstate
);
20671 if (PyErr_Occurred()) SWIG_fail
;
20673 resultobj
= SWIG_From_int((int)result
);
20680 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20681 PyObject
*resultobj
;
20682 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20684 PyObject
* obj0
= 0 ;
20685 char *kwnames
[] = {
20686 (char *) "self", NULL
20689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
20690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20694 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
20696 wxPyEndAllowThreads(__tstate
);
20697 if (PyErr_Occurred()) SWIG_fail
;
20700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20708 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20709 PyObject
*resultobj
;
20710 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20712 PyObject
* obj0
= 0 ;
20713 char *kwnames
[] = {
20714 (char *) "self", NULL
20717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
20718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20722 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
20724 wxPyEndAllowThreads(__tstate
);
20725 if (PyErr_Occurred()) SWIG_fail
;
20728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20736 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20737 PyObject
*resultobj
;
20738 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20740 PyObject
* obj0
= 0 ;
20741 char *kwnames
[] = {
20742 (char *) "self", NULL
20745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
20746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20750 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
20752 wxPyEndAllowThreads(__tstate
);
20753 if (PyErr_Occurred()) SWIG_fail
;
20756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20764 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20765 PyObject
*resultobj
;
20766 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20768 PyObject
* obj0
= 0 ;
20769 char *kwnames
[] = {
20770 (char *) "self", NULL
20773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
20774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20778 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
20780 wxPyEndAllowThreads(__tstate
);
20781 if (PyErr_Occurred()) SWIG_fail
;
20784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20792 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20793 PyObject
*resultobj
;
20794 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20796 PyObject
* obj0
= 0 ;
20797 char *kwnames
[] = {
20798 (char *) "self", NULL
20801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
20802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20806 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
20808 wxPyEndAllowThreads(__tstate
);
20809 if (PyErr_Occurred()) SWIG_fail
;
20812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20820 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20821 PyObject
*resultobj
;
20822 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20824 PyObject
* obj0
= 0 ;
20825 PyObject
* obj1
= 0 ;
20826 char *kwnames
[] = {
20827 (char *) "self",(char *) "v", NULL
20830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20833 arg2
= (int)SWIG_As_int(obj1
);
20834 if (PyErr_Occurred()) SWIG_fail
;
20836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20837 (arg1
)->SetFromPage(arg2
);
20839 wxPyEndAllowThreads(__tstate
);
20840 if (PyErr_Occurred()) SWIG_fail
;
20842 Py_INCREF(Py_None
); resultobj
= Py_None
;
20849 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20850 PyObject
*resultobj
;
20851 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20853 PyObject
* obj0
= 0 ;
20854 PyObject
* obj1
= 0 ;
20855 char *kwnames
[] = {
20856 (char *) "self",(char *) "v", NULL
20859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20862 arg2
= (int)SWIG_As_int(obj1
);
20863 if (PyErr_Occurred()) SWIG_fail
;
20865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20866 (arg1
)->SetToPage(arg2
);
20868 wxPyEndAllowThreads(__tstate
);
20869 if (PyErr_Occurred()) SWIG_fail
;
20871 Py_INCREF(Py_None
); resultobj
= Py_None
;
20878 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20879 PyObject
*resultobj
;
20880 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20882 PyObject
* obj0
= 0 ;
20883 PyObject
* obj1
= 0 ;
20884 char *kwnames
[] = {
20885 (char *) "self",(char *) "v", NULL
20888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20891 arg2
= (int)SWIG_As_int(obj1
);
20892 if (PyErr_Occurred()) SWIG_fail
;
20894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20895 (arg1
)->SetMinPage(arg2
);
20897 wxPyEndAllowThreads(__tstate
);
20898 if (PyErr_Occurred()) SWIG_fail
;
20900 Py_INCREF(Py_None
); resultobj
= Py_None
;
20907 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20908 PyObject
*resultobj
;
20909 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20911 PyObject
* obj0
= 0 ;
20912 PyObject
* obj1
= 0 ;
20913 char *kwnames
[] = {
20914 (char *) "self",(char *) "v", NULL
20917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
20918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20920 arg2
= (int)SWIG_As_int(obj1
);
20921 if (PyErr_Occurred()) SWIG_fail
;
20923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20924 (arg1
)->SetMaxPage(arg2
);
20926 wxPyEndAllowThreads(__tstate
);
20927 if (PyErr_Occurred()) SWIG_fail
;
20929 Py_INCREF(Py_None
); resultobj
= Py_None
;
20936 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20937 PyObject
*resultobj
;
20938 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20940 PyObject
* obj0
= 0 ;
20941 PyObject
* obj1
= 0 ;
20942 char *kwnames
[] = {
20943 (char *) "self",(char *) "v", NULL
20946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
20947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20949 arg2
= (int)SWIG_As_int(obj1
);
20950 if (PyErr_Occurred()) SWIG_fail
;
20952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20953 (arg1
)->SetNoCopies(arg2
);
20955 wxPyEndAllowThreads(__tstate
);
20956 if (PyErr_Occurred()) SWIG_fail
;
20958 Py_INCREF(Py_None
); resultobj
= Py_None
;
20965 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20966 PyObject
*resultobj
;
20967 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20969 PyObject
* obj0
= 0 ;
20970 PyObject
* obj1
= 0 ;
20971 char *kwnames
[] = {
20972 (char *) "self",(char *) "flag", NULL
20975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
20976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20978 arg2
= (bool)SWIG_As_bool(obj1
);
20979 if (PyErr_Occurred()) SWIG_fail
;
20981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20982 (arg1
)->SetAllPages(arg2
);
20984 wxPyEndAllowThreads(__tstate
);
20985 if (PyErr_Occurred()) SWIG_fail
;
20987 Py_INCREF(Py_None
); resultobj
= Py_None
;
20994 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20995 PyObject
*resultobj
;
20996 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20998 PyObject
* obj0
= 0 ;
20999 PyObject
* obj1
= 0 ;
21000 char *kwnames
[] = {
21001 (char *) "self",(char *) "flag", NULL
21004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
21005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21007 arg2
= (bool)SWIG_As_bool(obj1
);
21008 if (PyErr_Occurred()) SWIG_fail
;
21010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21011 (arg1
)->SetSelection(arg2
);
21013 wxPyEndAllowThreads(__tstate
);
21014 if (PyErr_Occurred()) SWIG_fail
;
21016 Py_INCREF(Py_None
); resultobj
= Py_None
;
21023 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21024 PyObject
*resultobj
;
21025 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21027 PyObject
* obj0
= 0 ;
21028 PyObject
* obj1
= 0 ;
21029 char *kwnames
[] = {
21030 (char *) "self",(char *) "flag", NULL
21033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
21034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21036 arg2
= (bool)SWIG_As_bool(obj1
);
21037 if (PyErr_Occurred()) SWIG_fail
;
21039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21040 (arg1
)->SetCollate(arg2
);
21042 wxPyEndAllowThreads(__tstate
);
21043 if (PyErr_Occurred()) SWIG_fail
;
21045 Py_INCREF(Py_None
); resultobj
= Py_None
;
21052 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21053 PyObject
*resultobj
;
21054 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21056 PyObject
* obj0
= 0 ;
21057 PyObject
* obj1
= 0 ;
21058 char *kwnames
[] = {
21059 (char *) "self",(char *) "flag", NULL
21062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
21063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21065 arg2
= (bool)SWIG_As_bool(obj1
);
21066 if (PyErr_Occurred()) SWIG_fail
;
21068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21069 (arg1
)->SetPrintToFile(arg2
);
21071 wxPyEndAllowThreads(__tstate
);
21072 if (PyErr_Occurred()) SWIG_fail
;
21074 Py_INCREF(Py_None
); resultobj
= Py_None
;
21081 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21082 PyObject
*resultobj
;
21083 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21085 PyObject
* obj0
= 0 ;
21086 PyObject
* obj1
= 0 ;
21087 char *kwnames
[] = {
21088 (char *) "self",(char *) "flag", NULL
21091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21094 arg2
= (bool)SWIG_As_bool(obj1
);
21095 if (PyErr_Occurred()) SWIG_fail
;
21097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21098 (arg1
)->SetSetupDialog(arg2
);
21100 wxPyEndAllowThreads(__tstate
);
21101 if (PyErr_Occurred()) SWIG_fail
;
21103 Py_INCREF(Py_None
); resultobj
= Py_None
;
21110 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21111 PyObject
*resultobj
;
21112 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21114 PyObject
* obj0
= 0 ;
21115 PyObject
* obj1
= 0 ;
21116 char *kwnames
[] = {
21117 (char *) "self",(char *) "flag", NULL
21120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
21121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21123 arg2
= (bool)SWIG_As_bool(obj1
);
21124 if (PyErr_Occurred()) SWIG_fail
;
21126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21127 (arg1
)->EnablePrintToFile(arg2
);
21129 wxPyEndAllowThreads(__tstate
);
21130 if (PyErr_Occurred()) SWIG_fail
;
21132 Py_INCREF(Py_None
); resultobj
= Py_None
;
21139 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21140 PyObject
*resultobj
;
21141 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21143 PyObject
* obj0
= 0 ;
21144 PyObject
* obj1
= 0 ;
21145 char *kwnames
[] = {
21146 (char *) "self",(char *) "flag", NULL
21149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
21150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21152 arg2
= (bool)SWIG_As_bool(obj1
);
21153 if (PyErr_Occurred()) SWIG_fail
;
21155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21156 (arg1
)->EnableSelection(arg2
);
21158 wxPyEndAllowThreads(__tstate
);
21159 if (PyErr_Occurred()) SWIG_fail
;
21161 Py_INCREF(Py_None
); resultobj
= Py_None
;
21168 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21169 PyObject
*resultobj
;
21170 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21172 PyObject
* obj0
= 0 ;
21173 PyObject
* obj1
= 0 ;
21174 char *kwnames
[] = {
21175 (char *) "self",(char *) "flag", NULL
21178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
21179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21181 arg2
= (bool)SWIG_As_bool(obj1
);
21182 if (PyErr_Occurred()) SWIG_fail
;
21184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21185 (arg1
)->EnablePageNumbers(arg2
);
21187 wxPyEndAllowThreads(__tstate
);
21188 if (PyErr_Occurred()) SWIG_fail
;
21190 Py_INCREF(Py_None
); resultobj
= Py_None
;
21197 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21198 PyObject
*resultobj
;
21199 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21201 PyObject
* obj0
= 0 ;
21202 PyObject
* obj1
= 0 ;
21203 char *kwnames
[] = {
21204 (char *) "self",(char *) "flag", NULL
21207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
21208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21210 arg2
= (bool)SWIG_As_bool(obj1
);
21211 if (PyErr_Occurred()) SWIG_fail
;
21213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21214 (arg1
)->EnableHelp(arg2
);
21216 wxPyEndAllowThreads(__tstate
);
21217 if (PyErr_Occurred()) SWIG_fail
;
21219 Py_INCREF(Py_None
); resultobj
= Py_None
;
21226 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21227 PyObject
*resultobj
;
21228 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21230 PyObject
* obj0
= 0 ;
21231 char *kwnames
[] = {
21232 (char *) "self", NULL
21235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
21236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21240 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
21242 wxPyEndAllowThreads(__tstate
);
21243 if (PyErr_Occurred()) SWIG_fail
;
21246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21254 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21255 PyObject
*resultobj
;
21256 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21258 PyObject
* obj0
= 0 ;
21259 char *kwnames
[] = {
21260 (char *) "self", NULL
21263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
21264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21268 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
21270 wxPyEndAllowThreads(__tstate
);
21271 if (PyErr_Occurred()) SWIG_fail
;
21274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21282 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21283 PyObject
*resultobj
;
21284 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21286 PyObject
* obj0
= 0 ;
21287 char *kwnames
[] = {
21288 (char *) "self", NULL
21291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
21292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21296 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
21298 wxPyEndAllowThreads(__tstate
);
21299 if (PyErr_Occurred()) SWIG_fail
;
21302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21310 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21311 PyObject
*resultobj
;
21312 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21314 PyObject
* obj0
= 0 ;
21315 char *kwnames
[] = {
21316 (char *) "self", NULL
21319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
21320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21324 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
21326 wxPyEndAllowThreads(__tstate
);
21327 if (PyErr_Occurred()) SWIG_fail
;
21330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21338 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21339 PyObject
*resultobj
;
21340 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21342 PyObject
* obj0
= 0 ;
21343 char *kwnames
[] = {
21344 (char *) "self", NULL
21347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
21348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21352 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
21354 wxPyEndAllowThreads(__tstate
);
21355 if (PyErr_Occurred()) SWIG_fail
;
21358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21366 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21367 PyObject
*resultobj
;
21368 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21369 wxPrintData
*result
;
21370 PyObject
* obj0
= 0 ;
21371 char *kwnames
[] = {
21372 (char *) "self", NULL
21375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
21376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21381 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
21382 result
= (wxPrintData
*) &_result_ref
;
21385 wxPyEndAllowThreads(__tstate
);
21386 if (PyErr_Occurred()) SWIG_fail
;
21388 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
21395 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21396 PyObject
*resultobj
;
21397 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21398 wxPrintData
*arg2
= 0 ;
21399 PyObject
* obj0
= 0 ;
21400 PyObject
* obj1
= 0 ;
21401 char *kwnames
[] = {
21402 (char *) "self",(char *) "printData", NULL
21405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
21406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21408 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
21409 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21411 if (arg2
== NULL
) {
21412 PyErr_SetString(PyExc_TypeError
,"null reference");
21416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21417 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
21419 wxPyEndAllowThreads(__tstate
);
21420 if (PyErr_Occurred()) SWIG_fail
;
21422 Py_INCREF(Py_None
); resultobj
= Py_None
;
21429 static PyObject
* PrintDialogData_swigregister(PyObject
*, PyObject
*args
) {
21431 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21432 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
21434 return Py_BuildValue((char *)"");
21436 static PyObject
*_wrap_new_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21437 PyObject
*resultobj
;
21438 wxWindow
*arg1
= (wxWindow
*) 0 ;
21439 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
21440 wxPrintDialog
*result
;
21441 PyObject
* obj0
= 0 ;
21442 PyObject
* obj1
= 0 ;
21443 char *kwnames
[] = {
21444 (char *) "parent",(char *) "data", NULL
21447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21451 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintDialogData
,
21452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21455 if (!wxPyCheckForApp()) SWIG_fail
;
21456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21457 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
21459 wxPyEndAllowThreads(__tstate
);
21460 if (PyErr_Occurred()) SWIG_fail
;
21462 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
21469 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21470 PyObject
*resultobj
;
21471 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21472 wxPrintDialogData
*result
;
21473 PyObject
* obj0
= 0 ;
21474 char *kwnames
[] = {
21475 (char *) "self", NULL
21478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21484 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21485 result
= (wxPrintDialogData
*) &_result_ref
;
21488 wxPyEndAllowThreads(__tstate
);
21489 if (PyErr_Occurred()) SWIG_fail
;
21491 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
21498 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21499 PyObject
*resultobj
;
21500 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21502 PyObject
* obj0
= 0 ;
21503 char *kwnames
[] = {
21504 (char *) "self", NULL
21507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
21508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21512 result
= (wxDC
*)(arg1
)->GetPrintDC();
21514 wxPyEndAllowThreads(__tstate
);
21515 if (PyErr_Occurred()) SWIG_fail
;
21518 resultobj
= wxPyMake_wxObject(result
, 1);
21526 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21527 PyObject
*resultobj
;
21528 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21530 PyObject
* obj0
= 0 ;
21531 char *kwnames
[] = {
21532 (char *) "self", NULL
21535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
21536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21540 result
= (int)(arg1
)->ShowModal();
21542 wxPyEndAllowThreads(__tstate
);
21543 if (PyErr_Occurred()) SWIG_fail
;
21545 resultobj
= SWIG_From_int((int)result
);
21552 static PyObject
* PrintDialog_swigregister(PyObject
*, PyObject
*args
) {
21554 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21555 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
21557 return Py_BuildValue((char *)"");
21559 static PyObject
*_wrap_new_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21560 PyObject
*resultobj
;
21561 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
21563 PyObject
* obj0
= 0 ;
21564 char *kwnames
[] = {
21565 (char *) "data", NULL
21568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
21570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21574 if (!wxPyCheckForApp()) SWIG_fail
;
21575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21576 result
= (wxPrinter
*)new wxPrinter(arg1
);
21578 wxPyEndAllowThreads(__tstate
);
21579 if (PyErr_Occurred()) SWIG_fail
;
21581 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
21588 static PyObject
*_wrap_delete_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21589 PyObject
*resultobj
;
21590 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21591 PyObject
* obj0
= 0 ;
21592 char *kwnames
[] = {
21593 (char *) "self", NULL
21596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
21597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21603 wxPyEndAllowThreads(__tstate
);
21604 if (PyErr_Occurred()) SWIG_fail
;
21606 Py_INCREF(Py_None
); resultobj
= Py_None
;
21613 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21614 PyObject
*resultobj
;
21615 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21616 wxWindow
*arg2
= (wxWindow
*) 0 ;
21617 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21618 PyObject
* obj0
= 0 ;
21619 PyObject
* obj1
= 0 ;
21620 PyObject
* obj2
= 0 ;
21621 char *kwnames
[] = {
21622 (char *) "self",(char *) "parent",(char *) "printout", NULL
21625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21628 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21630 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21634 (arg1
)->CreateAbortWindow(arg2
,arg3
);
21636 wxPyEndAllowThreads(__tstate
);
21637 if (PyErr_Occurred()) SWIG_fail
;
21639 Py_INCREF(Py_None
); resultobj
= Py_None
;
21646 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21647 PyObject
*resultobj
;
21648 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21649 wxPrintDialogData
*result
;
21650 PyObject
* obj0
= 0 ;
21651 char *kwnames
[] = {
21652 (char *) "self", NULL
21655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21661 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21662 result
= (wxPrintDialogData
*) &_result_ref
;
21665 wxPyEndAllowThreads(__tstate
);
21666 if (PyErr_Occurred()) SWIG_fail
;
21668 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
21675 static PyObject
*_wrap_Printer_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21676 PyObject
*resultobj
;
21677 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21678 wxWindow
*arg2
= (wxWindow
*) 0 ;
21679 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21680 int arg4
= (int) True
;
21682 PyObject
* obj0
= 0 ;
21683 PyObject
* obj1
= 0 ;
21684 PyObject
* obj2
= 0 ;
21685 PyObject
* obj3
= 0 ;
21686 char *kwnames
[] = {
21687 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
21690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21693 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21695 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21698 arg4
= (int)SWIG_As_int(obj3
);
21699 if (PyErr_Occurred()) SWIG_fail
;
21702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21703 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
21705 wxPyEndAllowThreads(__tstate
);
21706 if (PyErr_Occurred()) SWIG_fail
;
21709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21717 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21718 PyObject
*resultobj
;
21719 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21720 wxWindow
*arg2
= (wxWindow
*) 0 ;
21722 PyObject
* obj0
= 0 ;
21723 PyObject
* obj1
= 0 ;
21724 char *kwnames
[] = {
21725 (char *) "self",(char *) "parent", NULL
21728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21731 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21735 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
21737 wxPyEndAllowThreads(__tstate
);
21738 if (PyErr_Occurred()) SWIG_fail
;
21741 resultobj
= wxPyMake_wxObject(result
, 0);
21749 static PyObject
*_wrap_Printer_ReportError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21750 PyObject
*resultobj
;
21751 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21752 wxWindow
*arg2
= (wxWindow
*) 0 ;
21753 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21754 wxString
*arg4
= 0 ;
21755 bool temp4
= False
;
21756 PyObject
* obj0
= 0 ;
21757 PyObject
* obj1
= 0 ;
21758 PyObject
* obj2
= 0 ;
21759 PyObject
* obj3
= 0 ;
21760 char *kwnames
[] = {
21761 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
21764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21767 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21769 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21772 arg4
= wxString_in_helper(obj3
);
21773 if (arg4
== NULL
) SWIG_fail
;
21777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21778 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
21780 wxPyEndAllowThreads(__tstate
);
21781 if (PyErr_Occurred()) SWIG_fail
;
21783 Py_INCREF(Py_None
); resultobj
= Py_None
;
21798 static PyObject
*_wrap_Printer_Setup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21799 PyObject
*resultobj
;
21800 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21801 wxWindow
*arg2
= (wxWindow
*) 0 ;
21803 PyObject
* obj0
= 0 ;
21804 PyObject
* obj1
= 0 ;
21805 char *kwnames
[] = {
21806 (char *) "self",(char *) "parent", NULL
21809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
21810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21812 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21816 result
= (bool)(arg1
)->Setup(arg2
);
21818 wxPyEndAllowThreads(__tstate
);
21819 if (PyErr_Occurred()) SWIG_fail
;
21822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21830 static PyObject
*_wrap_Printer_GetAbort(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21831 PyObject
*resultobj
;
21832 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21834 PyObject
* obj0
= 0 ;
21835 char *kwnames
[] = {
21836 (char *) "self", NULL
21839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
21840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21844 result
= (bool)(arg1
)->GetAbort();
21846 wxPyEndAllowThreads(__tstate
);
21847 if (PyErr_Occurred()) SWIG_fail
;
21850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21858 static PyObject
*_wrap_Printer_GetLastError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21859 PyObject
*resultobj
;
21861 char *kwnames
[] = {
21865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
21867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21868 result
= (int)wxPrinter::GetLastError();
21870 wxPyEndAllowThreads(__tstate
);
21871 if (PyErr_Occurred()) SWIG_fail
;
21873 resultobj
= SWIG_From_int((int)result
);
21880 static PyObject
* Printer_swigregister(PyObject
*, PyObject
*args
) {
21882 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21883 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
21885 return Py_BuildValue((char *)"");
21887 static PyObject
*_wrap_new_Printout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21888 PyObject
*resultobj
;
21889 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
21890 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
21891 wxPyPrintout
*result
;
21892 bool temp1
= False
;
21893 PyObject
* obj0
= 0 ;
21894 char *kwnames
[] = {
21895 (char *) "title", NULL
21898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
21901 arg1
= wxString_in_helper(obj0
);
21902 if (arg1
== NULL
) SWIG_fail
;
21907 if (!wxPyCheckForApp()) SWIG_fail
;
21908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21909 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
21911 wxPyEndAllowThreads(__tstate
);
21912 if (PyErr_Occurred()) SWIG_fail
;
21915 resultobj
= wxPyMake_wxObject(result
, 1);
21931 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21932 PyObject
*resultobj
;
21933 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21934 PyObject
*arg2
= (PyObject
*) 0 ;
21935 PyObject
*arg3
= (PyObject
*) 0 ;
21936 PyObject
* obj0
= 0 ;
21937 PyObject
* obj1
= 0 ;
21938 PyObject
* obj2
= 0 ;
21939 char *kwnames
[] = {
21940 (char *) "self",(char *) "self",(char *) "_class", NULL
21943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21950 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21952 wxPyEndAllowThreads(__tstate
);
21953 if (PyErr_Occurred()) SWIG_fail
;
21955 Py_INCREF(Py_None
); resultobj
= Py_None
;
21962 static PyObject
*_wrap_Printout_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21963 PyObject
*resultobj
;
21964 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21966 PyObject
* obj0
= 0 ;
21967 char *kwnames
[] = {
21968 (char *) "self", NULL
21971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
21972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
21973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21976 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
21978 wxPyEndAllowThreads(__tstate
);
21979 if (PyErr_Occurred()) SWIG_fail
;
21983 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21985 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21994 static PyObject
*_wrap_Printout_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21995 PyObject
*resultobj
;
21996 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
21998 PyObject
* obj0
= 0 ;
21999 char *kwnames
[] = {
22000 (char *) "self", NULL
22003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
22004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22008 result
= (wxDC
*)(arg1
)->GetDC();
22010 wxPyEndAllowThreads(__tstate
);
22011 if (PyErr_Occurred()) SWIG_fail
;
22014 resultobj
= wxPyMake_wxObject(result
, 0);
22022 static PyObject
*_wrap_Printout_SetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22023 PyObject
*resultobj
;
22024 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22025 wxDC
*arg2
= (wxDC
*) 0 ;
22026 PyObject
* obj0
= 0 ;
22027 PyObject
* obj1
= 0 ;
22028 char *kwnames
[] = {
22029 (char *) "self",(char *) "dc", NULL
22032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
22033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22035 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22039 (arg1
)->SetDC(arg2
);
22041 wxPyEndAllowThreads(__tstate
);
22042 if (PyErr_Occurred()) SWIG_fail
;
22044 Py_INCREF(Py_None
); resultobj
= Py_None
;
22051 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22052 PyObject
*resultobj
;
22053 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22056 PyObject
* obj0
= 0 ;
22057 PyObject
* obj1
= 0 ;
22058 PyObject
* obj2
= 0 ;
22059 char *kwnames
[] = {
22060 (char *) "self",(char *) "w",(char *) "h", NULL
22063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22066 arg2
= (int)SWIG_As_int(obj1
);
22067 if (PyErr_Occurred()) SWIG_fail
;
22068 arg3
= (int)SWIG_As_int(obj2
);
22069 if (PyErr_Occurred()) SWIG_fail
;
22071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22072 (arg1
)->SetPageSizePixels(arg2
,arg3
);
22074 wxPyEndAllowThreads(__tstate
);
22075 if (PyErr_Occurred()) SWIG_fail
;
22077 Py_INCREF(Py_None
); resultobj
= Py_None
;
22084 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22085 PyObject
*resultobj
;
22086 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22087 int *arg2
= (int *) 0 ;
22088 int *arg3
= (int *) 0 ;
22093 PyObject
* obj0
= 0 ;
22094 char *kwnames
[] = {
22095 (char *) "self", NULL
22098 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22099 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
22101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22105 (arg1
)->GetPageSizePixels(arg2
,arg3
);
22107 wxPyEndAllowThreads(__tstate
);
22108 if (PyErr_Occurred()) SWIG_fail
;
22110 Py_INCREF(Py_None
); resultobj
= Py_None
;
22111 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22112 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22113 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22114 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22121 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22122 PyObject
*resultobj
;
22123 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22126 PyObject
* obj0
= 0 ;
22127 PyObject
* obj1
= 0 ;
22128 PyObject
* obj2
= 0 ;
22129 char *kwnames
[] = {
22130 (char *) "self",(char *) "w",(char *) "h", NULL
22133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22136 arg2
= (int)SWIG_As_int(obj1
);
22137 if (PyErr_Occurred()) SWIG_fail
;
22138 arg3
= (int)SWIG_As_int(obj2
);
22139 if (PyErr_Occurred()) SWIG_fail
;
22141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22142 (arg1
)->SetPageSizeMM(arg2
,arg3
);
22144 wxPyEndAllowThreads(__tstate
);
22145 if (PyErr_Occurred()) SWIG_fail
;
22147 Py_INCREF(Py_None
); resultobj
= Py_None
;
22154 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22155 PyObject
*resultobj
;
22156 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22157 int *arg2
= (int *) 0 ;
22158 int *arg3
= (int *) 0 ;
22163 PyObject
* obj0
= 0 ;
22164 char *kwnames
[] = {
22165 (char *) "self", NULL
22168 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22169 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
22171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22175 (arg1
)->GetPageSizeMM(arg2
,arg3
);
22177 wxPyEndAllowThreads(__tstate
);
22178 if (PyErr_Occurred()) SWIG_fail
;
22180 Py_INCREF(Py_None
); resultobj
= Py_None
;
22181 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22182 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22183 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22184 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22191 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22192 PyObject
*resultobj
;
22193 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22196 PyObject
* obj0
= 0 ;
22197 PyObject
* obj1
= 0 ;
22198 PyObject
* obj2
= 0 ;
22199 char *kwnames
[] = {
22200 (char *) "self",(char *) "x",(char *) "y", NULL
22203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22206 arg2
= (int)SWIG_As_int(obj1
);
22207 if (PyErr_Occurred()) SWIG_fail
;
22208 arg3
= (int)SWIG_As_int(obj2
);
22209 if (PyErr_Occurred()) SWIG_fail
;
22211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22212 (arg1
)->SetPPIScreen(arg2
,arg3
);
22214 wxPyEndAllowThreads(__tstate
);
22215 if (PyErr_Occurred()) SWIG_fail
;
22217 Py_INCREF(Py_None
); resultobj
= Py_None
;
22224 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22225 PyObject
*resultobj
;
22226 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22227 int *arg2
= (int *) 0 ;
22228 int *arg3
= (int *) 0 ;
22233 PyObject
* obj0
= 0 ;
22234 char *kwnames
[] = {
22235 (char *) "self", NULL
22238 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22239 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
22241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22245 (arg1
)->GetPPIScreen(arg2
,arg3
);
22247 wxPyEndAllowThreads(__tstate
);
22248 if (PyErr_Occurred()) SWIG_fail
;
22250 Py_INCREF(Py_None
); resultobj
= Py_None
;
22251 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22252 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22253 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22254 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22261 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22262 PyObject
*resultobj
;
22263 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22266 PyObject
* obj0
= 0 ;
22267 PyObject
* obj1
= 0 ;
22268 PyObject
* obj2
= 0 ;
22269 char *kwnames
[] = {
22270 (char *) "self",(char *) "x",(char *) "y", NULL
22273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22276 arg2
= (int)SWIG_As_int(obj1
);
22277 if (PyErr_Occurred()) SWIG_fail
;
22278 arg3
= (int)SWIG_As_int(obj2
);
22279 if (PyErr_Occurred()) SWIG_fail
;
22281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22282 (arg1
)->SetPPIPrinter(arg2
,arg3
);
22284 wxPyEndAllowThreads(__tstate
);
22285 if (PyErr_Occurred()) SWIG_fail
;
22287 Py_INCREF(Py_None
); resultobj
= Py_None
;
22294 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22295 PyObject
*resultobj
;
22296 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22297 int *arg2
= (int *) 0 ;
22298 int *arg3
= (int *) 0 ;
22303 PyObject
* obj0
= 0 ;
22304 char *kwnames
[] = {
22305 (char *) "self", NULL
22308 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22309 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
22311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22315 (arg1
)->GetPPIPrinter(arg2
,arg3
);
22317 wxPyEndAllowThreads(__tstate
);
22318 if (PyErr_Occurred()) SWIG_fail
;
22320 Py_INCREF(Py_None
); resultobj
= Py_None
;
22321 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22322 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22323 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22324 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22331 static PyObject
*_wrap_Printout_IsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22332 PyObject
*resultobj
;
22333 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22335 PyObject
* obj0
= 0 ;
22336 char *kwnames
[] = {
22337 (char *) "self", NULL
22340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
22341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22345 result
= (bool)(arg1
)->IsPreview();
22347 wxPyEndAllowThreads(__tstate
);
22348 if (PyErr_Occurred()) SWIG_fail
;
22351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22359 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22360 PyObject
*resultobj
;
22361 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22363 PyObject
* obj0
= 0 ;
22364 PyObject
* obj1
= 0 ;
22365 char *kwnames
[] = {
22366 (char *) "self",(char *) "p", NULL
22369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
22370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22372 arg2
= (bool)SWIG_As_bool(obj1
);
22373 if (PyErr_Occurred()) SWIG_fail
;
22375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22376 (arg1
)->SetIsPreview(arg2
);
22378 wxPyEndAllowThreads(__tstate
);
22379 if (PyErr_Occurred()) SWIG_fail
;
22381 Py_INCREF(Py_None
); resultobj
= Py_None
;
22388 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22389 PyObject
*resultobj
;
22390 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22394 PyObject
* obj0
= 0 ;
22395 PyObject
* obj1
= 0 ;
22396 PyObject
* obj2
= 0 ;
22397 char *kwnames
[] = {
22398 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
22401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22404 arg2
= (int)SWIG_As_int(obj1
);
22405 if (PyErr_Occurred()) SWIG_fail
;
22406 arg3
= (int)SWIG_As_int(obj2
);
22407 if (PyErr_Occurred()) SWIG_fail
;
22409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22410 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
22412 wxPyEndAllowThreads(__tstate
);
22413 if (PyErr_Occurred()) SWIG_fail
;
22416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22424 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22425 PyObject
*resultobj
;
22426 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22427 PyObject
* obj0
= 0 ;
22428 char *kwnames
[] = {
22429 (char *) "self", NULL
22432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
22433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22437 (arg1
)->base_OnEndDocument();
22439 wxPyEndAllowThreads(__tstate
);
22440 if (PyErr_Occurred()) SWIG_fail
;
22442 Py_INCREF(Py_None
); resultobj
= Py_None
;
22449 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22450 PyObject
*resultobj
;
22451 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22452 PyObject
* obj0
= 0 ;
22453 char *kwnames
[] = {
22454 (char *) "self", NULL
22457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
22458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22462 (arg1
)->base_OnBeginPrinting();
22464 wxPyEndAllowThreads(__tstate
);
22465 if (PyErr_Occurred()) SWIG_fail
;
22467 Py_INCREF(Py_None
); resultobj
= Py_None
;
22474 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22475 PyObject
*resultobj
;
22476 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22477 PyObject
* obj0
= 0 ;
22478 char *kwnames
[] = {
22479 (char *) "self", NULL
22482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
22483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22487 (arg1
)->base_OnEndPrinting();
22489 wxPyEndAllowThreads(__tstate
);
22490 if (PyErr_Occurred()) SWIG_fail
;
22492 Py_INCREF(Py_None
); resultobj
= Py_None
;
22499 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22500 PyObject
*resultobj
;
22501 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22502 PyObject
* obj0
= 0 ;
22503 char *kwnames
[] = {
22504 (char *) "self", NULL
22507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
22508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22512 (arg1
)->base_OnPreparePrinting();
22514 wxPyEndAllowThreads(__tstate
);
22515 if (PyErr_Occurred()) SWIG_fail
;
22517 Py_INCREF(Py_None
); resultobj
= Py_None
;
22524 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22525 PyObject
*resultobj
;
22526 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22529 PyObject
* obj0
= 0 ;
22530 PyObject
* obj1
= 0 ;
22531 char *kwnames
[] = {
22532 (char *) "self",(char *) "page", NULL
22535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
22536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22538 arg2
= (int)SWIG_As_int(obj1
);
22539 if (PyErr_Occurred()) SWIG_fail
;
22541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22542 result
= (bool)(arg1
)->base_HasPage(arg2
);
22544 wxPyEndAllowThreads(__tstate
);
22545 if (PyErr_Occurred()) SWIG_fail
;
22548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22556 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22557 PyObject
*resultobj
;
22558 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22559 int *arg2
= (int *) 0 ;
22560 int *arg3
= (int *) 0 ;
22561 int *arg4
= (int *) 0 ;
22562 int *arg5
= (int *) 0 ;
22571 PyObject
* obj0
= 0 ;
22572 char *kwnames
[] = {
22573 (char *) "self", NULL
22576 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22577 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22578 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
22579 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
22580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
22581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22585 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
22587 wxPyEndAllowThreads(__tstate
);
22588 if (PyErr_Occurred()) SWIG_fail
;
22590 Py_INCREF(Py_None
); resultobj
= Py_None
;
22591 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22592 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22593 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22594 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22595 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
22596 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
22597 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
22598 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
22605 static PyObject
* Printout_swigregister(PyObject
*, PyObject
*args
) {
22607 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22608 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
22610 return Py_BuildValue((char *)"");
22612 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22613 PyObject
*resultobj
;
22614 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22615 wxWindow
*arg2
= (wxWindow
*) 0 ;
22616 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22617 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22618 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22619 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22620 long arg5
= (long) 0 ;
22621 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
22622 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22623 wxPreviewCanvas
*result
;
22626 bool temp6
= False
;
22627 PyObject
* obj0
= 0 ;
22628 PyObject
* obj1
= 0 ;
22629 PyObject
* obj2
= 0 ;
22630 PyObject
* obj3
= 0 ;
22631 PyObject
* obj4
= 0 ;
22632 PyObject
* obj5
= 0 ;
22633 char *kwnames
[] = {
22634 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22640 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22645 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22651 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22655 arg5
= (long)SWIG_As_long(obj4
);
22656 if (PyErr_Occurred()) SWIG_fail
;
22660 arg6
= wxString_in_helper(obj5
);
22661 if (arg6
== NULL
) SWIG_fail
;
22666 if (!wxPyCheckForApp()) SWIG_fail
;
22667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22668 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22670 wxPyEndAllowThreads(__tstate
);
22671 if (PyErr_Occurred()) SWIG_fail
;
22673 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
22688 static PyObject
* PreviewCanvas_swigregister(PyObject
*, PyObject
*args
) {
22690 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22691 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
22693 return Py_BuildValue((char *)"");
22695 static PyObject
*_wrap_new_PreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22696 PyObject
*resultobj
;
22697 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22698 wxFrame
*arg2
= (wxFrame
*) 0 ;
22699 wxString
*arg3
= 0 ;
22700 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22701 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22702 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22703 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22704 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
22705 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
22706 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22707 wxPreviewFrame
*result
;
22708 bool temp3
= False
;
22711 bool temp7
= False
;
22712 PyObject
* obj0
= 0 ;
22713 PyObject
* obj1
= 0 ;
22714 PyObject
* obj2
= 0 ;
22715 PyObject
* obj3
= 0 ;
22716 PyObject
* obj4
= 0 ;
22717 PyObject
* obj5
= 0 ;
22718 PyObject
* obj6
= 0 ;
22719 char *kwnames
[] = {
22720 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22726 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
22727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22729 arg3
= wxString_in_helper(obj2
);
22730 if (arg3
== NULL
) SWIG_fail
;
22736 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22742 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22746 arg6
= (long)SWIG_As_long(obj5
);
22747 if (PyErr_Occurred()) SWIG_fail
;
22751 arg7
= wxString_in_helper(obj6
);
22752 if (arg7
== NULL
) SWIG_fail
;
22757 if (!wxPyCheckForApp()) SWIG_fail
;
22758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22759 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22761 wxPyEndAllowThreads(__tstate
);
22762 if (PyErr_Occurred()) SWIG_fail
;
22764 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
22787 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22788 PyObject
*resultobj
;
22789 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22790 PyObject
* obj0
= 0 ;
22791 char *kwnames
[] = {
22792 (char *) "self", NULL
22795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
22796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22800 (arg1
)->Initialize();
22802 wxPyEndAllowThreads(__tstate
);
22803 if (PyErr_Occurred()) SWIG_fail
;
22805 Py_INCREF(Py_None
); resultobj
= Py_None
;
22812 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22813 PyObject
*resultobj
;
22814 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22815 PyObject
* obj0
= 0 ;
22816 char *kwnames
[] = {
22817 (char *) "self", NULL
22820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
22821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22825 (arg1
)->CreateControlBar();
22827 wxPyEndAllowThreads(__tstate
);
22828 if (PyErr_Occurred()) SWIG_fail
;
22830 Py_INCREF(Py_None
); resultobj
= Py_None
;
22837 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22838 PyObject
*resultobj
;
22839 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22840 PyObject
* obj0
= 0 ;
22841 char *kwnames
[] = {
22842 (char *) "self", NULL
22845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
22846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22850 (arg1
)->CreateCanvas();
22852 wxPyEndAllowThreads(__tstate
);
22853 if (PyErr_Occurred()) SWIG_fail
;
22855 Py_INCREF(Py_None
); resultobj
= Py_None
;
22862 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22863 PyObject
*resultobj
;
22864 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
22865 wxPreviewControlBar
*result
;
22866 PyObject
* obj0
= 0 ;
22867 char *kwnames
[] = {
22868 (char *) "self", NULL
22871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
22872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
22873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22876 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
22878 wxPyEndAllowThreads(__tstate
);
22879 if (PyErr_Occurred()) SWIG_fail
;
22881 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
22888 static PyObject
* PreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
22890 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22891 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
22893 return Py_BuildValue((char *)"");
22895 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22896 PyObject
*resultobj
;
22897 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22899 wxWindow
*arg3
= (wxWindow
*) 0 ;
22900 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22901 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22902 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22903 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22904 long arg6
= (long) wxTAB_TRAVERSAL
;
22905 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
22906 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22907 wxPreviewControlBar
*result
;
22910 bool temp7
= False
;
22911 PyObject
* obj0
= 0 ;
22912 PyObject
* obj1
= 0 ;
22913 PyObject
* obj2
= 0 ;
22914 PyObject
* obj3
= 0 ;
22915 PyObject
* obj4
= 0 ;
22916 PyObject
* obj5
= 0 ;
22917 PyObject
* obj6
= 0 ;
22918 char *kwnames
[] = {
22919 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
22924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22925 arg2
= (long)SWIG_As_long(obj1
);
22926 if (PyErr_Occurred()) SWIG_fail
;
22927 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
22928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22932 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22938 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22942 arg6
= (long)SWIG_As_long(obj5
);
22943 if (PyErr_Occurred()) SWIG_fail
;
22947 arg7
= wxString_in_helper(obj6
);
22948 if (arg7
== NULL
) SWIG_fail
;
22953 if (!wxPyCheckForApp()) SWIG_fail
;
22954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22955 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22957 wxPyEndAllowThreads(__tstate
);
22958 if (PyErr_Occurred()) SWIG_fail
;
22960 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
22975 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22976 PyObject
*resultobj
;
22977 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
22979 PyObject
* obj0
= 0 ;
22980 char *kwnames
[] = {
22981 (char *) "self", NULL
22984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
22985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
22986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22989 result
= (int)(arg1
)->GetZoomControl();
22991 wxPyEndAllowThreads(__tstate
);
22992 if (PyErr_Occurred()) SWIG_fail
;
22994 resultobj
= SWIG_From_int((int)result
);
23001 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23002 PyObject
*resultobj
;
23003 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23005 PyObject
* obj0
= 0 ;
23006 PyObject
* obj1
= 0 ;
23007 char *kwnames
[] = {
23008 (char *) "self",(char *) "zoom", NULL
23011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
23012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23014 arg2
= (int)SWIG_As_int(obj1
);
23015 if (PyErr_Occurred()) SWIG_fail
;
23017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23018 (arg1
)->SetZoomControl(arg2
);
23020 wxPyEndAllowThreads(__tstate
);
23021 if (PyErr_Occurred()) SWIG_fail
;
23023 Py_INCREF(Py_None
); resultobj
= Py_None
;
23030 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23031 PyObject
*resultobj
;
23032 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23033 wxPrintPreview
*result
;
23034 PyObject
* obj0
= 0 ;
23035 char *kwnames
[] = {
23036 (char *) "self", NULL
23039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
23040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23044 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
23046 wxPyEndAllowThreads(__tstate
);
23047 if (PyErr_Occurred()) SWIG_fail
;
23049 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
23056 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23057 PyObject
*resultobj
;
23058 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23059 PyObject
* obj0
= 0 ;
23060 char *kwnames
[] = {
23061 (char *) "self", NULL
23064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
23065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23071 wxPyEndAllowThreads(__tstate
);
23072 if (PyErr_Occurred()) SWIG_fail
;
23074 Py_INCREF(Py_None
); resultobj
= Py_None
;
23081 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23082 PyObject
*resultobj
;
23083 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23084 PyObject
* obj0
= 0 ;
23085 char *kwnames
[] = {
23086 (char *) "self", NULL
23089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
23090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23094 (arg1
)->OnPrevious();
23096 wxPyEndAllowThreads(__tstate
);
23097 if (PyErr_Occurred()) SWIG_fail
;
23099 Py_INCREF(Py_None
); resultobj
= Py_None
;
23106 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23107 PyObject
*resultobj
;
23108 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23109 PyObject
* obj0
= 0 ;
23110 char *kwnames
[] = {
23111 (char *) "self", NULL
23114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
23115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23121 wxPyEndAllowThreads(__tstate
);
23122 if (PyErr_Occurred()) SWIG_fail
;
23124 Py_INCREF(Py_None
); resultobj
= Py_None
;
23131 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23132 PyObject
*resultobj
;
23133 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23134 PyObject
* obj0
= 0 ;
23135 char *kwnames
[] = {
23136 (char *) "self", NULL
23139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
23140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23146 wxPyEndAllowThreads(__tstate
);
23147 if (PyErr_Occurred()) SWIG_fail
;
23149 Py_INCREF(Py_None
); resultobj
= Py_None
;
23156 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23157 PyObject
*resultobj
;
23158 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23159 PyObject
* obj0
= 0 ;
23160 char *kwnames
[] = {
23161 (char *) "self", NULL
23164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
23165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23171 wxPyEndAllowThreads(__tstate
);
23172 if (PyErr_Occurred()) SWIG_fail
;
23174 Py_INCREF(Py_None
); resultobj
= Py_None
;
23181 static PyObject
* PreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
23183 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23184 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
23186 return Py_BuildValue((char *)"");
23188 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
23189 PyObject
*resultobj
;
23190 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23191 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23192 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
23193 wxPrintPreview
*result
;
23194 PyObject
* obj0
= 0 ;
23195 PyObject
* obj1
= 0 ;
23196 PyObject
* obj2
= 0 ;
23198 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23201 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23204 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
23205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23208 if (!wxPyCheckForApp()) SWIG_fail
;
23209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23210 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
23212 wxPyEndAllowThreads(__tstate
);
23213 if (PyErr_Occurred()) SWIG_fail
;
23215 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
23222 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
23223 PyObject
*resultobj
;
23224 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23225 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23226 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
23227 wxPrintPreview
*result
;
23228 PyObject
* obj0
= 0 ;
23229 PyObject
* obj1
= 0 ;
23230 PyObject
* obj2
= 0 ;
23232 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23235 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23237 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
23238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23240 if (!wxPyCheckForApp()) SWIG_fail
;
23241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23242 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
23244 wxPyEndAllowThreads(__tstate
);
23245 if (PyErr_Occurred()) SWIG_fail
;
23247 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
23254 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
23259 argc
= PyObject_Length(args
);
23260 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
23261 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23263 if ((argc
>= 2) && (argc
<= 3)) {
23267 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23277 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23286 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
23290 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
23298 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
23307 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23317 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23327 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
23335 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
23341 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintPreview'");
23346 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23347 PyObject
*resultobj
;
23348 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23351 PyObject
* obj0
= 0 ;
23352 PyObject
* obj1
= 0 ;
23353 char *kwnames
[] = {
23354 (char *) "self",(char *) "pageNum", NULL
23357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23360 arg2
= (int)SWIG_As_int(obj1
);
23361 if (PyErr_Occurred()) SWIG_fail
;
23363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23364 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
23366 wxPyEndAllowThreads(__tstate
);
23367 if (PyErr_Occurred()) SWIG_fail
;
23370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23378 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23379 PyObject
*resultobj
;
23380 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23382 PyObject
* obj0
= 0 ;
23383 char *kwnames
[] = {
23384 (char *) "self", NULL
23387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
23388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23392 result
= (int)(arg1
)->GetCurrentPage();
23394 wxPyEndAllowThreads(__tstate
);
23395 if (PyErr_Occurred()) SWIG_fail
;
23397 resultobj
= SWIG_From_int((int)result
);
23404 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23405 PyObject
*resultobj
;
23406 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23407 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23408 PyObject
* obj0
= 0 ;
23409 PyObject
* obj1
= 0 ;
23410 char *kwnames
[] = {
23411 (char *) "self",(char *) "printout", NULL
23414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
23415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23417 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23421 (arg1
)->SetPrintout(arg2
);
23423 wxPyEndAllowThreads(__tstate
);
23424 if (PyErr_Occurred()) SWIG_fail
;
23426 Py_INCREF(Py_None
); resultobj
= Py_None
;
23433 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23434 PyObject
*resultobj
;
23435 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23436 wxPyPrintout
*result
;
23437 PyObject
* obj0
= 0 ;
23438 char *kwnames
[] = {
23439 (char *) "self", NULL
23442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
23443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23447 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
23449 wxPyEndAllowThreads(__tstate
);
23450 if (PyErr_Occurred()) SWIG_fail
;
23453 resultobj
= wxPyMake_wxObject(result
, 0);
23461 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23462 PyObject
*resultobj
;
23463 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23464 wxPyPrintout
*result
;
23465 PyObject
* obj0
= 0 ;
23466 char *kwnames
[] = {
23467 (char *) "self", NULL
23470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
23471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23475 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
23477 wxPyEndAllowThreads(__tstate
);
23478 if (PyErr_Occurred()) SWIG_fail
;
23481 resultobj
= wxPyMake_wxObject(result
, 0);
23489 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23490 PyObject
*resultobj
;
23491 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23492 wxFrame
*arg2
= (wxFrame
*) 0 ;
23493 PyObject
* obj0
= 0 ;
23494 PyObject
* obj1
= 0 ;
23495 char *kwnames
[] = {
23496 (char *) "self",(char *) "frame", NULL
23499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
23500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23502 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
23503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23506 (arg1
)->SetFrame(arg2
);
23508 wxPyEndAllowThreads(__tstate
);
23509 if (PyErr_Occurred()) SWIG_fail
;
23511 Py_INCREF(Py_None
); resultobj
= Py_None
;
23518 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23519 PyObject
*resultobj
;
23520 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23521 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23522 PyObject
* obj0
= 0 ;
23523 PyObject
* obj1
= 0 ;
23524 char *kwnames
[] = {
23525 (char *) "self",(char *) "canvas", NULL
23528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
23529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23531 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23535 (arg1
)->SetCanvas(arg2
);
23537 wxPyEndAllowThreads(__tstate
);
23538 if (PyErr_Occurred()) SWIG_fail
;
23540 Py_INCREF(Py_None
); resultobj
= Py_None
;
23547 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23548 PyObject
*resultobj
;
23549 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23551 PyObject
* obj0
= 0 ;
23552 char *kwnames
[] = {
23553 (char *) "self", NULL
23556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
23557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23561 result
= (wxFrame
*)(arg1
)->GetFrame();
23563 wxPyEndAllowThreads(__tstate
);
23564 if (PyErr_Occurred()) SWIG_fail
;
23567 resultobj
= wxPyMake_wxObject(result
, 0);
23575 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23576 PyObject
*resultobj
;
23577 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23578 wxPreviewCanvas
*result
;
23579 PyObject
* obj0
= 0 ;
23580 char *kwnames
[] = {
23581 (char *) "self", NULL
23584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
23585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23589 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
23591 wxPyEndAllowThreads(__tstate
);
23592 if (PyErr_Occurred()) SWIG_fail
;
23594 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
23601 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23602 PyObject
*resultobj
;
23603 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23604 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23607 PyObject
* obj0
= 0 ;
23608 PyObject
* obj1
= 0 ;
23609 PyObject
* obj2
= 0 ;
23610 char *kwnames
[] = {
23611 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23617 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23619 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23620 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23622 if (arg3
== NULL
) {
23623 PyErr_SetString(PyExc_TypeError
,"null reference");
23627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23628 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
23630 wxPyEndAllowThreads(__tstate
);
23631 if (PyErr_Occurred()) SWIG_fail
;
23634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23642 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23643 PyObject
*resultobj
;
23644 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23645 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23648 PyObject
* obj0
= 0 ;
23649 PyObject
* obj1
= 0 ;
23650 PyObject
* obj2
= 0 ;
23651 char *kwnames
[] = {
23652 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23658 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23660 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23661 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23663 if (arg3
== NULL
) {
23664 PyErr_SetString(PyExc_TypeError
,"null reference");
23668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23669 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
23671 wxPyEndAllowThreads(__tstate
);
23672 if (PyErr_Occurred()) SWIG_fail
;
23675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23683 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23684 PyObject
*resultobj
;
23685 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23688 PyObject
* obj0
= 0 ;
23689 PyObject
* obj1
= 0 ;
23690 char *kwnames
[] = {
23691 (char *) "self",(char *) "pageNum", NULL
23694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23697 arg2
= (int)SWIG_As_int(obj1
);
23698 if (PyErr_Occurred()) SWIG_fail
;
23700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23701 result
= (bool)(arg1
)->RenderPage(arg2
);
23703 wxPyEndAllowThreads(__tstate
);
23704 if (PyErr_Occurred()) SWIG_fail
;
23707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23715 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23716 PyObject
*resultobj
;
23717 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23718 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23719 PyObject
* obj0
= 0 ;
23720 PyObject
* obj1
= 0 ;
23721 char *kwnames
[] = {
23722 (char *) "self",(char *) "canvas", NULL
23725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",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_wxPreviewCanvas
,
23729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23732 (arg1
)->AdjustScrollbars(arg2
);
23734 wxPyEndAllowThreads(__tstate
);
23735 if (PyErr_Occurred()) SWIG_fail
;
23737 Py_INCREF(Py_None
); resultobj
= Py_None
;
23744 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23745 PyObject
*resultobj
;
23746 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23747 wxPrintDialogData
*result
;
23748 PyObject
* obj0
= 0 ;
23749 char *kwnames
[] = {
23750 (char *) "self", NULL
23753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
23754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23759 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
23760 result
= (wxPrintDialogData
*) &_result_ref
;
23763 wxPyEndAllowThreads(__tstate
);
23764 if (PyErr_Occurred()) SWIG_fail
;
23766 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
23773 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23774 PyObject
*resultobj
;
23775 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23777 PyObject
* obj0
= 0 ;
23778 PyObject
* obj1
= 0 ;
23779 char *kwnames
[] = {
23780 (char *) "self",(char *) "percent", NULL
23783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
23784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23786 arg2
= (int)SWIG_As_int(obj1
);
23787 if (PyErr_Occurred()) SWIG_fail
;
23789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23790 (arg1
)->SetZoom(arg2
);
23792 wxPyEndAllowThreads(__tstate
);
23793 if (PyErr_Occurred()) SWIG_fail
;
23795 Py_INCREF(Py_None
); resultobj
= Py_None
;
23802 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23803 PyObject
*resultobj
;
23804 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23806 PyObject
* obj0
= 0 ;
23807 char *kwnames
[] = {
23808 (char *) "self", NULL
23811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
23812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23816 result
= (int)(arg1
)->GetZoom();
23818 wxPyEndAllowThreads(__tstate
);
23819 if (PyErr_Occurred()) SWIG_fail
;
23821 resultobj
= SWIG_From_int((int)result
);
23828 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23829 PyObject
*resultobj
;
23830 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23832 PyObject
* obj0
= 0 ;
23833 char *kwnames
[] = {
23834 (char *) "self", NULL
23837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
23838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23842 result
= (int)(arg1
)->GetMaxPage();
23844 wxPyEndAllowThreads(__tstate
);
23845 if (PyErr_Occurred()) SWIG_fail
;
23847 resultobj
= SWIG_From_int((int)result
);
23854 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23855 PyObject
*resultobj
;
23856 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23858 PyObject
* obj0
= 0 ;
23859 char *kwnames
[] = {
23860 (char *) "self", NULL
23863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
23864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23868 result
= (int)(arg1
)->GetMinPage();
23870 wxPyEndAllowThreads(__tstate
);
23871 if (PyErr_Occurred()) SWIG_fail
;
23873 resultobj
= SWIG_From_int((int)result
);
23880 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23881 PyObject
*resultobj
;
23882 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23884 PyObject
* obj0
= 0 ;
23885 char *kwnames
[] = {
23886 (char *) "self", NULL
23889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
23890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23894 result
= (bool)(arg1
)->Ok();
23896 wxPyEndAllowThreads(__tstate
);
23897 if (PyErr_Occurred()) SWIG_fail
;
23900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23908 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23909 PyObject
*resultobj
;
23910 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23912 PyObject
* obj0
= 0 ;
23913 PyObject
* obj1
= 0 ;
23914 char *kwnames
[] = {
23915 (char *) "self",(char *) "ok", NULL
23918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
23919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23921 arg2
= (bool)SWIG_As_bool(obj1
);
23922 if (PyErr_Occurred()) SWIG_fail
;
23924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23925 (arg1
)->SetOk(arg2
);
23927 wxPyEndAllowThreads(__tstate
);
23928 if (PyErr_Occurred()) SWIG_fail
;
23930 Py_INCREF(Py_None
); resultobj
= Py_None
;
23937 static PyObject
*_wrap_PrintPreview_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23938 PyObject
*resultobj
;
23939 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23942 PyObject
* obj0
= 0 ;
23943 PyObject
* obj1
= 0 ;
23944 char *kwnames
[] = {
23945 (char *) "self",(char *) "interactive", NULL
23948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
23949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23951 arg2
= (bool)SWIG_As_bool(obj1
);
23952 if (PyErr_Occurred()) SWIG_fail
;
23954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23955 result
= (bool)(arg1
)->Print(arg2
);
23957 wxPyEndAllowThreads(__tstate
);
23958 if (PyErr_Occurred()) SWIG_fail
;
23961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23969 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23970 PyObject
*resultobj
;
23971 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23972 PyObject
* obj0
= 0 ;
23973 char *kwnames
[] = {
23974 (char *) "self", NULL
23977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
23978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23982 (arg1
)->DetermineScaling();
23984 wxPyEndAllowThreads(__tstate
);
23985 if (PyErr_Occurred()) SWIG_fail
;
23987 Py_INCREF(Py_None
); resultobj
= Py_None
;
23994 static PyObject
* PrintPreview_swigregister(PyObject
*, PyObject
*args
) {
23996 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23997 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
23999 return Py_BuildValue((char *)"");
24001 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
24002 PyObject
*resultobj
;
24003 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24004 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
24005 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
24006 wxPyPrintPreview
*result
;
24007 PyObject
* obj0
= 0 ;
24008 PyObject
* obj1
= 0 ;
24009 PyObject
* obj2
= 0 ;
24011 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
24012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
24013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24014 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
24015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24017 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
24018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24021 if (!wxPyCheckForApp()) SWIG_fail
;
24022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24023 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
24025 wxPyEndAllowThreads(__tstate
);
24026 if (PyErr_Occurred()) SWIG_fail
;
24028 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
24035 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
24036 PyObject
*resultobj
;
24037 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24038 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
24039 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
24040 wxPyPrintPreview
*result
;
24041 PyObject
* obj0
= 0 ;
24042 PyObject
* obj1
= 0 ;
24043 PyObject
* obj2
= 0 ;
24045 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
24046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
24047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24048 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
24049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24050 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
24051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24053 if (!wxPyCheckForApp()) SWIG_fail
;
24054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24055 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
24057 wxPyEndAllowThreads(__tstate
);
24058 if (PyErr_Occurred()) SWIG_fail
;
24060 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
24067 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
24072 argc
= PyObject_Length(args
);
24073 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
24074 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24076 if ((argc
>= 2) && (argc
<= 3)) {
24080 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24090 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24099 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
24103 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
24111 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
24120 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24130 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24140 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
24148 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
24154 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PyPrintPreview'");
24159 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24160 PyObject
*resultobj
;
24161 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24162 PyObject
*arg2
= (PyObject
*) 0 ;
24163 PyObject
*arg3
= (PyObject
*) 0 ;
24164 PyObject
* obj0
= 0 ;
24165 PyObject
* obj1
= 0 ;
24166 PyObject
* obj2
= 0 ;
24167 char *kwnames
[] = {
24168 (char *) "self",(char *) "self",(char *) "_class", NULL
24171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24178 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24180 wxPyEndAllowThreads(__tstate
);
24181 if (PyErr_Occurred()) SWIG_fail
;
24183 Py_INCREF(Py_None
); resultobj
= Py_None
;
24190 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24191 PyObject
*resultobj
;
24192 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24195 PyObject
* obj0
= 0 ;
24196 PyObject
* obj1
= 0 ;
24197 char *kwnames
[] = {
24198 (char *) "self",(char *) "pageNum", NULL
24201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24204 arg2
= (int)SWIG_As_int(obj1
);
24205 if (PyErr_Occurred()) SWIG_fail
;
24207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24208 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
24210 wxPyEndAllowThreads(__tstate
);
24211 if (PyErr_Occurred()) SWIG_fail
;
24214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24222 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24223 PyObject
*resultobj
;
24224 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24225 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24228 PyObject
* obj0
= 0 ;
24229 PyObject
* obj1
= 0 ;
24230 PyObject
* obj2
= 0 ;
24231 char *kwnames
[] = {
24232 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24238 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24240 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24241 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24243 if (arg3
== NULL
) {
24244 PyErr_SetString(PyExc_TypeError
,"null reference");
24248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24249 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
24251 wxPyEndAllowThreads(__tstate
);
24252 if (PyErr_Occurred()) SWIG_fail
;
24255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24263 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24264 PyObject
*resultobj
;
24265 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24266 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24269 PyObject
* obj0
= 0 ;
24270 PyObject
* obj1
= 0 ;
24271 PyObject
* obj2
= 0 ;
24272 char *kwnames
[] = {
24273 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24279 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24281 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24282 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24284 if (arg3
== NULL
) {
24285 PyErr_SetString(PyExc_TypeError
,"null reference");
24289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24290 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
24292 wxPyEndAllowThreads(__tstate
);
24293 if (PyErr_Occurred()) SWIG_fail
;
24296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24304 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24305 PyObject
*resultobj
;
24306 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24309 PyObject
* obj0
= 0 ;
24310 PyObject
* obj1
= 0 ;
24311 char *kwnames
[] = {
24312 (char *) "self",(char *) "pageNum", NULL
24315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24318 arg2
= (int)SWIG_As_int(obj1
);
24319 if (PyErr_Occurred()) SWIG_fail
;
24321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24322 result
= (bool)(arg1
)->base_RenderPage(arg2
);
24324 wxPyEndAllowThreads(__tstate
);
24325 if (PyErr_Occurred()) SWIG_fail
;
24328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24336 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24337 PyObject
*resultobj
;
24338 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24340 PyObject
* obj0
= 0 ;
24341 PyObject
* obj1
= 0 ;
24342 char *kwnames
[] = {
24343 (char *) "self",(char *) "percent", NULL
24346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
24347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24349 arg2
= (int)SWIG_As_int(obj1
);
24350 if (PyErr_Occurred()) SWIG_fail
;
24352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24353 (arg1
)->base_SetZoom(arg2
);
24355 wxPyEndAllowThreads(__tstate
);
24356 if (PyErr_Occurred()) SWIG_fail
;
24358 Py_INCREF(Py_None
); resultobj
= Py_None
;
24365 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24366 PyObject
*resultobj
;
24367 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24370 PyObject
* obj0
= 0 ;
24371 PyObject
* obj1
= 0 ;
24372 char *kwnames
[] = {
24373 (char *) "self",(char *) "interactive", NULL
24376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
24377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24379 arg2
= (bool)SWIG_As_bool(obj1
);
24380 if (PyErr_Occurred()) SWIG_fail
;
24382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24383 result
= (bool)(arg1
)->base_Print(arg2
);
24385 wxPyEndAllowThreads(__tstate
);
24386 if (PyErr_Occurred()) SWIG_fail
;
24389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24397 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24398 PyObject
*resultobj
;
24399 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24400 PyObject
* obj0
= 0 ;
24401 char *kwnames
[] = {
24402 (char *) "self", NULL
24405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
24406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24410 (arg1
)->base_DetermineScaling();
24412 wxPyEndAllowThreads(__tstate
);
24413 if (PyErr_Occurred()) SWIG_fail
;
24415 Py_INCREF(Py_None
); resultobj
= Py_None
;
24422 static PyObject
* PyPrintPreview_swigregister(PyObject
*, PyObject
*args
) {
24424 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24425 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
24427 return Py_BuildValue((char *)"");
24429 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24430 PyObject
*resultobj
;
24431 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24432 wxFrame
*arg2
= (wxFrame
*) 0 ;
24433 wxString
*arg3
= 0 ;
24434 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24435 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24436 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24437 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24438 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
24439 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
24440 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24441 wxPyPreviewFrame
*result
;
24442 bool temp3
= False
;
24445 bool temp7
= False
;
24446 PyObject
* obj0
= 0 ;
24447 PyObject
* obj1
= 0 ;
24448 PyObject
* obj2
= 0 ;
24449 PyObject
* obj3
= 0 ;
24450 PyObject
* obj4
= 0 ;
24451 PyObject
* obj5
= 0 ;
24452 PyObject
* obj6
= 0 ;
24453 char *kwnames
[] = {
24454 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24460 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
24461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24463 arg3
= wxString_in_helper(obj2
);
24464 if (arg3
== NULL
) SWIG_fail
;
24470 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24476 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24480 arg6
= (long)SWIG_As_long(obj5
);
24481 if (PyErr_Occurred()) SWIG_fail
;
24485 arg7
= wxString_in_helper(obj6
);
24486 if (arg7
== NULL
) SWIG_fail
;
24491 if (!wxPyCheckForApp()) SWIG_fail
;
24492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24493 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24495 wxPyEndAllowThreads(__tstate
);
24496 if (PyErr_Occurred()) SWIG_fail
;
24498 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
24521 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24522 PyObject
*resultobj
;
24523 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24524 PyObject
*arg2
= (PyObject
*) 0 ;
24525 PyObject
*arg3
= (PyObject
*) 0 ;
24526 PyObject
* obj0
= 0 ;
24527 PyObject
* obj1
= 0 ;
24528 PyObject
* obj2
= 0 ;
24529 char *kwnames
[] = {
24530 (char *) "self",(char *) "self",(char *) "_class", NULL
24533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24540 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24542 wxPyEndAllowThreads(__tstate
);
24543 if (PyErr_Occurred()) SWIG_fail
;
24545 Py_INCREF(Py_None
); resultobj
= Py_None
;
24552 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24553 PyObject
*resultobj
;
24554 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24555 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24556 PyObject
* obj0
= 0 ;
24557 PyObject
* obj1
= 0 ;
24558 char *kwnames
[] = {
24559 (char *) "self",(char *) "canvas", NULL
24562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
24563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24565 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24569 (arg1
)->SetPreviewCanvas(arg2
);
24571 wxPyEndAllowThreads(__tstate
);
24572 if (PyErr_Occurred()) SWIG_fail
;
24574 Py_INCREF(Py_None
); resultobj
= Py_None
;
24581 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24582 PyObject
*resultobj
;
24583 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24584 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
24585 PyObject
* obj0
= 0 ;
24586 PyObject
* obj1
= 0 ;
24587 char *kwnames
[] = {
24588 (char *) "self",(char *) "bar", NULL
24591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
24592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24594 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewControlBar
,
24595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24598 (arg1
)->SetControlBar(arg2
);
24600 wxPyEndAllowThreads(__tstate
);
24601 if (PyErr_Occurred()) SWIG_fail
;
24603 Py_INCREF(Py_None
); resultobj
= Py_None
;
24610 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24611 PyObject
*resultobj
;
24612 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24613 PyObject
* obj0
= 0 ;
24614 char *kwnames
[] = {
24615 (char *) "self", NULL
24618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
24619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24623 (arg1
)->base_Initialize();
24625 wxPyEndAllowThreads(__tstate
);
24626 if (PyErr_Occurred()) SWIG_fail
;
24628 Py_INCREF(Py_None
); resultobj
= Py_None
;
24635 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24636 PyObject
*resultobj
;
24637 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24638 PyObject
* obj0
= 0 ;
24639 char *kwnames
[] = {
24640 (char *) "self", NULL
24643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
24644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24648 (arg1
)->base_CreateCanvas();
24650 wxPyEndAllowThreads(__tstate
);
24651 if (PyErr_Occurred()) SWIG_fail
;
24653 Py_INCREF(Py_None
); resultobj
= Py_None
;
24660 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24661 PyObject
*resultobj
;
24662 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24663 PyObject
* obj0
= 0 ;
24664 char *kwnames
[] = {
24665 (char *) "self", NULL
24668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
24669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24673 (arg1
)->base_CreateControlBar();
24675 wxPyEndAllowThreads(__tstate
);
24676 if (PyErr_Occurred()) SWIG_fail
;
24678 Py_INCREF(Py_None
); resultobj
= Py_None
;
24685 static PyObject
* PyPreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
24687 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24688 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
24690 return Py_BuildValue((char *)"");
24692 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24693 PyObject
*resultobj
;
24694 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24696 wxWindow
*arg3
= (wxWindow
*) 0 ;
24697 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24698 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24699 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24700 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24701 long arg6
= (long) 0 ;
24702 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
24703 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24704 wxPyPreviewControlBar
*result
;
24707 bool temp7
= False
;
24708 PyObject
* obj0
= 0 ;
24709 PyObject
* obj1
= 0 ;
24710 PyObject
* obj2
= 0 ;
24711 PyObject
* obj3
= 0 ;
24712 PyObject
* obj4
= 0 ;
24713 PyObject
* obj5
= 0 ;
24714 PyObject
* obj6
= 0 ;
24715 char *kwnames
[] = {
24716 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24722 arg2
= (long)SWIG_As_long(obj1
);
24723 if (PyErr_Occurred()) SWIG_fail
;
24724 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
24725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24729 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24735 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24739 arg6
= (long)SWIG_As_long(obj5
);
24740 if (PyErr_Occurred()) SWIG_fail
;
24744 arg7
= wxString_in_helper(obj6
);
24745 if (arg7
== NULL
) SWIG_fail
;
24750 if (!wxPyCheckForApp()) SWIG_fail
;
24751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24752 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24754 wxPyEndAllowThreads(__tstate
);
24755 if (PyErr_Occurred()) SWIG_fail
;
24757 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
24772 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24773 PyObject
*resultobj
;
24774 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24775 PyObject
*arg2
= (PyObject
*) 0 ;
24776 PyObject
*arg3
= (PyObject
*) 0 ;
24777 PyObject
* obj0
= 0 ;
24778 PyObject
* obj1
= 0 ;
24779 PyObject
* obj2
= 0 ;
24780 char *kwnames
[] = {
24781 (char *) "self",(char *) "self",(char *) "_class", NULL
24784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24791 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24793 wxPyEndAllowThreads(__tstate
);
24794 if (PyErr_Occurred()) SWIG_fail
;
24796 Py_INCREF(Py_None
); resultobj
= Py_None
;
24803 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24804 PyObject
*resultobj
;
24805 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24806 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
24807 PyObject
* obj0
= 0 ;
24808 PyObject
* obj1
= 0 ;
24809 char *kwnames
[] = {
24810 (char *) "self",(char *) "preview", NULL
24813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
24814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24816 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintPreview
,
24817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24820 (arg1
)->SetPrintPreview(arg2
);
24822 wxPyEndAllowThreads(__tstate
);
24823 if (PyErr_Occurred()) SWIG_fail
;
24825 Py_INCREF(Py_None
); resultobj
= Py_None
;
24832 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24833 PyObject
*resultobj
;
24834 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24835 PyObject
* obj0
= 0 ;
24836 char *kwnames
[] = {
24837 (char *) "self", NULL
24840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
24841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24845 (arg1
)->base_CreateButtons();
24847 wxPyEndAllowThreads(__tstate
);
24848 if (PyErr_Occurred()) SWIG_fail
;
24850 Py_INCREF(Py_None
); resultobj
= Py_None
;
24857 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24858 PyObject
*resultobj
;
24859 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
24861 PyObject
* obj0
= 0 ;
24862 PyObject
* obj1
= 0 ;
24863 char *kwnames
[] = {
24864 (char *) "self",(char *) "zoom", NULL
24867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
24868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
24869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24870 arg2
= (int)SWIG_As_int(obj1
);
24871 if (PyErr_Occurred()) SWIG_fail
;
24873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24874 (arg1
)->base_SetZoomControl(arg2
);
24876 wxPyEndAllowThreads(__tstate
);
24877 if (PyErr_Occurred()) SWIG_fail
;
24879 Py_INCREF(Py_None
); resultobj
= Py_None
;
24886 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
24888 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24889 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
24891 return Py_BuildValue((char *)"");
24893 static PyMethodDef SwigMethods
[] = {
24894 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24895 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24896 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24897 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24898 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24899 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
24900 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24901 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24902 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24903 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24904 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24905 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24906 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24907 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24908 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24909 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24910 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24911 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24912 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24913 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24914 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
24915 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
24916 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24917 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24918 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24919 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24920 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24921 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_GetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24922 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24923 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24924 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
24925 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24926 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24927 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24928 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24929 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24930 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24931 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24932 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24933 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24934 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24935 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24936 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24937 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24938 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24939 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24940 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacGetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24941 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
24942 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24943 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24944 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24945 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24946 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24947 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24948 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24949 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24950 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24951 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24952 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24953 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24954 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24955 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24956 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24957 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24958 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24959 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24960 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24961 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24962 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24963 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24964 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24965 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
24966 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24967 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24968 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24969 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24970 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24971 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24972 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24973 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24974 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24975 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24976 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24977 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
24978 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24979 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24980 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24981 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
24982 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24983 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24984 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24985 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
24986 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24987 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24988 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24989 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24990 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
24991 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24992 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24993 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24994 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24995 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24996 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24997 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24998 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
24999 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25000 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25001 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25002 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25003 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25004 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25005 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25006 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25007 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
25008 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25009 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25010 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25011 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25012 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25013 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25014 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25015 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25016 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25017 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25018 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25019 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25020 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25021 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25022 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25023 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25024 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25025 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25026 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25027 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25028 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25029 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25030 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25031 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25032 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25033 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25034 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25035 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
25036 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25037 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25038 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25039 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25040 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25041 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25042 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
25043 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25044 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25045 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25046 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25047 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25048 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25049 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25050 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25051 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25052 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25053 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25054 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25055 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25056 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25057 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25058 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25059 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25060 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25061 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25062 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25063 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25064 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25065 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
25066 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25067 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25068 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25069 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25070 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25071 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25072 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25073 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
25074 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25075 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25076 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25077 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25078 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25079 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25080 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25081 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25082 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25083 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25084 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25085 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
25086 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25087 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25088 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25089 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25090 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25091 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
25092 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25093 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25094 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25095 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25096 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25097 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25098 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25099 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25100 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
25101 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25102 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25103 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25104 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25105 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25106 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
25107 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25108 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25109 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
25110 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25111 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25112 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
25113 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25114 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25115 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25116 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
25117 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25118 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25119 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25120 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25121 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25122 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25123 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25124 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25125 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25126 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25127 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25128 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25129 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25130 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25131 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25132 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25133 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25134 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
25135 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25136 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25137 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25138 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25139 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25140 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25141 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25142 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25143 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25144 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25145 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25146 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25147 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25148 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25149 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25150 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25151 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25152 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25153 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25154 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25155 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25156 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25157 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25158 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25159 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25160 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
25161 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25162 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25163 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25164 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25165 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25166 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25167 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
) _wrap_HtmlListBox_GetFileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25168 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
25169 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25170 { (char *)"delete_TaskBarIcon", (PyCFunction
) _wrap_delete_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25171 { (char *)"TaskBarIcon_Destroy", (PyCFunction
) _wrap_TaskBarIcon_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25172 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
25173 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25174 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
25175 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25176 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25177 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25178 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25179 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25180 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25181 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25182 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25183 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
25184 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25185 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25186 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
25187 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25188 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25189 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25190 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25191 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25192 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25193 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
25194 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25195 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25196 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25197 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25198 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25199 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25200 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25201 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25202 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25203 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25204 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25205 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25206 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25207 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25208 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25209 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25210 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25211 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
25212 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25213 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25214 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25215 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
25216 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25217 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25218 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25219 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25220 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
25221 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25222 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25223 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25224 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
25225 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25226 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25227 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25228 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25229 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25230 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25231 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25232 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25233 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25234 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25235 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25236 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25237 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25238 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25239 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25240 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
25241 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25242 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25243 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
25244 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25245 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
25246 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25247 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25248 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25249 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
25250 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25251 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25252 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25253 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25254 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25255 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25256 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25257 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25258 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
25259 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25260 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25261 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25262 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25263 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25264 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25265 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25266 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25267 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
25268 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25269 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25270 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25271 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25272 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25273 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
25274 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25275 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25276 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25277 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25278 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25279 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25280 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25281 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25282 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25283 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25284 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25285 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
25286 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25287 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25288 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25289 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25290 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25291 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25292 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
25293 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25294 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25295 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25296 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
25297 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25298 { (char *)"new_PrePyWindow", (PyCFunction
) _wrap_new_PrePyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25299 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25300 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25301 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25302 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25303 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25304 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25305 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25306 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25307 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25308 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25309 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25310 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25311 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25312 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25313 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25314 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25315 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25316 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25317 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25318 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25319 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25320 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25321 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25322 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
25323 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25324 { (char *)"new_PrePyPanel", (PyCFunction
) _wrap_new_PrePyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25325 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25326 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25327 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25328 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25329 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25330 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25331 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25332 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25333 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25334 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25335 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25336 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25337 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25338 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25339 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25340 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25341 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25342 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25343 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25344 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25345 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction
) _wrap_PyPanel_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25346 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyPanel_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25347 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyPanel_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25348 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
25349 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25350 { (char *)"new_PrePyScrolledWindow", (PyCFunction
) _wrap_new_PrePyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25351 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25352 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25353 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25354 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25355 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25356 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25357 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25358 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25359 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25360 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25361 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25362 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction
) _wrap_PyScrolledWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25363 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25364 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25365 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction
) _wrap_PyScrolledWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25366 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25367 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25368 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyScrolledWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25369 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction
) _wrap_PyScrolledWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25370 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction
) _wrap_PyScrolledWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25371 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyScrolledWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25372 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25373 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyScrolledWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25374 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
25375 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
25376 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25377 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25378 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25379 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25380 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25381 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25382 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25383 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25384 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25385 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25386 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25387 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25388 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25389 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25390 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25391 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25392 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25393 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25394 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25395 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25396 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25397 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25398 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25399 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25400 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25401 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25402 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25403 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25404 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25405 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25406 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25407 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25408 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25409 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25410 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25411 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25412 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25413 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25414 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25415 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25416 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25417 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25418 { (char *)"PrintData_GetOutputStream", (PyCFunction
) _wrap_PrintData_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25419 { (char *)"PrintData_SetOutputStream", (PyCFunction
) _wrap_PrintData_SetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25420 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
25421 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
25422 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25423 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25424 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25425 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25426 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25427 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25428 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25429 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25430 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25431 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25432 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25433 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25434 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25435 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25436 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25437 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25438 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25439 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25440 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25441 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25442 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25443 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25444 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25445 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25446 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25447 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25448 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25449 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25450 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25451 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25452 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
25453 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25454 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25455 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25456 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
25457 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
25458 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25459 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25460 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25461 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25462 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25463 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25464 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25465 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25466 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25467 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25468 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25469 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25470 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25471 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25472 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25473 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25474 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25475 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25476 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25477 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25478 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25479 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25480 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25481 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25482 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25483 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25484 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25485 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25486 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25487 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25488 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25489 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25490 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
25491 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25492 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25493 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25494 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25495 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
25496 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25497 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25498 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25499 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25500 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25501 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25502 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25503 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25504 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25505 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25506 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
25507 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25508 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25509 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25510 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25511 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25512 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25513 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25514 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25515 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25516 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25517 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25518 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25519 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25520 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25521 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25522 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25523 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25524 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25525 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25526 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25527 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25528 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25529 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
25530 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25531 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
25532 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25533 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25534 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25535 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25536 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25537 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
25538 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25539 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25540 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25541 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25542 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25543 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25544 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25545 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25546 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25547 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
25548 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
25549 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25550 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25551 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25552 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25553 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25554 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25555 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25556 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25557 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25558 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25559 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25560 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25561 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25562 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25563 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25564 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25565 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25566 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25567 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25568 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25569 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25570 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25571 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
25572 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
25573 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25574 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25575 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25576 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25577 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25578 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25579 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25580 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25581 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
25582 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25583 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25584 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25585 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25586 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25587 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25588 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25589 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
25590 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25591 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25592 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25593 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25594 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25595 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
25596 { NULL
, NULL
, 0, NULL
}
25600 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25602 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
25603 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25605 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
25606 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25608 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
25609 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
25611 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
25612 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
25614 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
25615 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
25617 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
25618 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
25620 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
25621 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
25623 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
25624 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25626 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
25627 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
25629 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
25630 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
25632 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
25633 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
25635 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
25636 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
25638 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
25639 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25641 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
25642 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
25644 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
25645 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
25647 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
25648 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25650 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
25651 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25653 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
25654 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
25656 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
25657 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
25659 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
25660 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
25662 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
25663 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
25665 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
25666 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
25668 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
25669 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
25671 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
25672 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
25674 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
25675 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25677 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
25678 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25680 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
25681 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25683 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
25684 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25686 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
25687 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25689 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
25690 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
25692 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
25693 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
25695 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
25696 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25698 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
25699 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
25701 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
25702 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
25704 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
25705 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
25707 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
25708 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
25710 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
25711 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25713 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
25714 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25716 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
25717 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
25719 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
25720 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
25722 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
25723 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
25725 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
25726 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
25728 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
25729 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
25731 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
25732 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
25734 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
25735 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
25737 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
25738 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
25740 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
25741 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
25743 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
25744 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
25746 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
25747 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
25749 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
25750 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
25752 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
25753 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
25755 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
25756 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
25758 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
25759 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
25761 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
25762 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
25764 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
25765 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
25767 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
25768 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
25770 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
25771 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
25773 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
25774 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
25776 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
25777 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
25779 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
25780 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
25782 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
25783 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
25785 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
25786 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
25788 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
25789 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
25791 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
25792 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
25794 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
25795 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
25797 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
25798 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
25800 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
25801 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
25803 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
25804 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
25806 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
25807 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
25809 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
25810 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
25812 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
25813 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
25815 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
25816 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
25818 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
25819 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
25821 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
25822 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
25824 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
25825 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25827 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
25828 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
25830 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
25831 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
25833 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
25834 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
25836 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
25837 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
25839 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
25840 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25842 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
25843 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25845 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
25846 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
25848 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
25849 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
25851 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
25852 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
25854 static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x
) {
25855 return (void *)((wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
25857 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
25858 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
25860 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
25861 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
25863 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
25864 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
25866 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
25867 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
25869 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
25870 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
25872 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
25873 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
25875 static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x
) {
25876 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
25878 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
25879 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
25881 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
25882 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
25884 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
25885 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
25887 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
25888 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
25890 static void *_p_wxTipWindowTo_p_wxFrame(void *x
) {
25891 return (void *)((wxFrame
*) ((wxTipWindow
*) x
));
25893 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
25894 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
25896 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
25897 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25899 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
25900 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
25902 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
25903 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
25905 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
25906 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
25908 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
25909 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
25911 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
25912 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
25914 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
25915 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
25917 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
25918 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25920 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
25921 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
25923 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
25924 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
25926 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
25927 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
25929 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
25930 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
25932 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
25933 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
25935 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
25936 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
25938 static void *_p_wxSizerTo_p_wxObject(void *x
) {
25939 return (void *)((wxObject
*) ((wxSizer
*) x
));
25941 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
25942 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
25944 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
25945 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25947 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
25948 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
25950 static void *_p_wxEventTo_p_wxObject(void *x
) {
25951 return (void *)((wxObject
*) ((wxEvent
*) x
));
25953 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
25954 return (void *)((wxObject
*) ((wxFontData
*) x
));
25956 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
25957 return (void *)((wxObject
*) ((wxPrintData
*) x
));
25959 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
25960 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
25962 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
25963 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
25965 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
25966 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
25968 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
25969 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
25971 static void *_p_wxTaskBarIconTo_p_wxObject(void *x
) {
25972 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxTaskBarIcon
*) x
));
25974 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
25975 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
25977 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
25978 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
25980 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
25981 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
25983 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
25984 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25986 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
25987 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25989 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
25990 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25992 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
25993 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25995 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
25996 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
25998 static void *_p_wxControlTo_p_wxObject(void *x
) {
25999 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
26001 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
26002 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
26004 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
26005 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26007 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
26008 return (void *)((wxObject
*) ((wxFSFile
*) x
));
26010 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
26011 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
26013 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
26014 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
26016 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
26017 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26019 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
26020 return (void *)((wxObject
*) ((wxColourData
*) x
));
26022 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
26023 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
26025 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
26026 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26028 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
26029 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
26031 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
26032 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
26034 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
26035 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
26037 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
26038 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26040 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
26041 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26043 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
26044 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
26046 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
26047 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
26049 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
26050 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26052 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
26053 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26055 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
26056 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
26058 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
26059 return (void *)((wxObject
*) ((wxPrinter
*) x
));
26061 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
26062 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
26064 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
26065 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
26067 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
26068 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26070 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
26071 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
26073 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
26074 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
26076 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
26077 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
26079 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
26080 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
26082 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
26083 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
26085 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
26086 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
26088 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
26089 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
26091 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
26092 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
26094 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
26095 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
26097 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
26098 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
26100 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
26101 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
26103 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
26104 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
26106 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
26107 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
26109 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
26110 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
26112 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
26113 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
26115 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
26116 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
26118 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
26119 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
26121 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
26122 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
26124 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
26125 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
26127 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
26128 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
26130 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
26131 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26133 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
26134 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26136 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
26137 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
26139 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
26140 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26142 static void *_p_wxImageTo_p_wxObject(void *x
) {
26143 return (void *)((wxObject
*) ((wxImage
*) x
));
26145 static void *_p_wxFrameTo_p_wxObject(void *x
) {
26146 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
26148 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
26149 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
26151 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
26152 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
26154 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
26155 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
26157 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
26158 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
26160 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
26161 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26163 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
26164 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26166 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
26167 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
26169 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
26170 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
26172 static void *_p_wxWindowTo_p_wxObject(void *x
) {
26173 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
26175 static void *_p_wxMenuTo_p_wxObject(void *x
) {
26176 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
26178 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
26179 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
26181 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
26182 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
26184 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
26185 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
26187 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
26188 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
26190 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
26191 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
26193 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
26194 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
26196 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
26197 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26199 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
26200 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
26202 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
26203 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26205 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
26206 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
26208 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
26209 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26211 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
26212 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
26214 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
26215 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26217 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
26218 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
26220 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
26221 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
26223 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
26224 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
26226 static void *_p_wxPanelTo_p_wxObject(void *x
) {
26227 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
26229 static void *_p_wxDialogTo_p_wxObject(void *x
) {
26230 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
26232 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
26233 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26235 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
26236 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26238 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
26239 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26241 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
26242 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
26244 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
26245 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
26247 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
26248 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
26250 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
26251 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26253 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
26254 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
26256 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
26257 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
26259 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
26260 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
26262 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
26263 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
26265 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
26266 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
26268 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
26269 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26271 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
26272 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
26274 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
26275 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
26277 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
26278 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26280 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
26281 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
26283 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
26284 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
26286 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
26287 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26289 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
26290 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
26292 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
26293 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
26295 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
26296 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
26298 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
26299 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
26301 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
26302 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
26304 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
26305 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26307 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
26308 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26310 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
26311 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26313 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
26314 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26316 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
26317 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
26319 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
26320 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
26322 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
26323 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
26325 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
26326 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
26328 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
26329 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
26331 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
26332 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
26334 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
26335 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
26337 static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x
) {
26338 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPrintDialog
*) x
));
26340 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
26341 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
26343 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x
) {
26344 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxTipWindow
*) x
));
26346 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
26347 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
26349 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
26350 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
26352 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
26353 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
26355 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
26356 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
26358 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
26359 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
26361 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
26362 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26364 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
26365 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26367 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
26368 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
26370 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
26371 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
26373 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
26374 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
26376 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
26377 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26379 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
26380 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
26382 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
26383 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26385 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
26386 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
26388 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
26389 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
26391 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
26392 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26394 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
26395 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26397 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
26398 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
26400 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
26401 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
26403 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
26404 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26406 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
26407 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26409 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
26410 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
26412 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
26413 return (void *)((wxWindow
*) ((wxPanel
*) x
));
26415 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
26416 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
26418 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
26419 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
26421 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
26422 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26424 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
26425 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
26427 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
26428 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26430 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
26431 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
26433 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
26434 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26436 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
26437 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
26439 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
26440 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
26442 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
26443 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
26445 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
26446 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
26448 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
26449 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
26451 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
26452 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26454 static void *_p_wxControlTo_p_wxWindow(void *x
) {
26455 return (void *)((wxWindow
*) ((wxControl
*) x
));
26457 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
26458 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
26460 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
26461 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26463 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
26464 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26466 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
26467 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
26469 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
26470 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
26472 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
26473 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26475 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
26476 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26478 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
26479 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26481 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
26482 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
26484 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
26485 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26487 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
26488 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
26490 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
26491 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26493 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
26494 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26496 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
26497 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26499 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
26500 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
26502 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
26503 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
26505 static void *_p_wxPrintDialogTo_p_wxWindow(void *x
) {
26506 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPrintDialog
*) x
));
26508 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
26509 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26511 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
26512 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26514 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
26515 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26517 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
26518 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
26520 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
26521 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
26523 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
26524 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
26526 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
26527 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
26529 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x
) {
26530 return (void *)((wxDialog
*) ((wxPageSetupDialog
*) x
));
26532 static void *_p_wxPrintDialogTo_p_wxDialog(void *x
) {
26533 return (void *)((wxDialog
*) ((wxPrintDialog
*) x
));
26535 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
26536 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
26538 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
26539 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26541 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
26542 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26544 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
26545 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
26547 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
26548 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
26550 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
26551 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
26553 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
26554 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
26556 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
26557 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26559 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
26560 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26562 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
26563 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26565 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
26566 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26568 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
26569 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
26571 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
26572 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26574 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
26575 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
26577 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
26578 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26580 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
26581 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26583 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
26584 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
26586 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
26587 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26589 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
26590 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26592 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
26593 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
26595 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
26596 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26598 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
26599 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26601 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
26602 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26604 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
26605 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26607 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
26608 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26610 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
26611 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
26613 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
26614 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26616 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}};
26617 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}};
26618 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}};
26619 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}};
26620 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}};
26621 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}};
26622 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}};
26623 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}};
26624 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}};
26625 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}};
26626 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}};
26627 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}};
26628 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}};
26629 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}};
26630 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}};
26631 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}};
26632 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}};
26633 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}};
26634 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}};
26635 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}};
26636 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}};
26637 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}};
26638 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}};
26639 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}};
26640 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}};
26641 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}};
26642 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}};
26643 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}};
26644 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}};
26645 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}};
26646 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}};
26647 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}};
26648 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}};
26649 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}};
26650 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}};
26651 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}};
26652 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_wxTipWindow", _p_wxTipWindowTo_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_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_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_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}};
26653 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}};
26654 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}};
26655 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}};
26656 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}};
26657 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}};
26658 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}};
26659 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_wxTipWindow", _p_wxTipWindowTo_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}};
26660 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}};
26661 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}};
26662 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}};
26663 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}};
26664 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}};
26665 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}};
26666 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_wxTipWindow", _p_wxTipWindowTo_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_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}};
26667 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}};
26668 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}};
26669 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}};
26670 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}};
26671 static swig_type_info _swigt__p_wxPyPopupTransientWindow
[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
26672 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}};
26673 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}};
26674 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}};
26675 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}};
26676 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},{0, 0, 0, 0, 0, 0, 0}};
26677 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}};
26678 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_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_wxDirDialog", _p_wxDirDialogTo_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_wxTipWindow", _p_wxTipWindowTo_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}};
26679 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_wxTipWindow", _p_wxTipWindowTo_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_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_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_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}};
26680 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}};
26681 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}};
26682 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}};
26683 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}};
26684 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}};
26685 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}};
26686 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}};
26687 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}};
26688 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}};
26689 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}};
26690 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}};
26691 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}};
26692 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}};
26693 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}};
26694 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}};
26695 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}};
26696 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}};
26697 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}};
26698 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}};
26699 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}};
26700 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}};
26701 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}};
26703 static swig_type_info
*swig_types_initial
[] = {
26704 _swigt__p_wxQueryLayoutInfoEvent
,
26705 _swigt__p_wxPreviewFrame
,
26706 _swigt__p_wxPyPreviewFrame
,
26707 _swigt__p_wxPyPanel
,
26709 _swigt__p_wxFontData
,
26711 _swigt__p_wxPrintData
,
26712 _swigt__p_wxTaskBarIcon
,
26713 _swigt__p_wxIconBundle
,
26714 _swigt__p_wxLayoutAlgorithm
,
26715 _swigt__p_wxFindDialogEvent
,
26716 _swigt__p_wxPreviewCanvas
,
26718 _swigt__p_wxSplitterEvent
,
26719 _swigt__p_wxRegion
,
26720 _swigt__p_wxFindReplaceData
,
26725 _swigt__p_wxVisualAttributes
,
26726 _swigt__p_wxMDIChildFrame
,
26727 _swigt__p_wxColourData
,
26728 _swigt__p_wxNotifyEvent
,
26729 _swigt__p_wxPyWindow
,
26730 _swigt__p_wxSplashScreen
,
26731 _swigt__p_wxFindReplaceDialog
,
26732 _swigt__p_wxProgressDialog
,
26733 _swigt__p_wxMessageDialog
,
26734 _swigt__p_wxTextEntryDialog
,
26735 _swigt__p_wxSingleChoiceDialog
,
26736 _swigt__p_wxMultiChoiceDialog
,
26737 _swigt__p_wxFileDialog
,
26738 _swigt__p_wxPrinter
,
26739 _swigt__p_wxArrayInt
,
26740 _swigt__p_wxEvtHandler
,
26741 _swigt__p_wxCalculateLayoutEvent
,
26742 _swigt__p_wxPyHtmlListBox
,
26743 _swigt__p_wxPyVListBox
,
26746 _swigt__p_wxMiniFrame
,
26748 _swigt__p_wxPyPrintout
,
26749 _swigt__p_wxTaskBarIconEvent
,
26750 _swigt__p_wxScrollWinEvent
,
26751 _swigt__p_wxStatusBar
,
26752 _swigt__p_wxMDIParentFrame
,
26754 _swigt__p_wxObject
,
26755 _swigt__p_wxOutputStream
,
26756 _swigt__p_wxPyScrolledWindow
,
26757 _swigt__p_wxMDIClientWindow
,
26758 _swigt__p_wxTipWindow
,
26759 _swigt__p_wxPyPopupTransientWindow
,
26760 _swigt__p_wxSashLayoutWindow
,
26761 _swigt__p_wxSplitterWindow
,
26762 _swigt__p_wxSplashScreenWindow
,
26763 _swigt__p_wxPyVScrolledWindow
,
26764 _swigt__p_wxPopupWindow
,
26765 _swigt__p_wxSashWindow
,
26766 _swigt__p_wxTopLevelWindow
,
26767 _swigt__p_wxWindow
,
26768 _swigt__p_wxScrolledWindow
,
26769 _swigt__p_wxMenuBar
,
26770 _swigt__p_wxPrintPreview
,
26771 _swigt__p_wxSashEvent
,
26772 _swigt__p_wxString
,
26773 _swigt__p_wxPyPrintPreview
,
26774 _swigt__p_wxFontDialog
,
26775 _swigt__p_wxDirDialog
,
26776 _swigt__p_wxColourDialog
,
26777 _swigt__p_wxDialog
,
26779 _swigt__p_wxPageSetupDialog
,
26780 _swigt__p_wxPrintDialog
,
26781 _swigt__p_wxFileSystem
,
26782 _swigt__p_wxBitmap
,
26783 _swigt__p_wxCommandEvent
,
26784 _swigt__p_wxPreviewControlBar
,
26785 _swigt__p_wxPyPreviewControlBar
,
26786 _swigt__p_wxColour
,
26787 _swigt__p_wxToolBar
,
26788 _swigt__p_wxPageSetupDialogData
,
26789 _swigt__p_wxPrintDialogData
,
26794 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
26796 static swig_const_info swig_const_table
[] = {
26797 {0, 0, 0, 0.0, 0, 0}};
26806 SWIGEXPORT(void) SWIG_init(void) {
26807 static PyObject
*SWIG_globals
= 0;
26808 static int typeinit
= 0;
26811 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
26812 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
26813 d
= PyModule_GetDict(m
);
26816 for (i
= 0; swig_types_initial
[i
]; i
++) {
26817 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
26821 SWIG_InstallConstants(d
,swig_const_table
);
26823 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
26824 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
26825 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
26826 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
26827 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
26828 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_From_int((int)wxSTAY_ON_TOP
));
26829 PyDict_SetItemString(d
,"ICONIZE", SWIG_From_int((int)wxICONIZE
));
26830 PyDict_SetItemString(d
,"MINIMIZE", SWIG_From_int((int)wxMINIMIZE
));
26831 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_From_int((int)wxMAXIMIZE
));
26832 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_From_int((int)wxCLOSE_BOX
));
26833 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_From_int((int)wxTHICK_FRAME
));
26834 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_From_int((int)wxSYSTEM_MENU
));
26835 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_From_int((int)wxMINIMIZE_BOX
));
26836 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_From_int((int)wxMAXIMIZE_BOX
));
26837 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_From_int((int)wxTINY_CAPTION_HORIZ
));
26838 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_From_int((int)wxTINY_CAPTION_VERT
));
26839 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_From_int((int)wxRESIZE_BOX
));
26840 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_From_int((int)wxRESIZE_BORDER
));
26841 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_From_int((int)wxDIALOG_NO_PARENT
));
26842 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)wxDEFAULT_FRAME_STYLE
));
26843 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)wxDEFAULT_DIALOG_STYLE
));
26844 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_From_int((int)wxFRAME_TOOL_WINDOW
));
26845 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)wxFRAME_FLOAT_ON_PARENT
));
26846 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)wxFRAME_NO_WINDOW_MENU
));
26847 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_From_int((int)wxFRAME_NO_TASKBAR
));
26848 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_From_int((int)wxFRAME_SHAPED
));
26849 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_From_int((int)wxDIALOG_MODAL
));
26850 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_From_int((int)wxDIALOG_MODELESS
));
26851 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_From_int((int)wxUSER_COLOURS
));
26852 PyDict_SetItemString(d
,"NO_3D", SWIG_From_int((int)wxNO_3D
));
26853 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)wxFULLSCREEN_NOMENUBAR
));
26854 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)wxFULLSCREEN_NOTOOLBAR
));
26855 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)wxFULLSCREEN_NOSTATUSBAR
));
26856 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_From_int((int)wxFULLSCREEN_NOBORDER
));
26857 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)wxFULLSCREEN_NOCAPTION
));
26858 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_From_int((int)wxFULLSCREEN_ALL
));
26859 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)wxTOPLEVEL_EX_DIALOG
));
26860 PyDict_SetItemString(d
,"USER_ATTENTION_INFO", SWIG_From_int((int)wxUSER_ATTENTION_INFO
));
26861 PyDict_SetItemString(d
,"USER_ATTENTION_ERROR", SWIG_From_int((int)wxUSER_ATTENTION_ERROR
));
26862 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)wxSPLASH_CENTRE_ON_PARENT
));
26863 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)wxSPLASH_CENTRE_ON_SCREEN
));
26864 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_From_int((int)wxSPLASH_NO_CENTRE
));
26865 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_From_int((int)wxSPLASH_TIMEOUT
));
26866 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)wxSPLASH_NO_TIMEOUT
));
26867 PyDict_SetItemString(d
,"SB_NORMAL", SWIG_From_int((int)wxSB_NORMAL
));
26868 PyDict_SetItemString(d
,"SB_FLAT", SWIG_From_int((int)wxSB_FLAT
));
26869 PyDict_SetItemString(d
,"SB_RAISED", SWIG_From_int((int)wxSB_RAISED
));
26870 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
26871 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_From_int((int)wxSP_NOBORDER
));
26872 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_From_int((int)wxSP_NOSASH
));
26873 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)wxSP_PERMIT_UNSPLIT
));
26874 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_From_int((int)wxSP_LIVE_UPDATE
));
26875 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_From_int((int)wxSP_3DSASH
));
26876 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_From_int((int)wxSP_3DBORDER
));
26877 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_From_int((int)wxSP_NO_XP_THEME
));
26878 PyDict_SetItemString(d
,"SP_BORDER", SWIG_From_int((int)wxSP_BORDER
));
26879 PyDict_SetItemString(d
,"SP_3D", SWIG_From_int((int)wxSP_3D
));
26880 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_From_int((int)wxSPLIT_HORIZONTAL
));
26881 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_From_int((int)wxSPLIT_VERTICAL
));
26882 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_From_int((int)wxSPLIT_DRAG_NONE
));
26883 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)wxSPLIT_DRAG_DRAGGING
));
26884 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSPLIT_DRAG_LEFT_DOWN
));
26885 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
26886 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
26887 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
26888 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
26889 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
26890 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
26891 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_From_int((int)wxSASH_DRAG_NONE
));
26892 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_From_int((int)wxSASH_DRAG_DRAGGING
));
26893 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSASH_DRAG_LEFT_DOWN
));
26894 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_From_int((int)wxSW_NOBORDER
));
26895 PyDict_SetItemString(d
,"SW_BORDER", SWIG_From_int((int)wxSW_BORDER
));
26896 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_From_int((int)wxSW_3DSASH
));
26897 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_From_int((int)wxSW_3DBORDER
));
26898 PyDict_SetItemString(d
,"SW_3D", SWIG_From_int((int)wxSW_3D
));
26899 PyDict_SetItemString(d
,"SASH_TOP", SWIG_From_int((int)wxSASH_TOP
));
26900 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_From_int((int)wxSASH_RIGHT
));
26901 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_From_int((int)wxSASH_BOTTOM
));
26902 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_From_int((int)wxSASH_LEFT
));
26903 PyDict_SetItemString(d
,"SASH_NONE", SWIG_From_int((int)wxSASH_NONE
));
26904 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_From_int((int)wxSASH_STATUS_OK
));
26905 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)wxSASH_STATUS_OUT_OF_RANGE
));
26906 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
26907 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_From_int((int)wxLAYOUT_HORIZONTAL
));
26908 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_From_int((int)wxLAYOUT_VERTICAL
));
26909 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_From_int((int)wxLAYOUT_NONE
));
26910 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_From_int((int)wxLAYOUT_TOP
));
26911 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_From_int((int)wxLAYOUT_LEFT
));
26912 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_From_int((int)wxLAYOUT_RIGHT
));
26913 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_From_int((int)wxLAYOUT_BOTTOM
));
26914 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_From_int((int)wxLAYOUT_LENGTH_Y
));
26915 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_From_int((int)wxLAYOUT_LENGTH_X
));
26916 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)wxLAYOUT_MRU_LENGTH
));
26917 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_From_int((int)wxLAYOUT_QUERY
));
26918 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
26919 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
26920 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
26922 // Map renamed classes back to their common name for OOR
26923 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
26924 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
26925 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
26927 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
26928 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
26929 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
26930 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
26931 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
26932 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
26933 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
26934 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
26935 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
26936 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
26937 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
26938 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
26939 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
26940 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_From_int((int)wxCHOICEDLG_STYLE
));
26941 PyDict_SetItemString(d
,"FR_DOWN", SWIG_From_int((int)wxFR_DOWN
));
26942 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_From_int((int)wxFR_WHOLEWORD
));
26943 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_From_int((int)wxFR_MATCHCASE
));
26944 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_From_int((int)wxFR_REPLACEDIALOG
));
26945 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_From_int((int)wxFR_NOUPDOWN
));
26946 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_From_int((int)wxFR_NOMATCHCASE
));
26947 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_From_int((int)wxFR_NOWHOLEWORD
));
26948 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
26949 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
26950 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
26951 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
26952 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
26953 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_From_int((int)4001));
26954 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_From_int((int)4001));
26955 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_From_int((int)4002));
26956 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_From_int((int)4003));
26957 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_From_int((int)4004));
26958 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_From_int((int)4005));
26959 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_From_int((int)4100));
26960 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_From_int((int)4600));
26961 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
26962 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
26963 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_From_int((int)wxPRINT_MODE_NONE
));
26964 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_From_int((int)wxPRINT_MODE_PREVIEW
));
26965 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_From_int((int)wxPRINT_MODE_FILE
));
26966 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_From_int((int)wxPRINT_MODE_PRINTER
));
26967 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_From_int((int)wxPRINT_MODE_STREAM
));
26968 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_From_int((int)wxPRINTER_NO_ERROR
));
26969 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_From_int((int)wxPRINTER_CANCELLED
));
26970 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_From_int((int)wxPRINTER_ERROR
));
26971 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_From_int((int)wxPREVIEW_PRINT
));
26972 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_From_int((int)wxPREVIEW_PREVIOUS
));
26973 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_From_int((int)wxPREVIEW_NEXT
));
26974 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_From_int((int)wxPREVIEW_ZOOM
));
26975 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_From_int((int)wxPREVIEW_FIRST
));
26976 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_From_int((int)wxPREVIEW_LAST
));
26977 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_From_int((int)wxPREVIEW_GOTO
));
26978 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_From_int((int)wxPREVIEW_DEFAULT
));
26979 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_From_int((int)wxID_PREVIEW_CLOSE
));
26980 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_From_int((int)wxID_PREVIEW_NEXT
));
26981 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)wxID_PREVIEW_PREVIOUS
));
26982 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_From_int((int)wxID_PREVIEW_PRINT
));
26983 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_From_int((int)wxID_PREVIEW_ZOOM
));
26984 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_From_int((int)wxID_PREVIEW_FIRST
));
26985 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_From_int((int)wxID_PREVIEW_LAST
));
26986 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_From_int((int)wxID_PREVIEW_GOTO
));
26988 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");