1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypePrettyName SWIG_Python_TypePrettyName
47 #define SWIG_TypeQuery SWIG_Python_TypeQuery
48 #define SWIG_TypeClientData SWIG_Python_TypeClientData
49 #define SWIG_PackData SWIG_Python_PackData
50 #define SWIG_UnpackData SWIG_Python_UnpackData
53 /***********************************************************************
54 * common.swg for wxPython
56 * Include only the function prototypes and such from SWIG's common.swg,
57 * but not the runtime functions themselves. This helps keep the
58 * wrapper files clean of unnecessary stuff that is in the libpy.c file
61 ************************************************************************/
65 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
66 # if defined(_MSC_VER) || defined(__GNUC__)
67 # if defined(STATIC_LINKED)
68 # define SWIGEXPORT(a) a
69 # define SWIGIMPORT(a) extern a
71 # define SWIGEXPORT(a) __declspec(dllexport) a
72 # define SWIGIMPORT(a) extern a
75 # if defined(__BORLANDC__)
76 # define SWIGEXPORT(a) a _export
77 # define SWIGIMPORT(a) a _export
79 # define SWIGEXPORT(a) a
80 # define SWIGIMPORT(a) a
84 # define SWIGEXPORT(a) a
85 # define SWIGIMPORT(a) a
89 # define SWIGRUNTIME(a) SWIGEXPORT(a)
91 # define SWIGRUNTIME(a) static a
98 typedef void *(*swig_converter_func
)(void *);
99 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
101 typedef struct swig_type_info
{
103 swig_converter_func converter
;
106 swig_dycast_func dcast
;
107 struct swig_type_info
*next
;
108 struct swig_type_info
*prev
;
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
113 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
114 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
115 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
116 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
117 SWIGIMPORT(const char *) SWIG_TypePrettyName(const swig_type_info
*);
118 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
119 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
120 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
121 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
129 /***********************************************************************
130 * pyrun.swg for wxPython
132 * Include only the function prototypes and such from SWIG's pyrun.swg,
133 * but not the runtime functions themselves. This helps keep the
134 * wrapper files clean of unnecessary stuff that is in the libpy.c file
137 ************************************************************************/
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
149 /* Flags for pointer conversion */
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
157 /* Constant information structure */
158 typedef struct swig_const_info
{
164 swig_type_info
**ptype
;
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
187 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
190 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
192 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
195 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
199 /* Contract support */
201 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
209 /* -------- TYPES TABLE (BEGIN) -------- */
211 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
212 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
213 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
214 #define SWIGTYPE_p_wxPyPanel swig_types[3]
215 #define SWIGTYPE_p_wxMenu swig_types[4]
216 #define SWIGTYPE_p_wxFontData swig_types[5]
217 #define SWIGTYPE_p_wxEvent swig_types[6]
218 #define SWIGTYPE_p_wxPrintData swig_types[7]
219 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
220 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[9]
221 #define SWIGTYPE_p_wxIconBundle swig_types[10]
222 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[11]
223 #define SWIGTYPE_p_wxFindDialogEvent swig_types[12]
224 #define SWIGTYPE_p_wxPreviewCanvas swig_types[13]
225 #define SWIGTYPE_p_wxFont swig_types[14]
226 #define SWIGTYPE_p_wxSplitterEvent swig_types[15]
227 #define SWIGTYPE_p_wxRegion swig_types[16]
228 #define SWIGTYPE_p_wxFindReplaceData swig_types[17]
229 #define SWIGTYPE_p_int swig_types[18]
230 #define SWIGTYPE_p_wxSize swig_types[19]
231 #define SWIGTYPE_p_wxDC swig_types[20]
232 #define SWIGTYPE_p_wxIcon swig_types[21]
233 #define SWIGTYPE_p_wxVisualAttributes swig_types[22]
234 #define SWIGTYPE_p_wxMDIChildFrame swig_types[23]
235 #define SWIGTYPE_p_wxColourData swig_types[24]
236 #define SWIGTYPE_p_wxNotifyEvent swig_types[25]
237 #define SWIGTYPE_p_wxPyWindow swig_types[26]
238 #define SWIGTYPE_p_wxSplashScreen swig_types[27]
239 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[28]
240 #define SWIGTYPE_p_wxProgressDialog swig_types[29]
241 #define SWIGTYPE_p_wxMessageDialog swig_types[30]
242 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[31]
243 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[32]
244 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[33]
245 #define SWIGTYPE_p_wxFileDialog swig_types[34]
246 #define SWIGTYPE_p_wxTextEntryDialog swig_types[35]
247 #define SWIGTYPE_p_wxPrinter swig_types[36]
248 #define SWIGTYPE_p_wxArrayInt swig_types[37]
249 #define SWIGTYPE_p_wxEvtHandler swig_types[38]
250 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[39]
251 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[40]
252 #define SWIGTYPE_p_wxPyVListBox swig_types[41]
253 #define SWIGTYPE_p_wxRect swig_types[42]
254 #define SWIGTYPE_p_char swig_types[43]
255 #define SWIGTYPE_p_wxMiniFrame swig_types[44]
256 #define SWIGTYPE_p_wxFrame swig_types[45]
257 #define SWIGTYPE_p_wxPyPrintout swig_types[46]
258 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[47]
259 #define SWIGTYPE_p_wxScrollWinEvent swig_types[48]
260 #define SWIGTYPE_p_wxStatusBar swig_types[49]
261 #define SWIGTYPE_p_wxMDIParentFrame swig_types[50]
262 #define SWIGTYPE_p_wxPoint swig_types[51]
263 #define SWIGTYPE_p_wxObject 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_wxPyScrolledWindow swig_types[66]
278 #define SWIGTYPE_p_wxPrintPreview swig_types[67]
279 #define SWIGTYPE_p_wxSashEvent swig_types[68]
280 #define SWIGTYPE_p_wxString swig_types[69]
281 #define SWIGTYPE_p_wxPyPrintPreview swig_types[70]
282 #define SWIGTYPE_p_wxFontDialog swig_types[71]
283 #define SWIGTYPE_p_wxDirDialog swig_types[72]
284 #define SWIGTYPE_p_wxColourDialog swig_types[73]
285 #define SWIGTYPE_p_wxDialog swig_types[74]
286 #define SWIGTYPE_p_wxPanel swig_types[75]
287 #define SWIGTYPE_p_wxPageSetupDialog swig_types[76]
288 #define SWIGTYPE_p_wxPrintDialog swig_types[77]
289 #define SWIGTYPE_p_wxFileSystem swig_types[78]
290 #define SWIGTYPE_p_wxBitmap swig_types[79]
291 #define SWIGTYPE_p_wxCommandEvent swig_types[80]
292 #define SWIGTYPE_p_wxPreviewControlBar swig_types[81]
293 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[82]
294 #define SWIGTYPE_p_wxColour swig_types[83]
295 #define SWIGTYPE_p_wxToolBar swig_types[84]
296 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[85]
297 #define SWIGTYPE_p_wxPrintDialogData swig_types[86]
298 static swig_type_info
*swig_types
[88];
300 /* -------- TYPES TABLE (END) -------- */
303 /*-----------------------------------------------
304 @(target):= _windows_.so
305 ------------------------------------------------*/
306 #define SWIG_init init_windows_
308 #define SWIG_name "_windows_"
310 /* Auxiliar swig macros that appear in the header */
312 #define SWIG_OLDOBJ 1
313 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
314 #define SWIG_PYSTR SWIG_NEWOBJ + 1
317 #define SWIGSTATICINLINE(a) static inline a
318 #define SWIGSTATIC(a) static a
319 #define swig_new_array(size,Type) (new Type[(size)])
320 #define swig_delete(cptr) delete cptr
321 #define swig_delete_array(cptr) delete[] cptr
322 #define swig_const_cast(a,Type) const_cast<Type >(a)
323 #define swig_static_cast(a,Type) static_cast<Type >(a)
324 #define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a)
325 #define swig_new_copy(ptr,Type) (new Type(*ptr))
326 #define swig_numeric_cast(a,Type) static_cast<Type >(a)
330 #define SWIGSTATICINLINE(a) static a
331 #define SWIGSTATIC(a) static a
332 #define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type)))
333 #define swig_delete(cptr) free((char*)cptr)
334 #define swig_delete_array(cptr) free((char*)cptr)
335 #define swig_const_cast(a,Type) (Type)(a)
336 #define swig_static_cast(a,Type) (Type)(a)
337 #define swig_reinterpret_cast(a,Type) (Type)(a)
338 #define swig_numeric_cast(a,Type) (Type)(a)
339 #define swig_new_copy(ptr,Type) ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type)))
341 #endif /* __cplusplus */
344 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
345 #define SWIG_From_signed_SS_char PyInt_FromLong
347 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
348 #define SWIG_From_unsigned_SS_char PyInt_FromLong
350 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
351 #define SWIG_From_short PyInt_FromLong
353 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
354 #define SWIG_From_unsigned_SS_short PyInt_FromLong
356 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
357 #define SWIG_From_int PyInt_FromLong
359 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
360 #define SWIG_From_long PyInt_FromLong
362 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
363 #define SWIG_From_float PyFloat_FromDouble
365 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
366 #define SWIG_From_double PyFloat_FromDouble
370 #include "wx/wxPython/wxPython.h"
371 #include "wx/wxPython/pyclasses.h"
374 static const wxString
wxPyEmptyString(wxEmptyString
);
375 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
382 SWIGSTATICINLINE(int)
383 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
386 if (value
< min_value
) {
388 PyErr_Format(PyExc_OverflowError
,
389 "value %ld is less than '%s' minimum %ld",
390 value
, errmsg
, min_value
);
393 } else if (value
> max_value
) {
395 PyErr_Format(PyExc_OverflowError
,
396 "value %ld is greater than '%s' maximum %ld",
397 value
, errmsg
, max_value
);
405 // See my_fragments.i
406 SWIGSTATICINLINE(int)
407 SWIG_AsVal_long(PyObject
* obj
, long* val
)
409 if (PyNumber_Check(obj
)) {
410 if (val
) *val
= PyInt_AsLong(obj
);
414 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
415 obj
->ob_type
->tp_name
);
416 PyErr_SetObject(PyExc_TypeError
, errmsg
);
423 #if INT_MAX != LONG_MAX
424 SWIGSTATICINLINE(int)
425 SWIG_AsVal_int(PyObject
*obj
, int *val
)
427 const char* errmsg
= val
? "int" : 0;
429 if (SWIG_AsVal_long(obj
, &v
)) {
430 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
431 if (val
) *val
= swig_numeric_cast(v
, int);
440 PyErr_SetString(PyExc_TypeError
, "an int is expected");
445 SWIGSTATICINLINE(int)
446 SWIG_AsVal_int(PyObject
*obj
, int *val
)
448 return SWIG_AsVal_long(obj
,(long*)val
);
453 SWIGSTATICINLINE(int)
454 SWIG_As_int(PyObject
* obj
)
457 if (!SWIG_AsVal_int(obj
, &v
)) {
459 this is needed to make valgrind/purify happier. the other
460 solution is throw an exception, but since this code should work
463 memset((void*)&v
, 0, sizeof(int));
469 SWIGSTATICINLINE(long)
470 SWIG_As_long(PyObject
* obj
)
473 if (!SWIG_AsVal_long(obj
, &v
)) {
475 this is needed to make valgrind/purify happier. the other
476 solution is throw an exception, but since this code should work
479 memset((void*)&v
, 0, sizeof(long));
485 SWIGSTATICINLINE(int)
486 SWIG_Check_int(PyObject
* obj
)
488 return SWIG_AsVal_int(obj
, (int*)0);
492 SWIGSTATICINLINE(int)
493 SWIG_Check_long(PyObject
* obj
)
495 return SWIG_AsVal_long(obj
, (long*)0);
499 SWIGSTATICINLINE(int)
500 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
502 /* if (val) *val = PyObject_IsTrue(obj); return 1; */
503 if (obj
== Py_True
) {
504 if (val
) *val
= true;
507 if (obj
== Py_False
) {
508 if (val
) *val
= false;
512 if (SWIG_AsVal_int(obj
, &res
)) {
513 if (val
) *val
= (bool)res
;
517 PyErr_SetString(PyExc_TypeError
, "a bool is expected");
523 SWIGSTATICINLINE(bool)
524 SWIG_As_bool(PyObject
* obj
)
527 if (!SWIG_AsVal_bool(obj
, &v
)) {
529 this is needed to make valgrind/purify happier. the other
530 solution is throw an exception, but since this code should work
533 memset((void*)&v
, 0, sizeof(bool));
539 SWIGSTATICINLINE(int)
540 SWIG_Check_bool(PyObject
* obj
)
542 return SWIG_AsVal_bool(obj
, (bool*)0);
546 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
552 } else if (target
== Py_None
) {
556 if (!PyTuple_Check(target
)) {
558 target
= PyTuple_New(1);
559 PyTuple_SetItem(target
, 0, o2
);
562 PyTuple_SetItem(o3
, 0, o
);
565 target
= PySequence_Concat(o2
, o3
);
574 // See my_fragments.i
575 SWIGSTATICINLINE(int)
576 SWIG_AsVal_double(PyObject
*obj
, double* val
)
578 if (PyNumber_Check(obj
)) {
579 if (val
) *val
= PyFloat_AsDouble(obj
);
583 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
584 obj
->ob_type
->tp_name
);
585 PyErr_SetObject(PyExc_TypeError
, errmsg
);
592 SWIGSTATICINLINE(double)
593 SWIG_As_double(PyObject
* obj
)
596 if (!SWIG_AsVal_double(obj
, &v
)) {
598 this is needed to make valgrind/purify happier. the other
599 solution is throw an exception, but since this code should work
602 memset((void*)&v
, 0, sizeof(double));
608 SWIGSTATICINLINE(int)
609 SWIG_Check_double(PyObject
* obj
)
611 return SWIG_AsVal_double(obj
, (double*)0);
614 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
615 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
616 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
617 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
620 wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
622 self
->GetFieldRect(i
, r
);
625 static const wxString
wxPySplitterNameStr(wxT("splitter"));
626 static const wxString
wxPySashNameStr(wxT("sashWindow"));
627 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
629 #include <wx/popupwin.h>
632 class wxPopupWindow
: public wxWindow
{
634 wxPopupWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
635 wxPopupWindow() { wxPyRaiseNotImplemented(); }
638 class wxPyPopupTransientWindow
: public wxPopupWindow
641 wxPyPopupTransientWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
642 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
646 #include <wx/tipwin.h>
648 wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
,wxRect
*rectBound
){
649 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
652 #include <wx/tipwin.h>
655 #include <wx/vscroll.h>
658 class wxPyVScrolledWindow
: public wxVScrolledWindow
660 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
);
662 wxPyVScrolledWindow() : wxVScrolledWindow() {}
664 wxPyVScrolledWindow(wxWindow
*parent
,
665 wxWindowID id
= wxID_ANY
,
666 const wxPoint
& pos
= wxDefaultPosition
,
667 const wxSize
& size
= wxDefaultSize
,
669 const wxString
& name
= wxPyPanelNameStr
)
670 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
673 // Overridable virtuals
675 // this function must be overridden in the derived class and it should
676 // return the height of the given line in pixels
677 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
680 // this function doesn't have to be overridden but it may be useful to do
681 // it if calculating the lines heights is a relatively expensive operation
682 // as it gives the user code a possibility to calculate several of them at
685 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
686 // shouldn't rely on the latter being called for all lines in the interval
687 // specified here. It is also possible that OnGetLineHeight() will be
688 // called for the lines outside of this interval, so this is really just a
689 // hint, not a promise.
691 // finally note that lineMin is inclusive, while lineMax is exclusive, as
693 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
696 // when the number of lines changes, we try to estimate the total height
697 // of all lines which is a rather expensive operation in terms of lines
698 // access, so if the user code may estimate the average height
699 // better/faster than we do, it should override this function to implement
702 // this function should return the best guess for the total height it may
704 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
707 // Also expose some other interesting protected methods
710 // find the index of the line we need to show at the top of the window such
711 // that the last (fully or partially) visible line is the given one
712 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
713 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
715 // get the total height of the lines between lineMin (inclusive) and
716 // lineMax (exclusive)
717 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
718 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
724 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
726 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
727 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
728 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
731 // See my_fragments.i
732 SWIGSTATICINLINE(int)
733 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
736 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
737 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
741 *val
= (unsigned long)v
;
746 SWIGSTATICINLINE(unsigned long)
747 SWIG_As_unsigned_SS_long(PyObject
* obj
)
750 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
752 this is needed to make valgrind/purify happier. the other
753 solution is throw an exception, but since this code should work
756 memset((void*)&v
, 0, sizeof(unsigned long));
762 SWIGSTATICINLINE(int)
763 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
765 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
769 SWIGSTATICINLINE(PyObject
* )
770 SWIG_From_unsigned_SS_long(unsigned long value
)
772 return (value
> LONG_MAX
) ?
773 PyLong_FromUnsignedLong(value
)
774 : PyInt_FromLong(swig_numeric_cast(value
,long));
778 #include <wx/vlbox.h>
780 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
782 class wxPyVListBox
: public wxVListBox
784 DECLARE_ABSTRACT_CLASS(wxPyVListBox
);
786 wxPyVListBox() : wxVListBox() {}
788 wxPyVListBox(wxWindow
*parent
,
789 wxWindowID id
= wxID_ANY
,
790 const wxPoint
& pos
= wxDefaultPosition
,
791 const wxSize
& size
= wxDefaultSize
,
793 const wxString
& name
= wxPyVListBoxNameStr
)
794 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
797 // Overridable virtuals
799 // the derived class must implement this function to actually draw the item
800 // with the given index on the provided DC
801 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
802 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
805 // the derived class must implement this method to return the height of the
807 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
808 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
811 // this method may be used to draw separators between the lines; note that
812 // the rectangle may be modified, typically to deflate it a bit before
813 // passing to OnDrawItem()
815 // the base class version doesn't do anything
816 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
817 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
820 // this method is used to draw the items background and, maybe, a border
823 // the base class version implements a reasonable default behaviour which
824 // consists in drawing the selected item with the standard background
825 // colour and drawing a border around the item if it is either selected or
827 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
828 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
834 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
836 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
837 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
838 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
839 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
842 PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
843 unsigned long cookie
= 0;
844 int selected
= self
->GetFirstSelected(cookie
);
845 bool blocked
= wxPyBeginBlockThreads();
846 PyObject
* tup
= PyTuple_New(2);
847 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
848 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
849 wxPyEndBlockThreads(blocked
);
852 PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
853 int selected
= self
->GetNextSelected(cookie
);
854 bool blocked
= wxPyBeginBlockThreads();
855 PyObject
* tup
= PyTuple_New(2);
856 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
857 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
858 wxPyEndBlockThreads(blocked
);
862 #include <wx/htmllbox.h>
865 class wxPyHtmlListBox
: public wxHtmlListBox
867 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
);
869 wxPyHtmlListBox() : wxHtmlListBox() {}
871 wxPyHtmlListBox(wxWindow
*parent
,
872 wxWindowID id
= wxID_ANY
,
873 const wxPoint
& pos
= wxDefaultPosition
,
874 const wxSize
& size
= wxDefaultSize
,
876 const wxString
& name
= wxPyVListBoxNameStr
)
877 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
880 // Overridable virtuals
882 // this method must be implemented in the derived class and should return
883 // the body (i.e. without <html>) of the HTML for the given item
884 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
886 // this function may be overridden to decorate HTML returned by OnGetItem()
887 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
890 // // this method allows to customize the selection appearance: it may be used
891 // // to specify the colour of the text which normally has the given colour
892 // // colFg when it is inside the selection
894 // // by default, the original colour is not used at all and all text has the
895 // // same (default for this system) colour inside selection
896 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
898 // // this is the same as GetSelectedTextColour() but allows to customize the
899 // // background colour -- this is even more rarely used as you can change it
900 // // globally using SetSelectionBackground()
901 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
908 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
910 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
911 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
917 #ifndef wxHAS_TASK_BAR_ICON
918 // implement dummy classes for platforms that don't have it
920 class wxTaskBarIcon
: public wxEvtHandler
923 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
927 class wxTaskBarIconEvent
: public wxEvent
930 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
931 { wxPyRaiseNotImplemented(); }
932 virtual wxEvent
* Clone() const { return NULL
; }
933 bool IsOk() const { return false; }
934 bool IsIconInstalled() const { return false; }
935 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
936 bool RemoveIcon() { return false; }
937 bool PopupMenu(wxMenu
*menu
) { return false; }
941 wxEVT_TASKBAR_MOVE
= 0,
942 wxEVT_TASKBAR_LEFT_DOWN
= 0,
943 wxEVT_TASKBAR_LEFT_UP
= 0,
944 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
945 wxEVT_TASKBAR_RIGHT_UP
= 0,
946 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
947 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
952 // Otherwise make a class that can virtualize CreatePopupMenu
953 class wxPyTaskBarIcon
: public wxTaskBarIcon
955 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
);
957 wxPyTaskBarIcon() : wxTaskBarIcon()
960 wxMenu
* CreatePopupMenu() {
963 bool blocked
= wxPyBeginBlockThreads();
964 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
967 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
969 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
974 wxPyEndBlockThreads(blocked
);
976 rval
= wxTaskBarIcon::CreatePopupMenu();
983 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
987 void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
991 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
992 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
993 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
994 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
995 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
996 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
997 PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
999 self
->GetFilenames(arr
);
1000 return wxArrayString2PyList_helper(arr
);
1002 PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
1004 self
->GetPaths(arr
);
1005 return wxArrayString2PyList_helper(arr
);
1007 PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
1008 return wxArrayInt2PyList_helper(self
->GetSelections());
1010 wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
const &message
,wxString
const &caption
,int choices
,wxString
*choices_array
,long style
,wxPoint
const &pos
){
1011 return new wxSingleChoiceDialog(parent
, message
, caption
,
1012 choices
, choices_array
, NULL
, style
, pos
);
1014 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
1018 // C++ version of Python aware wxWindow
1019 class wxPyWindow
: public wxWindow
1021 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
1023 wxPyWindow() : wxWindow() {}
1024 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
1025 const wxPoint
& pos
= wxDefaultPosition
,
1026 const wxSize
& size
= wxDefaultSize
,
1028 const wxString
& name
= wxPyPanelNameStr
)
1029 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
1031 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
1033 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1034 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1035 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1036 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1038 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1039 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1040 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1042 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1043 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1045 DEC_PYCALLBACK__(InitDialog
);
1046 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1047 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1048 DEC_PYCALLBACK_BOOL_(Validate
);
1050 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1051 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1052 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1054 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1055 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1057 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
1058 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1059 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
1064 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
1066 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
1067 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
1068 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
1069 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
1071 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
1072 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
1073 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
1075 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
1076 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
1078 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
1079 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
1080 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
1081 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
1083 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
1084 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
1085 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
1087 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
1088 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
1090 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
1091 IMP_PYCALLBACK__COLOUR(wxPyWindow
, wxWindow
, ApplyParentThemeBackground
);
1092 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
1095 // C++ version of Python aware wxPanel
1096 class wxPyPanel
: public wxPanel
1098 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
1100 wxPyPanel() : wxPanel() {}
1101 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
1102 const wxPoint
& pos
= wxDefaultPosition
,
1103 const wxSize
& size
= wxDefaultSize
,
1105 const wxString
& name
= wxPyPanelNameStr
)
1106 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
1108 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
1111 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1112 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1113 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1114 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1116 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1117 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1118 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1120 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1121 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1123 DEC_PYCALLBACK__(InitDialog
);
1124 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1125 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1126 DEC_PYCALLBACK_BOOL_(Validate
);
1128 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1129 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1130 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1132 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1133 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1135 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
1136 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1137 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
1142 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
1144 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
1145 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
1146 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
1147 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
1149 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
1150 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
1151 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
1153 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
1154 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
1156 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
1157 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
1158 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
1159 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
1161 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
1162 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
1163 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
1165 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
1166 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
1168 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
1169 IMP_PYCALLBACK__COLOUR(wxPyPanel
, wxPanel
, ApplyParentThemeBackground
);
1170 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
1173 // C++ version of Python aware wxScrolledWindow
1174 class wxPyScrolledWindow
: public wxScrolledWindow
1176 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
1178 wxPyScrolledWindow() : wxScrolledWindow() {}
1179 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
1180 const wxPoint
& pos
= wxDefaultPosition
,
1181 const wxSize
& size
= wxDefaultSize
,
1183 const wxString
& name
= wxPyPanelNameStr
)
1184 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
1186 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
1188 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1189 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1190 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1191 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1193 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1194 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1195 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1197 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1198 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1200 DEC_PYCALLBACK__(InitDialog
);
1201 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1202 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1203 DEC_PYCALLBACK_BOOL_(Validate
);
1205 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1206 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1207 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1209 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1210 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1212 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
1213 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1214 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
1219 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
1221 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
1222 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
1223 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
1224 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
1226 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
1227 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
1228 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
1230 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
1231 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
1233 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
1234 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
1235 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
1236 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
1238 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
1239 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
1240 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
1242 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
1243 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
1245 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
1246 IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow
, wxScrolledWindow
, ApplyParentThemeBackground
);
1247 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
1251 #include "wx/wxPython/printfw.h"
1254 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
1255 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1258 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
1260 // Since this one would be tough and ugly to do with the Macros...
1261 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1262 bool hadErr
= false;
1265 bool blocked
= wxPyBeginBlockThreads();
1266 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
1267 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1268 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
1271 val
= PyTuple_GetItem(result
, 0);
1272 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
1275 val
= PyTuple_GetItem(result
, 1);
1276 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
1279 val
= PyTuple_GetItem(result
, 2);
1280 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
1283 val
= PyTuple_GetItem(result
, 3);
1284 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
1291 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
1296 wxPyEndBlockThreads(blocked
);
1298 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1301 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
1302 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
1306 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
1307 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
1308 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
1309 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
1310 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
1311 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
1312 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
1318 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
1319 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
1320 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
1323 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
1324 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1327 bool blocked = wxPyBeginBlockThreads(); \
1328 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
1329 PyObject* win = wxPyMake_wxObject(a,false); \
1330 PyObject* dc = wxPyMake_wxObject(&b,false); \
1331 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
1335 wxPyEndBlockThreads(blocked); \
1337 rval = PCLASS::CBNAME(a, b); \
1340 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
1341 return PCLASS::CBNAME(a, b); \
1347 class wxPyPrintPreview
: public wxPrintPreview
1349 DECLARE_CLASS(wxPyPrintPreview
)
1351 wxPyPrintPreview(wxPyPrintout
* printout
,
1352 wxPyPrintout
* printoutForPrinting
,
1353 wxPrintDialogData
* data
=NULL
)
1354 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1356 wxPyPrintPreview(wxPyPrintout
* printout
,
1357 wxPyPrintout
* printoutForPrinting
,
1358 wxPrintData
* data
=NULL
)
1359 : wxPrintPreview(printout
, printoutForPrinting
, data
)
1362 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
1363 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
1364 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
1365 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
1366 DEC_PYCALLBACK_VOID_INT(SetZoom
);
1367 DEC_PYCALLBACK_BOOL_BOOL(Print
);
1368 DEC_PYCALLBACK_VOID_(DetermineScaling
);
1373 // Stupid renamed classes... Fix this in 2.5...
1374 #if defined(__WXMSW__)
1375 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
1376 #elif defined(__WXMAC__)
1377 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
1379 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
1382 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
1383 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
1384 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
1385 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
1386 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
1387 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
1388 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
1391 class wxPyPreviewFrame
: public wxPreviewFrame
1393 DECLARE_CLASS(wxPyPreviewFrame
);
1395 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
1396 const wxString
& title
,
1397 const wxPoint
& pos
= wxDefaultPosition
,
1398 const wxSize
& size
= wxDefaultSize
,
1399 long style
= wxDEFAULT_FRAME_STYLE
,
1400 const wxString
& name
= wxPyFrameNameStr
)
1401 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
1404 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
1405 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
1407 DEC_PYCALLBACK_VOID_(Initialize
);
1408 DEC_PYCALLBACK_VOID_(CreateCanvas
);
1409 DEC_PYCALLBACK_VOID_(CreateControlBar
);
1414 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
1416 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
1417 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
1418 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
1421 class wxPyPreviewControlBar
: public wxPreviewControlBar
1423 DECLARE_CLASS(wxPyPreviewControlBar
);
1425 wxPyPreviewControlBar(wxPrintPreview
*preview
,
1428 const wxPoint
& pos
= wxDefaultPosition
,
1429 const wxSize
& size
= wxDefaultSize
,
1431 const wxString
& name
= wxPyPanelNameStr
)
1432 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
1435 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
1437 DEC_PYCALLBACK_VOID_(CreateButtons
);
1438 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
1443 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
1444 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
1445 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
1450 static PyObject
*_wrap_new_Panel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1451 PyObject
*resultobj
;
1452 wxWindow
*arg1
= (wxWindow
*) 0 ;
1453 int arg2
= (int) (int)-1 ;
1454 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1455 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1456 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1457 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1458 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1459 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1460 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1464 bool temp6
= false ;
1465 PyObject
* obj0
= 0 ;
1466 PyObject
* obj1
= 0 ;
1467 PyObject
* obj2
= 0 ;
1468 PyObject
* obj3
= 0 ;
1469 PyObject
* obj4
= 0 ;
1470 PyObject
* obj5
= 0 ;
1472 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1479 arg2
= (int)SWIG_As_int(obj1
);
1480 if (PyErr_Occurred()) SWIG_fail
;
1485 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1491 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1495 arg5
= (long)SWIG_As_long(obj4
);
1496 if (PyErr_Occurred()) SWIG_fail
;
1500 arg6
= wxString_in_helper(obj5
);
1501 if (arg6
== NULL
) SWIG_fail
;
1506 if (!wxPyCheckForApp()) SWIG_fail
;
1507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1508 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1510 wxPyEndAllowThreads(__tstate
);
1511 if (PyErr_Occurred()) SWIG_fail
;
1513 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
1528 static PyObject
*_wrap_new_PrePanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1529 PyObject
*resultobj
;
1535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
1537 if (!wxPyCheckForApp()) SWIG_fail
;
1538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1539 result
= (wxPanel
*)new wxPanel();
1541 wxPyEndAllowThreads(__tstate
);
1542 if (PyErr_Occurred()) SWIG_fail
;
1544 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
1551 static PyObject
*_wrap_Panel_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1552 PyObject
*resultobj
;
1553 wxPanel
*arg1
= (wxPanel
*) 0 ;
1554 wxWindow
*arg2
= (wxWindow
*) 0 ;
1555 int arg3
= (int) (int)-1 ;
1556 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1557 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1558 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1559 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1560 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
1561 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1562 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1566 bool temp7
= false ;
1567 PyObject
* obj0
= 0 ;
1568 PyObject
* obj1
= 0 ;
1569 PyObject
* obj2
= 0 ;
1570 PyObject
* obj3
= 0 ;
1571 PyObject
* obj4
= 0 ;
1572 PyObject
* obj5
= 0 ;
1573 PyObject
* obj6
= 0 ;
1575 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1581 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1584 arg3
= (int)SWIG_As_int(obj2
);
1585 if (PyErr_Occurred()) SWIG_fail
;
1590 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1596 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1600 arg6
= (long)SWIG_As_long(obj5
);
1601 if (PyErr_Occurred()) SWIG_fail
;
1605 arg7
= wxString_in_helper(obj6
);
1606 if (arg7
== NULL
) SWIG_fail
;
1611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1612 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1614 wxPyEndAllowThreads(__tstate
);
1615 if (PyErr_Occurred()) SWIG_fail
;
1618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1634 static PyObject
*_wrap_Panel_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1635 PyObject
*resultobj
;
1636 wxPanel
*arg1
= (wxPanel
*) 0 ;
1637 PyObject
* obj0
= 0 ;
1639 (char *) "self", NULL
1642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
1643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPanel
,
1644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1647 (arg1
)->InitDialog();
1649 wxPyEndAllowThreads(__tstate
);
1650 if (PyErr_Occurred()) SWIG_fail
;
1652 Py_INCREF(Py_None
); resultobj
= Py_None
;
1659 static PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1660 PyObject
*resultobj
;
1661 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
1662 wxVisualAttributes result
;
1663 PyObject
* obj0
= 0 ;
1665 (char *) "variant", NULL
1668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
1670 arg1
= (int)SWIG_As_int(obj0
);
1671 if (PyErr_Occurred()) SWIG_fail
;
1674 if (!wxPyCheckForApp()) SWIG_fail
;
1675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1676 result
= wxPanel::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
1678 wxPyEndAllowThreads(__tstate
);
1679 if (PyErr_Occurred()) SWIG_fail
;
1682 wxVisualAttributes
* resultptr
;
1683 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
1684 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
1692 static PyObject
* Panel_swigregister(PyObject
*, PyObject
*args
) {
1694 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1695 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
1697 return Py_BuildValue((char *)"");
1699 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1700 PyObject
*resultobj
;
1701 wxWindow
*arg1
= (wxWindow
*) 0 ;
1702 int arg2
= (int) (int)-1 ;
1703 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
1704 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
1705 wxSize
const &arg4_defvalue
= wxDefaultSize
;
1706 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
1707 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
1708 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
1709 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
1710 wxScrolledWindow
*result
;
1713 bool temp6
= false ;
1714 PyObject
* obj0
= 0 ;
1715 PyObject
* obj1
= 0 ;
1716 PyObject
* obj2
= 0 ;
1717 PyObject
* obj3
= 0 ;
1718 PyObject
* obj4
= 0 ;
1719 PyObject
* obj5
= 0 ;
1721 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
1725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1728 arg2
= (int)SWIG_As_int(obj1
);
1729 if (PyErr_Occurred()) SWIG_fail
;
1734 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
1740 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
1744 arg5
= (long)SWIG_As_long(obj4
);
1745 if (PyErr_Occurred()) SWIG_fail
;
1749 arg6
= wxString_in_helper(obj5
);
1750 if (arg6
== NULL
) SWIG_fail
;
1755 if (!wxPyCheckForApp()) SWIG_fail
;
1756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1757 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
1759 wxPyEndAllowThreads(__tstate
);
1760 if (PyErr_Occurred()) SWIG_fail
;
1762 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1777 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1778 PyObject
*resultobj
;
1779 wxScrolledWindow
*result
;
1784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
1786 if (!wxPyCheckForApp()) SWIG_fail
;
1787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1788 result
= (wxScrolledWindow
*)new wxScrolledWindow();
1790 wxPyEndAllowThreads(__tstate
);
1791 if (PyErr_Occurred()) SWIG_fail
;
1793 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
1800 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1801 PyObject
*resultobj
;
1802 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1803 wxWindow
*arg2
= (wxWindow
*) 0 ;
1804 int arg3
= (int) (int)-1 ;
1805 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1806 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1807 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1808 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1809 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
1810 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
1811 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
1815 bool temp7
= false ;
1816 PyObject
* obj0
= 0 ;
1817 PyObject
* obj1
= 0 ;
1818 PyObject
* obj2
= 0 ;
1819 PyObject
* obj3
= 0 ;
1820 PyObject
* obj4
= 0 ;
1821 PyObject
* obj5
= 0 ;
1822 PyObject
* obj6
= 0 ;
1824 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
1828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1830 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1833 arg3
= (int)SWIG_As_int(obj2
);
1834 if (PyErr_Occurred()) SWIG_fail
;
1839 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1845 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1849 arg6
= (long)SWIG_As_long(obj5
);
1850 if (PyErr_Occurred()) SWIG_fail
;
1854 arg7
= wxString_in_helper(obj6
);
1855 if (arg7
== NULL
) SWIG_fail
;
1860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1861 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
1863 wxPyEndAllowThreads(__tstate
);
1864 if (PyErr_Occurred()) SWIG_fail
;
1867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1883 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1884 PyObject
*resultobj
;
1885 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1890 int arg6
= (int) 0 ;
1891 int arg7
= (int) 0 ;
1892 bool arg8
= (bool) false ;
1893 PyObject
* obj0
= 0 ;
1894 PyObject
* obj1
= 0 ;
1895 PyObject
* obj2
= 0 ;
1896 PyObject
* obj3
= 0 ;
1897 PyObject
* obj4
= 0 ;
1898 PyObject
* obj5
= 0 ;
1899 PyObject
* obj6
= 0 ;
1900 PyObject
* obj7
= 0 ;
1902 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1908 arg2
= (int)SWIG_As_int(obj1
);
1909 if (PyErr_Occurred()) SWIG_fail
;
1910 arg3
= (int)SWIG_As_int(obj2
);
1911 if (PyErr_Occurred()) SWIG_fail
;
1912 arg4
= (int)SWIG_As_int(obj3
);
1913 if (PyErr_Occurred()) SWIG_fail
;
1914 arg5
= (int)SWIG_As_int(obj4
);
1915 if (PyErr_Occurred()) SWIG_fail
;
1917 arg6
= (int)SWIG_As_int(obj5
);
1918 if (PyErr_Occurred()) SWIG_fail
;
1921 arg7
= (int)SWIG_As_int(obj6
);
1922 if (PyErr_Occurred()) SWIG_fail
;
1925 arg8
= (bool)SWIG_As_bool(obj7
);
1926 if (PyErr_Occurred()) SWIG_fail
;
1929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1930 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
1932 wxPyEndAllowThreads(__tstate
);
1933 if (PyErr_Occurred()) SWIG_fail
;
1935 Py_INCREF(Py_None
); resultobj
= Py_None
;
1942 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1943 PyObject
*resultobj
;
1944 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1947 PyObject
* obj0
= 0 ;
1948 PyObject
* obj1
= 0 ;
1949 PyObject
* obj2
= 0 ;
1951 (char *) "self",(char *) "x",(char *) "y", NULL
1954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
1955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1957 arg2
= (int)SWIG_As_int(obj1
);
1958 if (PyErr_Occurred()) SWIG_fail
;
1959 arg3
= (int)SWIG_As_int(obj2
);
1960 if (PyErr_Occurred()) SWIG_fail
;
1962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1963 (arg1
)->Scroll(arg2
,arg3
);
1965 wxPyEndAllowThreads(__tstate
);
1966 if (PyErr_Occurred()) SWIG_fail
;
1968 Py_INCREF(Py_None
); resultobj
= Py_None
;
1975 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1976 PyObject
*resultobj
;
1977 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
1980 PyObject
* obj0
= 0 ;
1981 PyObject
* obj1
= 0 ;
1983 (char *) "self",(char *) "orient", NULL
1986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
1987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
1988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1989 arg2
= (int)SWIG_As_int(obj1
);
1990 if (PyErr_Occurred()) SWIG_fail
;
1992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1993 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
1995 wxPyEndAllowThreads(__tstate
);
1996 if (PyErr_Occurred()) SWIG_fail
;
1998 resultobj
= SWIG_From_int((int)result
);
2005 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2006 PyObject
*resultobj
;
2007 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2010 PyObject
* obj0
= 0 ;
2011 PyObject
* obj1
= 0 ;
2012 PyObject
* obj2
= 0 ;
2014 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
2017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2020 arg2
= (int)SWIG_As_int(obj1
);
2021 if (PyErr_Occurred()) SWIG_fail
;
2022 arg3
= (int)SWIG_As_int(obj2
);
2023 if (PyErr_Occurred()) SWIG_fail
;
2025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2026 (arg1
)->SetScrollPageSize(arg2
,arg3
);
2028 wxPyEndAllowThreads(__tstate
);
2029 if (PyErr_Occurred()) SWIG_fail
;
2031 Py_INCREF(Py_None
); resultobj
= Py_None
;
2038 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2039 PyObject
*resultobj
;
2040 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2043 PyObject
* obj0
= 0 ;
2044 PyObject
* obj1
= 0 ;
2045 PyObject
* obj2
= 0 ;
2047 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
2050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2053 arg2
= (int)SWIG_As_int(obj1
);
2054 if (PyErr_Occurred()) SWIG_fail
;
2055 arg3
= (int)SWIG_As_int(obj2
);
2056 if (PyErr_Occurred()) SWIG_fail
;
2058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2059 (arg1
)->SetScrollRate(arg2
,arg3
);
2061 wxPyEndAllowThreads(__tstate
);
2062 if (PyErr_Occurred()) SWIG_fail
;
2064 Py_INCREF(Py_None
); resultobj
= Py_None
;
2071 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2072 PyObject
*resultobj
;
2073 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2074 int *arg2
= (int *) 0 ;
2075 int *arg3
= (int *) 0 ;
2080 PyObject
* obj0
= 0 ;
2082 (char *) "self", NULL
2085 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
2086 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
2087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
2088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2092 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
2094 wxPyEndAllowThreads(__tstate
);
2095 if (PyErr_Occurred()) SWIG_fail
;
2097 Py_INCREF(Py_None
); resultobj
= Py_None
;
2098 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
2099 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
2100 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
2101 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
2108 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2109 PyObject
*resultobj
;
2110 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2113 PyObject
* obj0
= 0 ;
2114 PyObject
* obj1
= 0 ;
2115 PyObject
* obj2
= 0 ;
2117 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
2120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2123 arg2
= (bool)SWIG_As_bool(obj1
);
2124 if (PyErr_Occurred()) SWIG_fail
;
2125 arg3
= (bool)SWIG_As_bool(obj2
);
2126 if (PyErr_Occurred()) SWIG_fail
;
2128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2129 (arg1
)->EnableScrolling(arg2
,arg3
);
2131 wxPyEndAllowThreads(__tstate
);
2132 if (PyErr_Occurred()) SWIG_fail
;
2134 Py_INCREF(Py_None
); resultobj
= Py_None
;
2141 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2142 PyObject
*resultobj
;
2143 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2144 int *arg2
= (int *) 0 ;
2145 int *arg3
= (int *) 0 ;
2150 PyObject
* obj0
= 0 ;
2152 (char *) "self", NULL
2155 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
2156 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
2157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
2158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2162 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
2164 wxPyEndAllowThreads(__tstate
);
2165 if (PyErr_Occurred()) SWIG_fail
;
2167 Py_INCREF(Py_None
); resultobj
= Py_None
;
2168 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
2169 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
2170 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
2171 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
2178 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2179 PyObject
*resultobj
;
2180 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2183 PyObject
* obj0
= 0 ;
2184 PyObject
* obj1
= 0 ;
2185 PyObject
* obj2
= 0 ;
2187 (char *) "self",(char *) "xs",(char *) "ys", NULL
2190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2193 arg2
= (double)SWIG_As_double(obj1
);
2194 if (PyErr_Occurred()) SWIG_fail
;
2195 arg3
= (double)SWIG_As_double(obj2
);
2196 if (PyErr_Occurred()) SWIG_fail
;
2198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2199 (arg1
)->SetScale(arg2
,arg3
);
2201 wxPyEndAllowThreads(__tstate
);
2202 if (PyErr_Occurred()) SWIG_fail
;
2204 Py_INCREF(Py_None
); resultobj
= Py_None
;
2211 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2212 PyObject
*resultobj
;
2213 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2215 PyObject
* obj0
= 0 ;
2217 (char *) "self", NULL
2220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
2221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2225 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
2227 wxPyEndAllowThreads(__tstate
);
2228 if (PyErr_Occurred()) SWIG_fail
;
2230 resultobj
= SWIG_From_double((double)result
);
2237 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2238 PyObject
*resultobj
;
2239 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2241 PyObject
* obj0
= 0 ;
2243 (char *) "self", NULL
2246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
2247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2251 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
2253 wxPyEndAllowThreads(__tstate
);
2254 if (PyErr_Occurred()) SWIG_fail
;
2256 resultobj
= SWIG_From_double((double)result
);
2263 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
2264 PyObject
*resultobj
;
2265 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2269 PyObject
* obj0
= 0 ;
2270 PyObject
* obj1
= 0 ;
2272 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
2273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2277 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2281 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
2283 wxPyEndAllowThreads(__tstate
);
2284 if (PyErr_Occurred()) SWIG_fail
;
2287 wxPoint
* resultptr
;
2288 resultptr
= new wxPoint((wxPoint
&) result
);
2289 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2297 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
2298 PyObject
*resultobj
;
2299 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2302 int *arg4
= (int *) 0 ;
2303 int *arg5
= (int *) 0 ;
2308 PyObject
* obj0
= 0 ;
2309 PyObject
* obj1
= 0 ;
2310 PyObject
* obj2
= 0 ;
2312 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
2313 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
2314 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2317 arg2
= (int)SWIG_As_int(obj1
);
2318 if (PyErr_Occurred()) SWIG_fail
;
2319 arg3
= (int)SWIG_As_int(obj2
);
2320 if (PyErr_Occurred()) SWIG_fail
;
2322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2323 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
2325 wxPyEndAllowThreads(__tstate
);
2326 if (PyErr_Occurred()) SWIG_fail
;
2328 Py_INCREF(Py_None
); resultobj
= Py_None
;
2329 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
2330 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
2331 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
2332 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
2339 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
2344 argc
= PyObject_Length(args
);
2345 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2346 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2352 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2361 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2364 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
2372 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2380 _v
= SWIG_Check_int(argv
[1]);
2382 _v
= SWIG_Check_int(argv
[2]);
2384 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
2390 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2395 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
2396 PyObject
*resultobj
;
2397 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2401 PyObject
* obj0
= 0 ;
2402 PyObject
* obj1
= 0 ;
2404 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
2405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2409 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2413 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
2415 wxPyEndAllowThreads(__tstate
);
2416 if (PyErr_Occurred()) SWIG_fail
;
2419 wxPoint
* resultptr
;
2420 resultptr
= new wxPoint((wxPoint
&) result
);
2421 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2429 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
2430 PyObject
*resultobj
;
2431 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2434 int *arg4
= (int *) 0 ;
2435 int *arg5
= (int *) 0 ;
2440 PyObject
* obj0
= 0 ;
2441 PyObject
* obj1
= 0 ;
2442 PyObject
* obj2
= 0 ;
2444 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
2445 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
2446 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
2447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2449 arg2
= (int)SWIG_As_int(obj1
);
2450 if (PyErr_Occurred()) SWIG_fail
;
2451 arg3
= (int)SWIG_As_int(obj2
);
2452 if (PyErr_Occurred()) SWIG_fail
;
2454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2455 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
2457 wxPyEndAllowThreads(__tstate
);
2458 if (PyErr_Occurred()) SWIG_fail
;
2460 Py_INCREF(Py_None
); resultobj
= Py_None
;
2461 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
2462 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
2463 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
2464 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
2471 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
2476 argc
= PyObject_Length(args
);
2477 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
2478 argv
[ii
] = PyTuple_GetItem(args
,ii
);
2484 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2493 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
2496 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
2504 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
2512 _v
= SWIG_Check_int(argv
[1]);
2514 _v
= SWIG_Check_int(argv
[2]);
2516 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
2522 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2527 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2528 PyObject
*resultobj
;
2529 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2530 PyObject
* obj0
= 0 ;
2532 (char *) "self", NULL
2535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
2536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2540 (arg1
)->AdjustScrollbars();
2542 wxPyEndAllowThreads(__tstate
);
2543 if (PyErr_Occurred()) SWIG_fail
;
2545 Py_INCREF(Py_None
); resultobj
= Py_None
;
2552 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2553 PyObject
*resultobj
;
2554 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2555 wxScrollWinEvent
*arg2
= 0 ;
2557 PyObject
* obj0
= 0 ;
2558 PyObject
* obj1
= 0 ;
2560 (char *) "self",(char *) "event", NULL
2563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
2564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2566 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxScrollWinEvent
,
2567 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2570 PyErr_SetString(PyExc_TypeError
,"null reference");
2574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2575 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
2577 wxPyEndAllowThreads(__tstate
);
2578 if (PyErr_Occurred()) SWIG_fail
;
2580 resultobj
= SWIG_From_int((int)result
);
2587 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2588 PyObject
*resultobj
;
2589 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2590 wxWindow
*arg2
= (wxWindow
*) 0 ;
2591 PyObject
* obj0
= 0 ;
2592 PyObject
* obj1
= 0 ;
2594 (char *) "self",(char *) "target", NULL
2597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
2598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2600 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2604 (arg1
)->SetTargetWindow(arg2
);
2606 wxPyEndAllowThreads(__tstate
);
2607 if (PyErr_Occurred()) SWIG_fail
;
2609 Py_INCREF(Py_None
); resultobj
= Py_None
;
2616 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2617 PyObject
*resultobj
;
2618 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2620 PyObject
* obj0
= 0 ;
2622 (char *) "self", NULL
2625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
2626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2630 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
2632 wxPyEndAllowThreads(__tstate
);
2633 if (PyErr_Occurred()) SWIG_fail
;
2636 resultobj
= wxPyMake_wxObject(result
, 0);
2644 static PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2645 PyObject
*resultobj
;
2646 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2649 PyObject
* obj0
= 0 ;
2650 PyObject
* obj1
= 0 ;
2652 (char *) "self",(char *) "rect", NULL
2655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
2656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2660 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
2663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2664 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
2666 wxPyEndAllowThreads(__tstate
);
2667 if (PyErr_Occurred()) SWIG_fail
;
2669 Py_INCREF(Py_None
); resultobj
= Py_None
;
2676 static PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2677 PyObject
*resultobj
;
2678 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2680 PyObject
* obj0
= 0 ;
2682 (char *) "self", NULL
2685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetRect",kwnames
,&obj0
)) goto fail
;
2686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2690 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
2692 wxPyEndAllowThreads(__tstate
);
2693 if (PyErr_Occurred()) SWIG_fail
;
2697 resultptr
= new wxRect((wxRect
&) result
);
2698 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
2706 static PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2707 PyObject
*resultobj
;
2708 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2710 PyObject
* obj0
= 0 ;
2711 PyObject
* obj1
= 0 ;
2713 (char *) "self",(char *) "dc", NULL
2716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
2717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrolledWindow
,
2718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2719 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
2720 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2723 PyErr_SetString(PyExc_TypeError
,"null reference");
2727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2728 (arg1
)->DoPrepareDC(*arg2
);
2730 wxPyEndAllowThreads(__tstate
);
2731 if (PyErr_Occurred()) SWIG_fail
;
2733 Py_INCREF(Py_None
); resultobj
= Py_None
;
2740 static PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2741 PyObject
*resultobj
;
2742 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2743 wxVisualAttributes result
;
2744 PyObject
* obj0
= 0 ;
2746 (char *) "variant", NULL
2749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2751 arg1
= (int)SWIG_As_int(obj0
);
2752 if (PyErr_Occurred()) SWIG_fail
;
2755 if (!wxPyCheckForApp()) SWIG_fail
;
2756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2757 result
= wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2759 wxPyEndAllowThreads(__tstate
);
2760 if (PyErr_Occurred()) SWIG_fail
;
2763 wxVisualAttributes
* resultptr
;
2764 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2765 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2773 static PyObject
* ScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
2775 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2776 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
2778 return Py_BuildValue((char *)"");
2780 static int _wrap_FrameNameStr_set(PyObject
*) {
2781 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
2786 static PyObject
*_wrap_FrameNameStr_get() {
2791 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2793 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
2800 static int _wrap_DialogNameStr_set(PyObject
*) {
2801 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
2806 static PyObject
*_wrap_DialogNameStr_get() {
2811 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2813 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
2820 static int _wrap_StatusLineNameStr_set(PyObject
*) {
2821 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
2826 static PyObject
*_wrap_StatusLineNameStr_get() {
2831 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2833 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
2840 static int _wrap_ToolBarNameStr_set(PyObject
*) {
2841 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
2846 static PyObject
*_wrap_ToolBarNameStr_get() {
2851 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2853 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
2860 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2861 PyObject
*resultobj
;
2862 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2863 bool arg2
= (bool) true ;
2864 PyObject
* obj0
= 0 ;
2865 PyObject
* obj1
= 0 ;
2867 (char *) "self",(char *) "maximize", NULL
2870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
2871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2874 arg2
= (bool)SWIG_As_bool(obj1
);
2875 if (PyErr_Occurred()) SWIG_fail
;
2878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2879 (arg1
)->Maximize(arg2
);
2881 wxPyEndAllowThreads(__tstate
);
2882 if (PyErr_Occurred()) SWIG_fail
;
2884 Py_INCREF(Py_None
); resultobj
= Py_None
;
2891 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2892 PyObject
*resultobj
;
2893 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2894 PyObject
* obj0
= 0 ;
2896 (char *) "self", NULL
2899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
2900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2906 wxPyEndAllowThreads(__tstate
);
2907 if (PyErr_Occurred()) SWIG_fail
;
2909 Py_INCREF(Py_None
); resultobj
= Py_None
;
2916 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2917 PyObject
*resultobj
;
2918 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2919 bool arg2
= (bool) true ;
2920 PyObject
* obj0
= 0 ;
2921 PyObject
* obj1
= 0 ;
2923 (char *) "self",(char *) "iconize", NULL
2926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
2927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2930 arg2
= (bool)SWIG_As_bool(obj1
);
2931 if (PyErr_Occurred()) SWIG_fail
;
2934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2935 (arg1
)->Iconize(arg2
);
2937 wxPyEndAllowThreads(__tstate
);
2938 if (PyErr_Occurred()) SWIG_fail
;
2940 Py_INCREF(Py_None
); resultobj
= Py_None
;
2947 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2948 PyObject
*resultobj
;
2949 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2951 PyObject
* obj0
= 0 ;
2953 (char *) "self", NULL
2956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
2957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2961 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
2963 wxPyEndAllowThreads(__tstate
);
2964 if (PyErr_Occurred()) SWIG_fail
;
2967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2975 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2976 PyObject
*resultobj
;
2977 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
2979 PyObject
* obj0
= 0 ;
2981 (char *) "self", NULL
2984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
2985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
2986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2989 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
2991 wxPyEndAllowThreads(__tstate
);
2992 if (PyErr_Occurred()) SWIG_fail
;
2995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3003 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3004 PyObject
*resultobj
;
3005 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3007 PyObject
* obj0
= 0 ;
3009 (char *) "self", NULL
3012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
3013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3017 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
3019 wxPyEndAllowThreads(__tstate
);
3020 if (PyErr_Occurred()) SWIG_fail
;
3024 resultptr
= new wxIcon((wxIcon
&) result
);
3025 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
3033 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3034 PyObject
*resultobj
;
3035 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3037 PyObject
* obj0
= 0 ;
3038 PyObject
* obj1
= 0 ;
3040 (char *) "self",(char *) "icon", NULL
3043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
3044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3046 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
3047 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3050 PyErr_SetString(PyExc_TypeError
,"null reference");
3054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3055 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
3057 wxPyEndAllowThreads(__tstate
);
3058 if (PyErr_Occurred()) SWIG_fail
;
3060 Py_INCREF(Py_None
); resultobj
= Py_None
;
3067 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3068 PyObject
*resultobj
;
3069 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3070 wxIconBundle
*arg2
= 0 ;
3071 PyObject
* obj0
= 0 ;
3072 PyObject
* obj1
= 0 ;
3074 (char *) "self",(char *) "icons", NULL
3077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
3078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3080 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIconBundle
,
3081 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3084 PyErr_SetString(PyExc_TypeError
,"null reference");
3088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3089 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
3091 wxPyEndAllowThreads(__tstate
);
3092 if (PyErr_Occurred()) SWIG_fail
;
3094 Py_INCREF(Py_None
); resultobj
= Py_None
;
3101 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3102 PyObject
*resultobj
;
3103 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3105 long arg3
= (long) wxFULLSCREEN_ALL
;
3107 PyObject
* obj0
= 0 ;
3108 PyObject
* obj1
= 0 ;
3109 PyObject
* obj2
= 0 ;
3111 (char *) "self",(char *) "show",(char *) "style", NULL
3114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3117 arg2
= (bool)SWIG_As_bool(obj1
);
3118 if (PyErr_Occurred()) SWIG_fail
;
3120 arg3
= (long)SWIG_As_long(obj2
);
3121 if (PyErr_Occurred()) SWIG_fail
;
3124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3125 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
3127 wxPyEndAllowThreads(__tstate
);
3128 if (PyErr_Occurred()) SWIG_fail
;
3131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3139 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3140 PyObject
*resultobj
;
3141 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3143 PyObject
* obj0
= 0 ;
3145 (char *) "self", NULL
3148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
3149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3153 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
3155 wxPyEndAllowThreads(__tstate
);
3156 if (PyErr_Occurred()) SWIG_fail
;
3159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3167 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3168 PyObject
*resultobj
;
3169 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3170 wxString
*arg2
= 0 ;
3171 bool temp2
= false ;
3172 PyObject
* obj0
= 0 ;
3173 PyObject
* obj1
= 0 ;
3175 (char *) "self",(char *) "title", NULL
3178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
3179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3182 arg2
= wxString_in_helper(obj1
);
3183 if (arg2
== NULL
) SWIG_fail
;
3187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3188 (arg1
)->SetTitle((wxString
const &)*arg2
);
3190 wxPyEndAllowThreads(__tstate
);
3191 if (PyErr_Occurred()) SWIG_fail
;
3193 Py_INCREF(Py_None
); resultobj
= Py_None
;
3208 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3209 PyObject
*resultobj
;
3210 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3212 PyObject
* obj0
= 0 ;
3214 (char *) "self", NULL
3217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
3218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3222 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
3224 wxPyEndAllowThreads(__tstate
);
3225 if (PyErr_Occurred()) SWIG_fail
;
3229 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3231 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3240 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3241 PyObject
*resultobj
;
3242 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3243 wxRegion
*arg2
= 0 ;
3245 PyObject
* obj0
= 0 ;
3246 PyObject
* obj1
= 0 ;
3248 (char *) "self",(char *) "region", NULL
3251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
3252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3254 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRegion
,
3255 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3258 PyErr_SetString(PyExc_TypeError
,"null reference");
3262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3263 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
3265 wxPyEndAllowThreads(__tstate
);
3266 if (PyErr_Occurred()) SWIG_fail
;
3269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3277 static PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3278 PyObject
*resultobj
;
3279 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3280 int arg2
= (int) wxUSER_ATTENTION_INFO
;
3281 PyObject
* obj0
= 0 ;
3282 PyObject
* obj1
= 0 ;
3284 (char *) "self",(char *) "flags", NULL
3287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) goto fail
;
3288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3291 arg2
= (int)SWIG_As_int(obj1
);
3292 if (PyErr_Occurred()) SWIG_fail
;
3295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3296 (arg1
)->RequestUserAttention(arg2
);
3298 wxPyEndAllowThreads(__tstate
);
3299 if (PyErr_Occurred()) SWIG_fail
;
3301 Py_INCREF(Py_None
); resultobj
= Py_None
;
3308 static PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3309 PyObject
*resultobj
;
3310 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3312 PyObject
* obj0
= 0 ;
3314 (char *) "self", NULL
3317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsActive",kwnames
,&obj0
)) goto fail
;
3318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3322 result
= (bool)(arg1
)->IsActive();
3324 wxPyEndAllowThreads(__tstate
);
3325 if (PyErr_Occurred()) SWIG_fail
;
3328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3336 static PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3337 PyObject
*resultobj
;
3338 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3340 PyObject
* obj0
= 0 ;
3341 PyObject
* obj1
= 0 ;
3343 (char *) "self",(char *) "on", NULL
3346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) goto fail
;
3347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3349 arg2
= (bool)SWIG_As_bool(obj1
);
3350 if (PyErr_Occurred()) SWIG_fail
;
3352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3353 (arg1
)->MacSetMetalAppearance(arg2
);
3355 wxPyEndAllowThreads(__tstate
);
3356 if (PyErr_Occurred()) SWIG_fail
;
3358 Py_INCREF(Py_None
); resultobj
= Py_None
;
3365 static PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3366 PyObject
*resultobj
;
3367 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
3369 PyObject
* obj0
= 0 ;
3371 (char *) "self", NULL
3374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames
,&obj0
)) goto fail
;
3375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTopLevelWindow
,
3376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3379 result
= (bool)((wxTopLevelWindow
const *)arg1
)->MacGetMetalAppearance();
3381 wxPyEndAllowThreads(__tstate
);
3382 if (PyErr_Occurred()) SWIG_fail
;
3385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3393 static PyObject
* TopLevelWindow_swigregister(PyObject
*, PyObject
*args
) {
3395 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3396 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
3398 return Py_BuildValue((char *)"");
3400 static PyObject
*_wrap_new_Frame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3401 PyObject
*resultobj
;
3402 wxWindow
*arg1
= (wxWindow
*) 0 ;
3403 int arg2
= (int) (int)-1 ;
3404 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3405 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3406 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3407 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3408 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3409 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3410 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
3411 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
3412 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3414 bool temp3
= false ;
3417 bool temp7
= false ;
3418 PyObject
* obj0
= 0 ;
3419 PyObject
* obj1
= 0 ;
3420 PyObject
* obj2
= 0 ;
3421 PyObject
* obj3
= 0 ;
3422 PyObject
* obj4
= 0 ;
3423 PyObject
* obj5
= 0 ;
3424 PyObject
* obj6
= 0 ;
3426 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3433 arg2
= (int)SWIG_As_int(obj1
);
3434 if (PyErr_Occurred()) SWIG_fail
;
3438 arg3
= wxString_in_helper(obj2
);
3439 if (arg3
== NULL
) SWIG_fail
;
3446 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3452 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3456 arg6
= (long)SWIG_As_long(obj5
);
3457 if (PyErr_Occurred()) SWIG_fail
;
3461 arg7
= wxString_in_helper(obj6
);
3462 if (arg7
== NULL
) SWIG_fail
;
3467 if (!wxPyCheckForApp()) SWIG_fail
;
3468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3469 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3471 wxPyEndAllowThreads(__tstate
);
3472 if (PyErr_Occurred()) SWIG_fail
;
3474 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
3497 static PyObject
*_wrap_new_PreFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3498 PyObject
*resultobj
;
3504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
3506 if (!wxPyCheckForApp()) SWIG_fail
;
3507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3508 result
= (wxFrame
*)new wxFrame();
3510 wxPyEndAllowThreads(__tstate
);
3511 if (PyErr_Occurred()) SWIG_fail
;
3513 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
3520 static PyObject
*_wrap_Frame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3521 PyObject
*resultobj
;
3522 wxFrame
*arg1
= (wxFrame
*) 0 ;
3523 wxWindow
*arg2
= (wxWindow
*) 0 ;
3524 int arg3
= (int) (int)-1 ;
3525 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3526 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3527 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3528 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3529 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3530 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3531 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
3532 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
3533 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3535 bool temp4
= false ;
3538 bool temp8
= false ;
3539 PyObject
* obj0
= 0 ;
3540 PyObject
* obj1
= 0 ;
3541 PyObject
* obj2
= 0 ;
3542 PyObject
* obj3
= 0 ;
3543 PyObject
* obj4
= 0 ;
3544 PyObject
* obj5
= 0 ;
3545 PyObject
* obj6
= 0 ;
3546 PyObject
* obj7
= 0 ;
3548 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3554 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3557 arg3
= (int)SWIG_As_int(obj2
);
3558 if (PyErr_Occurred()) SWIG_fail
;
3562 arg4
= wxString_in_helper(obj3
);
3563 if (arg4
== NULL
) SWIG_fail
;
3570 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3576 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3580 arg7
= (long)SWIG_As_long(obj6
);
3581 if (PyErr_Occurred()) SWIG_fail
;
3585 arg8
= wxString_in_helper(obj7
);
3586 if (arg8
== NULL
) SWIG_fail
;
3591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3592 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
3594 wxPyEndAllowThreads(__tstate
);
3595 if (PyErr_Occurred()) SWIG_fail
;
3598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3622 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3623 PyObject
*resultobj
;
3624 wxFrame
*arg1
= (wxFrame
*) 0 ;
3626 PyObject
* obj0
= 0 ;
3628 (char *) "self", NULL
3631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
3632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3636 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
3638 wxPyEndAllowThreads(__tstate
);
3639 if (PyErr_Occurred()) SWIG_fail
;
3642 wxPoint
* resultptr
;
3643 resultptr
= new wxPoint((wxPoint
&) result
);
3644 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3652 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3653 PyObject
*resultobj
;
3654 wxFrame
*arg1
= (wxFrame
*) 0 ;
3655 PyObject
* obj0
= 0 ;
3657 (char *) "self", NULL
3660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
3661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3665 (arg1
)->SendSizeEvent();
3667 wxPyEndAllowThreads(__tstate
);
3668 if (PyErr_Occurred()) SWIG_fail
;
3670 Py_INCREF(Py_None
); resultobj
= Py_None
;
3677 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3678 PyObject
*resultobj
;
3679 wxFrame
*arg1
= (wxFrame
*) 0 ;
3680 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
3681 PyObject
* obj0
= 0 ;
3682 PyObject
* obj1
= 0 ;
3684 (char *) "self",(char *) "menubar", NULL
3687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3690 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBar
,
3691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3694 (arg1
)->SetMenuBar(arg2
);
3696 wxPyEndAllowThreads(__tstate
);
3697 if (PyErr_Occurred()) SWIG_fail
;
3699 Py_INCREF(Py_None
); resultobj
= Py_None
;
3706 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3707 PyObject
*resultobj
;
3708 wxFrame
*arg1
= (wxFrame
*) 0 ;
3710 PyObject
* obj0
= 0 ;
3712 (char *) "self", NULL
3715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
3716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3720 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
3722 wxPyEndAllowThreads(__tstate
);
3723 if (PyErr_Occurred()) SWIG_fail
;
3726 resultobj
= wxPyMake_wxObject(result
, 0);
3734 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3735 PyObject
*resultobj
;
3736 wxFrame
*arg1
= (wxFrame
*) 0 ;
3739 PyObject
* obj0
= 0 ;
3740 PyObject
* obj1
= 0 ;
3742 (char *) "self",(char *) "winid", NULL
3745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
3746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3748 arg2
= (int)SWIG_As_int(obj1
);
3749 if (PyErr_Occurred()) SWIG_fail
;
3751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3752 result
= (bool)(arg1
)->ProcessCommand(arg2
);
3754 wxPyEndAllowThreads(__tstate
);
3755 if (PyErr_Occurred()) SWIG_fail
;
3758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3766 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3767 PyObject
*resultobj
;
3768 wxFrame
*arg1
= (wxFrame
*) 0 ;
3769 int arg2
= (int) 1 ;
3770 long arg3
= (long) wxST_SIZEGRIP
;
3771 int arg4
= (int) 0 ;
3772 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
3773 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
3774 wxStatusBar
*result
;
3775 bool temp5
= false ;
3776 PyObject
* obj0
= 0 ;
3777 PyObject
* obj1
= 0 ;
3778 PyObject
* obj2
= 0 ;
3779 PyObject
* obj3
= 0 ;
3780 PyObject
* obj4
= 0 ;
3782 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3789 arg2
= (int)SWIG_As_int(obj1
);
3790 if (PyErr_Occurred()) SWIG_fail
;
3793 arg3
= (long)SWIG_As_long(obj2
);
3794 if (PyErr_Occurred()) SWIG_fail
;
3797 arg4
= (int)SWIG_As_int(obj3
);
3798 if (PyErr_Occurred()) SWIG_fail
;
3802 arg5
= wxString_in_helper(obj4
);
3803 if (arg5
== NULL
) SWIG_fail
;
3808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3809 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
3811 wxPyEndAllowThreads(__tstate
);
3812 if (PyErr_Occurred()) SWIG_fail
;
3815 resultobj
= wxPyMake_wxObject(result
, 0);
3831 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3832 PyObject
*resultobj
;
3833 wxFrame
*arg1
= (wxFrame
*) 0 ;
3834 wxStatusBar
*result
;
3835 PyObject
* obj0
= 0 ;
3837 (char *) "self", NULL
3840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
3841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3845 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
3847 wxPyEndAllowThreads(__tstate
);
3848 if (PyErr_Occurred()) SWIG_fail
;
3851 resultobj
= wxPyMake_wxObject(result
, 0);
3859 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3860 PyObject
*resultobj
;
3861 wxFrame
*arg1
= (wxFrame
*) 0 ;
3862 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
3863 PyObject
* obj0
= 0 ;
3864 PyObject
* obj1
= 0 ;
3866 (char *) "self",(char *) "statBar", NULL
3869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
3870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3872 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxStatusBar
,
3873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3876 (arg1
)->SetStatusBar(arg2
);
3878 wxPyEndAllowThreads(__tstate
);
3879 if (PyErr_Occurred()) SWIG_fail
;
3881 Py_INCREF(Py_None
); resultobj
= Py_None
;
3888 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3889 PyObject
*resultobj
;
3890 wxFrame
*arg1
= (wxFrame
*) 0 ;
3891 wxString
*arg2
= 0 ;
3892 int arg3
= (int) 0 ;
3893 bool temp2
= false ;
3894 PyObject
* obj0
= 0 ;
3895 PyObject
* obj1
= 0 ;
3896 PyObject
* obj2
= 0 ;
3898 (char *) "self",(char *) "text",(char *) "number", NULL
3901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3905 arg2
= wxString_in_helper(obj1
);
3906 if (arg2
== NULL
) SWIG_fail
;
3910 arg3
= (int)SWIG_As_int(obj2
);
3911 if (PyErr_Occurred()) SWIG_fail
;
3914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3915 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
3917 wxPyEndAllowThreads(__tstate
);
3918 if (PyErr_Occurred()) SWIG_fail
;
3920 Py_INCREF(Py_None
); resultobj
= Py_None
;
3935 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3936 PyObject
*resultobj
;
3937 wxFrame
*arg1
= (wxFrame
*) 0 ;
3939 int *arg3
= (int *) 0 ;
3940 PyObject
* obj0
= 0 ;
3941 PyObject
* obj1
= 0 ;
3943 (char *) "self",(char *) "widths", NULL
3946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
3947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3950 arg2
= PyList_Size(obj1
);
3951 arg3
= int_LIST_helper(obj1
);
3952 if (arg3
== NULL
) SWIG_fail
;
3955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3956 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
3958 wxPyEndAllowThreads(__tstate
);
3959 if (PyErr_Occurred()) SWIG_fail
;
3961 Py_INCREF(Py_None
); resultobj
= Py_None
;
3963 if (arg3
) delete [] arg3
;
3968 if (arg3
) delete [] arg3
;
3974 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3975 PyObject
*resultobj
;
3976 wxFrame
*arg1
= (wxFrame
*) 0 ;
3977 wxString
*arg2
= 0 ;
3978 int arg3
= (int) 0 ;
3979 bool temp2
= false ;
3980 PyObject
* obj0
= 0 ;
3981 PyObject
* obj1
= 0 ;
3982 PyObject
* obj2
= 0 ;
3984 (char *) "self",(char *) "text",(char *) "number", NULL
3987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
3989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3991 arg2
= wxString_in_helper(obj1
);
3992 if (arg2
== NULL
) SWIG_fail
;
3996 arg3
= (int)SWIG_As_int(obj2
);
3997 if (PyErr_Occurred()) SWIG_fail
;
4000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4001 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
4003 wxPyEndAllowThreads(__tstate
);
4004 if (PyErr_Occurred()) SWIG_fail
;
4006 Py_INCREF(Py_None
); resultobj
= Py_None
;
4021 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4022 PyObject
*resultobj
;
4023 wxFrame
*arg1
= (wxFrame
*) 0 ;
4024 int arg2
= (int) 0 ;
4025 PyObject
* obj0
= 0 ;
4026 PyObject
* obj1
= 0 ;
4028 (char *) "self",(char *) "number", NULL
4031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
4032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4035 arg2
= (int)SWIG_As_int(obj1
);
4036 if (PyErr_Occurred()) SWIG_fail
;
4039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4040 (arg1
)->PopStatusText(arg2
);
4042 wxPyEndAllowThreads(__tstate
);
4043 if (PyErr_Occurred()) SWIG_fail
;
4045 Py_INCREF(Py_None
); resultobj
= Py_None
;
4052 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4053 PyObject
*resultobj
;
4054 wxFrame
*arg1
= (wxFrame
*) 0 ;
4056 PyObject
* obj0
= 0 ;
4057 PyObject
* obj1
= 0 ;
4059 (char *) "self",(char *) "n", NULL
4062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
4063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4065 arg2
= (int)SWIG_As_int(obj1
);
4066 if (PyErr_Occurred()) SWIG_fail
;
4068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4069 (arg1
)->SetStatusBarPane(arg2
);
4071 wxPyEndAllowThreads(__tstate
);
4072 if (PyErr_Occurred()) SWIG_fail
;
4074 Py_INCREF(Py_None
); resultobj
= Py_None
;
4081 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4082 PyObject
*resultobj
;
4083 wxFrame
*arg1
= (wxFrame
*) 0 ;
4085 PyObject
* obj0
= 0 ;
4087 (char *) "self", NULL
4090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
4091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4095 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
4097 wxPyEndAllowThreads(__tstate
);
4098 if (PyErr_Occurred()) SWIG_fail
;
4100 resultobj
= SWIG_From_int((int)result
);
4107 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4108 PyObject
*resultobj
;
4109 wxFrame
*arg1
= (wxFrame
*) 0 ;
4110 long arg2
= (long) -1 ;
4111 int arg3
= (int) -1 ;
4112 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
4113 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4115 bool temp4
= false ;
4116 PyObject
* obj0
= 0 ;
4117 PyObject
* obj1
= 0 ;
4118 PyObject
* obj2
= 0 ;
4119 PyObject
* obj3
= 0 ;
4121 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
4124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
4125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4128 arg2
= (long)SWIG_As_long(obj1
);
4129 if (PyErr_Occurred()) SWIG_fail
;
4132 arg3
= (int)SWIG_As_int(obj2
);
4133 if (PyErr_Occurred()) SWIG_fail
;
4137 arg4
= wxString_in_helper(obj3
);
4138 if (arg4
== NULL
) SWIG_fail
;
4143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4144 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
4146 wxPyEndAllowThreads(__tstate
);
4147 if (PyErr_Occurred()) SWIG_fail
;
4150 resultobj
= wxPyMake_wxObject(result
, 0);
4166 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4167 PyObject
*resultobj
;
4168 wxFrame
*arg1
= (wxFrame
*) 0 ;
4170 PyObject
* obj0
= 0 ;
4172 (char *) "self", NULL
4175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
4176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4180 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
4182 wxPyEndAllowThreads(__tstate
);
4183 if (PyErr_Occurred()) SWIG_fail
;
4186 resultobj
= wxPyMake_wxObject(result
, 0);
4194 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4195 PyObject
*resultobj
;
4196 wxFrame
*arg1
= (wxFrame
*) 0 ;
4197 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
4198 PyObject
* obj0
= 0 ;
4199 PyObject
* obj1
= 0 ;
4201 (char *) "self",(char *) "toolbar", NULL
4204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
4205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4207 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBar
,
4208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4211 (arg1
)->SetToolBar(arg2
);
4213 wxPyEndAllowThreads(__tstate
);
4214 if (PyErr_Occurred()) SWIG_fail
;
4216 Py_INCREF(Py_None
); resultobj
= Py_None
;
4223 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4224 PyObject
*resultobj
;
4225 wxFrame
*arg1
= (wxFrame
*) 0 ;
4226 wxString
*arg2
= 0 ;
4228 bool temp2
= false ;
4229 PyObject
* obj0
= 0 ;
4230 PyObject
* obj1
= 0 ;
4231 PyObject
* obj2
= 0 ;
4233 (char *) "self",(char *) "text",(char *) "show", NULL
4236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4240 arg2
= wxString_in_helper(obj1
);
4241 if (arg2
== NULL
) SWIG_fail
;
4244 arg3
= (bool)SWIG_As_bool(obj2
);
4245 if (PyErr_Occurred()) SWIG_fail
;
4247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4248 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
4250 wxPyEndAllowThreads(__tstate
);
4251 if (PyErr_Occurred()) SWIG_fail
;
4253 Py_INCREF(Py_None
); resultobj
= Py_None
;
4268 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4269 PyObject
*resultobj
;
4270 wxFrame
*arg1
= (wxFrame
*) 0 ;
4271 wxMenu
*arg2
= (wxMenu
*) NULL
;
4272 PyObject
* obj0
= 0 ;
4273 PyObject
* obj1
= 0 ;
4275 (char *) "self",(char *) "menu", NULL
4278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
4279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
4280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4282 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
4283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4287 (arg1
)->DoMenuUpdates(arg2
);
4289 wxPyEndAllowThreads(__tstate
);
4290 if (PyErr_Occurred()) SWIG_fail
;
4292 Py_INCREF(Py_None
); resultobj
= Py_None
;
4299 static PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4300 PyObject
*resultobj
;
4301 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4302 wxVisualAttributes result
;
4303 PyObject
* obj0
= 0 ;
4305 (char *) "variant", NULL
4308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4310 arg1
= (int)SWIG_As_int(obj0
);
4311 if (PyErr_Occurred()) SWIG_fail
;
4314 if (!wxPyCheckForApp()) SWIG_fail
;
4315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4316 result
= wxFrame::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4318 wxPyEndAllowThreads(__tstate
);
4319 if (PyErr_Occurred()) SWIG_fail
;
4322 wxVisualAttributes
* resultptr
;
4323 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4324 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4332 static PyObject
* Frame_swigregister(PyObject
*, PyObject
*args
) {
4334 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4335 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
4337 return Py_BuildValue((char *)"");
4339 static PyObject
*_wrap_new_Dialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4340 PyObject
*resultobj
;
4341 wxWindow
*arg1
= (wxWindow
*) 0 ;
4342 int arg2
= (int) (int)-1 ;
4343 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4344 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4345 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4346 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4347 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4348 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4349 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
4350 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
4351 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4353 bool temp3
= false ;
4356 bool temp7
= false ;
4357 PyObject
* obj0
= 0 ;
4358 PyObject
* obj1
= 0 ;
4359 PyObject
* obj2
= 0 ;
4360 PyObject
* obj3
= 0 ;
4361 PyObject
* obj4
= 0 ;
4362 PyObject
* obj5
= 0 ;
4363 PyObject
* obj6
= 0 ;
4365 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4372 arg2
= (int)SWIG_As_int(obj1
);
4373 if (PyErr_Occurred()) SWIG_fail
;
4377 arg3
= wxString_in_helper(obj2
);
4378 if (arg3
== NULL
) SWIG_fail
;
4385 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4391 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4395 arg6
= (long)SWIG_As_long(obj5
);
4396 if (PyErr_Occurred()) SWIG_fail
;
4400 arg7
= wxString_in_helper(obj6
);
4401 if (arg7
== NULL
) SWIG_fail
;
4406 if (!wxPyCheckForApp()) SWIG_fail
;
4407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4408 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4410 wxPyEndAllowThreads(__tstate
);
4411 if (PyErr_Occurred()) SWIG_fail
;
4413 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
4436 static PyObject
*_wrap_new_PreDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4437 PyObject
*resultobj
;
4443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
4445 if (!wxPyCheckForApp()) SWIG_fail
;
4446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4447 result
= (wxDialog
*)new wxDialog();
4449 wxPyEndAllowThreads(__tstate
);
4450 if (PyErr_Occurred()) SWIG_fail
;
4452 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
4459 static PyObject
*_wrap_Dialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4460 PyObject
*resultobj
;
4461 wxDialog
*arg1
= (wxDialog
*) 0 ;
4462 wxWindow
*arg2
= (wxWindow
*) 0 ;
4463 int arg3
= (int) (int)-1 ;
4464 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4465 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4466 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4467 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4468 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4469 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4470 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
4471 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
4472 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4474 bool temp4
= false ;
4477 bool temp8
= false ;
4478 PyObject
* obj0
= 0 ;
4479 PyObject
* obj1
= 0 ;
4480 PyObject
* obj2
= 0 ;
4481 PyObject
* obj3
= 0 ;
4482 PyObject
* obj4
= 0 ;
4483 PyObject
* obj5
= 0 ;
4484 PyObject
* obj6
= 0 ;
4485 PyObject
* obj7
= 0 ;
4487 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4493 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4496 arg3
= (int)SWIG_As_int(obj2
);
4497 if (PyErr_Occurred()) SWIG_fail
;
4501 arg4
= wxString_in_helper(obj3
);
4502 if (arg4
== NULL
) SWIG_fail
;
4509 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4515 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4519 arg7
= (long)SWIG_As_long(obj6
);
4520 if (PyErr_Occurred()) SWIG_fail
;
4524 arg8
= wxString_in_helper(obj7
);
4525 if (arg8
== NULL
) SWIG_fail
;
4530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4531 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4533 wxPyEndAllowThreads(__tstate
);
4534 if (PyErr_Occurred()) SWIG_fail
;
4537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4561 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4562 PyObject
*resultobj
;
4563 wxDialog
*arg1
= (wxDialog
*) 0 ;
4565 PyObject
* obj0
= 0 ;
4566 PyObject
* obj1
= 0 ;
4568 (char *) "self",(char *) "returnCode", NULL
4571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
4572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4574 arg2
= (int)SWIG_As_int(obj1
);
4575 if (PyErr_Occurred()) SWIG_fail
;
4577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4578 (arg1
)->SetReturnCode(arg2
);
4580 wxPyEndAllowThreads(__tstate
);
4581 if (PyErr_Occurred()) SWIG_fail
;
4583 Py_INCREF(Py_None
); resultobj
= Py_None
;
4590 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4591 PyObject
*resultobj
;
4592 wxDialog
*arg1
= (wxDialog
*) 0 ;
4594 PyObject
* obj0
= 0 ;
4596 (char *) "self", NULL
4599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
4600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4604 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
4606 wxPyEndAllowThreads(__tstate
);
4607 if (PyErr_Occurred()) SWIG_fail
;
4609 resultobj
= SWIG_From_int((int)result
);
4616 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4617 PyObject
*resultobj
;
4618 wxDialog
*arg1
= (wxDialog
*) 0 ;
4619 wxString
*arg2
= 0 ;
4621 bool temp2
= false ;
4622 PyObject
* obj0
= 0 ;
4623 PyObject
* obj1
= 0 ;
4625 (char *) "self",(char *) "message", NULL
4628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4632 arg2
= wxString_in_helper(obj1
);
4633 if (arg2
== NULL
) SWIG_fail
;
4637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4638 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
4640 wxPyEndAllowThreads(__tstate
);
4641 if (PyErr_Occurred()) SWIG_fail
;
4644 resultobj
= wxPyMake_wxSizer(result
, 0);
4660 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4661 PyObject
*resultobj
;
4662 wxDialog
*arg1
= (wxDialog
*) 0 ;
4665 PyObject
* obj0
= 0 ;
4666 PyObject
* obj1
= 0 ;
4668 (char *) "self",(char *) "flags", NULL
4671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
4672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4674 arg2
= (long)SWIG_As_long(obj1
);
4675 if (PyErr_Occurred()) SWIG_fail
;
4677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4678 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
4680 wxPyEndAllowThreads(__tstate
);
4681 if (PyErr_Occurred()) SWIG_fail
;
4684 resultobj
= wxPyMake_wxSizer(result
, 0);
4692 static PyObject
*_wrap_Dialog_IsModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4693 PyObject
*resultobj
;
4694 wxDialog
*arg1
= (wxDialog
*) 0 ;
4696 PyObject
* obj0
= 0 ;
4698 (char *) "self", NULL
4701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
4702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4706 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
4708 wxPyEndAllowThreads(__tstate
);
4709 if (PyErr_Occurred()) SWIG_fail
;
4712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4720 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4721 PyObject
*resultobj
;
4722 wxDialog
*arg1
= (wxDialog
*) 0 ;
4724 PyObject
* obj0
= 0 ;
4726 (char *) "self", NULL
4729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
4730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4734 result
= (int)(arg1
)->ShowModal();
4736 wxPyEndAllowThreads(__tstate
);
4737 if (PyErr_Occurred()) SWIG_fail
;
4739 resultobj
= SWIG_From_int((int)result
);
4746 static PyObject
*_wrap_Dialog_EndModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4747 PyObject
*resultobj
;
4748 wxDialog
*arg1
= (wxDialog
*) 0 ;
4750 PyObject
* obj0
= 0 ;
4751 PyObject
* obj1
= 0 ;
4753 (char *) "self",(char *) "retCode", NULL
4756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
4757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDialog
,
4758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4759 arg2
= (int)SWIG_As_int(obj1
);
4760 if (PyErr_Occurred()) SWIG_fail
;
4762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4763 (arg1
)->EndModal(arg2
);
4765 wxPyEndAllowThreads(__tstate
);
4766 if (PyErr_Occurred()) SWIG_fail
;
4768 Py_INCREF(Py_None
); resultobj
= Py_None
;
4775 static PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4776 PyObject
*resultobj
;
4777 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4778 wxVisualAttributes result
;
4779 PyObject
* obj0
= 0 ;
4781 (char *) "variant", NULL
4784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4786 arg1
= (int)SWIG_As_int(obj0
);
4787 if (PyErr_Occurred()) SWIG_fail
;
4790 if (!wxPyCheckForApp()) SWIG_fail
;
4791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4792 result
= wxDialog::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4794 wxPyEndAllowThreads(__tstate
);
4795 if (PyErr_Occurred()) SWIG_fail
;
4798 wxVisualAttributes
* resultptr
;
4799 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4800 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4808 static PyObject
* Dialog_swigregister(PyObject
*, PyObject
*args
) {
4810 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4811 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
4813 return Py_BuildValue((char *)"");
4815 static PyObject
*_wrap_new_MiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4816 PyObject
*resultobj
;
4817 wxWindow
*arg1
= (wxWindow
*) 0 ;
4818 int arg2
= (int) (int)-1 ;
4819 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4820 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4821 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4822 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4823 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4824 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4825 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4826 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4827 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4828 wxMiniFrame
*result
;
4829 bool temp3
= false ;
4832 bool temp7
= false ;
4833 PyObject
* obj0
= 0 ;
4834 PyObject
* obj1
= 0 ;
4835 PyObject
* obj2
= 0 ;
4836 PyObject
* obj3
= 0 ;
4837 PyObject
* obj4
= 0 ;
4838 PyObject
* obj5
= 0 ;
4839 PyObject
* obj6
= 0 ;
4841 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4848 arg2
= (int)SWIG_As_int(obj1
);
4849 if (PyErr_Occurred()) SWIG_fail
;
4853 arg3
= wxString_in_helper(obj2
);
4854 if (arg3
== NULL
) SWIG_fail
;
4861 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4867 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4871 arg6
= (long)SWIG_As_long(obj5
);
4872 if (PyErr_Occurred()) SWIG_fail
;
4876 arg7
= wxString_in_helper(obj6
);
4877 if (arg7
== NULL
) SWIG_fail
;
4882 if (!wxPyCheckForApp()) SWIG_fail
;
4883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4884 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4886 wxPyEndAllowThreads(__tstate
);
4887 if (PyErr_Occurred()) SWIG_fail
;
4889 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4912 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4913 PyObject
*resultobj
;
4914 wxMiniFrame
*result
;
4919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
4921 if (!wxPyCheckForApp()) SWIG_fail
;
4922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4923 result
= (wxMiniFrame
*)new wxMiniFrame();
4925 wxPyEndAllowThreads(__tstate
);
4926 if (PyErr_Occurred()) SWIG_fail
;
4928 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
4935 static PyObject
*_wrap_MiniFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4936 PyObject
*resultobj
;
4937 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
4938 wxWindow
*arg2
= (wxWindow
*) 0 ;
4939 int arg3
= (int) (int)-1 ;
4940 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4941 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4942 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4943 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4944 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4945 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4946 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4947 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4948 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4950 bool temp4
= false ;
4953 bool temp8
= false ;
4954 PyObject
* obj0
= 0 ;
4955 PyObject
* obj1
= 0 ;
4956 PyObject
* obj2
= 0 ;
4957 PyObject
* obj3
= 0 ;
4958 PyObject
* obj4
= 0 ;
4959 PyObject
* obj5
= 0 ;
4960 PyObject
* obj6
= 0 ;
4961 PyObject
* obj7
= 0 ;
4963 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMiniFrame
,
4968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4969 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4972 arg3
= (int)SWIG_As_int(obj2
);
4973 if (PyErr_Occurred()) SWIG_fail
;
4977 arg4
= wxString_in_helper(obj3
);
4978 if (arg4
== NULL
) SWIG_fail
;
4985 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4991 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4995 arg7
= (long)SWIG_As_long(obj6
);
4996 if (PyErr_Occurred()) SWIG_fail
;
5000 arg8
= wxString_in_helper(obj7
);
5001 if (arg8
== NULL
) SWIG_fail
;
5006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5007 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5009 wxPyEndAllowThreads(__tstate
);
5010 if (PyErr_Occurred()) SWIG_fail
;
5013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5037 static PyObject
* MiniFrame_swigregister(PyObject
*, PyObject
*args
) {
5039 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5040 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
5042 return Py_BuildValue((char *)"");
5044 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5045 PyObject
*resultobj
;
5046 wxBitmap
*arg1
= 0 ;
5047 wxWindow
*arg2
= (wxWindow
*) 0 ;
5049 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5050 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5051 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5052 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5053 long arg6
= (long) wxNO_BORDER
;
5054 wxSplashScreenWindow
*result
;
5057 PyObject
* obj0
= 0 ;
5058 PyObject
* obj1
= 0 ;
5059 PyObject
* obj2
= 0 ;
5060 PyObject
* obj3
= 0 ;
5061 PyObject
* obj4
= 0 ;
5062 PyObject
* obj5
= 0 ;
5064 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
5067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
5069 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5072 PyErr_SetString(PyExc_TypeError
,"null reference");
5075 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5077 arg3
= (int)SWIG_As_int(obj2
);
5078 if (PyErr_Occurred()) SWIG_fail
;
5082 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5088 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5092 arg6
= (long)SWIG_As_long(obj5
);
5093 if (PyErr_Occurred()) SWIG_fail
;
5096 if (!wxPyCheckForApp()) SWIG_fail
;
5097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5098 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
5100 wxPyEndAllowThreads(__tstate
);
5101 if (PyErr_Occurred()) SWIG_fail
;
5103 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
5110 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5111 PyObject
*resultobj
;
5112 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
5113 wxBitmap
*arg2
= 0 ;
5114 PyObject
* obj0
= 0 ;
5115 PyObject
* obj1
= 0 ;
5117 (char *) "self",(char *) "bitmap", NULL
5120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
5122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5123 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5124 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5127 PyErr_SetString(PyExc_TypeError
,"null reference");
5131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5132 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
5134 wxPyEndAllowThreads(__tstate
);
5135 if (PyErr_Occurred()) SWIG_fail
;
5137 Py_INCREF(Py_None
); resultobj
= Py_None
;
5144 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5145 PyObject
*resultobj
;
5146 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
5148 PyObject
* obj0
= 0 ;
5150 (char *) "self", NULL
5153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
5154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreenWindow
,
5155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5159 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
5160 result
= (wxBitmap
*) &_result_ref
;
5163 wxPyEndAllowThreads(__tstate
);
5164 if (PyErr_Occurred()) SWIG_fail
;
5167 wxBitmap
* resultptr
= new wxBitmap(*result
);
5168 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5176 static PyObject
* SplashScreenWindow_swigregister(PyObject
*, PyObject
*args
) {
5178 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5179 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
5181 return Py_BuildValue((char *)"");
5183 static PyObject
*_wrap_new_SplashScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5184 PyObject
*resultobj
;
5185 wxBitmap
*arg1
= 0 ;
5188 wxWindow
*arg4
= (wxWindow
*) 0 ;
5189 int arg5
= (int) -1 ;
5190 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
5191 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
5192 wxSize
const &arg7_defvalue
= wxDefaultSize
;
5193 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
5194 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
5195 wxSplashScreen
*result
;
5198 PyObject
* obj0
= 0 ;
5199 PyObject
* obj1
= 0 ;
5200 PyObject
* obj2
= 0 ;
5201 PyObject
* obj3
= 0 ;
5202 PyObject
* obj4
= 0 ;
5203 PyObject
* obj5
= 0 ;
5204 PyObject
* obj6
= 0 ;
5205 PyObject
* obj7
= 0 ;
5207 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
5210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
5212 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5215 PyErr_SetString(PyExc_TypeError
,"null reference");
5218 arg2
= (long)SWIG_As_long(obj1
);
5219 if (PyErr_Occurred()) SWIG_fail
;
5220 arg3
= (int)SWIG_As_int(obj2
);
5221 if (PyErr_Occurred()) SWIG_fail
;
5222 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
5223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5225 arg5
= (int)SWIG_As_int(obj4
);
5226 if (PyErr_Occurred()) SWIG_fail
;
5231 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
5237 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
5241 arg8
= (long)SWIG_As_long(obj7
);
5242 if (PyErr_Occurred()) SWIG_fail
;
5245 if (!wxPyCheckForApp()) SWIG_fail
;
5246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5247 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
5249 wxPyEndAllowThreads(__tstate
);
5250 if (PyErr_Occurred()) SWIG_fail
;
5252 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
5259 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5260 PyObject
*resultobj
;
5261 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
5263 PyObject
* obj0
= 0 ;
5265 (char *) "self", NULL
5268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
5269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
5270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5273 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
5275 wxPyEndAllowThreads(__tstate
);
5276 if (PyErr_Occurred()) SWIG_fail
;
5278 resultobj
= SWIG_From_long((long)result
);
5285 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5286 PyObject
*resultobj
;
5287 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
5288 wxSplashScreenWindow
*result
;
5289 PyObject
* obj0
= 0 ;
5291 (char *) "self", NULL
5294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
5295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
5296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5299 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
5301 wxPyEndAllowThreads(__tstate
);
5302 if (PyErr_Occurred()) SWIG_fail
;
5304 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
5311 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5312 PyObject
*resultobj
;
5313 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
5315 PyObject
* obj0
= 0 ;
5317 (char *) "self", NULL
5320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
5321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplashScreen
,
5322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5325 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
5327 wxPyEndAllowThreads(__tstate
);
5328 if (PyErr_Occurred()) SWIG_fail
;
5330 resultobj
= SWIG_From_int((int)result
);
5337 static PyObject
* SplashScreen_swigregister(PyObject
*, PyObject
*args
) {
5339 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5340 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
5342 return Py_BuildValue((char *)"");
5344 static PyObject
*_wrap_new_StatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5345 PyObject
*resultobj
;
5346 wxWindow
*arg1
= (wxWindow
*) 0 ;
5347 int arg2
= (int) -1 ;
5348 long arg3
= (long) wxST_SIZEGRIP
;
5349 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
5350 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5351 wxStatusBar
*result
;
5352 bool temp4
= false ;
5353 PyObject
* obj0
= 0 ;
5354 PyObject
* obj1
= 0 ;
5355 PyObject
* obj2
= 0 ;
5356 PyObject
* obj3
= 0 ;
5358 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5365 arg2
= (int)SWIG_As_int(obj1
);
5366 if (PyErr_Occurred()) SWIG_fail
;
5369 arg3
= (long)SWIG_As_long(obj2
);
5370 if (PyErr_Occurred()) SWIG_fail
;
5374 arg4
= wxString_in_helper(obj3
);
5375 if (arg4
== NULL
) SWIG_fail
;
5380 if (!wxPyCheckForApp()) SWIG_fail
;
5381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5382 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
5384 wxPyEndAllowThreads(__tstate
);
5385 if (PyErr_Occurred()) SWIG_fail
;
5387 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
5402 static PyObject
*_wrap_new_PreStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5403 PyObject
*resultobj
;
5404 wxStatusBar
*result
;
5409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
5411 if (!wxPyCheckForApp()) SWIG_fail
;
5412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5413 result
= (wxStatusBar
*)new wxStatusBar();
5415 wxPyEndAllowThreads(__tstate
);
5416 if (PyErr_Occurred()) SWIG_fail
;
5418 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
5425 static PyObject
*_wrap_StatusBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5426 PyObject
*resultobj
;
5427 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5428 wxWindow
*arg2
= (wxWindow
*) 0 ;
5429 int arg3
= (int) -1 ;
5430 long arg4
= (long) wxST_SIZEGRIP
;
5431 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
5432 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5434 bool temp5
= false ;
5435 PyObject
* obj0
= 0 ;
5436 PyObject
* obj1
= 0 ;
5437 PyObject
* obj2
= 0 ;
5438 PyObject
* obj3
= 0 ;
5439 PyObject
* obj4
= 0 ;
5441 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
5444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5447 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5450 arg3
= (int)SWIG_As_int(obj2
);
5451 if (PyErr_Occurred()) SWIG_fail
;
5454 arg4
= (long)SWIG_As_long(obj3
);
5455 if (PyErr_Occurred()) SWIG_fail
;
5459 arg5
= wxString_in_helper(obj4
);
5460 if (arg5
== NULL
) SWIG_fail
;
5465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5466 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
5468 wxPyEndAllowThreads(__tstate
);
5469 if (PyErr_Occurred()) SWIG_fail
;
5472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5488 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5489 PyObject
*resultobj
;
5490 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5491 int arg2
= (int) 1 ;
5492 PyObject
* obj0
= 0 ;
5493 PyObject
* obj1
= 0 ;
5495 (char *) "self",(char *) "number", NULL
5498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
5499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5502 arg2
= (int)SWIG_As_int(obj1
);
5503 if (PyErr_Occurred()) SWIG_fail
;
5506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5507 (arg1
)->SetFieldsCount(arg2
);
5509 wxPyEndAllowThreads(__tstate
);
5510 if (PyErr_Occurred()) SWIG_fail
;
5512 Py_INCREF(Py_None
); resultobj
= Py_None
;
5519 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5520 PyObject
*resultobj
;
5521 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5523 PyObject
* obj0
= 0 ;
5525 (char *) "self", NULL
5528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
5529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5533 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
5535 wxPyEndAllowThreads(__tstate
);
5536 if (PyErr_Occurred()) SWIG_fail
;
5538 resultobj
= SWIG_From_int((int)result
);
5545 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5546 PyObject
*resultobj
;
5547 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5548 wxString
*arg2
= 0 ;
5549 int arg3
= (int) 0 ;
5550 bool temp2
= false ;
5551 PyObject
* obj0
= 0 ;
5552 PyObject
* obj1
= 0 ;
5553 PyObject
* obj2
= 0 ;
5555 (char *) "self",(char *) "text",(char *) "number", NULL
5558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5562 arg2
= wxString_in_helper(obj1
);
5563 if (arg2
== NULL
) SWIG_fail
;
5567 arg3
= (int)SWIG_As_int(obj2
);
5568 if (PyErr_Occurred()) SWIG_fail
;
5571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5572 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
5574 wxPyEndAllowThreads(__tstate
);
5575 if (PyErr_Occurred()) SWIG_fail
;
5577 Py_INCREF(Py_None
); resultobj
= Py_None
;
5592 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5593 PyObject
*resultobj
;
5594 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5595 int arg2
= (int) 0 ;
5597 PyObject
* obj0
= 0 ;
5598 PyObject
* obj1
= 0 ;
5600 (char *) "self",(char *) "number", NULL
5603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5607 arg2
= (int)SWIG_As_int(obj1
);
5608 if (PyErr_Occurred()) SWIG_fail
;
5611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5612 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
5614 wxPyEndAllowThreads(__tstate
);
5615 if (PyErr_Occurred()) SWIG_fail
;
5619 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5621 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5630 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5631 PyObject
*resultobj
;
5632 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5633 wxString
*arg2
= 0 ;
5634 int arg3
= (int) 0 ;
5635 bool temp2
= false ;
5636 PyObject
* obj0
= 0 ;
5637 PyObject
* obj1
= 0 ;
5638 PyObject
* obj2
= 0 ;
5640 (char *) "self",(char *) "text",(char *) "number", NULL
5643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5647 arg2
= wxString_in_helper(obj1
);
5648 if (arg2
== NULL
) SWIG_fail
;
5652 arg3
= (int)SWIG_As_int(obj2
);
5653 if (PyErr_Occurred()) SWIG_fail
;
5656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5657 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5659 wxPyEndAllowThreads(__tstate
);
5660 if (PyErr_Occurred()) SWIG_fail
;
5662 Py_INCREF(Py_None
); resultobj
= Py_None
;
5677 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5678 PyObject
*resultobj
;
5679 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5680 int arg2
= (int) 0 ;
5681 PyObject
* obj0
= 0 ;
5682 PyObject
* obj1
= 0 ;
5684 (char *) "self",(char *) "number", NULL
5687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5691 arg2
= (int)SWIG_As_int(obj1
);
5692 if (PyErr_Occurred()) SWIG_fail
;
5695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5696 (arg1
)->PopStatusText(arg2
);
5698 wxPyEndAllowThreads(__tstate
);
5699 if (PyErr_Occurred()) SWIG_fail
;
5701 Py_INCREF(Py_None
); resultobj
= Py_None
;
5708 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5709 PyObject
*resultobj
;
5710 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5712 int *arg3
= (int *) 0 ;
5713 PyObject
* obj0
= 0 ;
5714 PyObject
* obj1
= 0 ;
5716 (char *) "self",(char *) "widths", NULL
5719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5723 arg2
= PyList_Size(obj1
);
5724 arg3
= int_LIST_helper(obj1
);
5725 if (arg3
== NULL
) SWIG_fail
;
5728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5729 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5731 wxPyEndAllowThreads(__tstate
);
5732 if (PyErr_Occurred()) SWIG_fail
;
5734 Py_INCREF(Py_None
); resultobj
= Py_None
;
5736 if (arg3
) delete [] arg3
;
5741 if (arg3
) delete [] arg3
;
5747 static PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5748 PyObject
*resultobj
;
5749 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5751 int *arg3
= (int *) 0 ;
5752 PyObject
* obj0
= 0 ;
5753 PyObject
* obj1
= 0 ;
5755 (char *) "self",(char *) "styles", NULL
5758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) goto fail
;
5759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5762 arg2
= PyList_Size(obj1
);
5763 arg3
= int_LIST_helper(obj1
);
5764 if (arg3
== NULL
) SWIG_fail
;
5767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5768 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
5770 wxPyEndAllowThreads(__tstate
);
5771 if (PyErr_Occurred()) SWIG_fail
;
5773 Py_INCREF(Py_None
); resultobj
= Py_None
;
5775 if (arg3
) delete [] arg3
;
5780 if (arg3
) delete [] arg3
;
5786 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5787 PyObject
*resultobj
;
5788 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5791 PyObject
* obj0
= 0 ;
5792 PyObject
* obj1
= 0 ;
5794 (char *) "self",(char *) "i", NULL
5797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
5798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5800 arg2
= (int)SWIG_As_int(obj1
);
5801 if (PyErr_Occurred()) SWIG_fail
;
5803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5804 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
5806 wxPyEndAllowThreads(__tstate
);
5807 if (PyErr_Occurred()) SWIG_fail
;
5811 resultptr
= new wxRect((wxRect
&) result
);
5812 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
5820 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5821 PyObject
*resultobj
;
5822 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5824 PyObject
* obj0
= 0 ;
5825 PyObject
* obj1
= 0 ;
5827 (char *) "self",(char *) "height", NULL
5830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
5831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5833 arg2
= (int)SWIG_As_int(obj1
);
5834 if (PyErr_Occurred()) SWIG_fail
;
5836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5837 (arg1
)->SetMinHeight(arg2
);
5839 wxPyEndAllowThreads(__tstate
);
5840 if (PyErr_Occurred()) SWIG_fail
;
5842 Py_INCREF(Py_None
); resultobj
= Py_None
;
5849 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5850 PyObject
*resultobj
;
5851 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5853 PyObject
* obj0
= 0 ;
5855 (char *) "self", NULL
5858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
5859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5863 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
5865 wxPyEndAllowThreads(__tstate
);
5866 if (PyErr_Occurred()) SWIG_fail
;
5868 resultobj
= SWIG_From_int((int)result
);
5875 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5876 PyObject
*resultobj
;
5877 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
5879 PyObject
* obj0
= 0 ;
5881 (char *) "self", NULL
5884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
5885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStatusBar
,
5886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5889 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
5891 wxPyEndAllowThreads(__tstate
);
5892 if (PyErr_Occurred()) SWIG_fail
;
5894 resultobj
= SWIG_From_int((int)result
);
5901 static PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5902 PyObject
*resultobj
;
5903 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5904 wxVisualAttributes result
;
5905 PyObject
* obj0
= 0 ;
5907 (char *) "variant", NULL
5910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5912 arg1
= (int)SWIG_As_int(obj0
);
5913 if (PyErr_Occurred()) SWIG_fail
;
5916 if (!wxPyCheckForApp()) SWIG_fail
;
5917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5918 result
= wxStatusBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5920 wxPyEndAllowThreads(__tstate
);
5921 if (PyErr_Occurred()) SWIG_fail
;
5924 wxVisualAttributes
* resultptr
;
5925 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5926 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5934 static PyObject
* StatusBar_swigregister(PyObject
*, PyObject
*args
) {
5936 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5937 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
5939 return Py_BuildValue((char *)"");
5941 static int _wrap_SplitterNameStr_set(PyObject
*) {
5942 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
5947 static PyObject
*_wrap_SplitterNameStr_get() {
5952 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5954 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
5961 static PyObject
*_wrap_new_SplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5962 PyObject
*resultobj
;
5963 wxWindow
*arg1
= (wxWindow
*) 0 ;
5964 int arg2
= (int) -1 ;
5965 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5966 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5967 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5968 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5969 long arg5
= (long) wxSP_3D
;
5970 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
5971 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5972 wxSplitterWindow
*result
;
5975 bool temp6
= false ;
5976 PyObject
* obj0
= 0 ;
5977 PyObject
* obj1
= 0 ;
5978 PyObject
* obj2
= 0 ;
5979 PyObject
* obj3
= 0 ;
5980 PyObject
* obj4
= 0 ;
5981 PyObject
* obj5
= 0 ;
5983 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5990 arg2
= (int)SWIG_As_int(obj1
);
5991 if (PyErr_Occurred()) SWIG_fail
;
5996 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6002 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6006 arg5
= (long)SWIG_As_long(obj4
);
6007 if (PyErr_Occurred()) SWIG_fail
;
6011 arg6
= wxString_in_helper(obj5
);
6012 if (arg6
== NULL
) SWIG_fail
;
6017 if (!wxPyCheckForApp()) SWIG_fail
;
6018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6019 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
6021 wxPyEndAllowThreads(__tstate
);
6022 if (PyErr_Occurred()) SWIG_fail
;
6024 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
6039 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6040 PyObject
*resultobj
;
6041 wxSplitterWindow
*result
;
6046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
6048 if (!wxPyCheckForApp()) SWIG_fail
;
6049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6050 result
= (wxSplitterWindow
*)new wxSplitterWindow();
6052 wxPyEndAllowThreads(__tstate
);
6053 if (PyErr_Occurred()) SWIG_fail
;
6055 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
6062 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6063 PyObject
*resultobj
;
6064 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6065 wxWindow
*arg2
= (wxWindow
*) 0 ;
6066 int arg3
= (int) -1 ;
6067 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6068 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6069 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6070 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6071 long arg6
= (long) wxSP_3D
;
6072 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
6073 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6077 bool temp7
= false ;
6078 PyObject
* obj0
= 0 ;
6079 PyObject
* obj1
= 0 ;
6080 PyObject
* obj2
= 0 ;
6081 PyObject
* obj3
= 0 ;
6082 PyObject
* obj4
= 0 ;
6083 PyObject
* obj5
= 0 ;
6084 PyObject
* obj6
= 0 ;
6086 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6092 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6095 arg3
= (int)SWIG_As_int(obj2
);
6096 if (PyErr_Occurred()) SWIG_fail
;
6101 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6107 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6111 arg6
= (long)SWIG_As_long(obj5
);
6112 if (PyErr_Occurred()) SWIG_fail
;
6116 arg7
= wxString_in_helper(obj6
);
6117 if (arg7
== NULL
) SWIG_fail
;
6122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6123 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6125 wxPyEndAllowThreads(__tstate
);
6126 if (PyErr_Occurred()) SWIG_fail
;
6129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6145 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6146 PyObject
*resultobj
;
6147 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6149 PyObject
* obj0
= 0 ;
6151 (char *) "self", NULL
6154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
6155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6159 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
6161 wxPyEndAllowThreads(__tstate
);
6162 if (PyErr_Occurred()) SWIG_fail
;
6165 resultobj
= wxPyMake_wxObject(result
, 0);
6173 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6174 PyObject
*resultobj
;
6175 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6177 PyObject
* obj0
= 0 ;
6179 (char *) "self", NULL
6182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
6183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6187 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
6189 wxPyEndAllowThreads(__tstate
);
6190 if (PyErr_Occurred()) SWIG_fail
;
6193 resultobj
= wxPyMake_wxObject(result
, 0);
6201 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6202 PyObject
*resultobj
;
6203 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6205 PyObject
* obj0
= 0 ;
6206 PyObject
* obj1
= 0 ;
6208 (char *) "self",(char *) "mode", NULL
6211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
6212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6214 arg2
= (int)SWIG_As_int(obj1
);
6215 if (PyErr_Occurred()) SWIG_fail
;
6217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6218 (arg1
)->SetSplitMode(arg2
);
6220 wxPyEndAllowThreads(__tstate
);
6221 if (PyErr_Occurred()) SWIG_fail
;
6223 Py_INCREF(Py_None
); resultobj
= Py_None
;
6230 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6231 PyObject
*resultobj
;
6232 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6234 PyObject
* obj0
= 0 ;
6236 (char *) "self", NULL
6239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
6240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6244 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
6246 wxPyEndAllowThreads(__tstate
);
6247 if (PyErr_Occurred()) SWIG_fail
;
6249 resultobj
= SWIG_From_int((int)result
);
6256 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6257 PyObject
*resultobj
;
6258 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6259 wxWindow
*arg2
= (wxWindow
*) 0 ;
6260 PyObject
* obj0
= 0 ;
6261 PyObject
* obj1
= 0 ;
6263 (char *) "self",(char *) "window", NULL
6266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
6267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6269 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6273 (arg1
)->Initialize(arg2
);
6275 wxPyEndAllowThreads(__tstate
);
6276 if (PyErr_Occurred()) SWIG_fail
;
6278 Py_INCREF(Py_None
); resultobj
= Py_None
;
6285 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6286 PyObject
*resultobj
;
6287 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6288 wxWindow
*arg2
= (wxWindow
*) 0 ;
6289 wxWindow
*arg3
= (wxWindow
*) 0 ;
6290 int arg4
= (int) 0 ;
6292 PyObject
* obj0
= 0 ;
6293 PyObject
* obj1
= 0 ;
6294 PyObject
* obj2
= 0 ;
6295 PyObject
* obj3
= 0 ;
6297 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6303 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6305 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6308 arg4
= (int)SWIG_As_int(obj3
);
6309 if (PyErr_Occurred()) SWIG_fail
;
6312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6313 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
6315 wxPyEndAllowThreads(__tstate
);
6316 if (PyErr_Occurred()) SWIG_fail
;
6319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6327 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6328 PyObject
*resultobj
;
6329 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6330 wxWindow
*arg2
= (wxWindow
*) 0 ;
6331 wxWindow
*arg3
= (wxWindow
*) 0 ;
6332 int arg4
= (int) 0 ;
6334 PyObject
* obj0
= 0 ;
6335 PyObject
* obj1
= 0 ;
6336 PyObject
* obj2
= 0 ;
6337 PyObject
* obj3
= 0 ;
6339 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
6342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6345 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6347 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6350 arg4
= (int)SWIG_As_int(obj3
);
6351 if (PyErr_Occurred()) SWIG_fail
;
6354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6355 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
6357 wxPyEndAllowThreads(__tstate
);
6358 if (PyErr_Occurred()) SWIG_fail
;
6361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6369 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6370 PyObject
*resultobj
;
6371 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6372 wxWindow
*arg2
= (wxWindow
*) NULL
;
6374 PyObject
* obj0
= 0 ;
6375 PyObject
* obj1
= 0 ;
6377 (char *) "self",(char *) "toRemove", NULL
6380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
6381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6384 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6389 result
= (bool)(arg1
)->Unsplit(arg2
);
6391 wxPyEndAllowThreads(__tstate
);
6392 if (PyErr_Occurred()) SWIG_fail
;
6395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6403 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6404 PyObject
*resultobj
;
6405 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6406 wxWindow
*arg2
= (wxWindow
*) 0 ;
6407 wxWindow
*arg3
= (wxWindow
*) 0 ;
6409 PyObject
* obj0
= 0 ;
6410 PyObject
* obj1
= 0 ;
6411 PyObject
* obj2
= 0 ;
6413 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
6416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6419 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6421 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
6422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6425 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
6427 wxPyEndAllowThreads(__tstate
);
6428 if (PyErr_Occurred()) SWIG_fail
;
6431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6439 static PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6440 PyObject
*resultobj
;
6441 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6442 PyObject
* obj0
= 0 ;
6444 (char *) "self", NULL
6447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_UpdateSize",kwnames
,&obj0
)) goto fail
;
6448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6452 (arg1
)->UpdateSize();
6454 wxPyEndAllowThreads(__tstate
);
6455 if (PyErr_Occurred()) SWIG_fail
;
6457 Py_INCREF(Py_None
); resultobj
= Py_None
;
6464 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6465 PyObject
*resultobj
;
6466 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6468 PyObject
* obj0
= 0 ;
6470 (char *) "self", NULL
6473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
6474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6478 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
6480 wxPyEndAllowThreads(__tstate
);
6481 if (PyErr_Occurred()) SWIG_fail
;
6484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6492 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6493 PyObject
*resultobj
;
6494 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6496 PyObject
* obj0
= 0 ;
6497 PyObject
* obj1
= 0 ;
6499 (char *) "self",(char *) "width", NULL
6502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6505 arg2
= (int)SWIG_As_int(obj1
);
6506 if (PyErr_Occurred()) SWIG_fail
;
6508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6509 (arg1
)->SetSashSize(arg2
);
6511 wxPyEndAllowThreads(__tstate
);
6512 if (PyErr_Occurred()) SWIG_fail
;
6514 Py_INCREF(Py_None
); resultobj
= Py_None
;
6521 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6522 PyObject
*resultobj
;
6523 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6525 PyObject
* obj0
= 0 ;
6526 PyObject
* obj1
= 0 ;
6528 (char *) "self",(char *) "width", NULL
6531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6534 arg2
= (int)SWIG_As_int(obj1
);
6535 if (PyErr_Occurred()) SWIG_fail
;
6537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6538 (arg1
)->SetBorderSize(arg2
);
6540 wxPyEndAllowThreads(__tstate
);
6541 if (PyErr_Occurred()) SWIG_fail
;
6543 Py_INCREF(Py_None
); resultobj
= Py_None
;
6550 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6551 PyObject
*resultobj
;
6552 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6554 PyObject
* obj0
= 0 ;
6556 (char *) "self", NULL
6559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
6560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6564 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
6566 wxPyEndAllowThreads(__tstate
);
6567 if (PyErr_Occurred()) SWIG_fail
;
6569 resultobj
= SWIG_From_int((int)result
);
6576 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6577 PyObject
*resultobj
;
6578 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6580 PyObject
* obj0
= 0 ;
6582 (char *) "self", NULL
6585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
6586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6590 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
6592 wxPyEndAllowThreads(__tstate
);
6593 if (PyErr_Occurred()) SWIG_fail
;
6595 resultobj
= SWIG_From_int((int)result
);
6602 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6603 PyObject
*resultobj
;
6604 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6606 bool arg3
= (bool) true ;
6607 PyObject
* obj0
= 0 ;
6608 PyObject
* obj1
= 0 ;
6609 PyObject
* obj2
= 0 ;
6611 (char *) "self",(char *) "position",(char *) "redraw", NULL
6614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6617 arg2
= (int)SWIG_As_int(obj1
);
6618 if (PyErr_Occurred()) SWIG_fail
;
6620 arg3
= (bool)SWIG_As_bool(obj2
);
6621 if (PyErr_Occurred()) SWIG_fail
;
6624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6625 (arg1
)->SetSashPosition(arg2
,arg3
);
6627 wxPyEndAllowThreads(__tstate
);
6628 if (PyErr_Occurred()) SWIG_fail
;
6630 Py_INCREF(Py_None
); resultobj
= Py_None
;
6637 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6638 PyObject
*resultobj
;
6639 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6641 PyObject
* obj0
= 0 ;
6643 (char *) "self", NULL
6646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6651 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
6653 wxPyEndAllowThreads(__tstate
);
6654 if (PyErr_Occurred()) SWIG_fail
;
6656 resultobj
= SWIG_From_int((int)result
);
6663 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6664 PyObject
*resultobj
;
6665 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6667 PyObject
* obj0
= 0 ;
6668 PyObject
* obj1
= 0 ;
6670 (char *) "self",(char *) "min", NULL
6673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
6674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6676 arg2
= (int)SWIG_As_int(obj1
);
6677 if (PyErr_Occurred()) SWIG_fail
;
6679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6680 (arg1
)->SetMinimumPaneSize(arg2
);
6682 wxPyEndAllowThreads(__tstate
);
6683 if (PyErr_Occurred()) SWIG_fail
;
6685 Py_INCREF(Py_None
); resultobj
= Py_None
;
6692 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6693 PyObject
*resultobj
;
6694 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6696 PyObject
* obj0
= 0 ;
6698 (char *) "self", NULL
6701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
6702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6706 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
6708 wxPyEndAllowThreads(__tstate
);
6709 if (PyErr_Occurred()) SWIG_fail
;
6711 resultobj
= SWIG_From_int((int)result
);
6718 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6719 PyObject
*resultobj
;
6720 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6723 int arg4
= (int) 5 ;
6725 PyObject
* obj0
= 0 ;
6726 PyObject
* obj1
= 0 ;
6727 PyObject
* obj2
= 0 ;
6728 PyObject
* obj3
= 0 ;
6730 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6736 arg2
= (int)SWIG_As_int(obj1
);
6737 if (PyErr_Occurred()) SWIG_fail
;
6738 arg3
= (int)SWIG_As_int(obj2
);
6739 if (PyErr_Occurred()) SWIG_fail
;
6741 arg4
= (int)SWIG_As_int(obj3
);
6742 if (PyErr_Occurred()) SWIG_fail
;
6745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6746 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
6748 wxPyEndAllowThreads(__tstate
);
6749 if (PyErr_Occurred()) SWIG_fail
;
6752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6760 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6761 PyObject
*resultobj
;
6762 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6763 PyObject
* obj0
= 0 ;
6765 (char *) "self", NULL
6768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
6769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6773 (arg1
)->SizeWindows();
6775 wxPyEndAllowThreads(__tstate
);
6776 if (PyErr_Occurred()) SWIG_fail
;
6778 Py_INCREF(Py_None
); resultobj
= Py_None
;
6785 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6786 PyObject
*resultobj
;
6787 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6789 PyObject
* obj0
= 0 ;
6790 PyObject
* obj1
= 0 ;
6792 (char *) "self",(char *) "needUpdating", NULL
6795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
6796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6798 arg2
= (bool)SWIG_As_bool(obj1
);
6799 if (PyErr_Occurred()) SWIG_fail
;
6801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6802 (arg1
)->SetNeedUpdating(arg2
);
6804 wxPyEndAllowThreads(__tstate
);
6805 if (PyErr_Occurred()) SWIG_fail
;
6807 Py_INCREF(Py_None
); resultobj
= Py_None
;
6814 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6815 PyObject
*resultobj
;
6816 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
6818 PyObject
* obj0
= 0 ;
6820 (char *) "self", NULL
6823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
6824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterWindow
,
6825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6828 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
6830 wxPyEndAllowThreads(__tstate
);
6831 if (PyErr_Occurred()) SWIG_fail
;
6834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6842 static PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6843 PyObject
*resultobj
;
6844 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
6845 wxVisualAttributes result
;
6846 PyObject
* obj0
= 0 ;
6848 (char *) "variant", NULL
6851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6853 arg1
= (int)SWIG_As_int(obj0
);
6854 if (PyErr_Occurred()) SWIG_fail
;
6857 if (!wxPyCheckForApp()) SWIG_fail
;
6858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6859 result
= wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6861 wxPyEndAllowThreads(__tstate
);
6862 if (PyErr_Occurred()) SWIG_fail
;
6865 wxVisualAttributes
* resultptr
;
6866 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
6867 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6875 static PyObject
* SplitterWindow_swigregister(PyObject
*, PyObject
*args
) {
6877 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6878 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
6880 return Py_BuildValue((char *)"");
6882 static PyObject
*_wrap_new_SplitterEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6883 PyObject
*resultobj
;
6884 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
6885 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
6886 wxSplitterEvent
*result
;
6887 PyObject
* obj0
= 0 ;
6888 PyObject
* obj1
= 0 ;
6890 (char *) "type",(char *) "splitter", NULL
6893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6895 arg1
= (wxEventType
)SWIG_As_int(obj0
);
6896 if (PyErr_Occurred()) SWIG_fail
;
6899 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSplitterWindow
,
6900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6904 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
6906 wxPyEndAllowThreads(__tstate
);
6907 if (PyErr_Occurred()) SWIG_fail
;
6909 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
6916 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6917 PyObject
*resultobj
;
6918 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6920 PyObject
* obj0
= 0 ;
6921 PyObject
* obj1
= 0 ;
6923 (char *) "self",(char *) "pos", NULL
6926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
6927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6929 arg2
= (int)SWIG_As_int(obj1
);
6930 if (PyErr_Occurred()) SWIG_fail
;
6932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6933 (arg1
)->SetSashPosition(arg2
);
6935 wxPyEndAllowThreads(__tstate
);
6936 if (PyErr_Occurred()) SWIG_fail
;
6938 Py_INCREF(Py_None
); resultobj
= Py_None
;
6945 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6946 PyObject
*resultobj
;
6947 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6949 PyObject
* obj0
= 0 ;
6951 (char *) "self", NULL
6954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
6955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6959 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
6961 wxPyEndAllowThreads(__tstate
);
6962 if (PyErr_Occurred()) SWIG_fail
;
6964 resultobj
= SWIG_From_int((int)result
);
6971 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6972 PyObject
*resultobj
;
6973 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
6975 PyObject
* obj0
= 0 ;
6977 (char *) "self", NULL
6980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
6981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
6982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6985 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
6987 wxPyEndAllowThreads(__tstate
);
6988 if (PyErr_Occurred()) SWIG_fail
;
6991 resultobj
= wxPyMake_wxObject(result
, 0);
6999 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7000 PyObject
*resultobj
;
7001 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
7003 PyObject
* obj0
= 0 ;
7005 (char *) "self", NULL
7008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
7009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
7010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7013 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
7015 wxPyEndAllowThreads(__tstate
);
7016 if (PyErr_Occurred()) SWIG_fail
;
7018 resultobj
= SWIG_From_int((int)result
);
7025 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7026 PyObject
*resultobj
;
7027 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
7029 PyObject
* obj0
= 0 ;
7031 (char *) "self", NULL
7034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
7035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSplitterEvent
,
7036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7039 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
7041 wxPyEndAllowThreads(__tstate
);
7042 if (PyErr_Occurred()) SWIG_fail
;
7044 resultobj
= SWIG_From_int((int)result
);
7051 static PyObject
* SplitterEvent_swigregister(PyObject
*, PyObject
*args
) {
7053 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7054 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
7056 return Py_BuildValue((char *)"");
7058 static int _wrap_SashNameStr_set(PyObject
*) {
7059 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
7064 static PyObject
*_wrap_SashNameStr_get() {
7069 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
7071 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
7078 static int _wrap_SashLayoutNameStr_set(PyObject
*) {
7079 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
7084 static PyObject
*_wrap_SashLayoutNameStr_get() {
7089 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
7091 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
7098 static PyObject
*_wrap_new_SashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7099 PyObject
*resultobj
;
7100 wxWindow
*arg1
= (wxWindow
*) 0 ;
7101 int arg2
= (int) -1 ;
7102 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7103 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7104 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7105 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7106 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7107 wxString
const &arg6_defvalue
= wxPySashNameStr
;
7108 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7109 wxSashWindow
*result
;
7112 bool temp6
= false ;
7113 PyObject
* obj0
= 0 ;
7114 PyObject
* obj1
= 0 ;
7115 PyObject
* obj2
= 0 ;
7116 PyObject
* obj3
= 0 ;
7117 PyObject
* obj4
= 0 ;
7118 PyObject
* obj5
= 0 ;
7120 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
7125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7127 arg2
= (int)SWIG_As_int(obj1
);
7128 if (PyErr_Occurred()) SWIG_fail
;
7133 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7139 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7143 arg5
= (long)SWIG_As_long(obj4
);
7144 if (PyErr_Occurred()) SWIG_fail
;
7148 arg6
= wxString_in_helper(obj5
);
7149 if (arg6
== NULL
) SWIG_fail
;
7154 if (!wxPyCheckForApp()) SWIG_fail
;
7155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7156 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7158 wxPyEndAllowThreads(__tstate
);
7159 if (PyErr_Occurred()) SWIG_fail
;
7161 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
7176 static PyObject
*_wrap_new_PreSashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7177 PyObject
*resultobj
;
7178 wxSashWindow
*result
;
7183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
7185 if (!wxPyCheckForApp()) SWIG_fail
;
7186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7187 result
= (wxSashWindow
*)new wxSashWindow();
7189 wxPyEndAllowThreads(__tstate
);
7190 if (PyErr_Occurred()) SWIG_fail
;
7192 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
7199 static PyObject
*_wrap_SashWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7200 PyObject
*resultobj
;
7201 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7202 wxWindow
*arg2
= (wxWindow
*) 0 ;
7203 int arg3
= (int) -1 ;
7204 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7205 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7206 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7207 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7208 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
7209 wxString
const &arg7_defvalue
= wxPySashNameStr
;
7210 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7214 bool temp7
= false ;
7215 PyObject
* obj0
= 0 ;
7216 PyObject
* obj1
= 0 ;
7217 PyObject
* obj2
= 0 ;
7218 PyObject
* obj3
= 0 ;
7219 PyObject
* obj4
= 0 ;
7220 PyObject
* obj5
= 0 ;
7221 PyObject
* obj6
= 0 ;
7223 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7229 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7232 arg3
= (int)SWIG_As_int(obj2
);
7233 if (PyErr_Occurred()) SWIG_fail
;
7238 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7244 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7248 arg6
= (long)SWIG_As_long(obj5
);
7249 if (PyErr_Occurred()) SWIG_fail
;
7253 arg7
= wxString_in_helper(obj6
);
7254 if (arg7
== NULL
) SWIG_fail
;
7259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7260 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7262 wxPyEndAllowThreads(__tstate
);
7263 if (PyErr_Occurred()) SWIG_fail
;
7266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7282 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7283 PyObject
*resultobj
;
7284 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7287 PyObject
* obj0
= 0 ;
7288 PyObject
* obj1
= 0 ;
7289 PyObject
* obj2
= 0 ;
7291 (char *) "self",(char *) "edge",(char *) "sash", NULL
7294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7297 arg2
= (int)SWIG_As_int(obj1
);
7298 if (PyErr_Occurred()) SWIG_fail
;
7299 arg3
= (bool)SWIG_As_bool(obj2
);
7300 if (PyErr_Occurred()) SWIG_fail
;
7302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7303 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
7305 wxPyEndAllowThreads(__tstate
);
7306 if (PyErr_Occurred()) SWIG_fail
;
7308 Py_INCREF(Py_None
); resultobj
= Py_None
;
7315 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7316 PyObject
*resultobj
;
7317 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7320 PyObject
* obj0
= 0 ;
7321 PyObject
* obj1
= 0 ;
7323 (char *) "self",(char *) "edge", NULL
7326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
7327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7329 arg2
= (int)SWIG_As_int(obj1
);
7330 if (PyErr_Occurred()) SWIG_fail
;
7332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7333 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
7335 wxPyEndAllowThreads(__tstate
);
7336 if (PyErr_Occurred()) SWIG_fail
;
7339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7347 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7348 PyObject
*resultobj
;
7349 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7352 PyObject
* obj0
= 0 ;
7353 PyObject
* obj1
= 0 ;
7354 PyObject
* obj2
= 0 ;
7356 (char *) "self",(char *) "edge",(char *) "border", NULL
7359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7362 arg2
= (int)SWIG_As_int(obj1
);
7363 if (PyErr_Occurred()) SWIG_fail
;
7364 arg3
= (bool)SWIG_As_bool(obj2
);
7365 if (PyErr_Occurred()) SWIG_fail
;
7367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7368 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
7370 wxPyEndAllowThreads(__tstate
);
7371 if (PyErr_Occurred()) SWIG_fail
;
7373 Py_INCREF(Py_None
); resultobj
= Py_None
;
7380 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7381 PyObject
*resultobj
;
7382 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7385 PyObject
* obj0
= 0 ;
7386 PyObject
* obj1
= 0 ;
7388 (char *) "self",(char *) "edge", NULL
7391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
7392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7394 arg2
= (int)SWIG_As_int(obj1
);
7395 if (PyErr_Occurred()) SWIG_fail
;
7397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7398 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
7400 wxPyEndAllowThreads(__tstate
);
7401 if (PyErr_Occurred()) SWIG_fail
;
7404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7412 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7413 PyObject
*resultobj
;
7414 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7417 PyObject
* obj0
= 0 ;
7418 PyObject
* obj1
= 0 ;
7420 (char *) "self",(char *) "edge", NULL
7423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
7424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7426 arg2
= (int)SWIG_As_int(obj1
);
7427 if (PyErr_Occurred()) SWIG_fail
;
7429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7430 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
7432 wxPyEndAllowThreads(__tstate
);
7433 if (PyErr_Occurred()) SWIG_fail
;
7435 resultobj
= SWIG_From_int((int)result
);
7442 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7443 PyObject
*resultobj
;
7444 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7446 PyObject
* obj0
= 0 ;
7447 PyObject
* obj1
= 0 ;
7449 (char *) "self",(char *) "width", NULL
7452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7455 arg2
= (int)SWIG_As_int(obj1
);
7456 if (PyErr_Occurred()) SWIG_fail
;
7458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7459 (arg1
)->SetDefaultBorderSize(arg2
);
7461 wxPyEndAllowThreads(__tstate
);
7462 if (PyErr_Occurred()) SWIG_fail
;
7464 Py_INCREF(Py_None
); resultobj
= Py_None
;
7471 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7472 PyObject
*resultobj
;
7473 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7475 PyObject
* obj0
= 0 ;
7477 (char *) "self", NULL
7480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
7481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7485 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
7487 wxPyEndAllowThreads(__tstate
);
7488 if (PyErr_Occurred()) SWIG_fail
;
7490 resultobj
= SWIG_From_int((int)result
);
7497 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7498 PyObject
*resultobj
;
7499 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7501 PyObject
* obj0
= 0 ;
7502 PyObject
* obj1
= 0 ;
7504 (char *) "self",(char *) "width", NULL
7507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7510 arg2
= (int)SWIG_As_int(obj1
);
7511 if (PyErr_Occurred()) SWIG_fail
;
7513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7514 (arg1
)->SetExtraBorderSize(arg2
);
7516 wxPyEndAllowThreads(__tstate
);
7517 if (PyErr_Occurred()) SWIG_fail
;
7519 Py_INCREF(Py_None
); resultobj
= Py_None
;
7526 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7527 PyObject
*resultobj
;
7528 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7530 PyObject
* obj0
= 0 ;
7532 (char *) "self", NULL
7535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
7536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7540 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
7542 wxPyEndAllowThreads(__tstate
);
7543 if (PyErr_Occurred()) SWIG_fail
;
7545 resultobj
= SWIG_From_int((int)result
);
7552 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7553 PyObject
*resultobj
;
7554 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7556 PyObject
* obj0
= 0 ;
7557 PyObject
* obj1
= 0 ;
7559 (char *) "self",(char *) "min", NULL
7562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7565 arg2
= (int)SWIG_As_int(obj1
);
7566 if (PyErr_Occurred()) SWIG_fail
;
7568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7569 (arg1
)->SetMinimumSizeX(arg2
);
7571 wxPyEndAllowThreads(__tstate
);
7572 if (PyErr_Occurred()) SWIG_fail
;
7574 Py_INCREF(Py_None
); resultobj
= Py_None
;
7581 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7582 PyObject
*resultobj
;
7583 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7585 PyObject
* obj0
= 0 ;
7586 PyObject
* obj1
= 0 ;
7588 (char *) "self",(char *) "min", NULL
7591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7594 arg2
= (int)SWIG_As_int(obj1
);
7595 if (PyErr_Occurred()) SWIG_fail
;
7597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7598 (arg1
)->SetMinimumSizeY(arg2
);
7600 wxPyEndAllowThreads(__tstate
);
7601 if (PyErr_Occurred()) SWIG_fail
;
7603 Py_INCREF(Py_None
); resultobj
= Py_None
;
7610 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7611 PyObject
*resultobj
;
7612 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7614 PyObject
* obj0
= 0 ;
7616 (char *) "self", NULL
7619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
7620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7624 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
7626 wxPyEndAllowThreads(__tstate
);
7627 if (PyErr_Occurred()) SWIG_fail
;
7629 resultobj
= SWIG_From_int((int)result
);
7636 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7637 PyObject
*resultobj
;
7638 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7640 PyObject
* obj0
= 0 ;
7642 (char *) "self", NULL
7645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
7646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7650 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
7652 wxPyEndAllowThreads(__tstate
);
7653 if (PyErr_Occurred()) SWIG_fail
;
7655 resultobj
= SWIG_From_int((int)result
);
7662 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7663 PyObject
*resultobj
;
7664 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7666 PyObject
* obj0
= 0 ;
7667 PyObject
* obj1
= 0 ;
7669 (char *) "self",(char *) "max", NULL
7672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
7673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7675 arg2
= (int)SWIG_As_int(obj1
);
7676 if (PyErr_Occurred()) SWIG_fail
;
7678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7679 (arg1
)->SetMaximumSizeX(arg2
);
7681 wxPyEndAllowThreads(__tstate
);
7682 if (PyErr_Occurred()) SWIG_fail
;
7684 Py_INCREF(Py_None
); resultobj
= Py_None
;
7691 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7692 PyObject
*resultobj
;
7693 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7695 PyObject
* obj0
= 0 ;
7696 PyObject
* obj1
= 0 ;
7698 (char *) "self",(char *) "max", NULL
7701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
7702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7704 arg2
= (int)SWIG_As_int(obj1
);
7705 if (PyErr_Occurred()) SWIG_fail
;
7707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7708 (arg1
)->SetMaximumSizeY(arg2
);
7710 wxPyEndAllowThreads(__tstate
);
7711 if (PyErr_Occurred()) SWIG_fail
;
7713 Py_INCREF(Py_None
); resultobj
= Py_None
;
7720 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7721 PyObject
*resultobj
;
7722 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7724 PyObject
* obj0
= 0 ;
7726 (char *) "self", NULL
7729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
7730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7734 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
7736 wxPyEndAllowThreads(__tstate
);
7737 if (PyErr_Occurred()) SWIG_fail
;
7739 resultobj
= SWIG_From_int((int)result
);
7746 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7747 PyObject
*resultobj
;
7748 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7750 PyObject
* obj0
= 0 ;
7752 (char *) "self", NULL
7755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
7756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7760 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
7762 wxPyEndAllowThreads(__tstate
);
7763 if (PyErr_Occurred()) SWIG_fail
;
7765 resultobj
= SWIG_From_int((int)result
);
7772 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7773 PyObject
*resultobj
;
7774 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7777 int arg4
= (int) 2 ;
7779 PyObject
* obj0
= 0 ;
7780 PyObject
* obj1
= 0 ;
7781 PyObject
* obj2
= 0 ;
7782 PyObject
* obj3
= 0 ;
7784 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7790 arg2
= (int)SWIG_As_int(obj1
);
7791 if (PyErr_Occurred()) SWIG_fail
;
7792 arg3
= (int)SWIG_As_int(obj2
);
7793 if (PyErr_Occurred()) SWIG_fail
;
7795 arg4
= (int)SWIG_As_int(obj3
);
7796 if (PyErr_Occurred()) SWIG_fail
;
7799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7800 result
= (int)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
7802 wxPyEndAllowThreads(__tstate
);
7803 if (PyErr_Occurred()) SWIG_fail
;
7805 resultobj
= SWIG_From_int((int)result
);
7812 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7813 PyObject
*resultobj
;
7814 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
7815 PyObject
* obj0
= 0 ;
7817 (char *) "self", NULL
7820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
7821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashWindow
,
7822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7825 (arg1
)->SizeWindows();
7827 wxPyEndAllowThreads(__tstate
);
7828 if (PyErr_Occurred()) SWIG_fail
;
7830 Py_INCREF(Py_None
); resultobj
= Py_None
;
7837 static PyObject
* SashWindow_swigregister(PyObject
*, PyObject
*args
) {
7839 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7840 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
7842 return Py_BuildValue((char *)"");
7844 static PyObject
*_wrap_new_SashEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7845 PyObject
*resultobj
;
7846 int arg1
= (int) 0 ;
7847 int arg2
= (int) wxSASH_NONE
;
7848 wxSashEvent
*result
;
7849 PyObject
* obj0
= 0 ;
7850 PyObject
* obj1
= 0 ;
7852 (char *) "id",(char *) "edge", NULL
7855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
7857 arg1
= (int)SWIG_As_int(obj0
);
7858 if (PyErr_Occurred()) SWIG_fail
;
7861 arg2
= (int)SWIG_As_int(obj1
);
7862 if (PyErr_Occurred()) SWIG_fail
;
7865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7866 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
7868 wxPyEndAllowThreads(__tstate
);
7869 if (PyErr_Occurred()) SWIG_fail
;
7871 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
7878 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7879 PyObject
*resultobj
;
7880 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7882 PyObject
* obj0
= 0 ;
7883 PyObject
* obj1
= 0 ;
7885 (char *) "self",(char *) "edge", NULL
7888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
7889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7891 arg2
= (int)SWIG_As_int(obj1
);
7892 if (PyErr_Occurred()) SWIG_fail
;
7894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7895 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
7897 wxPyEndAllowThreads(__tstate
);
7898 if (PyErr_Occurred()) SWIG_fail
;
7900 Py_INCREF(Py_None
); resultobj
= Py_None
;
7907 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7908 PyObject
*resultobj
;
7909 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7911 PyObject
* obj0
= 0 ;
7913 (char *) "self", NULL
7916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
7917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7921 result
= (int)((wxSashEvent
const *)arg1
)->GetEdge();
7923 wxPyEndAllowThreads(__tstate
);
7924 if (PyErr_Occurred()) SWIG_fail
;
7926 resultobj
= SWIG_From_int((int)result
);
7933 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7934 PyObject
*resultobj
;
7935 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7938 PyObject
* obj0
= 0 ;
7939 PyObject
* obj1
= 0 ;
7941 (char *) "self",(char *) "rect", NULL
7944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7949 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7953 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
7955 wxPyEndAllowThreads(__tstate
);
7956 if (PyErr_Occurred()) SWIG_fail
;
7958 Py_INCREF(Py_None
); resultobj
= Py_None
;
7965 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7966 PyObject
*resultobj
;
7967 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7969 PyObject
* obj0
= 0 ;
7971 (char *) "self", NULL
7974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
7975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
7976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7979 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
7981 wxPyEndAllowThreads(__tstate
);
7982 if (PyErr_Occurred()) SWIG_fail
;
7986 resultptr
= new wxRect((wxRect
&) result
);
7987 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7995 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7996 PyObject
*resultobj
;
7997 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
7999 PyObject
* obj0
= 0 ;
8000 PyObject
* obj1
= 0 ;
8002 (char *) "self",(char *) "status", NULL
8005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
8006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
8007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8008 arg2
= (int)SWIG_As_int(obj1
);
8009 if (PyErr_Occurred()) SWIG_fail
;
8011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8012 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
8014 wxPyEndAllowThreads(__tstate
);
8015 if (PyErr_Occurred()) SWIG_fail
;
8017 Py_INCREF(Py_None
); resultobj
= Py_None
;
8024 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8025 PyObject
*resultobj
;
8026 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
8028 PyObject
* obj0
= 0 ;
8030 (char *) "self", NULL
8033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
8034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashEvent
,
8035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8038 result
= (int)((wxSashEvent
const *)arg1
)->GetDragStatus();
8040 wxPyEndAllowThreads(__tstate
);
8041 if (PyErr_Occurred()) SWIG_fail
;
8043 resultobj
= SWIG_From_int((int)result
);
8050 static PyObject
* SashEvent_swigregister(PyObject
*, PyObject
*args
) {
8052 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8053 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
8055 return Py_BuildValue((char *)"");
8057 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8058 PyObject
*resultobj
;
8059 int arg1
= (int) 0 ;
8060 wxQueryLayoutInfoEvent
*result
;
8061 PyObject
* obj0
= 0 ;
8066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
8068 arg1
= (int)SWIG_As_int(obj0
);
8069 if (PyErr_Occurred()) SWIG_fail
;
8072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8073 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
8075 wxPyEndAllowThreads(__tstate
);
8076 if (PyErr_Occurred()) SWIG_fail
;
8078 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
8085 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8086 PyObject
*resultobj
;
8087 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8089 PyObject
* obj0
= 0 ;
8090 PyObject
* obj1
= 0 ;
8092 (char *) "self",(char *) "length", NULL
8095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8098 arg2
= (int)SWIG_As_int(obj1
);
8099 if (PyErr_Occurred()) SWIG_fail
;
8101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8102 (arg1
)->SetRequestedLength(arg2
);
8104 wxPyEndAllowThreads(__tstate
);
8105 if (PyErr_Occurred()) SWIG_fail
;
8107 Py_INCREF(Py_None
); resultobj
= Py_None
;
8114 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8115 PyObject
*resultobj
;
8116 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8118 PyObject
* obj0
= 0 ;
8120 (char *) "self", NULL
8123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
8124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8128 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
8130 wxPyEndAllowThreads(__tstate
);
8131 if (PyErr_Occurred()) SWIG_fail
;
8133 resultobj
= SWIG_From_int((int)result
);
8140 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8141 PyObject
*resultobj
;
8142 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8144 PyObject
* obj0
= 0 ;
8145 PyObject
* obj1
= 0 ;
8147 (char *) "self",(char *) "flags", NULL
8150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
8151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8153 arg2
= (int)SWIG_As_int(obj1
);
8154 if (PyErr_Occurred()) SWIG_fail
;
8156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8157 (arg1
)->SetFlags(arg2
);
8159 wxPyEndAllowThreads(__tstate
);
8160 if (PyErr_Occurred()) SWIG_fail
;
8162 Py_INCREF(Py_None
); resultobj
= Py_None
;
8169 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8170 PyObject
*resultobj
;
8171 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8173 PyObject
* obj0
= 0 ;
8175 (char *) "self", NULL
8178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
8179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8183 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
8185 wxPyEndAllowThreads(__tstate
);
8186 if (PyErr_Occurred()) SWIG_fail
;
8188 resultobj
= SWIG_From_int((int)result
);
8195 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8196 PyObject
*resultobj
;
8197 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8200 PyObject
* obj0
= 0 ;
8201 PyObject
* obj1
= 0 ;
8203 (char *) "self",(char *) "size", NULL
8206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8211 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8215 (arg1
)->SetSize((wxSize
const &)*arg2
);
8217 wxPyEndAllowThreads(__tstate
);
8218 if (PyErr_Occurred()) SWIG_fail
;
8220 Py_INCREF(Py_None
); resultobj
= Py_None
;
8227 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8228 PyObject
*resultobj
;
8229 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8231 PyObject
* obj0
= 0 ;
8233 (char *) "self", NULL
8236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
8237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8241 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
8243 wxPyEndAllowThreads(__tstate
);
8244 if (PyErr_Occurred()) SWIG_fail
;
8248 resultptr
= new wxSize((wxSize
&) result
);
8249 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
8257 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8258 PyObject
*resultobj
;
8259 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8261 PyObject
* obj0
= 0 ;
8262 PyObject
* obj1
= 0 ;
8264 (char *) "self",(char *) "orient", NULL
8267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8270 arg2
= (int)SWIG_As_int(obj1
);
8271 if (PyErr_Occurred()) SWIG_fail
;
8273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8274 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8276 wxPyEndAllowThreads(__tstate
);
8277 if (PyErr_Occurred()) SWIG_fail
;
8279 Py_INCREF(Py_None
); resultobj
= Py_None
;
8286 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8287 PyObject
*resultobj
;
8288 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8290 PyObject
* obj0
= 0 ;
8292 (char *) "self", NULL
8295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
8296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8300 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
8302 wxPyEndAllowThreads(__tstate
);
8303 if (PyErr_Occurred()) SWIG_fail
;
8305 resultobj
= SWIG_From_int((int)result
);
8312 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8313 PyObject
*resultobj
;
8314 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8316 PyObject
* obj0
= 0 ;
8317 PyObject
* obj1
= 0 ;
8319 (char *) "self",(char *) "align", NULL
8322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8325 arg2
= (int)SWIG_As_int(obj1
);
8326 if (PyErr_Occurred()) SWIG_fail
;
8328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8329 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8331 wxPyEndAllowThreads(__tstate
);
8332 if (PyErr_Occurred()) SWIG_fail
;
8334 Py_INCREF(Py_None
); resultobj
= Py_None
;
8341 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8342 PyObject
*resultobj
;
8343 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
8345 PyObject
* obj0
= 0 ;
8347 (char *) "self", NULL
8350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
8351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryLayoutInfoEvent
,
8352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8355 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
8357 wxPyEndAllowThreads(__tstate
);
8358 if (PyErr_Occurred()) SWIG_fail
;
8360 resultobj
= SWIG_From_int((int)result
);
8367 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*, PyObject
*args
) {
8369 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8370 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
8372 return Py_BuildValue((char *)"");
8374 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8375 PyObject
*resultobj
;
8376 int arg1
= (int) 0 ;
8377 wxCalculateLayoutEvent
*result
;
8378 PyObject
* obj0
= 0 ;
8383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
8385 arg1
= (int)SWIG_As_int(obj0
);
8386 if (PyErr_Occurred()) SWIG_fail
;
8389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8390 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
8392 wxPyEndAllowThreads(__tstate
);
8393 if (PyErr_Occurred()) SWIG_fail
;
8395 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
8402 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8403 PyObject
*resultobj
;
8404 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8406 PyObject
* obj0
= 0 ;
8407 PyObject
* obj1
= 0 ;
8409 (char *) "self",(char *) "flags", NULL
8412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
8413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8415 arg2
= (int)SWIG_As_int(obj1
);
8416 if (PyErr_Occurred()) SWIG_fail
;
8418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8419 (arg1
)->SetFlags(arg2
);
8421 wxPyEndAllowThreads(__tstate
);
8422 if (PyErr_Occurred()) SWIG_fail
;
8424 Py_INCREF(Py_None
); resultobj
= Py_None
;
8431 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8432 PyObject
*resultobj
;
8433 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8435 PyObject
* obj0
= 0 ;
8437 (char *) "self", NULL
8440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
8441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8445 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
8447 wxPyEndAllowThreads(__tstate
);
8448 if (PyErr_Occurred()) SWIG_fail
;
8450 resultobj
= SWIG_From_int((int)result
);
8457 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8458 PyObject
*resultobj
;
8459 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8462 PyObject
* obj0
= 0 ;
8463 PyObject
* obj1
= 0 ;
8465 (char *) "self",(char *) "rect", NULL
8468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
8469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8473 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8477 (arg1
)->SetRect((wxRect
const &)*arg2
);
8479 wxPyEndAllowThreads(__tstate
);
8480 if (PyErr_Occurred()) SWIG_fail
;
8482 Py_INCREF(Py_None
); resultobj
= Py_None
;
8489 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8490 PyObject
*resultobj
;
8491 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
8493 PyObject
* obj0
= 0 ;
8495 (char *) "self", NULL
8498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
8499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCalculateLayoutEvent
,
8500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8503 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
8505 wxPyEndAllowThreads(__tstate
);
8506 if (PyErr_Occurred()) SWIG_fail
;
8510 resultptr
= new wxRect((wxRect
&) result
);
8511 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
8519 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*, PyObject
*args
) {
8521 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8522 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
8524 return Py_BuildValue((char *)"");
8526 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8527 PyObject
*resultobj
;
8528 wxWindow
*arg1
= (wxWindow
*) 0 ;
8529 int arg2
= (int) -1 ;
8530 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8531 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8532 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8533 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8534 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8535 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
8536 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8537 wxSashLayoutWindow
*result
;
8540 bool temp6
= false ;
8541 PyObject
* obj0
= 0 ;
8542 PyObject
* obj1
= 0 ;
8543 PyObject
* obj2
= 0 ;
8544 PyObject
* obj3
= 0 ;
8545 PyObject
* obj4
= 0 ;
8546 PyObject
* obj5
= 0 ;
8548 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8555 arg2
= (int)SWIG_As_int(obj1
);
8556 if (PyErr_Occurred()) SWIG_fail
;
8561 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8567 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8571 arg5
= (long)SWIG_As_long(obj4
);
8572 if (PyErr_Occurred()) SWIG_fail
;
8576 arg6
= wxString_in_helper(obj5
);
8577 if (arg6
== NULL
) SWIG_fail
;
8582 if (!wxPyCheckForApp()) SWIG_fail
;
8583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8584 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8586 wxPyEndAllowThreads(__tstate
);
8587 if (PyErr_Occurred()) SWIG_fail
;
8589 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8604 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8605 PyObject
*resultobj
;
8606 wxSashLayoutWindow
*result
;
8611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
8613 if (!wxPyCheckForApp()) SWIG_fail
;
8614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8615 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
8617 wxPyEndAllowThreads(__tstate
);
8618 if (PyErr_Occurred()) SWIG_fail
;
8620 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
8627 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8628 PyObject
*resultobj
;
8629 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8630 wxWindow
*arg2
= (wxWindow
*) 0 ;
8631 int arg3
= (int) -1 ;
8632 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8633 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8634 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8635 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8636 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8637 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
8638 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8642 bool temp7
= false ;
8643 PyObject
* obj0
= 0 ;
8644 PyObject
* obj1
= 0 ;
8645 PyObject
* obj2
= 0 ;
8646 PyObject
* obj3
= 0 ;
8647 PyObject
* obj4
= 0 ;
8648 PyObject
* obj5
= 0 ;
8649 PyObject
* obj6
= 0 ;
8651 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8657 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8660 arg3
= (int)SWIG_As_int(obj2
);
8661 if (PyErr_Occurred()) SWIG_fail
;
8666 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8672 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8676 arg6
= (long)SWIG_As_long(obj5
);
8677 if (PyErr_Occurred()) SWIG_fail
;
8681 arg7
= wxString_in_helper(obj6
);
8682 if (arg7
== NULL
) SWIG_fail
;
8687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8688 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8690 wxPyEndAllowThreads(__tstate
);
8691 if (PyErr_Occurred()) SWIG_fail
;
8694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8710 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8711 PyObject
*resultobj
;
8712 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8714 PyObject
* obj0
= 0 ;
8716 (char *) "self", NULL
8719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
8720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8724 result
= (int)(arg1
)->GetAlignment();
8726 wxPyEndAllowThreads(__tstate
);
8727 if (PyErr_Occurred()) SWIG_fail
;
8729 resultobj
= SWIG_From_int((int)result
);
8736 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8737 PyObject
*resultobj
;
8738 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8740 PyObject
* obj0
= 0 ;
8742 (char *) "self", NULL
8745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
8746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8750 result
= (int)(arg1
)->GetOrientation();
8752 wxPyEndAllowThreads(__tstate
);
8753 if (PyErr_Occurred()) SWIG_fail
;
8755 resultobj
= SWIG_From_int((int)result
);
8762 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8763 PyObject
*resultobj
;
8764 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8766 PyObject
* obj0
= 0 ;
8767 PyObject
* obj1
= 0 ;
8769 (char *) "self",(char *) "alignment", NULL
8772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
8773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8775 arg2
= (int)SWIG_As_int(obj1
);
8776 if (PyErr_Occurred()) SWIG_fail
;
8778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8779 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
8781 wxPyEndAllowThreads(__tstate
);
8782 if (PyErr_Occurred()) SWIG_fail
;
8784 Py_INCREF(Py_None
); resultobj
= Py_None
;
8791 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8792 PyObject
*resultobj
;
8793 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8796 PyObject
* obj0
= 0 ;
8797 PyObject
* obj1
= 0 ;
8799 (char *) "self",(char *) "size", NULL
8802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8807 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
8810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8811 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
8813 wxPyEndAllowThreads(__tstate
);
8814 if (PyErr_Occurred()) SWIG_fail
;
8816 Py_INCREF(Py_None
); resultobj
= Py_None
;
8823 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8824 PyObject
*resultobj
;
8825 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
8827 PyObject
* obj0
= 0 ;
8828 PyObject
* obj1
= 0 ;
8830 (char *) "self",(char *) "orientation", NULL
8833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
8834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSashLayoutWindow
,
8835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8836 arg2
= (int)SWIG_As_int(obj1
);
8837 if (PyErr_Occurred()) SWIG_fail
;
8839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8840 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
8842 wxPyEndAllowThreads(__tstate
);
8843 if (PyErr_Occurred()) SWIG_fail
;
8845 Py_INCREF(Py_None
); resultobj
= Py_None
;
8852 static PyObject
* SashLayoutWindow_swigregister(PyObject
*, PyObject
*args
) {
8854 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8855 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
8857 return Py_BuildValue((char *)"");
8859 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8860 PyObject
*resultobj
;
8861 wxLayoutAlgorithm
*result
;
8866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
8868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8869 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
8871 wxPyEndAllowThreads(__tstate
);
8872 if (PyErr_Occurred()) SWIG_fail
;
8874 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
8881 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8882 PyObject
*resultobj
;
8883 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8884 PyObject
* obj0
= 0 ;
8886 (char *) "self", NULL
8889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
8890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8896 wxPyEndAllowThreads(__tstate
);
8897 if (PyErr_Occurred()) SWIG_fail
;
8899 Py_INCREF(Py_None
); resultobj
= Py_None
;
8906 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8907 PyObject
*resultobj
;
8908 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8909 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
8910 wxRect
*arg3
= (wxRect
*) NULL
;
8912 PyObject
* obj0
= 0 ;
8913 PyObject
* obj1
= 0 ;
8914 PyObject
* obj2
= 0 ;
8916 (char *) "self",(char *) "frame",(char *) "rect", NULL
8919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8922 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
8923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8925 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
8926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8930 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
8932 wxPyEndAllowThreads(__tstate
);
8933 if (PyErr_Occurred()) SWIG_fail
;
8936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8944 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8945 PyObject
*resultobj
;
8946 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8947 wxFrame
*arg2
= (wxFrame
*) 0 ;
8948 wxWindow
*arg3
= (wxWindow
*) NULL
;
8950 PyObject
* obj0
= 0 ;
8951 PyObject
* obj1
= 0 ;
8952 PyObject
* obj2
= 0 ;
8954 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8960 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
8961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8963 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
8964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8968 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
8970 wxPyEndAllowThreads(__tstate
);
8971 if (PyErr_Occurred()) SWIG_fail
;
8974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8982 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8983 PyObject
*resultobj
;
8984 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
8985 wxWindow
*arg2
= (wxWindow
*) 0 ;
8986 wxWindow
*arg3
= (wxWindow
*) NULL
;
8988 PyObject
* obj0
= 0 ;
8989 PyObject
* obj1
= 0 ;
8990 PyObject
* obj2
= 0 ;
8992 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutAlgorithm
,
8997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8998 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9001 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
9002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9006 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
9008 wxPyEndAllowThreads(__tstate
);
9009 if (PyErr_Occurred()) SWIG_fail
;
9012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9020 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*, PyObject
*args
) {
9022 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9023 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
9025 return Py_BuildValue((char *)"");
9027 static PyObject
*_wrap_new_PopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9028 PyObject
*resultobj
;
9029 wxWindow
*arg1
= (wxWindow
*) 0 ;
9030 int arg2
= (int) wxBORDER_NONE
;
9031 wxPopupWindow
*result
;
9032 PyObject
* obj0
= 0 ;
9033 PyObject
* obj1
= 0 ;
9035 (char *) "parent",(char *) "flags", NULL
9038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
9039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9042 arg2
= (int)SWIG_As_int(obj1
);
9043 if (PyErr_Occurred()) SWIG_fail
;
9046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9047 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
9049 wxPyEndAllowThreads(__tstate
);
9050 if (PyErr_Occurred()) SWIG_fail
;
9052 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
9059 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9060 PyObject
*resultobj
;
9061 wxPopupWindow
*result
;
9066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
9068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9069 result
= (wxPopupWindow
*)new wxPopupWindow();
9071 wxPyEndAllowThreads(__tstate
);
9072 if (PyErr_Occurred()) SWIG_fail
;
9074 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
9081 static PyObject
* PopupWindow_swigregister(PyObject
*, PyObject
*args
) {
9083 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9084 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
9086 return Py_BuildValue((char *)"");
9088 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9089 PyObject
*resultobj
;
9090 wxWindow
*arg1
= (wxWindow
*) 0 ;
9091 int arg2
= (int) wxBORDER_NONE
;
9092 wxPyPopupTransientWindow
*result
;
9093 PyObject
* obj0
= 0 ;
9094 PyObject
* obj1
= 0 ;
9096 (char *) "parent",(char *) "style", NULL
9099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
9100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9103 arg2
= (int)SWIG_As_int(obj1
);
9104 if (PyErr_Occurred()) SWIG_fail
;
9107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9108 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
9110 wxPyEndAllowThreads(__tstate
);
9111 if (PyErr_Occurred()) SWIG_fail
;
9113 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
9120 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9121 PyObject
*resultobj
;
9122 wxPyPopupTransientWindow
*result
;
9127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
9129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9130 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
9132 wxPyEndAllowThreads(__tstate
);
9133 if (PyErr_Occurred()) SWIG_fail
;
9135 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
9142 static PyObject
* PopupTransientWindow_swigregister(PyObject
*, PyObject
*args
) {
9144 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9145 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
9147 return Py_BuildValue((char *)"");
9149 static PyObject
*_wrap_new_TipWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9150 PyObject
*resultobj
;
9151 wxWindow
*arg1
= (wxWindow
*) 0 ;
9152 wxString
*arg2
= 0 ;
9153 int arg3
= (int) 100 ;
9154 wxRect
*arg4
= (wxRect
*) NULL
;
9155 wxTipWindow
*result
;
9156 bool temp2
= false ;
9157 PyObject
* obj0
= 0 ;
9158 PyObject
* obj1
= 0 ;
9159 PyObject
* obj2
= 0 ;
9160 PyObject
* obj3
= 0 ;
9162 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
9165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9169 arg2
= wxString_in_helper(obj1
);
9170 if (arg2
== NULL
) SWIG_fail
;
9174 arg3
= (int)SWIG_As_int(obj2
);
9175 if (PyErr_Occurred()) SWIG_fail
;
9178 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
9179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9182 if (!wxPyCheckForApp()) SWIG_fail
;
9183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9184 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9186 wxPyEndAllowThreads(__tstate
);
9187 if (PyErr_Occurred()) SWIG_fail
;
9189 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
9204 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9205 PyObject
*resultobj
;
9206 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
9209 PyObject
* obj0
= 0 ;
9210 PyObject
* obj1
= 0 ;
9212 (char *) "self",(char *) "rectBound", NULL
9215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
9216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
9217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9220 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9224 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
9226 wxPyEndAllowThreads(__tstate
);
9227 if (PyErr_Occurred()) SWIG_fail
;
9229 Py_INCREF(Py_None
); resultobj
= Py_None
;
9236 static PyObject
*_wrap_TipWindow_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9237 PyObject
*resultobj
;
9238 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
9239 PyObject
* obj0
= 0 ;
9241 (char *) "self", NULL
9244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
9245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipWindow
,
9246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9251 wxPyEndAllowThreads(__tstate
);
9252 if (PyErr_Occurred()) SWIG_fail
;
9254 Py_INCREF(Py_None
); resultobj
= Py_None
;
9261 static PyObject
* TipWindow_swigregister(PyObject
*, PyObject
*args
) {
9263 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9264 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
9266 return Py_BuildValue((char *)"");
9268 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9269 PyObject
*resultobj
;
9270 wxWindow
*arg1
= (wxWindow
*) 0 ;
9271 int arg2
= (int) wxID_ANY
;
9272 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9273 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9274 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9275 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9276 long arg5
= (long) 0 ;
9277 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
9278 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9279 wxPyVScrolledWindow
*result
;
9282 bool temp6
= false ;
9283 PyObject
* obj0
= 0 ;
9284 PyObject
* obj1
= 0 ;
9285 PyObject
* obj2
= 0 ;
9286 PyObject
* obj3
= 0 ;
9287 PyObject
* obj4
= 0 ;
9288 PyObject
* obj5
= 0 ;
9290 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9297 arg2
= (int)SWIG_As_int(obj1
);
9298 if (PyErr_Occurred()) SWIG_fail
;
9303 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9309 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9313 arg5
= (long)SWIG_As_long(obj4
);
9314 if (PyErr_Occurred()) SWIG_fail
;
9318 arg6
= wxString_in_helper(obj5
);
9319 if (arg6
== NULL
) SWIG_fail
;
9324 if (!wxPyCheckForApp()) SWIG_fail
;
9325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9326 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9328 wxPyEndAllowThreads(__tstate
);
9329 if (PyErr_Occurred()) SWIG_fail
;
9331 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
9346 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9347 PyObject
*resultobj
;
9348 wxPyVScrolledWindow
*result
;
9353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
9355 if (!wxPyCheckForApp()) SWIG_fail
;
9356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9357 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
9359 wxPyEndAllowThreads(__tstate
);
9360 if (PyErr_Occurred()) SWIG_fail
;
9362 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
9369 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9370 PyObject
*resultobj
;
9371 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9372 PyObject
*arg2
= (PyObject
*) 0 ;
9373 PyObject
*arg3
= (PyObject
*) 0 ;
9374 PyObject
* obj0
= 0 ;
9375 PyObject
* obj1
= 0 ;
9376 PyObject
* obj2
= 0 ;
9378 (char *) "self",(char *) "self",(char *) "_class", NULL
9381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9388 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9390 wxPyEndAllowThreads(__tstate
);
9391 if (PyErr_Occurred()) SWIG_fail
;
9393 Py_INCREF(Py_None
); resultobj
= Py_None
;
9400 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9401 PyObject
*resultobj
;
9402 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9403 wxWindow
*arg2
= (wxWindow
*) 0 ;
9404 int arg3
= (int) wxID_ANY
;
9405 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9406 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9407 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9408 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9409 long arg6
= (long) 0 ;
9410 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
9411 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9415 bool temp7
= false ;
9416 PyObject
* obj0
= 0 ;
9417 PyObject
* obj1
= 0 ;
9418 PyObject
* obj2
= 0 ;
9419 PyObject
* obj3
= 0 ;
9420 PyObject
* obj4
= 0 ;
9421 PyObject
* obj5
= 0 ;
9422 PyObject
* obj6
= 0 ;
9424 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9430 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
9431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9433 arg3
= (int)SWIG_As_int(obj2
);
9434 if (PyErr_Occurred()) SWIG_fail
;
9439 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9445 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9449 arg6
= (long)SWIG_As_long(obj5
);
9450 if (PyErr_Occurred()) SWIG_fail
;
9454 arg7
= wxString_in_helper(obj6
);
9455 if (arg7
== NULL
) SWIG_fail
;
9460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9461 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9463 wxPyEndAllowThreads(__tstate
);
9464 if (PyErr_Occurred()) SWIG_fail
;
9467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9483 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9484 PyObject
*resultobj
;
9485 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9487 PyObject
* obj0
= 0 ;
9488 PyObject
* obj1
= 0 ;
9490 (char *) "self",(char *) "count", NULL
9493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9496 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9497 if (PyErr_Occurred()) SWIG_fail
;
9499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9500 (arg1
)->SetLineCount(arg2
);
9502 wxPyEndAllowThreads(__tstate
);
9503 if (PyErr_Occurred()) SWIG_fail
;
9505 Py_INCREF(Py_None
); resultobj
= Py_None
;
9512 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9513 PyObject
*resultobj
;
9514 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9517 PyObject
* obj0
= 0 ;
9518 PyObject
* obj1
= 0 ;
9520 (char *) "self",(char *) "line", NULL
9523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9526 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9527 if (PyErr_Occurred()) SWIG_fail
;
9529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9530 result
= (bool)(arg1
)->ScrollToLine(arg2
);
9532 wxPyEndAllowThreads(__tstate
);
9533 if (PyErr_Occurred()) SWIG_fail
;
9536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9544 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9545 PyObject
*resultobj
;
9546 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9549 PyObject
* obj0
= 0 ;
9550 PyObject
* obj1
= 0 ;
9552 (char *) "self",(char *) "lines", NULL
9555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
9556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9558 arg2
= (int)SWIG_As_int(obj1
);
9559 if (PyErr_Occurred()) SWIG_fail
;
9561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9562 result
= (bool)(arg1
)->ScrollLines(arg2
);
9564 wxPyEndAllowThreads(__tstate
);
9565 if (PyErr_Occurred()) SWIG_fail
;
9568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9576 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9577 PyObject
*resultobj
;
9578 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9581 PyObject
* obj0
= 0 ;
9582 PyObject
* obj1
= 0 ;
9584 (char *) "self",(char *) "pages", NULL
9587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
9588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9590 arg2
= (int)SWIG_As_int(obj1
);
9591 if (PyErr_Occurred()) SWIG_fail
;
9593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9594 result
= (bool)(arg1
)->ScrollPages(arg2
);
9596 wxPyEndAllowThreads(__tstate
);
9597 if (PyErr_Occurred()) SWIG_fail
;
9600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9608 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9609 PyObject
*resultobj
;
9610 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9612 PyObject
* obj0
= 0 ;
9613 PyObject
* obj1
= 0 ;
9615 (char *) "self",(char *) "line", NULL
9618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
9619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9621 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9622 if (PyErr_Occurred()) SWIG_fail
;
9624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9625 (arg1
)->RefreshLine(arg2
);
9627 wxPyEndAllowThreads(__tstate
);
9628 if (PyErr_Occurred()) SWIG_fail
;
9630 Py_INCREF(Py_None
); resultobj
= Py_None
;
9637 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9638 PyObject
*resultobj
;
9639 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9642 PyObject
* obj0
= 0 ;
9643 PyObject
* obj1
= 0 ;
9644 PyObject
* obj2
= 0 ;
9646 (char *) "self",(char *) "from",(char *) "to", NULL
9649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9652 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9653 if (PyErr_Occurred()) SWIG_fail
;
9654 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
9655 if (PyErr_Occurred()) SWIG_fail
;
9657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9658 (arg1
)->RefreshLines(arg2
,arg3
);
9660 wxPyEndAllowThreads(__tstate
);
9661 if (PyErr_Occurred()) SWIG_fail
;
9663 Py_INCREF(Py_None
); resultobj
= Py_None
;
9670 static PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9671 PyObject
*resultobj
;
9672 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9676 PyObject
* obj0
= 0 ;
9677 PyObject
* obj1
= 0 ;
9678 PyObject
* obj2
= 0 ;
9680 (char *) "self",(char *) "x",(char *) "y", NULL
9683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9686 arg2
= (int)SWIG_As_int(obj1
);
9687 if (PyErr_Occurred()) SWIG_fail
;
9688 arg3
= (int)SWIG_As_int(obj2
);
9689 if (PyErr_Occurred()) SWIG_fail
;
9691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9692 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
9694 wxPyEndAllowThreads(__tstate
);
9695 if (PyErr_Occurred()) SWIG_fail
;
9697 resultobj
= SWIG_From_int((int)result
);
9704 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9705 PyObject
*resultobj
;
9706 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9710 PyObject
* obj0
= 0 ;
9711 PyObject
* obj1
= 0 ;
9713 (char *) "self",(char *) "pt", NULL
9716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9721 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9725 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9727 wxPyEndAllowThreads(__tstate
);
9728 if (PyErr_Occurred()) SWIG_fail
;
9730 resultobj
= SWIG_From_int((int)result
);
9737 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9738 PyObject
*resultobj
;
9739 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9740 PyObject
* obj0
= 0 ;
9742 (char *) "self", NULL
9745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
9746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9750 (arg1
)->RefreshAll();
9752 wxPyEndAllowThreads(__tstate
);
9753 if (PyErr_Occurred()) SWIG_fail
;
9755 Py_INCREF(Py_None
); resultobj
= Py_None
;
9762 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9763 PyObject
*resultobj
;
9764 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9766 PyObject
* obj0
= 0 ;
9768 (char *) "self", NULL
9771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
9772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9776 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
9778 wxPyEndAllowThreads(__tstate
);
9779 if (PyErr_Occurred()) SWIG_fail
;
9781 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
9788 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9789 PyObject
*resultobj
;
9790 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9792 PyObject
* obj0
= 0 ;
9794 (char *) "self", NULL
9797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
9798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9802 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
9804 wxPyEndAllowThreads(__tstate
);
9805 if (PyErr_Occurred()) SWIG_fail
;
9807 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
9814 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9815 PyObject
*resultobj
;
9816 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9818 PyObject
* obj0
= 0 ;
9820 (char *) "self", NULL
9823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
9824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9828 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
9830 wxPyEndAllowThreads(__tstate
);
9831 if (PyErr_Occurred()) SWIG_fail
;
9833 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
9840 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9841 PyObject
*resultobj
;
9842 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
9845 PyObject
* obj0
= 0 ;
9846 PyObject
* obj1
= 0 ;
9848 (char *) "self",(char *) "line", NULL
9851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
9852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVScrolledWindow
,
9853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9854 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
9855 if (PyErr_Occurred()) SWIG_fail
;
9857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9858 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
9860 wxPyEndAllowThreads(__tstate
);
9861 if (PyErr_Occurred()) SWIG_fail
;
9864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9872 static PyObject
* VScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
9874 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9875 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
9877 return Py_BuildValue((char *)"");
9879 static int _wrap_VListBoxNameStr_set(PyObject
*) {
9880 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
9885 static PyObject
*_wrap_VListBoxNameStr_get() {
9890 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9892 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
9899 static PyObject
*_wrap_new_VListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9900 PyObject
*resultobj
;
9901 wxWindow
*arg1
= (wxWindow
*) 0 ;
9902 int arg2
= (int) wxID_ANY
;
9903 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9904 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9905 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9906 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9907 long arg5
= (long) 0 ;
9908 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
9909 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9910 wxPyVListBox
*result
;
9913 bool temp6
= false ;
9914 PyObject
* obj0
= 0 ;
9915 PyObject
* obj1
= 0 ;
9916 PyObject
* obj2
= 0 ;
9917 PyObject
* obj3
= 0 ;
9918 PyObject
* obj4
= 0 ;
9919 PyObject
* obj5
= 0 ;
9921 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
9926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9928 arg2
= (int)SWIG_As_int(obj1
);
9929 if (PyErr_Occurred()) SWIG_fail
;
9934 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9940 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9944 arg5
= (long)SWIG_As_long(obj4
);
9945 if (PyErr_Occurred()) SWIG_fail
;
9949 arg6
= wxString_in_helper(obj5
);
9950 if (arg6
== NULL
) SWIG_fail
;
9955 if (!wxPyCheckForApp()) SWIG_fail
;
9956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9957 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9959 wxPyEndAllowThreads(__tstate
);
9960 if (PyErr_Occurred()) SWIG_fail
;
9962 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
9977 static PyObject
*_wrap_new_PreVListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9978 PyObject
*resultobj
;
9979 wxPyVListBox
*result
;
9984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
9986 if (!wxPyCheckForApp()) SWIG_fail
;
9987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9988 result
= (wxPyVListBox
*)new wxPyVListBox();
9990 wxPyEndAllowThreads(__tstate
);
9991 if (PyErr_Occurred()) SWIG_fail
;
9993 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
10000 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10001 PyObject
*resultobj
;
10002 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10003 PyObject
*arg2
= (PyObject
*) 0 ;
10004 PyObject
*arg3
= (PyObject
*) 0 ;
10005 PyObject
* obj0
= 0 ;
10006 PyObject
* obj1
= 0 ;
10007 PyObject
* obj2
= 0 ;
10008 char *kwnames
[] = {
10009 (char *) "self",(char *) "self",(char *) "_class", NULL
10012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10019 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10021 wxPyEndAllowThreads(__tstate
);
10022 if (PyErr_Occurred()) SWIG_fail
;
10024 Py_INCREF(Py_None
); resultobj
= Py_None
;
10031 static PyObject
*_wrap_VListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10032 PyObject
*resultobj
;
10033 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10034 wxWindow
*arg2
= (wxWindow
*) 0 ;
10035 int arg3
= (int) wxID_ANY
;
10036 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10037 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10038 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10039 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10040 long arg6
= (long) 0 ;
10041 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
10042 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10046 bool temp7
= false ;
10047 PyObject
* obj0
= 0 ;
10048 PyObject
* obj1
= 0 ;
10049 PyObject
* obj2
= 0 ;
10050 PyObject
* obj3
= 0 ;
10051 PyObject
* obj4
= 0 ;
10052 PyObject
* obj5
= 0 ;
10053 PyObject
* obj6
= 0 ;
10054 char *kwnames
[] = {
10055 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10061 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10064 arg3
= (int)SWIG_As_int(obj2
);
10065 if (PyErr_Occurred()) SWIG_fail
;
10070 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10076 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10080 arg6
= (long)SWIG_As_long(obj5
);
10081 if (PyErr_Occurred()) SWIG_fail
;
10085 arg7
= wxString_in_helper(obj6
);
10086 if (arg7
== NULL
) SWIG_fail
;
10091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10092 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10094 wxPyEndAllowThreads(__tstate
);
10095 if (PyErr_Occurred()) SWIG_fail
;
10098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10114 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10115 PyObject
*resultobj
;
10116 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10118 PyObject
* obj0
= 0 ;
10119 char *kwnames
[] = {
10120 (char *) "self", NULL
10123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
10124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10128 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
10130 wxPyEndAllowThreads(__tstate
);
10131 if (PyErr_Occurred()) SWIG_fail
;
10133 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
10140 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10141 PyObject
*resultobj
;
10142 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10144 PyObject
* obj0
= 0 ;
10145 char *kwnames
[] = {
10146 (char *) "self", NULL
10149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
10150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10154 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
10156 wxPyEndAllowThreads(__tstate
);
10157 if (PyErr_Occurred()) SWIG_fail
;
10160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10168 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10169 PyObject
*resultobj
;
10170 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10172 PyObject
* obj0
= 0 ;
10173 char *kwnames
[] = {
10174 (char *) "self", NULL
10177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
10178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10182 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
10184 wxPyEndAllowThreads(__tstate
);
10185 if (PyErr_Occurred()) SWIG_fail
;
10187 resultobj
= SWIG_From_int((int)result
);
10194 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10195 PyObject
*resultobj
;
10196 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10199 PyObject
* obj0
= 0 ;
10200 PyObject
* obj1
= 0 ;
10201 char *kwnames
[] = {
10202 (char *) "self",(char *) "item", NULL
10205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
10206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10208 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10209 if (PyErr_Occurred()) SWIG_fail
;
10211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10212 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
10214 wxPyEndAllowThreads(__tstate
);
10215 if (PyErr_Occurred()) SWIG_fail
;
10218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10226 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10227 PyObject
*resultobj
;
10228 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10231 PyObject
* obj0
= 0 ;
10232 PyObject
* obj1
= 0 ;
10233 char *kwnames
[] = {
10234 (char *) "self",(char *) "item", NULL
10237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
10238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10240 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10241 if (PyErr_Occurred()) SWIG_fail
;
10243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10244 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
10246 wxPyEndAllowThreads(__tstate
);
10247 if (PyErr_Occurred()) SWIG_fail
;
10250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10258 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10259 PyObject
*resultobj
;
10260 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10262 PyObject
* obj0
= 0 ;
10263 char *kwnames
[] = {
10264 (char *) "self", NULL
10267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
10268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10272 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
10274 wxPyEndAllowThreads(__tstate
);
10275 if (PyErr_Occurred()) SWIG_fail
;
10277 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
10284 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10285 PyObject
*resultobj
;
10286 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10288 PyObject
* obj0
= 0 ;
10289 char *kwnames
[] = {
10290 (char *) "self", NULL
10293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
10294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10298 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
10300 wxPyEndAllowThreads(__tstate
);
10301 if (PyErr_Occurred()) SWIG_fail
;
10303 resultobj
= result
;
10310 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10311 PyObject
*resultobj
;
10312 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10313 unsigned long arg2
;
10315 PyObject
* obj0
= 0 ;
10316 PyObject
* obj1
= 0 ;
10317 char *kwnames
[] = {
10318 (char *) "self",(char *) "cookie", NULL
10321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
10322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10324 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
10325 if (PyErr_Occurred()) SWIG_fail
;
10327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10328 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
10330 wxPyEndAllowThreads(__tstate
);
10331 if (PyErr_Occurred()) SWIG_fail
;
10333 resultobj
= result
;
10340 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10341 PyObject
*resultobj
;
10342 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10344 PyObject
* obj0
= 0 ;
10345 char *kwnames
[] = {
10346 (char *) "self", NULL
10349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
10350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10354 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
10356 wxPyEndAllowThreads(__tstate
);
10357 if (PyErr_Occurred()) SWIG_fail
;
10360 wxPoint
* resultptr
;
10361 resultptr
= new wxPoint((wxPoint
&) result
);
10362 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
10370 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10371 PyObject
*resultobj
;
10372 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10374 PyObject
* obj0
= 0 ;
10375 char *kwnames
[] = {
10376 (char *) "self", NULL
10379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
10380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10385 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
10386 result
= (wxColour
*) &_result_ref
;
10389 wxPyEndAllowThreads(__tstate
);
10390 if (PyErr_Occurred()) SWIG_fail
;
10392 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
10399 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10400 PyObject
*resultobj
;
10401 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10403 PyObject
* obj0
= 0 ;
10404 PyObject
* obj1
= 0 ;
10405 char *kwnames
[] = {
10406 (char *) "self",(char *) "count", NULL
10409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10412 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10413 if (PyErr_Occurred()) SWIG_fail
;
10415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10416 (arg1
)->SetItemCount(arg2
);
10418 wxPyEndAllowThreads(__tstate
);
10419 if (PyErr_Occurred()) SWIG_fail
;
10421 Py_INCREF(Py_None
); resultobj
= Py_None
;
10428 static PyObject
*_wrap_VListBox_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10429 PyObject
*resultobj
;
10430 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10431 PyObject
* obj0
= 0 ;
10432 char *kwnames
[] = {
10433 (char *) "self", NULL
10436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
10437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10443 wxPyEndAllowThreads(__tstate
);
10444 if (PyErr_Occurred()) SWIG_fail
;
10446 Py_INCREF(Py_None
); resultobj
= Py_None
;
10453 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10454 PyObject
*resultobj
;
10455 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10457 PyObject
* obj0
= 0 ;
10458 PyObject
* obj1
= 0 ;
10459 char *kwnames
[] = {
10460 (char *) "self",(char *) "selection", NULL
10463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
10464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10466 arg2
= (int)SWIG_As_int(obj1
);
10467 if (PyErr_Occurred()) SWIG_fail
;
10469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10470 (arg1
)->SetSelection(arg2
);
10472 wxPyEndAllowThreads(__tstate
);
10473 if (PyErr_Occurred()) SWIG_fail
;
10475 Py_INCREF(Py_None
); resultobj
= Py_None
;
10482 static PyObject
*_wrap_VListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10483 PyObject
*resultobj
;
10484 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10486 bool arg3
= (bool) true ;
10488 PyObject
* obj0
= 0 ;
10489 PyObject
* obj1
= 0 ;
10490 PyObject
* obj2
= 0 ;
10491 char *kwnames
[] = {
10492 (char *) "self",(char *) "item",(char *) "select", NULL
10495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10498 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10499 if (PyErr_Occurred()) SWIG_fail
;
10501 arg3
= (bool)SWIG_As_bool(obj2
);
10502 if (PyErr_Occurred()) SWIG_fail
;
10505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10506 result
= (bool)(arg1
)->Select(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_SelectRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10521 PyObject
*resultobj
;
10522 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10526 PyObject
* obj0
= 0 ;
10527 PyObject
* obj1
= 0 ;
10528 PyObject
* obj2
= 0 ;
10529 char *kwnames
[] = {
10530 (char *) "self",(char *) "from",(char *) "to", NULL
10533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10536 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10537 if (PyErr_Occurred()) SWIG_fail
;
10538 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
10539 if (PyErr_Occurred()) SWIG_fail
;
10541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10542 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
10544 wxPyEndAllowThreads(__tstate
);
10545 if (PyErr_Occurred()) SWIG_fail
;
10548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10556 static PyObject
*_wrap_VListBox_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10557 PyObject
*resultobj
;
10558 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10560 PyObject
* obj0
= 0 ;
10561 PyObject
* obj1
= 0 ;
10562 char *kwnames
[] = {
10563 (char *) "self",(char *) "item", NULL
10566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
10567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10569 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10570 if (PyErr_Occurred()) SWIG_fail
;
10572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10573 (arg1
)->Toggle(arg2
);
10575 wxPyEndAllowThreads(__tstate
);
10576 if (PyErr_Occurred()) SWIG_fail
;
10578 Py_INCREF(Py_None
); resultobj
= Py_None
;
10585 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10586 PyObject
*resultobj
;
10587 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10589 PyObject
* obj0
= 0 ;
10590 char *kwnames
[] = {
10591 (char *) "self", NULL
10594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
10595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10599 result
= (bool)(arg1
)->SelectAll();
10601 wxPyEndAllowThreads(__tstate
);
10602 if (PyErr_Occurred()) SWIG_fail
;
10605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10613 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10614 PyObject
*resultobj
;
10615 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10617 PyObject
* obj0
= 0 ;
10618 char *kwnames
[] = {
10619 (char *) "self", NULL
10622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
10623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10627 result
= (bool)(arg1
)->DeselectAll();
10629 wxPyEndAllowThreads(__tstate
);
10630 if (PyErr_Occurred()) SWIG_fail
;
10633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10641 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10642 PyObject
*resultobj
;
10643 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10644 wxPoint
*arg2
= 0 ;
10646 PyObject
* obj0
= 0 ;
10647 PyObject
* obj1
= 0 ;
10648 char *kwnames
[] = {
10649 (char *) "self",(char *) "pt", NULL
10652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
10653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10657 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10661 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
10663 wxPyEndAllowThreads(__tstate
);
10664 if (PyErr_Occurred()) SWIG_fail
;
10666 Py_INCREF(Py_None
); resultobj
= Py_None
;
10673 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10674 PyObject
*resultobj
;
10675 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10678 PyObject
* obj0
= 0 ;
10679 PyObject
* obj1
= 0 ;
10680 PyObject
* obj2
= 0 ;
10681 char *kwnames
[] = {
10682 (char *) "self",(char *) "x",(char *) "y", NULL
10685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10688 arg2
= (int)SWIG_As_int(obj1
);
10689 if (PyErr_Occurred()) SWIG_fail
;
10690 arg3
= (int)SWIG_As_int(obj2
);
10691 if (PyErr_Occurred()) SWIG_fail
;
10693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10694 (arg1
)->SetMargins(arg2
,arg3
);
10696 wxPyEndAllowThreads(__tstate
);
10697 if (PyErr_Occurred()) SWIG_fail
;
10699 Py_INCREF(Py_None
); resultobj
= Py_None
;
10706 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10707 PyObject
*resultobj
;
10708 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
10709 wxColour
*arg2
= 0 ;
10711 PyObject
* obj0
= 0 ;
10712 PyObject
* obj1
= 0 ;
10713 char *kwnames
[] = {
10714 (char *) "self",(char *) "col", NULL
10717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
10718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyVListBox
,
10719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10722 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10726 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
10728 wxPyEndAllowThreads(__tstate
);
10729 if (PyErr_Occurred()) SWIG_fail
;
10731 Py_INCREF(Py_None
); resultobj
= Py_None
;
10738 static PyObject
* VListBox_swigregister(PyObject
*, PyObject
*args
) {
10740 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10741 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
10743 return Py_BuildValue((char *)"");
10745 static PyObject
*_wrap_new_HtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10746 PyObject
*resultobj
;
10747 wxWindow
*arg1
= (wxWindow
*) 0 ;
10748 int arg2
= (int) wxID_ANY
;
10749 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10750 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10751 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10752 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10753 long arg5
= (long) 0 ;
10754 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
10755 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10756 wxPyHtmlListBox
*result
;
10759 bool temp6
= false ;
10760 PyObject
* obj0
= 0 ;
10761 PyObject
* obj1
= 0 ;
10762 PyObject
* obj2
= 0 ;
10763 PyObject
* obj3
= 0 ;
10764 PyObject
* obj4
= 0 ;
10765 PyObject
* obj5
= 0 ;
10766 char *kwnames
[] = {
10767 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10774 arg2
= (int)SWIG_As_int(obj1
);
10775 if (PyErr_Occurred()) SWIG_fail
;
10780 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10786 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10790 arg5
= (long)SWIG_As_long(obj4
);
10791 if (PyErr_Occurred()) SWIG_fail
;
10795 arg6
= wxString_in_helper(obj5
);
10796 if (arg6
== NULL
) SWIG_fail
;
10801 if (!wxPyCheckForApp()) SWIG_fail
;
10802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10803 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10805 wxPyEndAllowThreads(__tstate
);
10806 if (PyErr_Occurred()) SWIG_fail
;
10808 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10823 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10824 PyObject
*resultobj
;
10825 wxPyHtmlListBox
*result
;
10826 char *kwnames
[] = {
10830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
10832 if (!wxPyCheckForApp()) SWIG_fail
;
10833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10834 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
10836 wxPyEndAllowThreads(__tstate
);
10837 if (PyErr_Occurred()) SWIG_fail
;
10839 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
10846 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10847 PyObject
*resultobj
;
10848 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10849 PyObject
*arg2
= (PyObject
*) 0 ;
10850 PyObject
*arg3
= (PyObject
*) 0 ;
10851 PyObject
* obj0
= 0 ;
10852 PyObject
* obj1
= 0 ;
10853 PyObject
* obj2
= 0 ;
10854 char *kwnames
[] = {
10855 (char *) "self",(char *) "self",(char *) "_class", NULL
10858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10865 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10867 wxPyEndAllowThreads(__tstate
);
10868 if (PyErr_Occurred()) SWIG_fail
;
10870 Py_INCREF(Py_None
); resultobj
= Py_None
;
10877 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10878 PyObject
*resultobj
;
10879 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10880 wxWindow
*arg2
= (wxWindow
*) 0 ;
10881 int arg3
= (int) wxID_ANY
;
10882 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10883 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10884 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10885 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10886 long arg6
= (long) 0 ;
10887 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
10888 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10892 bool temp7
= false ;
10893 PyObject
* obj0
= 0 ;
10894 PyObject
* obj1
= 0 ;
10895 PyObject
* obj2
= 0 ;
10896 PyObject
* obj3
= 0 ;
10897 PyObject
* obj4
= 0 ;
10898 PyObject
* obj5
= 0 ;
10899 PyObject
* obj6
= 0 ;
10900 char *kwnames
[] = {
10901 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10907 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10910 arg3
= (int)SWIG_As_int(obj2
);
10911 if (PyErr_Occurred()) SWIG_fail
;
10916 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10922 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10926 arg6
= (long)SWIG_As_long(obj5
);
10927 if (PyErr_Occurred()) SWIG_fail
;
10931 arg7
= wxString_in_helper(obj6
);
10932 if (arg7
== NULL
) SWIG_fail
;
10937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10938 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10940 wxPyEndAllowThreads(__tstate
);
10941 if (PyErr_Occurred()) SWIG_fail
;
10944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10960 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10961 PyObject
*resultobj
;
10962 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10963 PyObject
* obj0
= 0 ;
10964 char *kwnames
[] = {
10965 (char *) "self", NULL
10968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
10969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10973 (arg1
)->RefreshAll();
10975 wxPyEndAllowThreads(__tstate
);
10976 if (PyErr_Occurred()) SWIG_fail
;
10978 Py_INCREF(Py_None
); resultobj
= Py_None
;
10985 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10986 PyObject
*resultobj
;
10987 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
10989 PyObject
* obj0
= 0 ;
10990 PyObject
* obj1
= 0 ;
10991 char *kwnames
[] = {
10992 (char *) "self",(char *) "count", NULL
10995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
10996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
10997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10998 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
10999 if (PyErr_Occurred()) SWIG_fail
;
11001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11002 (arg1
)->SetItemCount(arg2
);
11004 wxPyEndAllowThreads(__tstate
);
11005 if (PyErr_Occurred()) SWIG_fail
;
11007 Py_INCREF(Py_None
); resultobj
= Py_None
;
11014 static PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11015 PyObject
*resultobj
;
11016 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
11017 wxFileSystem
*result
;
11018 PyObject
* obj0
= 0 ;
11019 char *kwnames
[] = {
11020 (char *) "self", NULL
11023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_GetFileSystem",kwnames
,&obj0
)) goto fail
;
11024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyHtmlListBox
,
11025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11029 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
11030 result
= (wxFileSystem
*) &_result_ref
;
11033 wxPyEndAllowThreads(__tstate
);
11034 if (PyErr_Occurred()) SWIG_fail
;
11036 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileSystem
, 0);
11043 static PyObject
* HtmlListBox_swigregister(PyObject
*, PyObject
*args
) {
11045 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11046 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
11048 return Py_BuildValue((char *)"");
11050 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11051 PyObject
*resultobj
;
11052 wxPyTaskBarIcon
*result
;
11053 char *kwnames
[] = {
11057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
11059 if (!wxPyCheckForApp()) SWIG_fail
;
11060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11061 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
11063 wxPyEndAllowThreads(__tstate
);
11064 if (PyErr_Occurred()) SWIG_fail
;
11066 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTaskBarIcon
, 1);
11073 static PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11074 PyObject
*resultobj
;
11075 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
11076 PyObject
*arg2
= (PyObject
*) 0 ;
11077 PyObject
*arg3
= (PyObject
*) 0 ;
11079 PyObject
* obj0
= 0 ;
11080 PyObject
* obj1
= 0 ;
11081 PyObject
* obj2
= 0 ;
11082 PyObject
* obj3
= 0 ;
11083 char *kwnames
[] = {
11084 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
11087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTaskBarIcon
,
11089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11092 arg4
= (int)SWIG_As_int(obj3
);
11093 if (PyErr_Occurred()) SWIG_fail
;
11095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11096 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
11098 wxPyEndAllowThreads(__tstate
);
11099 if (PyErr_Occurred()) SWIG_fail
;
11101 Py_INCREF(Py_None
); resultobj
= Py_None
;
11108 static PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11109 PyObject
*resultobj
;
11110 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
11111 PyObject
* obj0
= 0 ;
11112 char *kwnames
[] = {
11113 (char *) "self", NULL
11116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_Destroy",kwnames
,&obj0
)) goto fail
;
11117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTaskBarIcon
,
11118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11121 wxPyTaskBarIcon_Destroy(arg1
);
11123 wxPyEndAllowThreads(__tstate
);
11124 if (PyErr_Occurred()) SWIG_fail
;
11126 Py_INCREF(Py_None
); resultobj
= Py_None
;
11133 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11134 PyObject
*resultobj
;
11135 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
11137 PyObject
* obj0
= 0 ;
11138 char *kwnames
[] = {
11139 (char *) "self", NULL
11142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
11143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTaskBarIcon
,
11144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11147 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
11149 wxPyEndAllowThreads(__tstate
);
11150 if (PyErr_Occurred()) SWIG_fail
;
11153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11161 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11162 PyObject
*resultobj
;
11163 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
11165 PyObject
* obj0
= 0 ;
11166 char *kwnames
[] = {
11167 (char *) "self", NULL
11170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
11171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTaskBarIcon
,
11172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11175 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
11177 wxPyEndAllowThreads(__tstate
);
11178 if (PyErr_Occurred()) SWIG_fail
;
11181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11189 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11190 PyObject
*resultobj
;
11191 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
11193 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11194 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11196 bool temp3
= false ;
11197 PyObject
* obj0
= 0 ;
11198 PyObject
* obj1
= 0 ;
11199 PyObject
* obj2
= 0 ;
11200 char *kwnames
[] = {
11201 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
11204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTaskBarIcon
,
11206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11207 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
11208 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11210 if (arg2
== NULL
) {
11211 PyErr_SetString(PyExc_TypeError
,"null reference");
11216 arg3
= wxString_in_helper(obj2
);
11217 if (arg3
== NULL
) SWIG_fail
;
11222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11223 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
11225 wxPyEndAllowThreads(__tstate
);
11226 if (PyErr_Occurred()) SWIG_fail
;
11229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11245 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11246 PyObject
*resultobj
;
11247 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
11249 PyObject
* obj0
= 0 ;
11250 char *kwnames
[] = {
11251 (char *) "self", NULL
11254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
11255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTaskBarIcon
,
11256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11259 result
= (bool)(arg1
)->RemoveIcon();
11261 wxPyEndAllowThreads(__tstate
);
11262 if (PyErr_Occurred()) SWIG_fail
;
11265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11273 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11274 PyObject
*resultobj
;
11275 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
11276 wxMenu
*arg2
= (wxMenu
*) 0 ;
11278 PyObject
* obj0
= 0 ;
11279 PyObject
* obj1
= 0 ;
11280 char *kwnames
[] = {
11281 (char *) "self",(char *) "menu", NULL
11284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
11285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTaskBarIcon
,
11286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11287 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
11288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11291 result
= (bool)(arg1
)->PopupMenu(arg2
);
11293 wxPyEndAllowThreads(__tstate
);
11294 if (PyErr_Occurred()) SWIG_fail
;
11297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11305 static PyObject
* TaskBarIcon_swigregister(PyObject
*, PyObject
*args
) {
11307 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11308 SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon
, obj
);
11310 return Py_BuildValue((char *)"");
11312 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11313 PyObject
*resultobj
;
11315 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
11316 wxTaskBarIconEvent
*result
;
11317 PyObject
* obj0
= 0 ;
11318 PyObject
* obj1
= 0 ;
11319 char *kwnames
[] = {
11320 (char *) "evtType",(char *) "tbIcon", NULL
11323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11324 arg1
= (wxEventType
)SWIG_As_int(obj0
);
11325 if (PyErr_Occurred()) SWIG_fail
;
11326 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTaskBarIcon
,
11327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11330 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
11332 wxPyEndAllowThreads(__tstate
);
11333 if (PyErr_Occurred()) SWIG_fail
;
11335 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
11342 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*, PyObject
*args
) {
11344 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11345 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
11347 return Py_BuildValue((char *)"");
11349 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
11350 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
11355 static PyObject
*_wrap_FileSelectorPromptStr_get() {
11360 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
11362 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
11369 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
11370 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
11375 static PyObject
*_wrap_DirSelectorPromptStr_get() {
11380 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
11382 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
11389 static int _wrap_DirDialogNameStr_set(PyObject
*) {
11390 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
11395 static PyObject
*_wrap_DirDialogNameStr_get() {
11400 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
11402 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
11409 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
11410 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
11415 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
11420 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
11422 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
11429 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*) {
11430 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
11435 static PyObject
*_wrap_GetTextFromUserPromptStr_get() {
11440 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
11442 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
11449 static int _wrap_MessageBoxCaptionStr_set(PyObject
*) {
11450 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
11455 static PyObject
*_wrap_MessageBoxCaptionStr_get() {
11460 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
11462 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
11469 static PyObject
*_wrap_new_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11470 PyObject
*resultobj
;
11471 wxColourData
*result
;
11472 char *kwnames
[] = {
11476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
11478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11479 result
= (wxColourData
*)new wxColourData();
11481 wxPyEndAllowThreads(__tstate
);
11482 if (PyErr_Occurred()) SWIG_fail
;
11484 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
11491 static PyObject
*_wrap_delete_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11492 PyObject
*resultobj
;
11493 wxColourData
*arg1
= (wxColourData
*) 0 ;
11494 PyObject
* obj0
= 0 ;
11495 char *kwnames
[] = {
11496 (char *) "self", NULL
11499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
11500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11506 wxPyEndAllowThreads(__tstate
);
11507 if (PyErr_Occurred()) SWIG_fail
;
11509 Py_INCREF(Py_None
); resultobj
= Py_None
;
11516 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11517 PyObject
*resultobj
;
11518 wxColourData
*arg1
= (wxColourData
*) 0 ;
11520 PyObject
* obj0
= 0 ;
11521 char *kwnames
[] = {
11522 (char *) "self", NULL
11525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
11526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11530 result
= (bool)(arg1
)->GetChooseFull();
11532 wxPyEndAllowThreads(__tstate
);
11533 if (PyErr_Occurred()) SWIG_fail
;
11536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11544 static PyObject
*_wrap_ColourData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11545 PyObject
*resultobj
;
11546 wxColourData
*arg1
= (wxColourData
*) 0 ;
11548 PyObject
* obj0
= 0 ;
11549 char *kwnames
[] = {
11550 (char *) "self", NULL
11553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
11554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11558 result
= (arg1
)->GetColour();
11560 wxPyEndAllowThreads(__tstate
);
11561 if (PyErr_Occurred()) SWIG_fail
;
11564 wxColour
* resultptr
;
11565 resultptr
= new wxColour((wxColour
&) result
);
11566 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11574 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11575 PyObject
*resultobj
;
11576 wxColourData
*arg1
= (wxColourData
*) 0 ;
11579 PyObject
* obj0
= 0 ;
11580 PyObject
* obj1
= 0 ;
11581 char *kwnames
[] = {
11582 (char *) "self",(char *) "i", NULL
11585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11588 arg2
= (int)SWIG_As_int(obj1
);
11589 if (PyErr_Occurred()) SWIG_fail
;
11591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11592 result
= (arg1
)->GetCustomColour(arg2
);
11594 wxPyEndAllowThreads(__tstate
);
11595 if (PyErr_Occurred()) SWIG_fail
;
11598 wxColour
* resultptr
;
11599 resultptr
= new wxColour((wxColour
&) result
);
11600 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
11608 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11609 PyObject
*resultobj
;
11610 wxColourData
*arg1
= (wxColourData
*) 0 ;
11612 PyObject
* obj0
= 0 ;
11613 PyObject
* obj1
= 0 ;
11614 char *kwnames
[] = {
11615 (char *) "self",(char *) "flag", NULL
11618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
11619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11621 arg2
= (int)SWIG_As_int(obj1
);
11622 if (PyErr_Occurred()) SWIG_fail
;
11624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11625 (arg1
)->SetChooseFull(arg2
);
11627 wxPyEndAllowThreads(__tstate
);
11628 if (PyErr_Occurred()) SWIG_fail
;
11630 Py_INCREF(Py_None
); resultobj
= Py_None
;
11637 static PyObject
*_wrap_ColourData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11638 PyObject
*resultobj
;
11639 wxColourData
*arg1
= (wxColourData
*) 0 ;
11640 wxColour
*arg2
= 0 ;
11642 PyObject
* obj0
= 0 ;
11643 PyObject
* obj1
= 0 ;
11644 char *kwnames
[] = {
11645 (char *) "self",(char *) "colour", NULL
11648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
11649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11653 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
11656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11657 (arg1
)->SetColour((wxColour
const &)*arg2
);
11659 wxPyEndAllowThreads(__tstate
);
11660 if (PyErr_Occurred()) SWIG_fail
;
11662 Py_INCREF(Py_None
); resultobj
= Py_None
;
11669 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11670 PyObject
*resultobj
;
11671 wxColourData
*arg1
= (wxColourData
*) 0 ;
11673 wxColour
*arg3
= 0 ;
11675 PyObject
* obj0
= 0 ;
11676 PyObject
* obj1
= 0 ;
11677 PyObject
* obj2
= 0 ;
11678 char *kwnames
[] = {
11679 (char *) "self",(char *) "i",(char *) "colour", NULL
11682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourData
,
11684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11685 arg2
= (int)SWIG_As_int(obj1
);
11686 if (PyErr_Occurred()) SWIG_fail
;
11689 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11693 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
11695 wxPyEndAllowThreads(__tstate
);
11696 if (PyErr_Occurred()) SWIG_fail
;
11698 Py_INCREF(Py_None
); resultobj
= Py_None
;
11705 static PyObject
* ColourData_swigregister(PyObject
*, PyObject
*args
) {
11707 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11708 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
11710 return Py_BuildValue((char *)"");
11712 static PyObject
*_wrap_new_ColourDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11713 PyObject
*resultobj
;
11714 wxWindow
*arg1
= (wxWindow
*) 0 ;
11715 wxColourData
*arg2
= (wxColourData
*) NULL
;
11716 wxColourDialog
*result
;
11717 PyObject
* obj0
= 0 ;
11718 PyObject
* obj1
= 0 ;
11719 char *kwnames
[] = {
11720 (char *) "parent",(char *) "data", NULL
11723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
11724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11727 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColourData
,
11728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11731 if (!wxPyCheckForApp()) SWIG_fail
;
11732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11733 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
11735 wxPyEndAllowThreads(__tstate
);
11736 if (PyErr_Occurred()) SWIG_fail
;
11738 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
11745 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11746 PyObject
*resultobj
;
11747 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
11748 wxColourData
*result
;
11749 PyObject
* obj0
= 0 ;
11750 char *kwnames
[] = {
11751 (char *) "self", NULL
11754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
11755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxColourDialog
,
11756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11760 wxColourData
&_result_ref
= (arg1
)->GetColourData();
11761 result
= (wxColourData
*) &_result_ref
;
11764 wxPyEndAllowThreads(__tstate
);
11765 if (PyErr_Occurred()) SWIG_fail
;
11767 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
11774 static PyObject
* ColourDialog_swigregister(PyObject
*, PyObject
*args
) {
11776 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11777 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
11779 return Py_BuildValue((char *)"");
11781 static PyObject
*_wrap_new_DirDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11782 PyObject
*resultobj
;
11783 wxWindow
*arg1
= (wxWindow
*) 0 ;
11784 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
11785 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11786 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11787 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11788 long arg4
= (long) 0 ;
11789 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11790 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11791 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11792 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11793 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
11794 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11795 wxDirDialog
*result
;
11796 bool temp2
= false ;
11797 bool temp3
= false ;
11800 bool temp7
= false ;
11801 PyObject
* obj0
= 0 ;
11802 PyObject
* obj1
= 0 ;
11803 PyObject
* obj2
= 0 ;
11804 PyObject
* obj3
= 0 ;
11805 PyObject
* obj4
= 0 ;
11806 PyObject
* obj5
= 0 ;
11807 PyObject
* obj6
= 0 ;
11808 char *kwnames
[] = {
11809 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11817 arg2
= wxString_in_helper(obj1
);
11818 if (arg2
== NULL
) SWIG_fail
;
11824 arg3
= wxString_in_helper(obj2
);
11825 if (arg3
== NULL
) SWIG_fail
;
11830 arg4
= (long)SWIG_As_long(obj3
);
11831 if (PyErr_Occurred()) SWIG_fail
;
11836 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11842 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11847 arg7
= wxString_in_helper(obj6
);
11848 if (arg7
== NULL
) SWIG_fail
;
11853 if (!wxPyCheckForApp()) SWIG_fail
;
11854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11855 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
11857 wxPyEndAllowThreads(__tstate
);
11858 if (PyErr_Occurred()) SWIG_fail
;
11860 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
11891 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11892 PyObject
*resultobj
;
11893 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11895 PyObject
* obj0
= 0 ;
11896 char *kwnames
[] = {
11897 (char *) "self", NULL
11900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
11901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11905 result
= (arg1
)->GetPath();
11907 wxPyEndAllowThreads(__tstate
);
11908 if (PyErr_Occurred()) SWIG_fail
;
11912 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11914 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11923 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11924 PyObject
*resultobj
;
11925 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11927 PyObject
* obj0
= 0 ;
11928 char *kwnames
[] = {
11929 (char *) "self", NULL
11932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
11933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11937 result
= (arg1
)->GetMessage();
11939 wxPyEndAllowThreads(__tstate
);
11940 if (PyErr_Occurred()) SWIG_fail
;
11944 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11946 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11955 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11956 PyObject
*resultobj
;
11957 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11959 PyObject
* obj0
= 0 ;
11960 char *kwnames
[] = {
11961 (char *) "self", NULL
11964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
11965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11969 result
= (long)(arg1
)->GetStyle();
11971 wxPyEndAllowThreads(__tstate
);
11972 if (PyErr_Occurred()) SWIG_fail
;
11974 resultobj
= SWIG_From_long((long)result
);
11981 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11982 PyObject
*resultobj
;
11983 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
11984 wxString
*arg2
= 0 ;
11985 bool temp2
= false ;
11986 PyObject
* obj0
= 0 ;
11987 PyObject
* obj1
= 0 ;
11988 char *kwnames
[] = {
11989 (char *) "self",(char *) "message", NULL
11992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
11993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
11994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11996 arg2
= wxString_in_helper(obj1
);
11997 if (arg2
== NULL
) SWIG_fail
;
12001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12002 (arg1
)->SetMessage((wxString
const &)*arg2
);
12004 wxPyEndAllowThreads(__tstate
);
12005 if (PyErr_Occurred()) SWIG_fail
;
12007 Py_INCREF(Py_None
); resultobj
= Py_None
;
12022 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12023 PyObject
*resultobj
;
12024 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
12025 wxString
*arg2
= 0 ;
12026 bool temp2
= false ;
12027 PyObject
* obj0
= 0 ;
12028 PyObject
* obj1
= 0 ;
12029 char *kwnames
[] = {
12030 (char *) "self",(char *) "path", NULL
12033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
12034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirDialog
,
12035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12037 arg2
= wxString_in_helper(obj1
);
12038 if (arg2
== NULL
) SWIG_fail
;
12042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12043 (arg1
)->SetPath((wxString
const &)*arg2
);
12045 wxPyEndAllowThreads(__tstate
);
12046 if (PyErr_Occurred()) SWIG_fail
;
12048 Py_INCREF(Py_None
); resultobj
= Py_None
;
12063 static PyObject
* DirDialog_swigregister(PyObject
*, PyObject
*args
) {
12065 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12066 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
12068 return Py_BuildValue((char *)"");
12070 static PyObject
*_wrap_new_FileDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12071 PyObject
*resultobj
;
12072 wxWindow
*arg1
= (wxWindow
*) 0 ;
12073 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
12074 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12075 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12076 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12077 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12078 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12079 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
12080 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
12081 long arg6
= (long) 0 ;
12082 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12083 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12084 wxFileDialog
*result
;
12085 bool temp2
= false ;
12086 bool temp3
= false ;
12087 bool temp4
= false ;
12088 bool temp5
= false ;
12090 PyObject
* obj0
= 0 ;
12091 PyObject
* obj1
= 0 ;
12092 PyObject
* obj2
= 0 ;
12093 PyObject
* obj3
= 0 ;
12094 PyObject
* obj4
= 0 ;
12095 PyObject
* obj5
= 0 ;
12096 PyObject
* obj6
= 0 ;
12097 char *kwnames
[] = {
12098 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
12101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12106 arg2
= wxString_in_helper(obj1
);
12107 if (arg2
== NULL
) SWIG_fail
;
12113 arg3
= wxString_in_helper(obj2
);
12114 if (arg3
== NULL
) SWIG_fail
;
12120 arg4
= wxString_in_helper(obj3
);
12121 if (arg4
== NULL
) SWIG_fail
;
12127 arg5
= wxString_in_helper(obj4
);
12128 if (arg5
== NULL
) SWIG_fail
;
12133 arg6
= (long)SWIG_As_long(obj5
);
12134 if (PyErr_Occurred()) SWIG_fail
;
12139 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
12143 if (!wxPyCheckForApp()) SWIG_fail
;
12144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12145 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
12147 wxPyEndAllowThreads(__tstate
);
12148 if (PyErr_Occurred()) SWIG_fail
;
12150 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
12189 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12190 PyObject
*resultobj
;
12191 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12192 wxString
*arg2
= 0 ;
12193 bool temp2
= false ;
12194 PyObject
* obj0
= 0 ;
12195 PyObject
* obj1
= 0 ;
12196 char *kwnames
[] = {
12197 (char *) "self",(char *) "message", NULL
12200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
12201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12204 arg2
= wxString_in_helper(obj1
);
12205 if (arg2
== NULL
) SWIG_fail
;
12209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12210 (arg1
)->SetMessage((wxString
const &)*arg2
);
12212 wxPyEndAllowThreads(__tstate
);
12213 if (PyErr_Occurred()) SWIG_fail
;
12215 Py_INCREF(Py_None
); resultobj
= Py_None
;
12230 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12231 PyObject
*resultobj
;
12232 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12233 wxString
*arg2
= 0 ;
12234 bool temp2
= false ;
12235 PyObject
* obj0
= 0 ;
12236 PyObject
* obj1
= 0 ;
12237 char *kwnames
[] = {
12238 (char *) "self",(char *) "path", NULL
12241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
12242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12245 arg2
= wxString_in_helper(obj1
);
12246 if (arg2
== NULL
) SWIG_fail
;
12250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12251 (arg1
)->SetPath((wxString
const &)*arg2
);
12253 wxPyEndAllowThreads(__tstate
);
12254 if (PyErr_Occurred()) SWIG_fail
;
12256 Py_INCREF(Py_None
); resultobj
= Py_None
;
12271 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12272 PyObject
*resultobj
;
12273 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12274 wxString
*arg2
= 0 ;
12275 bool temp2
= false ;
12276 PyObject
* obj0
= 0 ;
12277 PyObject
* obj1
= 0 ;
12278 char *kwnames
[] = {
12279 (char *) "self",(char *) "dir", NULL
12282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
12283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12286 arg2
= wxString_in_helper(obj1
);
12287 if (arg2
== NULL
) SWIG_fail
;
12291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12292 (arg1
)->SetDirectory((wxString
const &)*arg2
);
12294 wxPyEndAllowThreads(__tstate
);
12295 if (PyErr_Occurred()) SWIG_fail
;
12297 Py_INCREF(Py_None
); resultobj
= Py_None
;
12312 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12313 PyObject
*resultobj
;
12314 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12315 wxString
*arg2
= 0 ;
12316 bool temp2
= false ;
12317 PyObject
* obj0
= 0 ;
12318 PyObject
* obj1
= 0 ;
12319 char *kwnames
[] = {
12320 (char *) "self",(char *) "name", NULL
12323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
12324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12327 arg2
= wxString_in_helper(obj1
);
12328 if (arg2
== NULL
) SWIG_fail
;
12332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12333 (arg1
)->SetFilename((wxString
const &)*arg2
);
12335 wxPyEndAllowThreads(__tstate
);
12336 if (PyErr_Occurred()) SWIG_fail
;
12338 Py_INCREF(Py_None
); resultobj
= Py_None
;
12353 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12354 PyObject
*resultobj
;
12355 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12356 wxString
*arg2
= 0 ;
12357 bool temp2
= false ;
12358 PyObject
* obj0
= 0 ;
12359 PyObject
* obj1
= 0 ;
12360 char *kwnames
[] = {
12361 (char *) "self",(char *) "wildCard", NULL
12364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
12365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12368 arg2
= wxString_in_helper(obj1
);
12369 if (arg2
== NULL
) SWIG_fail
;
12373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12374 (arg1
)->SetWildcard((wxString
const &)*arg2
);
12376 wxPyEndAllowThreads(__tstate
);
12377 if (PyErr_Occurred()) SWIG_fail
;
12379 Py_INCREF(Py_None
); resultobj
= Py_None
;
12394 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12395 PyObject
*resultobj
;
12396 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12398 PyObject
* obj0
= 0 ;
12399 PyObject
* obj1
= 0 ;
12400 char *kwnames
[] = {
12401 (char *) "self",(char *) "style", NULL
12404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
12405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12407 arg2
= (long)SWIG_As_long(obj1
);
12408 if (PyErr_Occurred()) SWIG_fail
;
12410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12411 (arg1
)->SetStyle(arg2
);
12413 wxPyEndAllowThreads(__tstate
);
12414 if (PyErr_Occurred()) SWIG_fail
;
12416 Py_INCREF(Py_None
); resultobj
= Py_None
;
12423 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12424 PyObject
*resultobj
;
12425 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12427 PyObject
* obj0
= 0 ;
12428 PyObject
* obj1
= 0 ;
12429 char *kwnames
[] = {
12430 (char *) "self",(char *) "filterIndex", NULL
12433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
12434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12436 arg2
= (int)SWIG_As_int(obj1
);
12437 if (PyErr_Occurred()) SWIG_fail
;
12439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12440 (arg1
)->SetFilterIndex(arg2
);
12442 wxPyEndAllowThreads(__tstate
);
12443 if (PyErr_Occurred()) SWIG_fail
;
12445 Py_INCREF(Py_None
); resultobj
= Py_None
;
12452 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12453 PyObject
*resultobj
;
12454 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12456 PyObject
* obj0
= 0 ;
12457 char *kwnames
[] = {
12458 (char *) "self", NULL
12461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
12462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12466 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
12468 wxPyEndAllowThreads(__tstate
);
12469 if (PyErr_Occurred()) SWIG_fail
;
12473 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12475 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12484 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12485 PyObject
*resultobj
;
12486 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12488 PyObject
* obj0
= 0 ;
12489 char *kwnames
[] = {
12490 (char *) "self", NULL
12493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
12494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12498 result
= ((wxFileDialog
const *)arg1
)->GetPath();
12500 wxPyEndAllowThreads(__tstate
);
12501 if (PyErr_Occurred()) SWIG_fail
;
12505 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12507 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12516 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12517 PyObject
*resultobj
;
12518 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12520 PyObject
* obj0
= 0 ;
12521 char *kwnames
[] = {
12522 (char *) "self", NULL
12525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
12526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12530 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
12532 wxPyEndAllowThreads(__tstate
);
12533 if (PyErr_Occurred()) SWIG_fail
;
12537 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12539 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12548 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12549 PyObject
*resultobj
;
12550 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12552 PyObject
* obj0
= 0 ;
12553 char *kwnames
[] = {
12554 (char *) "self", NULL
12557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
12558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12562 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
12564 wxPyEndAllowThreads(__tstate
);
12565 if (PyErr_Occurred()) SWIG_fail
;
12569 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12571 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12580 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12581 PyObject
*resultobj
;
12582 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12584 PyObject
* obj0
= 0 ;
12585 char *kwnames
[] = {
12586 (char *) "self", NULL
12589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
12590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12594 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
12596 wxPyEndAllowThreads(__tstate
);
12597 if (PyErr_Occurred()) SWIG_fail
;
12601 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12603 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12612 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12613 PyObject
*resultobj
;
12614 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12616 PyObject
* obj0
= 0 ;
12617 char *kwnames
[] = {
12618 (char *) "self", NULL
12621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
12622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12626 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
12628 wxPyEndAllowThreads(__tstate
);
12629 if (PyErr_Occurred()) SWIG_fail
;
12631 resultobj
= SWIG_From_long((long)result
);
12638 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12639 PyObject
*resultobj
;
12640 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12642 PyObject
* obj0
= 0 ;
12643 char *kwnames
[] = {
12644 (char *) "self", NULL
12647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
12648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12652 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
12654 wxPyEndAllowThreads(__tstate
);
12655 if (PyErr_Occurred()) SWIG_fail
;
12657 resultobj
= SWIG_From_int((int)result
);
12664 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12665 PyObject
*resultobj
;
12666 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12668 PyObject
* obj0
= 0 ;
12669 char *kwnames
[] = {
12670 (char *) "self", NULL
12673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
12674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12678 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
12680 wxPyEndAllowThreads(__tstate
);
12681 if (PyErr_Occurred()) SWIG_fail
;
12683 resultobj
= result
;
12690 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12691 PyObject
*resultobj
;
12692 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
12694 PyObject
* obj0
= 0 ;
12695 char *kwnames
[] = {
12696 (char *) "self", NULL
12699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
12700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDialog
,
12701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12704 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
12706 wxPyEndAllowThreads(__tstate
);
12707 if (PyErr_Occurred()) SWIG_fail
;
12709 resultobj
= result
;
12716 static PyObject
* FileDialog_swigregister(PyObject
*, PyObject
*args
) {
12718 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12719 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
12721 return Py_BuildValue((char *)"");
12723 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12724 PyObject
*resultobj
;
12725 wxWindow
*arg1
= (wxWindow
*) 0 ;
12726 wxString
*arg2
= 0 ;
12727 wxString
*arg3
= 0 ;
12728 int arg4
= (int) 0 ;
12729 wxString
*arg5
= (wxString
*) NULL
;
12730 long arg6
= (long) wxCHOICEDLG_STYLE
;
12731 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12732 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12733 wxMultiChoiceDialog
*result
;
12734 bool temp2
= false ;
12735 bool temp3
= false ;
12737 PyObject
* obj0
= 0 ;
12738 PyObject
* obj1
= 0 ;
12739 PyObject
* obj2
= 0 ;
12740 PyObject
* obj3
= 0 ;
12741 PyObject
* obj4
= 0 ;
12742 PyObject
* obj5
= 0 ;
12743 char *kwnames
[] = {
12744 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12751 arg2
= wxString_in_helper(obj1
);
12752 if (arg2
== NULL
) SWIG_fail
;
12756 arg3
= wxString_in_helper(obj2
);
12757 if (arg3
== NULL
) SWIG_fail
;
12762 arg4
= PyList_Size(obj3
);
12763 arg5
= wxString_LIST_helper(obj3
);
12764 if (arg5
== NULL
) SWIG_fail
;
12768 arg6
= (long)SWIG_As_long(obj4
);
12769 if (PyErr_Occurred()) SWIG_fail
;
12774 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12778 if (!wxPyCheckForApp()) SWIG_fail
;
12779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12780 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12782 wxPyEndAllowThreads(__tstate
);
12783 if (PyErr_Occurred()) SWIG_fail
;
12785 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
12795 if (arg5
) delete [] arg5
;
12808 if (arg5
) delete [] arg5
;
12814 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12815 PyObject
*resultobj
;
12816 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12817 wxArrayInt
*arg2
= 0 ;
12818 bool temp2
= false ;
12819 PyObject
* obj0
= 0 ;
12820 PyObject
* obj1
= 0 ;
12821 char *kwnames
[] = {
12822 (char *) "self",(char *) "selections", NULL
12825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
12826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12829 if (! PySequence_Check(obj1
)) {
12830 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
12833 arg2
= new wxArrayInt
;
12835 int i
, len
=PySequence_Length(obj1
);
12836 for (i
=0; i
<len
; i
++) {
12837 PyObject
* item
= PySequence_GetItem(obj1
, i
);
12838 PyObject
* number
= PyNumber_Int(item
);
12839 arg2
->Add(PyInt_AS_LONG(number
));
12845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12846 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
12848 wxPyEndAllowThreads(__tstate
);
12849 if (PyErr_Occurred()) SWIG_fail
;
12851 Py_INCREF(Py_None
); resultobj
= Py_None
;
12853 if (temp2
) delete arg2
;
12858 if (temp2
) delete arg2
;
12864 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12865 PyObject
*resultobj
;
12866 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
12868 PyObject
* obj0
= 0 ;
12869 char *kwnames
[] = {
12870 (char *) "self", NULL
12873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
12874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMultiChoiceDialog
,
12875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12878 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
12880 wxPyEndAllowThreads(__tstate
);
12881 if (PyErr_Occurred()) SWIG_fail
;
12883 resultobj
= result
;
12890 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
12892 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12893 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
12895 return Py_BuildValue((char *)"");
12897 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12898 PyObject
*resultobj
;
12899 wxWindow
*arg1
= (wxWindow
*) 0 ;
12900 wxString
*arg2
= 0 ;
12901 wxString
*arg3
= 0 ;
12903 wxString
*arg5
= (wxString
*) 0 ;
12904 long arg6
= (long) wxCHOICEDLG_STYLE
;
12905 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
12906 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
12907 wxSingleChoiceDialog
*result
;
12908 bool temp2
= false ;
12909 bool temp3
= false ;
12911 PyObject
* obj0
= 0 ;
12912 PyObject
* obj1
= 0 ;
12913 PyObject
* obj2
= 0 ;
12914 PyObject
* obj3
= 0 ;
12915 PyObject
* obj4
= 0 ;
12916 PyObject
* obj5
= 0 ;
12917 char *kwnames
[] = {
12918 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12925 arg2
= wxString_in_helper(obj1
);
12926 if (arg2
== NULL
) SWIG_fail
;
12930 arg3
= wxString_in_helper(obj2
);
12931 if (arg3
== NULL
) SWIG_fail
;
12935 arg4
= PyList_Size(obj3
);
12936 arg5
= wxString_LIST_helper(obj3
);
12937 if (arg5
== NULL
) SWIG_fail
;
12940 arg6
= (long)SWIG_As_long(obj4
);
12941 if (PyErr_Occurred()) SWIG_fail
;
12946 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
12950 if (!wxPyCheckForApp()) SWIG_fail
;
12951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12952 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
12954 wxPyEndAllowThreads(__tstate
);
12955 if (PyErr_Occurred()) SWIG_fail
;
12957 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
12967 if (arg5
) delete [] arg5
;
12980 if (arg5
) delete [] arg5
;
12986 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12987 PyObject
*resultobj
;
12988 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
12990 PyObject
* obj0
= 0 ;
12991 char *kwnames
[] = {
12992 (char *) "self", NULL
12995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
12996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
12997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13000 result
= (int)(arg1
)->GetSelection();
13002 wxPyEndAllowThreads(__tstate
);
13003 if (PyErr_Occurred()) SWIG_fail
;
13005 resultobj
= SWIG_From_int((int)result
);
13012 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13013 PyObject
*resultobj
;
13014 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
13016 PyObject
* obj0
= 0 ;
13017 char *kwnames
[] = {
13018 (char *) "self", NULL
13021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
13022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
13023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13026 result
= (arg1
)->GetStringSelection();
13028 wxPyEndAllowThreads(__tstate
);
13029 if (PyErr_Occurred()) SWIG_fail
;
13033 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13035 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13044 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13045 PyObject
*resultobj
;
13046 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
13048 PyObject
* obj0
= 0 ;
13049 PyObject
* obj1
= 0 ;
13050 char *kwnames
[] = {
13051 (char *) "self",(char *) "sel", NULL
13054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
13055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleChoiceDialog
,
13056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13057 arg2
= (int)SWIG_As_int(obj1
);
13058 if (PyErr_Occurred()) SWIG_fail
;
13060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13061 (arg1
)->SetSelection(arg2
);
13063 wxPyEndAllowThreads(__tstate
);
13064 if (PyErr_Occurred()) SWIG_fail
;
13066 Py_INCREF(Py_None
); resultobj
= Py_None
;
13073 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
13075 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13076 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
13078 return Py_BuildValue((char *)"");
13080 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13081 PyObject
*resultobj
;
13082 wxWindow
*arg1
= (wxWindow
*) 0 ;
13083 wxString
*arg2
= 0 ;
13084 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
13085 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13086 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13087 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13088 long arg5
= (long) wxTextEntryDialogStyle
;
13089 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
13090 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
13091 wxTextEntryDialog
*result
;
13092 bool temp2
= false ;
13093 bool temp3
= false ;
13094 bool temp4
= false ;
13096 PyObject
* obj0
= 0 ;
13097 PyObject
* obj1
= 0 ;
13098 PyObject
* obj2
= 0 ;
13099 PyObject
* obj3
= 0 ;
13100 PyObject
* obj4
= 0 ;
13101 PyObject
* obj5
= 0 ;
13102 char *kwnames
[] = {
13103 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
13106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13110 arg2
= wxString_in_helper(obj1
);
13111 if (arg2
== NULL
) SWIG_fail
;
13116 arg3
= wxString_in_helper(obj2
);
13117 if (arg3
== NULL
) SWIG_fail
;
13123 arg4
= wxString_in_helper(obj3
);
13124 if (arg4
== NULL
) SWIG_fail
;
13129 arg5
= (long)SWIG_As_long(obj4
);
13130 if (PyErr_Occurred()) SWIG_fail
;
13135 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
13139 if (!wxPyCheckForApp()) SWIG_fail
;
13140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13141 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
13143 wxPyEndAllowThreads(__tstate
);
13144 if (PyErr_Occurred()) SWIG_fail
;
13146 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
13177 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13178 PyObject
*resultobj
;
13179 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
13181 PyObject
* obj0
= 0 ;
13182 char *kwnames
[] = {
13183 (char *) "self", NULL
13186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
13187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
13188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13191 result
= (arg1
)->GetValue();
13193 wxPyEndAllowThreads(__tstate
);
13194 if (PyErr_Occurred()) SWIG_fail
;
13198 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13200 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13209 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13210 PyObject
*resultobj
;
13211 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
13212 wxString
*arg2
= 0 ;
13213 bool temp2
= false ;
13214 PyObject
* obj0
= 0 ;
13215 PyObject
* obj1
= 0 ;
13216 char *kwnames
[] = {
13217 (char *) "self",(char *) "value", NULL
13220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextEntryDialog
,
13222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13224 arg2
= wxString_in_helper(obj1
);
13225 if (arg2
== NULL
) SWIG_fail
;
13229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13230 (arg1
)->SetValue((wxString
const &)*arg2
);
13232 wxPyEndAllowThreads(__tstate
);
13233 if (PyErr_Occurred()) SWIG_fail
;
13235 Py_INCREF(Py_None
); resultobj
= Py_None
;
13250 static PyObject
* TextEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
13252 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13253 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
13255 return Py_BuildValue((char *)"");
13257 static int _wrap_GetPasswordFromUserPromptStr_set(PyObject
*) {
13258 PyErr_SetString(PyExc_TypeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
13263 static PyObject
*_wrap_GetPasswordFromUserPromptStr_get() {
13268 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
13270 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
13277 static PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13278 PyObject
*resultobj
;
13279 wxWindow
*arg1
= (wxWindow
*) 0 ;
13280 wxString
*arg2
= 0 ;
13281 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
13282 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13283 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13284 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13285 long arg5
= (long) wxTextEntryDialogStyle
;
13286 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
13287 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
13288 wxPasswordEntryDialog
*result
;
13289 bool temp2
= false ;
13290 bool temp3
= false ;
13291 bool temp4
= false ;
13293 PyObject
* obj0
= 0 ;
13294 PyObject
* obj1
= 0 ;
13295 PyObject
* obj2
= 0 ;
13296 PyObject
* obj3
= 0 ;
13297 PyObject
* obj4
= 0 ;
13298 PyObject
* obj5
= 0 ;
13299 char *kwnames
[] = {
13300 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
13303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
13304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13307 arg2
= wxString_in_helper(obj1
);
13308 if (arg2
== NULL
) SWIG_fail
;
13313 arg3
= wxString_in_helper(obj2
);
13314 if (arg3
== NULL
) SWIG_fail
;
13320 arg4
= wxString_in_helper(obj3
);
13321 if (arg4
== NULL
) SWIG_fail
;
13326 arg5
= (long)SWIG_As_long(obj4
);
13327 if (PyErr_Occurred()) SWIG_fail
;
13332 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
13336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13337 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
13339 wxPyEndAllowThreads(__tstate
);
13340 if (PyErr_Occurred()) SWIG_fail
;
13342 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPasswordEntryDialog
, 1);
13373 static PyObject
* PasswordEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
13375 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13376 SWIG_TypeClientData(SWIGTYPE_p_wxPasswordEntryDialog
, obj
);
13378 return Py_BuildValue((char *)"");
13380 static PyObject
*_wrap_new_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13381 PyObject
*resultobj
;
13382 wxFontData
*result
;
13383 char *kwnames
[] = {
13387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
13389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13390 result
= (wxFontData
*)new wxFontData();
13392 wxPyEndAllowThreads(__tstate
);
13393 if (PyErr_Occurred()) SWIG_fail
;
13395 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
13402 static PyObject
*_wrap_delete_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13403 PyObject
*resultobj
;
13404 wxFontData
*arg1
= (wxFontData
*) 0 ;
13405 PyObject
* obj0
= 0 ;
13406 char *kwnames
[] = {
13407 (char *) "self", NULL
13410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
13411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13417 wxPyEndAllowThreads(__tstate
);
13418 if (PyErr_Occurred()) SWIG_fail
;
13420 Py_INCREF(Py_None
); resultobj
= Py_None
;
13427 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13428 PyObject
*resultobj
;
13429 wxFontData
*arg1
= (wxFontData
*) 0 ;
13431 PyObject
* obj0
= 0 ;
13432 PyObject
* obj1
= 0 ;
13433 char *kwnames
[] = {
13434 (char *) "self",(char *) "enable", NULL
13437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
13438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13440 arg2
= (bool)SWIG_As_bool(obj1
);
13441 if (PyErr_Occurred()) SWIG_fail
;
13443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13444 (arg1
)->EnableEffects(arg2
);
13446 wxPyEndAllowThreads(__tstate
);
13447 if (PyErr_Occurred()) SWIG_fail
;
13449 Py_INCREF(Py_None
); resultobj
= Py_None
;
13456 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13457 PyObject
*resultobj
;
13458 wxFontData
*arg1
= (wxFontData
*) 0 ;
13460 PyObject
* obj0
= 0 ;
13461 char *kwnames
[] = {
13462 (char *) "self", NULL
13465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
13466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13470 result
= (bool)(arg1
)->GetAllowSymbols();
13472 wxPyEndAllowThreads(__tstate
);
13473 if (PyErr_Occurred()) SWIG_fail
;
13476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13484 static PyObject
*_wrap_FontData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13485 PyObject
*resultobj
;
13486 wxFontData
*arg1
= (wxFontData
*) 0 ;
13488 PyObject
* obj0
= 0 ;
13489 char *kwnames
[] = {
13490 (char *) "self", NULL
13493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
13494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13498 result
= (arg1
)->GetColour();
13500 wxPyEndAllowThreads(__tstate
);
13501 if (PyErr_Occurred()) SWIG_fail
;
13504 wxColour
* resultptr
;
13505 resultptr
= new wxColour((wxColour
&) result
);
13506 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13514 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13515 PyObject
*resultobj
;
13516 wxFontData
*arg1
= (wxFontData
*) 0 ;
13518 PyObject
* obj0
= 0 ;
13519 char *kwnames
[] = {
13520 (char *) "self", NULL
13523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
13524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13528 result
= (arg1
)->GetChosenFont();
13530 wxPyEndAllowThreads(__tstate
);
13531 if (PyErr_Occurred()) SWIG_fail
;
13534 wxFont
* resultptr
;
13535 resultptr
= new wxFont((wxFont
&) result
);
13536 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13544 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13545 PyObject
*resultobj
;
13546 wxFontData
*arg1
= (wxFontData
*) 0 ;
13548 PyObject
* obj0
= 0 ;
13549 char *kwnames
[] = {
13550 (char *) "self", NULL
13553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
13554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13558 result
= (bool)(arg1
)->GetEnableEffects();
13560 wxPyEndAllowThreads(__tstate
);
13561 if (PyErr_Occurred()) SWIG_fail
;
13564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13572 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13573 PyObject
*resultobj
;
13574 wxFontData
*arg1
= (wxFontData
*) 0 ;
13576 PyObject
* obj0
= 0 ;
13577 char *kwnames
[] = {
13578 (char *) "self", NULL
13581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
13582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13586 result
= (arg1
)->GetInitialFont();
13588 wxPyEndAllowThreads(__tstate
);
13589 if (PyErr_Occurred()) SWIG_fail
;
13592 wxFont
* resultptr
;
13593 resultptr
= new wxFont((wxFont
&) result
);
13594 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
13602 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13603 PyObject
*resultobj
;
13604 wxFontData
*arg1
= (wxFontData
*) 0 ;
13606 PyObject
* obj0
= 0 ;
13607 char *kwnames
[] = {
13608 (char *) "self", NULL
13611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
13612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13616 result
= (bool)(arg1
)->GetShowHelp();
13618 wxPyEndAllowThreads(__tstate
);
13619 if (PyErr_Occurred()) SWIG_fail
;
13622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13630 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13631 PyObject
*resultobj
;
13632 wxFontData
*arg1
= (wxFontData
*) 0 ;
13634 PyObject
* obj0
= 0 ;
13635 PyObject
* obj1
= 0 ;
13636 char *kwnames
[] = {
13637 (char *) "self",(char *) "allowSymbols", NULL
13640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
13641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13643 arg2
= (bool)SWIG_As_bool(obj1
);
13644 if (PyErr_Occurred()) SWIG_fail
;
13646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13647 (arg1
)->SetAllowSymbols(arg2
);
13649 wxPyEndAllowThreads(__tstate
);
13650 if (PyErr_Occurred()) SWIG_fail
;
13652 Py_INCREF(Py_None
); resultobj
= Py_None
;
13659 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13660 PyObject
*resultobj
;
13661 wxFontData
*arg1
= (wxFontData
*) 0 ;
13663 PyObject
* obj0
= 0 ;
13664 PyObject
* obj1
= 0 ;
13665 char *kwnames
[] = {
13666 (char *) "self",(char *) "font", NULL
13669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13672 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13673 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13675 if (arg2
== NULL
) {
13676 PyErr_SetString(PyExc_TypeError
,"null reference");
13680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13681 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
13683 wxPyEndAllowThreads(__tstate
);
13684 if (PyErr_Occurred()) SWIG_fail
;
13686 Py_INCREF(Py_None
); resultobj
= Py_None
;
13693 static PyObject
*_wrap_FontData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13694 PyObject
*resultobj
;
13695 wxFontData
*arg1
= (wxFontData
*) 0 ;
13696 wxColour
*arg2
= 0 ;
13698 PyObject
* obj0
= 0 ;
13699 PyObject
* obj1
= 0 ;
13700 char *kwnames
[] = {
13701 (char *) "self",(char *) "colour", NULL
13704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13709 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13713 (arg1
)->SetColour((wxColour
const &)*arg2
);
13715 wxPyEndAllowThreads(__tstate
);
13716 if (PyErr_Occurred()) SWIG_fail
;
13718 Py_INCREF(Py_None
); resultobj
= Py_None
;
13725 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13726 PyObject
*resultobj
;
13727 wxFontData
*arg1
= (wxFontData
*) 0 ;
13729 PyObject
* obj0
= 0 ;
13730 PyObject
* obj1
= 0 ;
13731 char *kwnames
[] = {
13732 (char *) "self",(char *) "font", NULL
13735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
13736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13738 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
13739 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13741 if (arg2
== NULL
) {
13742 PyErr_SetString(PyExc_TypeError
,"null reference");
13746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13747 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
13749 wxPyEndAllowThreads(__tstate
);
13750 if (PyErr_Occurred()) SWIG_fail
;
13752 Py_INCREF(Py_None
); resultobj
= Py_None
;
13759 static PyObject
*_wrap_FontData_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13760 PyObject
*resultobj
;
13761 wxFontData
*arg1
= (wxFontData
*) 0 ;
13764 PyObject
* obj0
= 0 ;
13765 PyObject
* obj1
= 0 ;
13766 PyObject
* obj2
= 0 ;
13767 char *kwnames
[] = {
13768 (char *) "self",(char *) "min",(char *) "max", NULL
13771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13774 arg2
= (int)SWIG_As_int(obj1
);
13775 if (PyErr_Occurred()) SWIG_fail
;
13776 arg3
= (int)SWIG_As_int(obj2
);
13777 if (PyErr_Occurred()) SWIG_fail
;
13779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13780 (arg1
)->SetRange(arg2
,arg3
);
13782 wxPyEndAllowThreads(__tstate
);
13783 if (PyErr_Occurred()) SWIG_fail
;
13785 Py_INCREF(Py_None
); resultobj
= Py_None
;
13792 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13793 PyObject
*resultobj
;
13794 wxFontData
*arg1
= (wxFontData
*) 0 ;
13796 PyObject
* obj0
= 0 ;
13797 PyObject
* obj1
= 0 ;
13798 char *kwnames
[] = {
13799 (char *) "self",(char *) "showHelp", NULL
13802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
13803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontData
,
13804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13805 arg2
= (bool)SWIG_As_bool(obj1
);
13806 if (PyErr_Occurred()) SWIG_fail
;
13808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13809 (arg1
)->SetShowHelp(arg2
);
13811 wxPyEndAllowThreads(__tstate
);
13812 if (PyErr_Occurred()) SWIG_fail
;
13814 Py_INCREF(Py_None
); resultobj
= Py_None
;
13821 static PyObject
* FontData_swigregister(PyObject
*, PyObject
*args
) {
13823 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13824 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
13826 return Py_BuildValue((char *)"");
13828 static PyObject
*_wrap_new_FontDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13829 PyObject
*resultobj
;
13830 wxWindow
*arg1
= (wxWindow
*) 0 ;
13831 wxFontData
*arg2
= 0 ;
13832 wxFontDialog
*result
;
13833 PyObject
* obj0
= 0 ;
13834 PyObject
* obj1
= 0 ;
13835 char *kwnames
[] = {
13836 (char *) "parent",(char *) "data", NULL
13839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
13840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13842 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFontData
,
13843 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13845 if (arg2
== NULL
) {
13846 PyErr_SetString(PyExc_TypeError
,"null reference");
13850 if (!wxPyCheckForApp()) SWIG_fail
;
13851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13852 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
13854 wxPyEndAllowThreads(__tstate
);
13855 if (PyErr_Occurred()) SWIG_fail
;
13857 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
13864 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13865 PyObject
*resultobj
;
13866 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
13867 wxFontData
*result
;
13868 PyObject
* obj0
= 0 ;
13869 char *kwnames
[] = {
13870 (char *) "self", NULL
13873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
13874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFontDialog
,
13875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13879 wxFontData
&_result_ref
= (arg1
)->GetFontData();
13880 result
= (wxFontData
*) &_result_ref
;
13883 wxPyEndAllowThreads(__tstate
);
13884 if (PyErr_Occurred()) SWIG_fail
;
13886 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
13893 static PyObject
* FontDialog_swigregister(PyObject
*, PyObject
*args
) {
13895 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13896 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
13898 return Py_BuildValue((char *)"");
13900 static PyObject
*_wrap_new_MessageDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13901 PyObject
*resultobj
;
13902 wxWindow
*arg1
= (wxWindow
*) 0 ;
13903 wxString
*arg2
= 0 ;
13904 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
13905 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13906 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
13907 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13908 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13909 wxMessageDialog
*result
;
13910 bool temp2
= false ;
13911 bool temp3
= false ;
13913 PyObject
* obj0
= 0 ;
13914 PyObject
* obj1
= 0 ;
13915 PyObject
* obj2
= 0 ;
13916 PyObject
* obj3
= 0 ;
13917 PyObject
* obj4
= 0 ;
13918 char *kwnames
[] = {
13919 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
13923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13926 arg2
= wxString_in_helper(obj1
);
13927 if (arg2
== NULL
) SWIG_fail
;
13932 arg3
= wxString_in_helper(obj2
);
13933 if (arg3
== NULL
) SWIG_fail
;
13938 arg4
= (long)SWIG_As_long(obj3
);
13939 if (PyErr_Occurred()) SWIG_fail
;
13944 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13948 if (!wxPyCheckForApp()) SWIG_fail
;
13949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13950 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
13952 wxPyEndAllowThreads(__tstate
);
13953 if (PyErr_Occurred()) SWIG_fail
;
13955 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
13978 static PyObject
* MessageDialog_swigregister(PyObject
*, PyObject
*args
) {
13980 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13981 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
13983 return Py_BuildValue((char *)"");
13985 static PyObject
*_wrap_new_ProgressDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13986 PyObject
*resultobj
;
13987 wxString
*arg1
= 0 ;
13988 wxString
*arg2
= 0 ;
13989 int arg3
= (int) 100 ;
13990 wxWindow
*arg4
= (wxWindow
*) NULL
;
13991 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
13992 wxProgressDialog
*result
;
13993 bool temp1
= false ;
13994 bool temp2
= false ;
13995 PyObject
* obj0
= 0 ;
13996 PyObject
* obj1
= 0 ;
13997 PyObject
* obj2
= 0 ;
13998 PyObject
* obj3
= 0 ;
13999 PyObject
* obj4
= 0 ;
14000 char *kwnames
[] = {
14001 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
14004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14006 arg1
= wxString_in_helper(obj0
);
14007 if (arg1
== NULL
) SWIG_fail
;
14011 arg2
= wxString_in_helper(obj1
);
14012 if (arg2
== NULL
) SWIG_fail
;
14016 arg3
= (int)SWIG_As_int(obj2
);
14017 if (PyErr_Occurred()) SWIG_fail
;
14020 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
14021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14024 arg5
= (int)SWIG_As_int(obj4
);
14025 if (PyErr_Occurred()) SWIG_fail
;
14028 if (!wxPyCheckForApp()) SWIG_fail
;
14029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14030 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
14032 wxPyEndAllowThreads(__tstate
);
14033 if (PyErr_Occurred()) SWIG_fail
;
14035 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
14058 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14059 PyObject
*resultobj
;
14060 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
14062 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14063 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14065 bool temp3
= false ;
14066 PyObject
* obj0
= 0 ;
14067 PyObject
* obj1
= 0 ;
14068 PyObject
* obj2
= 0 ;
14069 char *kwnames
[] = {
14070 (char *) "self",(char *) "value",(char *) "newmsg", NULL
14073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
14075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14076 arg2
= (int)SWIG_As_int(obj1
);
14077 if (PyErr_Occurred()) SWIG_fail
;
14080 arg3
= wxString_in_helper(obj2
);
14081 if (arg3
== NULL
) SWIG_fail
;
14086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14087 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
14089 wxPyEndAllowThreads(__tstate
);
14090 if (PyErr_Occurred()) SWIG_fail
;
14093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14109 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14110 PyObject
*resultobj
;
14111 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
14112 PyObject
* obj0
= 0 ;
14113 char *kwnames
[] = {
14114 (char *) "self", NULL
14117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
14118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProgressDialog
,
14119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14124 wxPyEndAllowThreads(__tstate
);
14125 if (PyErr_Occurred()) SWIG_fail
;
14127 Py_INCREF(Py_None
); resultobj
= Py_None
;
14134 static PyObject
* ProgressDialog_swigregister(PyObject
*, PyObject
*args
) {
14136 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14137 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
14139 return Py_BuildValue((char *)"");
14141 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14142 PyObject
*resultobj
;
14143 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14144 int arg2
= (int) 0 ;
14145 wxFindDialogEvent
*result
;
14146 PyObject
* obj0
= 0 ;
14147 PyObject
* obj1
= 0 ;
14148 char *kwnames
[] = {
14149 (char *) "commandType",(char *) "id", NULL
14152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14154 arg1
= (wxEventType
)SWIG_As_int(obj0
);
14155 if (PyErr_Occurred()) SWIG_fail
;
14158 arg2
= (int)SWIG_As_int(obj1
);
14159 if (PyErr_Occurred()) SWIG_fail
;
14162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14163 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
14165 wxPyEndAllowThreads(__tstate
);
14166 if (PyErr_Occurred()) SWIG_fail
;
14168 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
14175 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14176 PyObject
*resultobj
;
14177 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14179 PyObject
* obj0
= 0 ;
14180 char *kwnames
[] = {
14181 (char *) "self", NULL
14184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
14185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14189 result
= (int)(arg1
)->GetFlags();
14191 wxPyEndAllowThreads(__tstate
);
14192 if (PyErr_Occurred()) SWIG_fail
;
14194 resultobj
= SWIG_From_int((int)result
);
14201 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14202 PyObject
*resultobj
;
14203 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14205 PyObject
* obj0
= 0 ;
14206 char *kwnames
[] = {
14207 (char *) "self", NULL
14210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
14211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14216 wxString
const &_result_ref
= (arg1
)->GetFindString();
14217 result
= (wxString
*) &_result_ref
;
14220 wxPyEndAllowThreads(__tstate
);
14221 if (PyErr_Occurred()) SWIG_fail
;
14225 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14227 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14236 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14237 PyObject
*resultobj
;
14238 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14240 PyObject
* obj0
= 0 ;
14241 char *kwnames
[] = {
14242 (char *) "self", NULL
14245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
14246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14251 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
14252 result
= (wxString
*) &_result_ref
;
14255 wxPyEndAllowThreads(__tstate
);
14256 if (PyErr_Occurred()) SWIG_fail
;
14260 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14262 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14271 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14272 PyObject
*resultobj
;
14273 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14274 wxFindReplaceDialog
*result
;
14275 PyObject
* obj0
= 0 ;
14276 char *kwnames
[] = {
14277 (char *) "self", NULL
14280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
14281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14285 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
14287 wxPyEndAllowThreads(__tstate
);
14288 if (PyErr_Occurred()) SWIG_fail
;
14290 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
14297 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14298 PyObject
*resultobj
;
14299 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14301 PyObject
* obj0
= 0 ;
14302 PyObject
* obj1
= 0 ;
14303 char *kwnames
[] = {
14304 (char *) "self",(char *) "flags", NULL
14307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
14308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14310 arg2
= (int)SWIG_As_int(obj1
);
14311 if (PyErr_Occurred()) SWIG_fail
;
14313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14314 (arg1
)->SetFlags(arg2
);
14316 wxPyEndAllowThreads(__tstate
);
14317 if (PyErr_Occurred()) SWIG_fail
;
14319 Py_INCREF(Py_None
); resultobj
= Py_None
;
14326 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14327 PyObject
*resultobj
;
14328 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14329 wxString
*arg2
= 0 ;
14330 bool temp2
= false ;
14331 PyObject
* obj0
= 0 ;
14332 PyObject
* obj1
= 0 ;
14333 char *kwnames
[] = {
14334 (char *) "self",(char *) "str", NULL
14337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
14338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14341 arg2
= wxString_in_helper(obj1
);
14342 if (arg2
== NULL
) SWIG_fail
;
14346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14347 (arg1
)->SetFindString((wxString
const &)*arg2
);
14349 wxPyEndAllowThreads(__tstate
);
14350 if (PyErr_Occurred()) SWIG_fail
;
14352 Py_INCREF(Py_None
); resultobj
= Py_None
;
14367 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14368 PyObject
*resultobj
;
14369 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
14370 wxString
*arg2
= 0 ;
14371 bool temp2
= false ;
14372 PyObject
* obj0
= 0 ;
14373 PyObject
* obj1
= 0 ;
14374 char *kwnames
[] = {
14375 (char *) "self",(char *) "str", NULL
14378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
14379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindDialogEvent
,
14380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14382 arg2
= wxString_in_helper(obj1
);
14383 if (arg2
== NULL
) SWIG_fail
;
14387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14388 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
14390 wxPyEndAllowThreads(__tstate
);
14391 if (PyErr_Occurred()) SWIG_fail
;
14393 Py_INCREF(Py_None
); resultobj
= Py_None
;
14408 static PyObject
* FindDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
14410 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14411 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
14413 return Py_BuildValue((char *)"");
14415 static PyObject
*_wrap_new_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14416 PyObject
*resultobj
;
14417 int arg1
= (int) 0 ;
14418 wxFindReplaceData
*result
;
14419 PyObject
* obj0
= 0 ;
14420 char *kwnames
[] = {
14421 (char *) "flags", NULL
14424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
14426 arg1
= (int)SWIG_As_int(obj0
);
14427 if (PyErr_Occurred()) SWIG_fail
;
14430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14431 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
14433 wxPyEndAllowThreads(__tstate
);
14434 if (PyErr_Occurred()) SWIG_fail
;
14436 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
14443 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14444 PyObject
*resultobj
;
14445 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14446 PyObject
* obj0
= 0 ;
14447 char *kwnames
[] = {
14448 (char *) "self", NULL
14451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
14452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14458 wxPyEndAllowThreads(__tstate
);
14459 if (PyErr_Occurred()) SWIG_fail
;
14461 Py_INCREF(Py_None
); resultobj
= Py_None
;
14468 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14469 PyObject
*resultobj
;
14470 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14472 PyObject
* obj0
= 0 ;
14473 char *kwnames
[] = {
14474 (char *) "self", NULL
14477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
14478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14483 wxString
const &_result_ref
= (arg1
)->GetFindString();
14484 result
= (wxString
*) &_result_ref
;
14487 wxPyEndAllowThreads(__tstate
);
14488 if (PyErr_Occurred()) SWIG_fail
;
14492 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14494 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14503 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14504 PyObject
*resultobj
;
14505 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14507 PyObject
* obj0
= 0 ;
14508 char *kwnames
[] = {
14509 (char *) "self", NULL
14512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
14513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14518 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
14519 result
= (wxString
*) &_result_ref
;
14522 wxPyEndAllowThreads(__tstate
);
14523 if (PyErr_Occurred()) SWIG_fail
;
14527 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14529 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14538 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14539 PyObject
*resultobj
;
14540 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14542 PyObject
* obj0
= 0 ;
14543 char *kwnames
[] = {
14544 (char *) "self", NULL
14547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
14548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14552 result
= (int)(arg1
)->GetFlags();
14554 wxPyEndAllowThreads(__tstate
);
14555 if (PyErr_Occurred()) SWIG_fail
;
14557 resultobj
= SWIG_From_int((int)result
);
14564 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14565 PyObject
*resultobj
;
14566 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14568 PyObject
* obj0
= 0 ;
14569 PyObject
* obj1
= 0 ;
14570 char *kwnames
[] = {
14571 (char *) "self",(char *) "flags", NULL
14574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
14575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14577 arg2
= (int)SWIG_As_int(obj1
);
14578 if (PyErr_Occurred()) SWIG_fail
;
14580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14581 (arg1
)->SetFlags(arg2
);
14583 wxPyEndAllowThreads(__tstate
);
14584 if (PyErr_Occurred()) SWIG_fail
;
14586 Py_INCREF(Py_None
); resultobj
= Py_None
;
14593 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14594 PyObject
*resultobj
;
14595 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14596 wxString
*arg2
= 0 ;
14597 bool temp2
= false ;
14598 PyObject
* obj0
= 0 ;
14599 PyObject
* obj1
= 0 ;
14600 char *kwnames
[] = {
14601 (char *) "self",(char *) "str", NULL
14604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
14605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14608 arg2
= wxString_in_helper(obj1
);
14609 if (arg2
== NULL
) SWIG_fail
;
14613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14614 (arg1
)->SetFindString((wxString
const &)*arg2
);
14616 wxPyEndAllowThreads(__tstate
);
14617 if (PyErr_Occurred()) SWIG_fail
;
14619 Py_INCREF(Py_None
); resultobj
= Py_None
;
14634 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14635 PyObject
*resultobj
;
14636 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
14637 wxString
*arg2
= 0 ;
14638 bool temp2
= false ;
14639 PyObject
* obj0
= 0 ;
14640 PyObject
* obj1
= 0 ;
14641 char *kwnames
[] = {
14642 (char *) "self",(char *) "str", NULL
14645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
14646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceData
,
14647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14649 arg2
= wxString_in_helper(obj1
);
14650 if (arg2
== NULL
) SWIG_fail
;
14654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14655 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
14657 wxPyEndAllowThreads(__tstate
);
14658 if (PyErr_Occurred()) SWIG_fail
;
14660 Py_INCREF(Py_None
); resultobj
= Py_None
;
14675 static PyObject
* FindReplaceData_swigregister(PyObject
*, PyObject
*args
) {
14677 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14678 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
14680 return Py_BuildValue((char *)"");
14682 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14683 PyObject
*resultobj
;
14684 wxWindow
*arg1
= (wxWindow
*) 0 ;
14685 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14686 wxString
*arg3
= 0 ;
14687 int arg4
= (int) 0 ;
14688 wxFindReplaceDialog
*result
;
14689 bool temp3
= false ;
14690 PyObject
* obj0
= 0 ;
14691 PyObject
* obj1
= 0 ;
14692 PyObject
* obj2
= 0 ;
14693 PyObject
* obj3
= 0 ;
14694 char *kwnames
[] = {
14695 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14701 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14704 arg3
= wxString_in_helper(obj2
);
14705 if (arg3
== NULL
) SWIG_fail
;
14709 arg4
= (int)SWIG_As_int(obj3
);
14710 if (PyErr_Occurred()) SWIG_fail
;
14713 if (!wxPyCheckForApp()) SWIG_fail
;
14714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14715 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
14717 wxPyEndAllowThreads(__tstate
);
14718 if (PyErr_Occurred()) SWIG_fail
;
14720 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14735 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14736 PyObject
*resultobj
;
14737 wxFindReplaceDialog
*result
;
14738 char *kwnames
[] = {
14742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
14744 if (!wxPyCheckForApp()) SWIG_fail
;
14745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14746 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
14748 wxPyEndAllowThreads(__tstate
);
14749 if (PyErr_Occurred()) SWIG_fail
;
14751 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
14758 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14759 PyObject
*resultobj
;
14760 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14761 wxWindow
*arg2
= (wxWindow
*) 0 ;
14762 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
14763 wxString
*arg4
= 0 ;
14764 int arg5
= (int) 0 ;
14766 bool temp4
= false ;
14767 PyObject
* obj0
= 0 ;
14768 PyObject
* obj1
= 0 ;
14769 PyObject
* obj2
= 0 ;
14770 PyObject
* obj3
= 0 ;
14771 PyObject
* obj4
= 0 ;
14772 char *kwnames
[] = {
14773 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14779 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14781 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFindReplaceData
,
14782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14784 arg4
= wxString_in_helper(obj3
);
14785 if (arg4
== NULL
) SWIG_fail
;
14789 arg5
= (int)SWIG_As_int(obj4
);
14790 if (PyErr_Occurred()) SWIG_fail
;
14793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14794 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14796 wxPyEndAllowThreads(__tstate
);
14797 if (PyErr_Occurred()) SWIG_fail
;
14800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14816 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14817 PyObject
*resultobj
;
14818 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14819 wxFindReplaceData
*result
;
14820 PyObject
* obj0
= 0 ;
14821 char *kwnames
[] = {
14822 (char *) "self", NULL
14825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
14826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14830 result
= (wxFindReplaceData
*)(arg1
)->GetData();
14832 wxPyEndAllowThreads(__tstate
);
14833 if (PyErr_Occurred()) SWIG_fail
;
14835 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
14842 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14843 PyObject
*resultobj
;
14844 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
14845 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
14846 PyObject
* obj0
= 0 ;
14847 PyObject
* obj1
= 0 ;
14848 char *kwnames
[] = {
14849 (char *) "self",(char *) "data", NULL
14852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
14853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFindReplaceDialog
,
14854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14855 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFindReplaceData
,
14856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14859 (arg1
)->SetData(arg2
);
14861 wxPyEndAllowThreads(__tstate
);
14862 if (PyErr_Occurred()) SWIG_fail
;
14864 Py_INCREF(Py_None
); resultobj
= Py_None
;
14871 static PyObject
* FindReplaceDialog_swigregister(PyObject
*, PyObject
*args
) {
14873 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14874 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
14876 return Py_BuildValue((char *)"");
14878 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14879 PyObject
*resultobj
;
14880 wxWindow
*arg1
= (wxWindow
*) 0 ;
14881 int arg2
= (int) (int)-1 ;
14882 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14883 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14884 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14885 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14886 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14887 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14888 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
14889 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
14890 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14891 wxMDIParentFrame
*result
;
14892 bool temp3
= false ;
14895 bool temp7
= false ;
14896 PyObject
* obj0
= 0 ;
14897 PyObject
* obj1
= 0 ;
14898 PyObject
* obj2
= 0 ;
14899 PyObject
* obj3
= 0 ;
14900 PyObject
* obj4
= 0 ;
14901 PyObject
* obj5
= 0 ;
14902 PyObject
* obj6
= 0 ;
14903 char *kwnames
[] = {
14904 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
14908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14911 arg2
= (int)SWIG_As_int(obj1
);
14912 if (PyErr_Occurred()) SWIG_fail
;
14916 arg3
= wxString_in_helper(obj2
);
14917 if (arg3
== NULL
) SWIG_fail
;
14924 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14930 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14934 arg6
= (long)SWIG_As_long(obj5
);
14935 if (PyErr_Occurred()) SWIG_fail
;
14939 arg7
= wxString_in_helper(obj6
);
14940 if (arg7
== NULL
) SWIG_fail
;
14945 if (!wxPyCheckForApp()) SWIG_fail
;
14946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14947 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14949 wxPyEndAllowThreads(__tstate
);
14950 if (PyErr_Occurred()) SWIG_fail
;
14952 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14975 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14976 PyObject
*resultobj
;
14977 wxMDIParentFrame
*result
;
14978 char *kwnames
[] = {
14982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
14984 if (!wxPyCheckForApp()) SWIG_fail
;
14985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14986 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
14988 wxPyEndAllowThreads(__tstate
);
14989 if (PyErr_Occurred()) SWIG_fail
;
14991 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
14998 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14999 PyObject
*resultobj
;
15000 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15001 wxWindow
*arg2
= (wxWindow
*) 0 ;
15002 int arg3
= (int) (int)-1 ;
15003 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15004 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15005 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15006 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15007 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15008 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15009 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
15010 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
15011 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15013 bool temp4
= false ;
15016 bool temp8
= false ;
15017 PyObject
* obj0
= 0 ;
15018 PyObject
* obj1
= 0 ;
15019 PyObject
* obj2
= 0 ;
15020 PyObject
* obj3
= 0 ;
15021 PyObject
* obj4
= 0 ;
15022 PyObject
* obj5
= 0 ;
15023 PyObject
* obj6
= 0 ;
15024 PyObject
* obj7
= 0 ;
15025 char *kwnames
[] = {
15026 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
15030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15032 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15035 arg3
= (int)SWIG_As_int(obj2
);
15036 if (PyErr_Occurred()) SWIG_fail
;
15040 arg4
= wxString_in_helper(obj3
);
15041 if (arg4
== NULL
) SWIG_fail
;
15048 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15054 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15058 arg7
= (long)SWIG_As_long(obj6
);
15059 if (PyErr_Occurred()) SWIG_fail
;
15063 arg8
= wxString_in_helper(obj7
);
15064 if (arg8
== NULL
) SWIG_fail
;
15069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15070 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
15072 wxPyEndAllowThreads(__tstate
);
15073 if (PyErr_Occurred()) SWIG_fail
;
15076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15100 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15101 PyObject
*resultobj
;
15102 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15103 PyObject
* obj0
= 0 ;
15104 char *kwnames
[] = {
15105 (char *) "self", NULL
15108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
15109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15113 (arg1
)->ActivateNext();
15115 wxPyEndAllowThreads(__tstate
);
15116 if (PyErr_Occurred()) SWIG_fail
;
15118 Py_INCREF(Py_None
); resultobj
= Py_None
;
15125 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15126 PyObject
*resultobj
;
15127 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15128 PyObject
* obj0
= 0 ;
15129 char *kwnames
[] = {
15130 (char *) "self", NULL
15133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
15134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15138 (arg1
)->ActivatePrevious();
15140 wxPyEndAllowThreads(__tstate
);
15141 if (PyErr_Occurred()) SWIG_fail
;
15143 Py_INCREF(Py_None
); resultobj
= Py_None
;
15150 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15151 PyObject
*resultobj
;
15152 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15153 PyObject
* obj0
= 0 ;
15154 char *kwnames
[] = {
15155 (char *) "self", NULL
15158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
15159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15163 (arg1
)->ArrangeIcons();
15165 wxPyEndAllowThreads(__tstate
);
15166 if (PyErr_Occurred()) SWIG_fail
;
15168 Py_INCREF(Py_None
); resultobj
= Py_None
;
15175 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15176 PyObject
*resultobj
;
15177 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15178 PyObject
* obj0
= 0 ;
15179 char *kwnames
[] = {
15180 (char *) "self", NULL
15183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
15184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15190 wxPyEndAllowThreads(__tstate
);
15191 if (PyErr_Occurred()) SWIG_fail
;
15193 Py_INCREF(Py_None
); resultobj
= Py_None
;
15200 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15201 PyObject
*resultobj
;
15202 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15203 wxMDIChildFrame
*result
;
15204 PyObject
* obj0
= 0 ;
15205 char *kwnames
[] = {
15206 (char *) "self", NULL
15209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
15210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15214 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
15216 wxPyEndAllowThreads(__tstate
);
15217 if (PyErr_Occurred()) SWIG_fail
;
15220 resultobj
= wxPyMake_wxObject(result
, 0);
15228 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15229 PyObject
*resultobj
;
15230 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15231 wxMDIClientWindow
*result
;
15232 PyObject
* obj0
= 0 ;
15233 char *kwnames
[] = {
15234 (char *) "self", NULL
15237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
15238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15242 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
15244 wxPyEndAllowThreads(__tstate
);
15245 if (PyErr_Occurred()) SWIG_fail
;
15248 resultobj
= wxPyMake_wxObject(result
, 0);
15256 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15257 PyObject
*resultobj
;
15258 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15260 PyObject
* obj0
= 0 ;
15261 char *kwnames
[] = {
15262 (char *) "self", NULL
15265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
15266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15270 result
= (wxWindow
*)(arg1
)->GetToolBar();
15272 wxPyEndAllowThreads(__tstate
);
15273 if (PyErr_Occurred()) SWIG_fail
;
15276 resultobj
= wxPyMake_wxObject(result
, 0);
15284 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15285 PyObject
*resultobj
;
15286 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15287 PyObject
* obj0
= 0 ;
15288 char *kwnames
[] = {
15289 (char *) "self", NULL
15292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
15293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15299 wxPyEndAllowThreads(__tstate
);
15300 if (PyErr_Occurred()) SWIG_fail
;
15302 Py_INCREF(Py_None
); resultobj
= Py_None
;
15309 static PyObject
* MDIParentFrame_swigregister(PyObject
*, PyObject
*args
) {
15311 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15312 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
15314 return Py_BuildValue((char *)"");
15316 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15317 PyObject
*resultobj
;
15318 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15319 int arg2
= (int) (int)-1 ;
15320 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15321 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15322 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15323 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15324 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15325 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15326 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
15327 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
15328 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15329 wxMDIChildFrame
*result
;
15330 bool temp3
= false ;
15333 bool temp7
= false ;
15334 PyObject
* obj0
= 0 ;
15335 PyObject
* obj1
= 0 ;
15336 PyObject
* obj2
= 0 ;
15337 PyObject
* obj3
= 0 ;
15338 PyObject
* obj4
= 0 ;
15339 PyObject
* obj5
= 0 ;
15340 PyObject
* obj6
= 0 ;
15341 char *kwnames
[] = {
15342 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15349 arg2
= (int)SWIG_As_int(obj1
);
15350 if (PyErr_Occurred()) SWIG_fail
;
15354 arg3
= wxString_in_helper(obj2
);
15355 if (arg3
== NULL
) SWIG_fail
;
15362 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15368 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15372 arg6
= (long)SWIG_As_long(obj5
);
15373 if (PyErr_Occurred()) SWIG_fail
;
15377 arg7
= wxString_in_helper(obj6
);
15378 if (arg7
== NULL
) SWIG_fail
;
15383 if (!wxPyCheckForApp()) SWIG_fail
;
15384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15385 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15387 wxPyEndAllowThreads(__tstate
);
15388 if (PyErr_Occurred()) SWIG_fail
;
15390 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
15413 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15414 PyObject
*resultobj
;
15415 wxMDIChildFrame
*result
;
15416 char *kwnames
[] = {
15420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
15422 if (!wxPyCheckForApp()) SWIG_fail
;
15423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15424 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
15426 wxPyEndAllowThreads(__tstate
);
15427 if (PyErr_Occurred()) SWIG_fail
;
15429 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
15436 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15437 PyObject
*resultobj
;
15438 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15439 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
15440 int arg3
= (int) (int)-1 ;
15441 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15442 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15443 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15444 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15445 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15446 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15447 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
15448 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
15449 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15451 bool temp4
= false ;
15454 bool temp8
= false ;
15455 PyObject
* obj0
= 0 ;
15456 PyObject
* obj1
= 0 ;
15457 PyObject
* obj2
= 0 ;
15458 PyObject
* obj3
= 0 ;
15459 PyObject
* obj4
= 0 ;
15460 PyObject
* obj5
= 0 ;
15461 PyObject
* obj6
= 0 ;
15462 PyObject
* obj7
= 0 ;
15463 char *kwnames
[] = {
15464 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
15468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15470 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
15471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15473 arg3
= (int)SWIG_As_int(obj2
);
15474 if (PyErr_Occurred()) SWIG_fail
;
15478 arg4
= wxString_in_helper(obj3
);
15479 if (arg4
== NULL
) SWIG_fail
;
15486 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15492 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15496 arg7
= (long)SWIG_As_long(obj6
);
15497 if (PyErr_Occurred()) SWIG_fail
;
15501 arg8
= wxString_in_helper(obj7
);
15502 if (arg8
== NULL
) SWIG_fail
;
15507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15508 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
15510 wxPyEndAllowThreads(__tstate
);
15511 if (PyErr_Occurred()) SWIG_fail
;
15514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15538 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15539 PyObject
*resultobj
;
15540 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15541 PyObject
* obj0
= 0 ;
15542 char *kwnames
[] = {
15543 (char *) "self", NULL
15546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
15547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15551 (arg1
)->Activate();
15553 wxPyEndAllowThreads(__tstate
);
15554 if (PyErr_Occurred()) SWIG_fail
;
15556 Py_INCREF(Py_None
); resultobj
= Py_None
;
15563 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15564 PyObject
*resultobj
;
15565 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15567 PyObject
* obj0
= 0 ;
15568 PyObject
* obj1
= 0 ;
15569 char *kwnames
[] = {
15570 (char *) "self",(char *) "maximize", NULL
15573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
15574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15576 arg2
= (bool)SWIG_As_bool(obj1
);
15577 if (PyErr_Occurred()) SWIG_fail
;
15579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15580 (arg1
)->Maximize(arg2
);
15582 wxPyEndAllowThreads(__tstate
);
15583 if (PyErr_Occurred()) SWIG_fail
;
15585 Py_INCREF(Py_None
); resultobj
= Py_None
;
15592 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15593 PyObject
*resultobj
;
15594 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
15595 PyObject
* obj0
= 0 ;
15596 char *kwnames
[] = {
15597 (char *) "self", NULL
15600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
15601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIChildFrame
,
15602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15607 wxPyEndAllowThreads(__tstate
);
15608 if (PyErr_Occurred()) SWIG_fail
;
15610 Py_INCREF(Py_None
); resultobj
= Py_None
;
15617 static PyObject
* MDIChildFrame_swigregister(PyObject
*, PyObject
*args
) {
15619 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15620 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
15622 return Py_BuildValue((char *)"");
15624 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15625 PyObject
*resultobj
;
15626 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
15627 long arg2
= (long) 0 ;
15628 wxMDIClientWindow
*result
;
15629 PyObject
* obj0
= 0 ;
15630 PyObject
* obj1
= 0 ;
15631 char *kwnames
[] = {
15632 (char *) "parent",(char *) "style", NULL
15635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
15636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIParentFrame
,
15637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15639 arg2
= (long)SWIG_As_long(obj1
);
15640 if (PyErr_Occurred()) SWIG_fail
;
15643 if (!wxPyCheckForApp()) SWIG_fail
;
15644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15645 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
15647 wxPyEndAllowThreads(__tstate
);
15648 if (PyErr_Occurred()) SWIG_fail
;
15650 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
15657 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15658 PyObject
*resultobj
;
15659 wxMDIClientWindow
*result
;
15660 char *kwnames
[] = {
15664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
15666 if (!wxPyCheckForApp()) SWIG_fail
;
15667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15668 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
15670 wxPyEndAllowThreads(__tstate
);
15671 if (PyErr_Occurred()) SWIG_fail
;
15673 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
15680 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15681 PyObject
*resultobj
;
15682 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
15683 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
15684 long arg3
= (long) 0 ;
15686 PyObject
* obj0
= 0 ;
15687 PyObject
* obj1
= 0 ;
15688 PyObject
* obj2
= 0 ;
15689 char *kwnames
[] = {
15690 (char *) "self",(char *) "parent",(char *) "style", NULL
15693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMDIClientWindow
,
15695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15696 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMDIParentFrame
,
15697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15699 arg3
= (long)SWIG_As_long(obj2
);
15700 if (PyErr_Occurred()) SWIG_fail
;
15703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15704 result
= (bool)(arg1
)->Create(arg2
,arg3
);
15706 wxPyEndAllowThreads(__tstate
);
15707 if (PyErr_Occurred()) SWIG_fail
;
15710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15718 static PyObject
* MDIClientWindow_swigregister(PyObject
*, PyObject
*args
) {
15720 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15721 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
15723 return Py_BuildValue((char *)"");
15725 static PyObject
*_wrap_new_PyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15726 PyObject
*resultobj
;
15727 wxWindow
*arg1
= (wxWindow
*) 0 ;
15728 int arg2
= (int) (int)-1 ;
15729 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15730 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15731 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15732 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15733 long arg5
= (long) 0 ;
15734 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
15735 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15736 wxPyWindow
*result
;
15739 bool temp6
= false ;
15740 PyObject
* obj0
= 0 ;
15741 PyObject
* obj1
= 0 ;
15742 PyObject
* obj2
= 0 ;
15743 PyObject
* obj3
= 0 ;
15744 PyObject
* obj4
= 0 ;
15745 PyObject
* obj5
= 0 ;
15746 char *kwnames
[] = {
15747 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15754 arg2
= (int)SWIG_As_int(obj1
);
15755 if (PyErr_Occurred()) SWIG_fail
;
15760 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15766 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15770 arg5
= (long)SWIG_As_long(obj4
);
15771 if (PyErr_Occurred()) SWIG_fail
;
15775 arg6
= wxString_in_helper(obj5
);
15776 if (arg6
== NULL
) SWIG_fail
;
15781 if (!wxPyCheckForApp()) SWIG_fail
;
15782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15783 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15785 wxPyEndAllowThreads(__tstate
);
15786 if (PyErr_Occurred()) SWIG_fail
;
15788 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15803 static PyObject
*_wrap_new_PrePyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15804 PyObject
*resultobj
;
15805 wxPyWindow
*result
;
15806 char *kwnames
[] = {
15810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyWindow",kwnames
)) goto fail
;
15812 if (!wxPyCheckForApp()) SWIG_fail
;
15813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15814 result
= (wxPyWindow
*)new wxPyWindow();
15816 wxPyEndAllowThreads(__tstate
);
15817 if (PyErr_Occurred()) SWIG_fail
;
15819 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
15826 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15827 PyObject
*resultobj
;
15828 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15829 PyObject
*arg2
= (PyObject
*) 0 ;
15830 PyObject
*arg3
= (PyObject
*) 0 ;
15831 PyObject
* obj0
= 0 ;
15832 PyObject
* obj1
= 0 ;
15833 PyObject
* obj2
= 0 ;
15834 char *kwnames
[] = {
15835 (char *) "self",(char *) "self",(char *) "_class", NULL
15838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15845 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15847 wxPyEndAllowThreads(__tstate
);
15848 if (PyErr_Occurred()) SWIG_fail
;
15850 Py_INCREF(Py_None
); resultobj
= Py_None
;
15857 static PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15858 PyObject
*resultobj
;
15859 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15862 PyObject
* obj0
= 0 ;
15863 PyObject
* obj1
= 0 ;
15864 char *kwnames
[] = {
15865 (char *) "self",(char *) "size", NULL
15868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15873 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15877 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
15879 wxPyEndAllowThreads(__tstate
);
15880 if (PyErr_Occurred()) SWIG_fail
;
15882 Py_INCREF(Py_None
); resultobj
= Py_None
;
15889 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15890 PyObject
*resultobj
;
15891 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15896 PyObject
* obj0
= 0 ;
15897 PyObject
* obj1
= 0 ;
15898 PyObject
* obj2
= 0 ;
15899 PyObject
* obj3
= 0 ;
15900 PyObject
* obj4
= 0 ;
15901 char *kwnames
[] = {
15902 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15908 arg2
= (int)SWIG_As_int(obj1
);
15909 if (PyErr_Occurred()) SWIG_fail
;
15910 arg3
= (int)SWIG_As_int(obj2
);
15911 if (PyErr_Occurred()) SWIG_fail
;
15912 arg4
= (int)SWIG_As_int(obj3
);
15913 if (PyErr_Occurred()) SWIG_fail
;
15914 arg5
= (int)SWIG_As_int(obj4
);
15915 if (PyErr_Occurred()) SWIG_fail
;
15917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15918 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
15920 wxPyEndAllowThreads(__tstate
);
15921 if (PyErr_Occurred()) SWIG_fail
;
15923 Py_INCREF(Py_None
); resultobj
= Py_None
;
15930 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15931 PyObject
*resultobj
;
15932 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15937 int arg6
= (int) wxSIZE_AUTO
;
15938 PyObject
* obj0
= 0 ;
15939 PyObject
* obj1
= 0 ;
15940 PyObject
* obj2
= 0 ;
15941 PyObject
* obj3
= 0 ;
15942 PyObject
* obj4
= 0 ;
15943 PyObject
* obj5
= 0 ;
15944 char *kwnames
[] = {
15945 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15951 arg2
= (int)SWIG_As_int(obj1
);
15952 if (PyErr_Occurred()) SWIG_fail
;
15953 arg3
= (int)SWIG_As_int(obj2
);
15954 if (PyErr_Occurred()) SWIG_fail
;
15955 arg4
= (int)SWIG_As_int(obj3
);
15956 if (PyErr_Occurred()) SWIG_fail
;
15957 arg5
= (int)SWIG_As_int(obj4
);
15958 if (PyErr_Occurred()) SWIG_fail
;
15960 arg6
= (int)SWIG_As_int(obj5
);
15961 if (PyErr_Occurred()) SWIG_fail
;
15964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15965 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
15967 wxPyEndAllowThreads(__tstate
);
15968 if (PyErr_Occurred()) SWIG_fail
;
15970 Py_INCREF(Py_None
); resultobj
= Py_None
;
15977 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15978 PyObject
*resultobj
;
15979 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
15982 PyObject
* obj0
= 0 ;
15983 PyObject
* obj1
= 0 ;
15984 PyObject
* obj2
= 0 ;
15985 char *kwnames
[] = {
15986 (char *) "self",(char *) "width",(char *) "height", NULL
15989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
15991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15992 arg2
= (int)SWIG_As_int(obj1
);
15993 if (PyErr_Occurred()) SWIG_fail
;
15994 arg3
= (int)SWIG_As_int(obj2
);
15995 if (PyErr_Occurred()) SWIG_fail
;
15997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15998 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
16000 wxPyEndAllowThreads(__tstate
);
16001 if (PyErr_Occurred()) SWIG_fail
;
16003 Py_INCREF(Py_None
); resultobj
= Py_None
;
16010 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16011 PyObject
*resultobj
;
16012 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16015 PyObject
* obj0
= 0 ;
16016 PyObject
* obj1
= 0 ;
16017 PyObject
* obj2
= 0 ;
16018 char *kwnames
[] = {
16019 (char *) "self",(char *) "x",(char *) "y", NULL
16022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16025 arg2
= (int)SWIG_As_int(obj1
);
16026 if (PyErr_Occurred()) SWIG_fail
;
16027 arg3
= (int)SWIG_As_int(obj2
);
16028 if (PyErr_Occurred()) SWIG_fail
;
16030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16031 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
16033 wxPyEndAllowThreads(__tstate
);
16034 if (PyErr_Occurred()) SWIG_fail
;
16036 Py_INCREF(Py_None
); resultobj
= Py_None
;
16043 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16044 PyObject
*resultobj
;
16045 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16046 int *arg2
= (int *) 0 ;
16047 int *arg3
= (int *) 0 ;
16052 PyObject
* obj0
= 0 ;
16053 char *kwnames
[] = {
16054 (char *) "self", NULL
16057 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16058 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
16060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16064 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
16066 wxPyEndAllowThreads(__tstate
);
16067 if (PyErr_Occurred()) SWIG_fail
;
16069 Py_INCREF(Py_None
); resultobj
= Py_None
;
16070 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16071 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16072 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16073 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16080 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16081 PyObject
*resultobj
;
16082 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16083 int *arg2
= (int *) 0 ;
16084 int *arg3
= (int *) 0 ;
16089 PyObject
* obj0
= 0 ;
16090 char *kwnames
[] = {
16091 (char *) "self", NULL
16094 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16095 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
16097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16101 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
16103 wxPyEndAllowThreads(__tstate
);
16104 if (PyErr_Occurred()) SWIG_fail
;
16106 Py_INCREF(Py_None
); resultobj
= Py_None
;
16107 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16108 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16109 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16110 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16117 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16118 PyObject
*resultobj
;
16119 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16120 int *arg2
= (int *) 0 ;
16121 int *arg3
= (int *) 0 ;
16126 PyObject
* obj0
= 0 ;
16127 char *kwnames
[] = {
16128 (char *) "self", NULL
16131 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16132 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
16134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16138 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
16140 wxPyEndAllowThreads(__tstate
);
16141 if (PyErr_Occurred()) SWIG_fail
;
16143 Py_INCREF(Py_None
); resultobj
= Py_None
;
16144 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16145 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16146 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16147 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16154 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16155 PyObject
*resultobj
;
16156 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16158 PyObject
* obj0
= 0 ;
16159 char *kwnames
[] = {
16160 (char *) "self", NULL
16163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
16164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16168 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
16170 wxPyEndAllowThreads(__tstate
);
16171 if (PyErr_Occurred()) SWIG_fail
;
16174 wxSize
* resultptr
;
16175 resultptr
= new wxSize((wxSize
&) result
);
16176 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16184 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16185 PyObject
*resultobj
;
16186 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16188 PyObject
* obj0
= 0 ;
16189 char *kwnames
[] = {
16190 (char *) "self", NULL
16193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
16194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16198 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
16200 wxPyEndAllowThreads(__tstate
);
16201 if (PyErr_Occurred()) SWIG_fail
;
16204 wxSize
* resultptr
;
16205 resultptr
= new wxSize((wxSize
&) result
);
16206 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16214 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16215 PyObject
*resultobj
;
16216 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16217 PyObject
* obj0
= 0 ;
16218 char *kwnames
[] = {
16219 (char *) "self", NULL
16222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
16223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16227 (arg1
)->base_InitDialog();
16229 wxPyEndAllowThreads(__tstate
);
16230 if (PyErr_Occurred()) SWIG_fail
;
16232 Py_INCREF(Py_None
); resultobj
= Py_None
;
16239 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16240 PyObject
*resultobj
;
16241 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16243 PyObject
* obj0
= 0 ;
16244 char *kwnames
[] = {
16245 (char *) "self", NULL
16248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
16249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16253 result
= (bool)(arg1
)->base_TransferDataToWindow();
16255 wxPyEndAllowThreads(__tstate
);
16256 if (PyErr_Occurred()) SWIG_fail
;
16259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16267 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16268 PyObject
*resultobj
;
16269 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16271 PyObject
* obj0
= 0 ;
16272 char *kwnames
[] = {
16273 (char *) "self", NULL
16276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
16277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16281 result
= (bool)(arg1
)->base_TransferDataFromWindow();
16283 wxPyEndAllowThreads(__tstate
);
16284 if (PyErr_Occurred()) SWIG_fail
;
16287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16295 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16296 PyObject
*resultobj
;
16297 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16299 PyObject
* obj0
= 0 ;
16300 char *kwnames
[] = {
16301 (char *) "self", NULL
16304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
16305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16309 result
= (bool)(arg1
)->base_Validate();
16311 wxPyEndAllowThreads(__tstate
);
16312 if (PyErr_Occurred()) SWIG_fail
;
16315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16323 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16324 PyObject
*resultobj
;
16325 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16327 PyObject
* obj0
= 0 ;
16328 char *kwnames
[] = {
16329 (char *) "self", NULL
16332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
16333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16337 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
16339 wxPyEndAllowThreads(__tstate
);
16340 if (PyErr_Occurred()) SWIG_fail
;
16343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16351 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16352 PyObject
*resultobj
;
16353 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16355 PyObject
* obj0
= 0 ;
16356 char *kwnames
[] = {
16357 (char *) "self", NULL
16360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
16361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16365 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
16367 wxPyEndAllowThreads(__tstate
);
16368 if (PyErr_Occurred()) SWIG_fail
;
16371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16379 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16380 PyObject
*resultobj
;
16381 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16383 PyObject
* obj0
= 0 ;
16384 char *kwnames
[] = {
16385 (char *) "self", NULL
16388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
16389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16393 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
16395 wxPyEndAllowThreads(__tstate
);
16396 if (PyErr_Occurred()) SWIG_fail
;
16399 wxSize
* resultptr
;
16400 resultptr
= new wxSize((wxSize
&) result
);
16401 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16409 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16410 PyObject
*resultobj
;
16411 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16412 wxWindow
*arg2
= (wxWindow
*) 0 ;
16413 PyObject
* obj0
= 0 ;
16414 PyObject
* obj1
= 0 ;
16415 char *kwnames
[] = {
16416 (char *) "self",(char *) "child", NULL
16419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16422 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16426 (arg1
)->base_AddChild(arg2
);
16428 wxPyEndAllowThreads(__tstate
);
16429 if (PyErr_Occurred()) SWIG_fail
;
16431 Py_INCREF(Py_None
); resultobj
= Py_None
;
16438 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16439 PyObject
*resultobj
;
16440 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16441 wxWindow
*arg2
= (wxWindow
*) 0 ;
16442 PyObject
* obj0
= 0 ;
16443 PyObject
* obj1
= 0 ;
16444 char *kwnames
[] = {
16445 (char *) "self",(char *) "child", NULL
16448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
16449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16451 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16455 (arg1
)->base_RemoveChild(arg2
);
16457 wxPyEndAllowThreads(__tstate
);
16458 if (PyErr_Occurred()) SWIG_fail
;
16460 Py_INCREF(Py_None
); resultobj
= Py_None
;
16467 static PyObject
*_wrap_PyWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16468 PyObject
*resultobj
;
16469 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16471 PyObject
* obj0
= 0 ;
16472 char *kwnames
[] = {
16473 (char *) "self", NULL
16476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
16477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16481 result
= (bool)((wxPyWindow
const *)arg1
)->base_ShouldInheritColours();
16483 wxPyEndAllowThreads(__tstate
);
16484 if (PyErr_Occurred()) SWIG_fail
;
16487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16495 static PyObject
*_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16496 PyObject
*resultobj
;
16497 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16498 wxColour
*arg2
= 0 ;
16500 PyObject
* obj0
= 0 ;
16501 PyObject
* obj1
= 0 ;
16502 char *kwnames
[] = {
16503 (char *) "self",(char *) "c", NULL
16506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
16507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16511 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16515 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
16517 wxPyEndAllowThreads(__tstate
);
16518 if (PyErr_Occurred()) SWIG_fail
;
16520 Py_INCREF(Py_None
); resultobj
= Py_None
;
16527 static PyObject
*_wrap_PyWindow_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16528 PyObject
*resultobj
;
16529 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
16530 wxVisualAttributes result
;
16531 PyObject
* obj0
= 0 ;
16532 char *kwnames
[] = {
16533 (char *) "self", NULL
16536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
16537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyWindow
,
16538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16541 result
= (arg1
)->base_GetDefaultAttributes();
16543 wxPyEndAllowThreads(__tstate
);
16544 if (PyErr_Occurred()) SWIG_fail
;
16547 wxVisualAttributes
* resultptr
;
16548 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
16549 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
16557 static PyObject
* PyWindow_swigregister(PyObject
*, PyObject
*args
) {
16559 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16560 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
16562 return Py_BuildValue((char *)"");
16564 static PyObject
*_wrap_new_PyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16565 PyObject
*resultobj
;
16566 wxWindow
*arg1
= (wxWindow
*) 0 ;
16567 int arg2
= (int) (int)-1 ;
16568 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16569 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16570 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16571 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16572 long arg5
= (long) 0 ;
16573 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
16574 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
16578 bool temp6
= false ;
16579 PyObject
* obj0
= 0 ;
16580 PyObject
* obj1
= 0 ;
16581 PyObject
* obj2
= 0 ;
16582 PyObject
* obj3
= 0 ;
16583 PyObject
* obj4
= 0 ;
16584 PyObject
* obj5
= 0 ;
16585 char *kwnames
[] = {
16586 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16593 arg2
= (int)SWIG_As_int(obj1
);
16594 if (PyErr_Occurred()) SWIG_fail
;
16599 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16605 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16609 arg5
= (long)SWIG_As_long(obj4
);
16610 if (PyErr_Occurred()) SWIG_fail
;
16614 arg6
= wxString_in_helper(obj5
);
16615 if (arg6
== NULL
) SWIG_fail
;
16620 if (!wxPyCheckForApp()) SWIG_fail
;
16621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16622 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
16624 wxPyEndAllowThreads(__tstate
);
16625 if (PyErr_Occurred()) SWIG_fail
;
16627 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
16642 static PyObject
*_wrap_new_PrePyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16643 PyObject
*resultobj
;
16645 char *kwnames
[] = {
16649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyPanel",kwnames
)) goto fail
;
16651 if (!wxPyCheckForApp()) SWIG_fail
;
16652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16653 result
= (wxPyPanel
*)new wxPyPanel();
16655 wxPyEndAllowThreads(__tstate
);
16656 if (PyErr_Occurred()) SWIG_fail
;
16658 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
16665 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16666 PyObject
*resultobj
;
16667 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16668 PyObject
*arg2
= (PyObject
*) 0 ;
16669 PyObject
*arg3
= (PyObject
*) 0 ;
16670 PyObject
* obj0
= 0 ;
16671 PyObject
* obj1
= 0 ;
16672 PyObject
* obj2
= 0 ;
16673 char *kwnames
[] = {
16674 (char *) "self",(char *) "self",(char *) "_class", NULL
16677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16684 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16686 wxPyEndAllowThreads(__tstate
);
16687 if (PyErr_Occurred()) SWIG_fail
;
16689 Py_INCREF(Py_None
); resultobj
= Py_None
;
16696 static PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16697 PyObject
*resultobj
;
16698 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16701 PyObject
* obj0
= 0 ;
16702 PyObject
* obj1
= 0 ;
16703 char *kwnames
[] = {
16704 (char *) "self",(char *) "size", NULL
16707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16712 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
16715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16716 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
16718 wxPyEndAllowThreads(__tstate
);
16719 if (PyErr_Occurred()) SWIG_fail
;
16721 Py_INCREF(Py_None
); resultobj
= Py_None
;
16728 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16729 PyObject
*resultobj
;
16730 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16735 PyObject
* obj0
= 0 ;
16736 PyObject
* obj1
= 0 ;
16737 PyObject
* obj2
= 0 ;
16738 PyObject
* obj3
= 0 ;
16739 PyObject
* obj4
= 0 ;
16740 char *kwnames
[] = {
16741 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
16744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16747 arg2
= (int)SWIG_As_int(obj1
);
16748 if (PyErr_Occurred()) SWIG_fail
;
16749 arg3
= (int)SWIG_As_int(obj2
);
16750 if (PyErr_Occurred()) SWIG_fail
;
16751 arg4
= (int)SWIG_As_int(obj3
);
16752 if (PyErr_Occurred()) SWIG_fail
;
16753 arg5
= (int)SWIG_As_int(obj4
);
16754 if (PyErr_Occurred()) SWIG_fail
;
16756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16757 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
16759 wxPyEndAllowThreads(__tstate
);
16760 if (PyErr_Occurred()) SWIG_fail
;
16762 Py_INCREF(Py_None
); resultobj
= Py_None
;
16769 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16770 PyObject
*resultobj
;
16771 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16776 int arg6
= (int) wxSIZE_AUTO
;
16777 PyObject
* obj0
= 0 ;
16778 PyObject
* obj1
= 0 ;
16779 PyObject
* obj2
= 0 ;
16780 PyObject
* obj3
= 0 ;
16781 PyObject
* obj4
= 0 ;
16782 PyObject
* obj5
= 0 ;
16783 char *kwnames
[] = {
16784 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
16787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16790 arg2
= (int)SWIG_As_int(obj1
);
16791 if (PyErr_Occurred()) SWIG_fail
;
16792 arg3
= (int)SWIG_As_int(obj2
);
16793 if (PyErr_Occurred()) SWIG_fail
;
16794 arg4
= (int)SWIG_As_int(obj3
);
16795 if (PyErr_Occurred()) SWIG_fail
;
16796 arg5
= (int)SWIG_As_int(obj4
);
16797 if (PyErr_Occurred()) SWIG_fail
;
16799 arg6
= (int)SWIG_As_int(obj5
);
16800 if (PyErr_Occurred()) SWIG_fail
;
16803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16804 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
16806 wxPyEndAllowThreads(__tstate
);
16807 if (PyErr_Occurred()) SWIG_fail
;
16809 Py_INCREF(Py_None
); resultobj
= Py_None
;
16816 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16817 PyObject
*resultobj
;
16818 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16821 PyObject
* obj0
= 0 ;
16822 PyObject
* obj1
= 0 ;
16823 PyObject
* obj2
= 0 ;
16824 char *kwnames
[] = {
16825 (char *) "self",(char *) "width",(char *) "height", NULL
16828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16831 arg2
= (int)SWIG_As_int(obj1
);
16832 if (PyErr_Occurred()) SWIG_fail
;
16833 arg3
= (int)SWIG_As_int(obj2
);
16834 if (PyErr_Occurred()) SWIG_fail
;
16836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16837 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
16839 wxPyEndAllowThreads(__tstate
);
16840 if (PyErr_Occurred()) SWIG_fail
;
16842 Py_INCREF(Py_None
); resultobj
= Py_None
;
16849 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16850 PyObject
*resultobj
;
16851 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16854 PyObject
* obj0
= 0 ;
16855 PyObject
* obj1
= 0 ;
16856 PyObject
* obj2
= 0 ;
16857 char *kwnames
[] = {
16858 (char *) "self",(char *) "x",(char *) "y", NULL
16861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16864 arg2
= (int)SWIG_As_int(obj1
);
16865 if (PyErr_Occurred()) SWIG_fail
;
16866 arg3
= (int)SWIG_As_int(obj2
);
16867 if (PyErr_Occurred()) SWIG_fail
;
16869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16870 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
16872 wxPyEndAllowThreads(__tstate
);
16873 if (PyErr_Occurred()) SWIG_fail
;
16875 Py_INCREF(Py_None
); resultobj
= Py_None
;
16882 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16883 PyObject
*resultobj
;
16884 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16885 int *arg2
= (int *) 0 ;
16886 int *arg3
= (int *) 0 ;
16891 PyObject
* obj0
= 0 ;
16892 char *kwnames
[] = {
16893 (char *) "self", NULL
16896 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16897 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
16899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16903 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
16905 wxPyEndAllowThreads(__tstate
);
16906 if (PyErr_Occurred()) SWIG_fail
;
16908 Py_INCREF(Py_None
); resultobj
= Py_None
;
16909 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16910 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16911 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16912 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16919 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16920 PyObject
*resultobj
;
16921 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16922 int *arg2
= (int *) 0 ;
16923 int *arg3
= (int *) 0 ;
16928 PyObject
* obj0
= 0 ;
16929 char *kwnames
[] = {
16930 (char *) "self", NULL
16933 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16934 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
16936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16940 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
16942 wxPyEndAllowThreads(__tstate
);
16943 if (PyErr_Occurred()) SWIG_fail
;
16945 Py_INCREF(Py_None
); resultobj
= Py_None
;
16946 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16947 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16948 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16949 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16956 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16957 PyObject
*resultobj
;
16958 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16959 int *arg2
= (int *) 0 ;
16960 int *arg3
= (int *) 0 ;
16965 PyObject
* obj0
= 0 ;
16966 char *kwnames
[] = {
16967 (char *) "self", NULL
16970 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
16971 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
16972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
16973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
16974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16977 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
16979 wxPyEndAllowThreads(__tstate
);
16980 if (PyErr_Occurred()) SWIG_fail
;
16982 Py_INCREF(Py_None
); resultobj
= Py_None
;
16983 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
16984 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
16985 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
16986 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
16993 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16994 PyObject
*resultobj
;
16995 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
16997 PyObject
* obj0
= 0 ;
16998 char *kwnames
[] = {
16999 (char *) "self", NULL
17002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
17003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17007 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
17009 wxPyEndAllowThreads(__tstate
);
17010 if (PyErr_Occurred()) SWIG_fail
;
17013 wxSize
* resultptr
;
17014 resultptr
= new wxSize((wxSize
&) result
);
17015 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17023 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17024 PyObject
*resultobj
;
17025 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17027 PyObject
* obj0
= 0 ;
17028 char *kwnames
[] = {
17029 (char *) "self", NULL
17032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
17033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17037 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
17039 wxPyEndAllowThreads(__tstate
);
17040 if (PyErr_Occurred()) SWIG_fail
;
17043 wxSize
* resultptr
;
17044 resultptr
= new wxSize((wxSize
&) result
);
17045 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17053 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17054 PyObject
*resultobj
;
17055 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17056 PyObject
* obj0
= 0 ;
17057 char *kwnames
[] = {
17058 (char *) "self", NULL
17061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
17062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17066 (arg1
)->base_InitDialog();
17068 wxPyEndAllowThreads(__tstate
);
17069 if (PyErr_Occurred()) SWIG_fail
;
17071 Py_INCREF(Py_None
); resultobj
= Py_None
;
17078 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17079 PyObject
*resultobj
;
17080 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17082 PyObject
* obj0
= 0 ;
17083 char *kwnames
[] = {
17084 (char *) "self", NULL
17087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
17088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17092 result
= (bool)(arg1
)->base_TransferDataToWindow();
17094 wxPyEndAllowThreads(__tstate
);
17095 if (PyErr_Occurred()) SWIG_fail
;
17098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17106 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17107 PyObject
*resultobj
;
17108 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17110 PyObject
* obj0
= 0 ;
17111 char *kwnames
[] = {
17112 (char *) "self", NULL
17115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
17116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17120 result
= (bool)(arg1
)->base_TransferDataFromWindow();
17122 wxPyEndAllowThreads(__tstate
);
17123 if (PyErr_Occurred()) SWIG_fail
;
17126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17134 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17135 PyObject
*resultobj
;
17136 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17138 PyObject
* obj0
= 0 ;
17139 char *kwnames
[] = {
17140 (char *) "self", NULL
17143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
17144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17148 result
= (bool)(arg1
)->base_Validate();
17150 wxPyEndAllowThreads(__tstate
);
17151 if (PyErr_Occurred()) SWIG_fail
;
17154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17162 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17163 PyObject
*resultobj
;
17164 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17166 PyObject
* obj0
= 0 ;
17167 char *kwnames
[] = {
17168 (char *) "self", NULL
17171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
17172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17176 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
17178 wxPyEndAllowThreads(__tstate
);
17179 if (PyErr_Occurred()) SWIG_fail
;
17182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17190 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17191 PyObject
*resultobj
;
17192 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17194 PyObject
* obj0
= 0 ;
17195 char *kwnames
[] = {
17196 (char *) "self", NULL
17199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
17200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17204 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
17206 wxPyEndAllowThreads(__tstate
);
17207 if (PyErr_Occurred()) SWIG_fail
;
17210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17218 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17219 PyObject
*resultobj
;
17220 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17222 PyObject
* obj0
= 0 ;
17223 char *kwnames
[] = {
17224 (char *) "self", NULL
17227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
17228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17232 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
17234 wxPyEndAllowThreads(__tstate
);
17235 if (PyErr_Occurred()) SWIG_fail
;
17238 wxSize
* resultptr
;
17239 resultptr
= new wxSize((wxSize
&) result
);
17240 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17248 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17249 PyObject
*resultobj
;
17250 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17251 wxWindow
*arg2
= (wxWindow
*) 0 ;
17252 PyObject
* obj0
= 0 ;
17253 PyObject
* obj1
= 0 ;
17254 char *kwnames
[] = {
17255 (char *) "self",(char *) "child", NULL
17258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17261 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17265 (arg1
)->base_AddChild(arg2
);
17267 wxPyEndAllowThreads(__tstate
);
17268 if (PyErr_Occurred()) SWIG_fail
;
17270 Py_INCREF(Py_None
); resultobj
= Py_None
;
17277 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17278 PyObject
*resultobj
;
17279 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17280 wxWindow
*arg2
= (wxWindow
*) 0 ;
17281 PyObject
* obj0
= 0 ;
17282 PyObject
* obj1
= 0 ;
17283 char *kwnames
[] = {
17284 (char *) "self",(char *) "child", NULL
17287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
17288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17290 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17294 (arg1
)->base_RemoveChild(arg2
);
17296 wxPyEndAllowThreads(__tstate
);
17297 if (PyErr_Occurred()) SWIG_fail
;
17299 Py_INCREF(Py_None
); resultobj
= Py_None
;
17306 static PyObject
*_wrap_PyPanel_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17307 PyObject
*resultobj
;
17308 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17310 PyObject
* obj0
= 0 ;
17311 char *kwnames
[] = {
17312 (char *) "self", NULL
17315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
17316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17320 result
= (bool)((wxPyPanel
const *)arg1
)->base_ShouldInheritColours();
17322 wxPyEndAllowThreads(__tstate
);
17323 if (PyErr_Occurred()) SWIG_fail
;
17326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17334 static PyObject
*_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17335 PyObject
*resultobj
;
17336 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17337 wxColour
*arg2
= 0 ;
17339 PyObject
* obj0
= 0 ;
17340 PyObject
* obj1
= 0 ;
17341 char *kwnames
[] = {
17342 (char *) "self",(char *) "c", NULL
17345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
17346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17350 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
17353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17354 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
17356 wxPyEndAllowThreads(__tstate
);
17357 if (PyErr_Occurred()) SWIG_fail
;
17359 Py_INCREF(Py_None
); resultobj
= Py_None
;
17366 static PyObject
*_wrap_PyPanel_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17367 PyObject
*resultobj
;
17368 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
17369 wxVisualAttributes result
;
17370 PyObject
* obj0
= 0 ;
17371 char *kwnames
[] = {
17372 (char *) "self", NULL
17375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
17376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPanel
,
17377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17380 result
= (arg1
)->base_GetDefaultAttributes();
17382 wxPyEndAllowThreads(__tstate
);
17383 if (PyErr_Occurred()) SWIG_fail
;
17386 wxVisualAttributes
* resultptr
;
17387 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
17388 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
17396 static PyObject
* PyPanel_swigregister(PyObject
*, PyObject
*args
) {
17398 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17399 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
17401 return Py_BuildValue((char *)"");
17403 static PyObject
*_wrap_new_PyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17404 PyObject
*resultobj
;
17405 wxWindow
*arg1
= (wxWindow
*) 0 ;
17406 int arg2
= (int) (int)-1 ;
17407 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17408 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17409 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17410 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17411 long arg5
= (long) 0 ;
17412 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
17413 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17414 wxPyScrolledWindow
*result
;
17417 bool temp6
= false ;
17418 PyObject
* obj0
= 0 ;
17419 PyObject
* obj1
= 0 ;
17420 PyObject
* obj2
= 0 ;
17421 PyObject
* obj3
= 0 ;
17422 PyObject
* obj4
= 0 ;
17423 PyObject
* obj5
= 0 ;
17424 char *kwnames
[] = {
17425 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17432 arg2
= (int)SWIG_As_int(obj1
);
17433 if (PyErr_Occurred()) SWIG_fail
;
17438 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17444 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17448 arg5
= (long)SWIG_As_long(obj4
);
17449 if (PyErr_Occurred()) SWIG_fail
;
17453 arg6
= wxString_in_helper(obj5
);
17454 if (arg6
== NULL
) SWIG_fail
;
17459 if (!wxPyCheckForApp()) SWIG_fail
;
17460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17461 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17463 wxPyEndAllowThreads(__tstate
);
17464 if (PyErr_Occurred()) SWIG_fail
;
17466 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
17481 static PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17482 PyObject
*resultobj
;
17483 wxPyScrolledWindow
*result
;
17484 char *kwnames
[] = {
17488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyScrolledWindow",kwnames
)) goto fail
;
17490 if (!wxPyCheckForApp()) SWIG_fail
;
17491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17492 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
17494 wxPyEndAllowThreads(__tstate
);
17495 if (PyErr_Occurred()) SWIG_fail
;
17497 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
17504 static PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17505 PyObject
*resultobj
;
17506 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17507 PyObject
*arg2
= (PyObject
*) 0 ;
17508 PyObject
*arg3
= (PyObject
*) 0 ;
17509 PyObject
* obj0
= 0 ;
17510 PyObject
* obj1
= 0 ;
17511 PyObject
* obj2
= 0 ;
17512 char *kwnames
[] = {
17513 (char *) "self",(char *) "self",(char *) "_class", NULL
17516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17523 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17525 wxPyEndAllowThreads(__tstate
);
17526 if (PyErr_Occurred()) SWIG_fail
;
17528 Py_INCREF(Py_None
); resultobj
= Py_None
;
17535 static PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17536 PyObject
*resultobj
;
17537 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17540 PyObject
* obj0
= 0 ;
17541 PyObject
* obj1
= 0 ;
17542 char *kwnames
[] = {
17543 (char *) "self",(char *) "size", NULL
17546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17551 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17555 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
17557 wxPyEndAllowThreads(__tstate
);
17558 if (PyErr_Occurred()) SWIG_fail
;
17560 Py_INCREF(Py_None
); resultobj
= Py_None
;
17567 static PyObject
*_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17568 PyObject
*resultobj
;
17569 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17574 PyObject
* obj0
= 0 ;
17575 PyObject
* obj1
= 0 ;
17576 PyObject
* obj2
= 0 ;
17577 PyObject
* obj3
= 0 ;
17578 PyObject
* obj4
= 0 ;
17579 char *kwnames
[] = {
17580 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17586 arg2
= (int)SWIG_As_int(obj1
);
17587 if (PyErr_Occurred()) SWIG_fail
;
17588 arg3
= (int)SWIG_As_int(obj2
);
17589 if (PyErr_Occurred()) SWIG_fail
;
17590 arg4
= (int)SWIG_As_int(obj3
);
17591 if (PyErr_Occurred()) SWIG_fail
;
17592 arg5
= (int)SWIG_As_int(obj4
);
17593 if (PyErr_Occurred()) SWIG_fail
;
17595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17596 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
17598 wxPyEndAllowThreads(__tstate
);
17599 if (PyErr_Occurred()) SWIG_fail
;
17601 Py_INCREF(Py_None
); resultobj
= Py_None
;
17608 static PyObject
*_wrap_PyScrolledWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17609 PyObject
*resultobj
;
17610 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17615 int arg6
= (int) wxSIZE_AUTO
;
17616 PyObject
* obj0
= 0 ;
17617 PyObject
* obj1
= 0 ;
17618 PyObject
* obj2
= 0 ;
17619 PyObject
* obj3
= 0 ;
17620 PyObject
* obj4
= 0 ;
17621 PyObject
* obj5
= 0 ;
17622 char *kwnames
[] = {
17623 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17629 arg2
= (int)SWIG_As_int(obj1
);
17630 if (PyErr_Occurred()) SWIG_fail
;
17631 arg3
= (int)SWIG_As_int(obj2
);
17632 if (PyErr_Occurred()) SWIG_fail
;
17633 arg4
= (int)SWIG_As_int(obj3
);
17634 if (PyErr_Occurred()) SWIG_fail
;
17635 arg5
= (int)SWIG_As_int(obj4
);
17636 if (PyErr_Occurred()) SWIG_fail
;
17638 arg6
= (int)SWIG_As_int(obj5
);
17639 if (PyErr_Occurred()) SWIG_fail
;
17642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17643 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
17645 wxPyEndAllowThreads(__tstate
);
17646 if (PyErr_Occurred()) SWIG_fail
;
17648 Py_INCREF(Py_None
); resultobj
= Py_None
;
17655 static PyObject
*_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17656 PyObject
*resultobj
;
17657 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17660 PyObject
* obj0
= 0 ;
17661 PyObject
* obj1
= 0 ;
17662 PyObject
* obj2
= 0 ;
17663 char *kwnames
[] = {
17664 (char *) "self",(char *) "width",(char *) "height", NULL
17667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17670 arg2
= (int)SWIG_As_int(obj1
);
17671 if (PyErr_Occurred()) SWIG_fail
;
17672 arg3
= (int)SWIG_As_int(obj2
);
17673 if (PyErr_Occurred()) SWIG_fail
;
17675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17676 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
17678 wxPyEndAllowThreads(__tstate
);
17679 if (PyErr_Occurred()) SWIG_fail
;
17681 Py_INCREF(Py_None
); resultobj
= Py_None
;
17688 static PyObject
*_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17689 PyObject
*resultobj
;
17690 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17693 PyObject
* obj0
= 0 ;
17694 PyObject
* obj1
= 0 ;
17695 PyObject
* obj2
= 0 ;
17696 char *kwnames
[] = {
17697 (char *) "self",(char *) "x",(char *) "y", NULL
17700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17703 arg2
= (int)SWIG_As_int(obj1
);
17704 if (PyErr_Occurred()) SWIG_fail
;
17705 arg3
= (int)SWIG_As_int(obj2
);
17706 if (PyErr_Occurred()) SWIG_fail
;
17708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17709 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
17711 wxPyEndAllowThreads(__tstate
);
17712 if (PyErr_Occurred()) SWIG_fail
;
17714 Py_INCREF(Py_None
); resultobj
= Py_None
;
17721 static PyObject
*_wrap_PyScrolledWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17722 PyObject
*resultobj
;
17723 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17724 int *arg2
= (int *) 0 ;
17725 int *arg3
= (int *) 0 ;
17730 PyObject
* obj0
= 0 ;
17731 char *kwnames
[] = {
17732 (char *) "self", NULL
17735 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17736 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
17738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17742 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
17744 wxPyEndAllowThreads(__tstate
);
17745 if (PyErr_Occurred()) SWIG_fail
;
17747 Py_INCREF(Py_None
); resultobj
= Py_None
;
17748 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17749 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17750 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17751 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17758 static PyObject
*_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17759 PyObject
*resultobj
;
17760 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17761 int *arg2
= (int *) 0 ;
17762 int *arg3
= (int *) 0 ;
17767 PyObject
* obj0
= 0 ;
17768 char *kwnames
[] = {
17769 (char *) "self", NULL
17772 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17773 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
17775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17779 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
17781 wxPyEndAllowThreads(__tstate
);
17782 if (PyErr_Occurred()) SWIG_fail
;
17784 Py_INCREF(Py_None
); resultobj
= Py_None
;
17785 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17786 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17787 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17788 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17795 static PyObject
*_wrap_PyScrolledWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17796 PyObject
*resultobj
;
17797 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17798 int *arg2
= (int *) 0 ;
17799 int *arg3
= (int *) 0 ;
17804 PyObject
* obj0
= 0 ;
17805 char *kwnames
[] = {
17806 (char *) "self", NULL
17809 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
17810 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
17811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
17812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17816 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
17818 wxPyEndAllowThreads(__tstate
);
17819 if (PyErr_Occurred()) SWIG_fail
;
17821 Py_INCREF(Py_None
); resultobj
= Py_None
;
17822 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
17823 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
17824 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
17825 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
17832 static PyObject
*_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17833 PyObject
*resultobj
;
17834 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17836 PyObject
* obj0
= 0 ;
17837 char *kwnames
[] = {
17838 (char *) "self", NULL
17841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
17842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17846 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetVirtualSize();
17848 wxPyEndAllowThreads(__tstate
);
17849 if (PyErr_Occurred()) SWIG_fail
;
17852 wxSize
* resultptr
;
17853 resultptr
= new wxSize((wxSize
&) result
);
17854 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17862 static PyObject
*_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17863 PyObject
*resultobj
;
17864 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17866 PyObject
* obj0
= 0 ;
17867 char *kwnames
[] = {
17868 (char *) "self", NULL
17871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
17872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17876 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetBestSize();
17878 wxPyEndAllowThreads(__tstate
);
17879 if (PyErr_Occurred()) SWIG_fail
;
17882 wxSize
* resultptr
;
17883 resultptr
= new wxSize((wxSize
&) result
);
17884 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
17892 static PyObject
*_wrap_PyScrolledWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17893 PyObject
*resultobj
;
17894 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17895 PyObject
* obj0
= 0 ;
17896 char *kwnames
[] = {
17897 (char *) "self", NULL
17900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
17901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17905 (arg1
)->base_InitDialog();
17907 wxPyEndAllowThreads(__tstate
);
17908 if (PyErr_Occurred()) SWIG_fail
;
17910 Py_INCREF(Py_None
); resultobj
= Py_None
;
17917 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17918 PyObject
*resultobj
;
17919 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17921 PyObject
* obj0
= 0 ;
17922 char *kwnames
[] = {
17923 (char *) "self", NULL
17926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
17927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17931 result
= (bool)(arg1
)->base_TransferDataToWindow();
17933 wxPyEndAllowThreads(__tstate
);
17934 if (PyErr_Occurred()) SWIG_fail
;
17937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17945 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17946 PyObject
*resultobj
;
17947 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17949 PyObject
* obj0
= 0 ;
17950 char *kwnames
[] = {
17951 (char *) "self", NULL
17954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
17955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17959 result
= (bool)(arg1
)->base_TransferDataFromWindow();
17961 wxPyEndAllowThreads(__tstate
);
17962 if (PyErr_Occurred()) SWIG_fail
;
17965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17973 static PyObject
*_wrap_PyScrolledWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17974 PyObject
*resultobj
;
17975 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
17977 PyObject
* obj0
= 0 ;
17978 char *kwnames
[] = {
17979 (char *) "self", NULL
17982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
17983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
17984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17987 result
= (bool)(arg1
)->base_Validate();
17989 wxPyEndAllowThreads(__tstate
);
17990 if (PyErr_Occurred()) SWIG_fail
;
17993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18001 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18002 PyObject
*resultobj
;
18003 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18005 PyObject
* obj0
= 0 ;
18006 char *kwnames
[] = {
18007 (char *) "self", NULL
18010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
18011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18015 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocus();
18017 wxPyEndAllowThreads(__tstate
);
18018 if (PyErr_Occurred()) SWIG_fail
;
18021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18029 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18030 PyObject
*resultobj
;
18031 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18033 PyObject
* obj0
= 0 ;
18034 char *kwnames
[] = {
18035 (char *) "self", NULL
18038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
18039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18043 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
18045 wxPyEndAllowThreads(__tstate
);
18046 if (PyErr_Occurred()) SWIG_fail
;
18049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18057 static PyObject
*_wrap_PyScrolledWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18058 PyObject
*resultobj
;
18059 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18061 PyObject
* obj0
= 0 ;
18062 char *kwnames
[] = {
18063 (char *) "self", NULL
18066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
18067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18071 result
= ((wxPyScrolledWindow
const *)arg1
)->base_GetMaxSize();
18073 wxPyEndAllowThreads(__tstate
);
18074 if (PyErr_Occurred()) SWIG_fail
;
18077 wxSize
* resultptr
;
18078 resultptr
= new wxSize((wxSize
&) result
);
18079 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18087 static PyObject
*_wrap_PyScrolledWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18088 PyObject
*resultobj
;
18089 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18090 wxWindow
*arg2
= (wxWindow
*) 0 ;
18091 PyObject
* obj0
= 0 ;
18092 PyObject
* obj1
= 0 ;
18093 char *kwnames
[] = {
18094 (char *) "self",(char *) "child", NULL
18097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
18098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18100 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18104 (arg1
)->base_AddChild(arg2
);
18106 wxPyEndAllowThreads(__tstate
);
18107 if (PyErr_Occurred()) SWIG_fail
;
18109 Py_INCREF(Py_None
); resultobj
= Py_None
;
18116 static PyObject
*_wrap_PyScrolledWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18117 PyObject
*resultobj
;
18118 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18119 wxWindow
*arg2
= (wxWindow
*) 0 ;
18120 PyObject
* obj0
= 0 ;
18121 PyObject
* obj1
= 0 ;
18122 char *kwnames
[] = {
18123 (char *) "self",(char *) "child", NULL
18126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
18127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18129 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18133 (arg1
)->base_RemoveChild(arg2
);
18135 wxPyEndAllowThreads(__tstate
);
18136 if (PyErr_Occurred()) SWIG_fail
;
18138 Py_INCREF(Py_None
); resultobj
= Py_None
;
18145 static PyObject
*_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18146 PyObject
*resultobj
;
18147 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18149 PyObject
* obj0
= 0 ;
18150 char *kwnames
[] = {
18151 (char *) "self", NULL
18154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
18155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18159 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_ShouldInheritColours();
18161 wxPyEndAllowThreads(__tstate
);
18162 if (PyErr_Occurred()) SWIG_fail
;
18165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18173 static PyObject
*_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18174 PyObject
*resultobj
;
18175 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18176 wxColour
*arg2
= 0 ;
18178 PyObject
* obj0
= 0 ;
18179 PyObject
* obj1
= 0 ;
18180 char *kwnames
[] = {
18181 (char *) "self",(char *) "c", NULL
18184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
18185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18189 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18193 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
18195 wxPyEndAllowThreads(__tstate
);
18196 if (PyErr_Occurred()) SWIG_fail
;
18198 Py_INCREF(Py_None
); resultobj
= Py_None
;
18205 static PyObject
*_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18206 PyObject
*resultobj
;
18207 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
18208 wxVisualAttributes result
;
18209 PyObject
* obj0
= 0 ;
18210 char *kwnames
[] = {
18211 (char *) "self", NULL
18214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
18215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyScrolledWindow
,
18216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18219 result
= (arg1
)->base_GetDefaultAttributes();
18221 wxPyEndAllowThreads(__tstate
);
18222 if (PyErr_Occurred()) SWIG_fail
;
18225 wxVisualAttributes
* resultptr
;
18226 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
18227 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
18235 static PyObject
* PyScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
18237 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18238 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow
, obj
);
18240 return Py_BuildValue((char *)"");
18242 static int _wrap_PrintoutTitleStr_set(PyObject
*) {
18243 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
18248 static PyObject
*_wrap_PrintoutTitleStr_get() {
18253 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
18255 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
18262 static int _wrap_PreviewCanvasNameStr_set(PyObject
*) {
18263 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
18268 static PyObject
*_wrap_PreviewCanvasNameStr_get() {
18273 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
18275 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
18282 static PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*, PyObject
*args
) {
18283 PyObject
*resultobj
;
18284 wxPrintData
*result
;
18286 if(!PyArg_ParseTuple(args
,(char *)":new_PrintData")) goto fail
;
18288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18289 result
= (wxPrintData
*)new wxPrintData();
18291 wxPyEndAllowThreads(__tstate
);
18292 if (PyErr_Occurred()) SWIG_fail
;
18294 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
18301 static PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*, PyObject
*args
) {
18302 PyObject
*resultobj
;
18303 wxPrintData
*arg1
= 0 ;
18304 wxPrintData
*result
;
18305 PyObject
* obj0
= 0 ;
18307 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintData",&obj0
)) goto fail
;
18308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18309 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18311 if (arg1
== NULL
) {
18312 PyErr_SetString(PyExc_TypeError
,"null reference");
18316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18317 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
18319 wxPyEndAllowThreads(__tstate
);
18320 if (PyErr_Occurred()) SWIG_fail
;
18322 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
18329 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
18334 argc
= PyObject_Length(args
);
18335 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
18336 argv
[ii
] = PyTuple_GetItem(args
,ii
);
18339 return _wrap_new_PrintData__SWIG_0(self
,args
);
18345 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
18353 return _wrap_new_PrintData__SWIG_1(self
,args
);
18357 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintData'");
18362 static PyObject
*_wrap_delete_PrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18363 PyObject
*resultobj
;
18364 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18365 PyObject
* obj0
= 0 ;
18366 char *kwnames
[] = {
18367 (char *) "self", NULL
18370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
18371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18377 wxPyEndAllowThreads(__tstate
);
18378 if (PyErr_Occurred()) SWIG_fail
;
18380 Py_INCREF(Py_None
); resultobj
= Py_None
;
18387 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18388 PyObject
*resultobj
;
18389 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18391 PyObject
* obj0
= 0 ;
18392 char *kwnames
[] = {
18393 (char *) "self", NULL
18396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
18397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18401 result
= (int)(arg1
)->GetNoCopies();
18403 wxPyEndAllowThreads(__tstate
);
18404 if (PyErr_Occurred()) SWIG_fail
;
18406 resultobj
= SWIG_From_int((int)result
);
18413 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18414 PyObject
*resultobj
;
18415 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18417 PyObject
* obj0
= 0 ;
18418 char *kwnames
[] = {
18419 (char *) "self", NULL
18422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
18423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18427 result
= (bool)(arg1
)->GetCollate();
18429 wxPyEndAllowThreads(__tstate
);
18430 if (PyErr_Occurred()) SWIG_fail
;
18433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18441 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18442 PyObject
*resultobj
;
18443 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18445 PyObject
* obj0
= 0 ;
18446 char *kwnames
[] = {
18447 (char *) "self", NULL
18450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
18451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18455 result
= (int)(arg1
)->GetOrientation();
18457 wxPyEndAllowThreads(__tstate
);
18458 if (PyErr_Occurred()) SWIG_fail
;
18460 resultobj
= SWIG_From_int((int)result
);
18467 static PyObject
*_wrap_PrintData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18468 PyObject
*resultobj
;
18469 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18471 PyObject
* obj0
= 0 ;
18472 char *kwnames
[] = {
18473 (char *) "self", NULL
18476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
18477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18481 result
= (bool)(arg1
)->Ok();
18483 wxPyEndAllowThreads(__tstate
);
18484 if (PyErr_Occurred()) SWIG_fail
;
18487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18495 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18496 PyObject
*resultobj
;
18497 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18499 PyObject
* obj0
= 0 ;
18500 char *kwnames
[] = {
18501 (char *) "self", NULL
18504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
18505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18510 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
18511 result
= (wxString
*) &_result_ref
;
18514 wxPyEndAllowThreads(__tstate
);
18515 if (PyErr_Occurred()) SWIG_fail
;
18519 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
18521 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
18530 static PyObject
*_wrap_PrintData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18531 PyObject
*resultobj
;
18532 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18534 PyObject
* obj0
= 0 ;
18535 char *kwnames
[] = {
18536 (char *) "self", NULL
18539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
18540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18544 result
= (bool)(arg1
)->GetColour();
18546 wxPyEndAllowThreads(__tstate
);
18547 if (PyErr_Occurred()) SWIG_fail
;
18550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18558 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18559 PyObject
*resultobj
;
18560 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18562 PyObject
* obj0
= 0 ;
18563 char *kwnames
[] = {
18564 (char *) "self", NULL
18567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
18568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18572 result
= (int)(arg1
)->GetDuplex();
18574 wxPyEndAllowThreads(__tstate
);
18575 if (PyErr_Occurred()) SWIG_fail
;
18577 resultobj
= SWIG_From_int((int)result
);
18584 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18585 PyObject
*resultobj
;
18586 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18588 PyObject
* obj0
= 0 ;
18589 char *kwnames
[] = {
18590 (char *) "self", NULL
18593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
18594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18598 result
= (int)(arg1
)->GetPaperId();
18600 wxPyEndAllowThreads(__tstate
);
18601 if (PyErr_Occurred()) SWIG_fail
;
18603 resultobj
= SWIG_From_int((int)result
);
18610 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18611 PyObject
*resultobj
;
18612 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18614 PyObject
* obj0
= 0 ;
18615 char *kwnames
[] = {
18616 (char *) "self", NULL
18619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
18620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18625 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
18626 result
= (wxSize
*) &_result_ref
;
18629 wxPyEndAllowThreads(__tstate
);
18630 if (PyErr_Occurred()) SWIG_fail
;
18632 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
18639 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18640 PyObject
*resultobj
;
18641 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18643 PyObject
* obj0
= 0 ;
18644 char *kwnames
[] = {
18645 (char *) "self", NULL
18648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
18649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18653 result
= (int)(arg1
)->GetQuality();
18655 wxPyEndAllowThreads(__tstate
);
18656 if (PyErr_Occurred()) SWIG_fail
;
18658 resultobj
= SWIG_From_int((int)result
);
18665 static PyObject
*_wrap_PrintData_GetBin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18666 PyObject
*resultobj
;
18667 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18669 PyObject
* obj0
= 0 ;
18670 char *kwnames
[] = {
18671 (char *) "self", NULL
18674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetBin",kwnames
,&obj0
)) goto fail
;
18675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18679 result
= (int)(arg1
)->GetBin();
18681 wxPyEndAllowThreads(__tstate
);
18682 if (PyErr_Occurred()) SWIG_fail
;
18684 resultobj
= SWIG_From_int((int)result
);
18691 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18692 PyObject
*resultobj
;
18693 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18695 PyObject
* obj0
= 0 ;
18696 char *kwnames
[] = {
18697 (char *) "self", NULL
18700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
18701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18705 result
= (int)((wxPrintData
const *)arg1
)->GetPrintMode();
18707 wxPyEndAllowThreads(__tstate
);
18708 if (PyErr_Occurred()) SWIG_fail
;
18710 resultobj
= SWIG_From_int((int)result
);
18717 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18718 PyObject
*resultobj
;
18719 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18721 PyObject
* obj0
= 0 ;
18722 PyObject
* obj1
= 0 ;
18723 char *kwnames
[] = {
18724 (char *) "self",(char *) "v", NULL
18727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
18728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18730 arg2
= (int)SWIG_As_int(obj1
);
18731 if (PyErr_Occurred()) SWIG_fail
;
18733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18734 (arg1
)->SetNoCopies(arg2
);
18736 wxPyEndAllowThreads(__tstate
);
18737 if (PyErr_Occurred()) SWIG_fail
;
18739 Py_INCREF(Py_None
); resultobj
= Py_None
;
18746 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18747 PyObject
*resultobj
;
18748 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18750 PyObject
* obj0
= 0 ;
18751 PyObject
* obj1
= 0 ;
18752 char *kwnames
[] = {
18753 (char *) "self",(char *) "flag", NULL
18756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
18757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18759 arg2
= (bool)SWIG_As_bool(obj1
);
18760 if (PyErr_Occurred()) SWIG_fail
;
18762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18763 (arg1
)->SetCollate(arg2
);
18765 wxPyEndAllowThreads(__tstate
);
18766 if (PyErr_Occurred()) SWIG_fail
;
18768 Py_INCREF(Py_None
); resultobj
= Py_None
;
18775 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18776 PyObject
*resultobj
;
18777 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18779 PyObject
* obj0
= 0 ;
18780 PyObject
* obj1
= 0 ;
18781 char *kwnames
[] = {
18782 (char *) "self",(char *) "orient", NULL
18785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
18786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18788 arg2
= (int)SWIG_As_int(obj1
);
18789 if (PyErr_Occurred()) SWIG_fail
;
18791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18792 (arg1
)->SetOrientation(arg2
);
18794 wxPyEndAllowThreads(__tstate
);
18795 if (PyErr_Occurred()) SWIG_fail
;
18797 Py_INCREF(Py_None
); resultobj
= Py_None
;
18804 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18805 PyObject
*resultobj
;
18806 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18807 wxString
*arg2
= 0 ;
18808 bool temp2
= false ;
18809 PyObject
* obj0
= 0 ;
18810 PyObject
* obj1
= 0 ;
18811 char *kwnames
[] = {
18812 (char *) "self",(char *) "name", NULL
18815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
18816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18819 arg2
= wxString_in_helper(obj1
);
18820 if (arg2
== NULL
) SWIG_fail
;
18824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18825 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
18827 wxPyEndAllowThreads(__tstate
);
18828 if (PyErr_Occurred()) SWIG_fail
;
18830 Py_INCREF(Py_None
); resultobj
= Py_None
;
18845 static PyObject
*_wrap_PrintData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18846 PyObject
*resultobj
;
18847 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18849 PyObject
* obj0
= 0 ;
18850 PyObject
* obj1
= 0 ;
18851 char *kwnames
[] = {
18852 (char *) "self",(char *) "colour", NULL
18855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18858 arg2
= (bool)SWIG_As_bool(obj1
);
18859 if (PyErr_Occurred()) SWIG_fail
;
18861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18862 (arg1
)->SetColour(arg2
);
18864 wxPyEndAllowThreads(__tstate
);
18865 if (PyErr_Occurred()) SWIG_fail
;
18867 Py_INCREF(Py_None
); resultobj
= Py_None
;
18874 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18875 PyObject
*resultobj
;
18876 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18878 PyObject
* obj0
= 0 ;
18879 PyObject
* obj1
= 0 ;
18880 char *kwnames
[] = {
18881 (char *) "self",(char *) "duplex", NULL
18884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
18885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18887 arg2
= (int)SWIG_As_int(obj1
);
18888 if (PyErr_Occurred()) SWIG_fail
;
18890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18891 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
18893 wxPyEndAllowThreads(__tstate
);
18894 if (PyErr_Occurred()) SWIG_fail
;
18896 Py_INCREF(Py_None
); resultobj
= Py_None
;
18903 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18904 PyObject
*resultobj
;
18905 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18907 PyObject
* obj0
= 0 ;
18908 PyObject
* obj1
= 0 ;
18909 char *kwnames
[] = {
18910 (char *) "self",(char *) "sizeId", NULL
18913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
18914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18916 arg2
= (int)SWIG_As_int(obj1
);
18917 if (PyErr_Occurred()) SWIG_fail
;
18919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18920 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
18922 wxPyEndAllowThreads(__tstate
);
18923 if (PyErr_Occurred()) SWIG_fail
;
18925 Py_INCREF(Py_None
); resultobj
= Py_None
;
18932 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18933 PyObject
*resultobj
;
18934 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18937 PyObject
* obj0
= 0 ;
18938 PyObject
* obj1
= 0 ;
18939 char *kwnames
[] = {
18940 (char *) "self",(char *) "sz", NULL
18943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18948 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18952 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
18954 wxPyEndAllowThreads(__tstate
);
18955 if (PyErr_Occurred()) SWIG_fail
;
18957 Py_INCREF(Py_None
); resultobj
= Py_None
;
18964 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18965 PyObject
*resultobj
;
18966 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18968 PyObject
* obj0
= 0 ;
18969 PyObject
* obj1
= 0 ;
18970 char *kwnames
[] = {
18971 (char *) "self",(char *) "quality", NULL
18974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
18975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
18976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18977 arg2
= (int)SWIG_As_int(obj1
);
18978 if (PyErr_Occurred()) SWIG_fail
;
18980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18981 (arg1
)->SetQuality(arg2
);
18983 wxPyEndAllowThreads(__tstate
);
18984 if (PyErr_Occurred()) SWIG_fail
;
18986 Py_INCREF(Py_None
); resultobj
= Py_None
;
18993 static PyObject
*_wrap_PrintData_SetBin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18994 PyObject
*resultobj
;
18995 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
18997 PyObject
* obj0
= 0 ;
18998 PyObject
* obj1
= 0 ;
18999 char *kwnames
[] = {
19000 (char *) "self",(char *) "bin", NULL
19003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) goto fail
;
19004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19006 arg2
= (int)SWIG_As_int(obj1
);
19007 if (PyErr_Occurred()) SWIG_fail
;
19009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19010 (arg1
)->SetBin((wxPrintBin
)arg2
);
19012 wxPyEndAllowThreads(__tstate
);
19013 if (PyErr_Occurred()) SWIG_fail
;
19015 Py_INCREF(Py_None
); resultobj
= Py_None
;
19022 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19023 PyObject
*resultobj
;
19024 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19026 PyObject
* obj0
= 0 ;
19027 PyObject
* obj1
= 0 ;
19028 char *kwnames
[] = {
19029 (char *) "self",(char *) "printMode", NULL
19032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
19033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19035 arg2
= (int)SWIG_As_int(obj1
);
19036 if (PyErr_Occurred()) SWIG_fail
;
19038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19039 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
19041 wxPyEndAllowThreads(__tstate
);
19042 if (PyErr_Occurred()) SWIG_fail
;
19044 Py_INCREF(Py_None
); resultobj
= Py_None
;
19051 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19052 PyObject
*resultobj
;
19053 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19055 PyObject
* obj0
= 0 ;
19056 char *kwnames
[] = {
19057 (char *) "self", NULL
19060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
19061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19065 result
= ((wxPrintData
const *)arg1
)->GetFilename();
19067 wxPyEndAllowThreads(__tstate
);
19068 if (PyErr_Occurred()) SWIG_fail
;
19072 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19074 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19083 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19084 PyObject
*resultobj
;
19085 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19086 wxString
*arg2
= 0 ;
19087 bool temp2
= false ;
19088 PyObject
* obj0
= 0 ;
19089 PyObject
* obj1
= 0 ;
19090 char *kwnames
[] = {
19091 (char *) "self",(char *) "filename", NULL
19094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
19095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19098 arg2
= wxString_in_helper(obj1
);
19099 if (arg2
== NULL
) SWIG_fail
;
19103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19104 (arg1
)->SetFilename((wxString
const &)*arg2
);
19106 wxPyEndAllowThreads(__tstate
);
19107 if (PyErr_Occurred()) SWIG_fail
;
19109 Py_INCREF(Py_None
); resultobj
= Py_None
;
19124 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19125 PyObject
*resultobj
;
19126 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19128 PyObject
* obj0
= 0 ;
19129 char *kwnames
[] = {
19130 (char *) "self", NULL
19133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
19134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19139 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
19140 result
= (wxString
*) &_result_ref
;
19143 wxPyEndAllowThreads(__tstate
);
19144 if (PyErr_Occurred()) SWIG_fail
;
19148 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19150 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19159 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19160 PyObject
*resultobj
;
19161 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19163 PyObject
* obj0
= 0 ;
19164 char *kwnames
[] = {
19165 (char *) "self", NULL
19168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
19169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19174 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
19175 result
= (wxString
*) &_result_ref
;
19178 wxPyEndAllowThreads(__tstate
);
19179 if (PyErr_Occurred()) SWIG_fail
;
19183 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19185 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19194 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19195 PyObject
*resultobj
;
19196 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19198 PyObject
* obj0
= 0 ;
19199 char *kwnames
[] = {
19200 (char *) "self", NULL
19203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
19204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19209 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
19210 result
= (wxString
*) &_result_ref
;
19213 wxPyEndAllowThreads(__tstate
);
19214 if (PyErr_Occurred()) SWIG_fail
;
19218 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19220 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19229 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19230 PyObject
*resultobj
;
19231 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19233 PyObject
* obj0
= 0 ;
19234 char *kwnames
[] = {
19235 (char *) "self", NULL
19238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
19239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19244 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
19245 result
= (wxString
*) &_result_ref
;
19248 wxPyEndAllowThreads(__tstate
);
19249 if (PyErr_Occurred()) SWIG_fail
;
19253 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19255 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19264 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19265 PyObject
*resultobj
;
19266 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19268 PyObject
* obj0
= 0 ;
19269 char *kwnames
[] = {
19270 (char *) "self", NULL
19273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
19274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19278 result
= (double)(arg1
)->GetPrinterScaleX();
19280 wxPyEndAllowThreads(__tstate
);
19281 if (PyErr_Occurred()) SWIG_fail
;
19283 resultobj
= SWIG_From_double((double)result
);
19290 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19291 PyObject
*resultobj
;
19292 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19294 PyObject
* obj0
= 0 ;
19295 char *kwnames
[] = {
19296 (char *) "self", NULL
19299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
19300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19304 result
= (double)(arg1
)->GetPrinterScaleY();
19306 wxPyEndAllowThreads(__tstate
);
19307 if (PyErr_Occurred()) SWIG_fail
;
19309 resultobj
= SWIG_From_double((double)result
);
19316 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19317 PyObject
*resultobj
;
19318 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19320 PyObject
* obj0
= 0 ;
19321 char *kwnames
[] = {
19322 (char *) "self", NULL
19325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
19326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19330 result
= (long)(arg1
)->GetPrinterTranslateX();
19332 wxPyEndAllowThreads(__tstate
);
19333 if (PyErr_Occurred()) SWIG_fail
;
19335 resultobj
= SWIG_From_long((long)result
);
19342 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19343 PyObject
*resultobj
;
19344 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19346 PyObject
* obj0
= 0 ;
19347 char *kwnames
[] = {
19348 (char *) "self", NULL
19351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
19352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19356 result
= (long)(arg1
)->GetPrinterTranslateY();
19358 wxPyEndAllowThreads(__tstate
);
19359 if (PyErr_Occurred()) SWIG_fail
;
19361 resultobj
= SWIG_From_long((long)result
);
19368 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19369 PyObject
*resultobj
;
19370 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19371 wxString
*arg2
= 0 ;
19372 bool temp2
= false ;
19373 PyObject
* obj0
= 0 ;
19374 PyObject
* obj1
= 0 ;
19375 char *kwnames
[] = {
19376 (char *) "self",(char *) "command", NULL
19379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
19380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19383 arg2
= wxString_in_helper(obj1
);
19384 if (arg2
== NULL
) SWIG_fail
;
19388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19389 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
19391 wxPyEndAllowThreads(__tstate
);
19392 if (PyErr_Occurred()) SWIG_fail
;
19394 Py_INCREF(Py_None
); resultobj
= Py_None
;
19409 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19410 PyObject
*resultobj
;
19411 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19412 wxString
*arg2
= 0 ;
19413 bool temp2
= false ;
19414 PyObject
* obj0
= 0 ;
19415 PyObject
* obj1
= 0 ;
19416 char *kwnames
[] = {
19417 (char *) "self",(char *) "options", NULL
19420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
19421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19424 arg2
= wxString_in_helper(obj1
);
19425 if (arg2
== NULL
) SWIG_fail
;
19429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19430 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
19432 wxPyEndAllowThreads(__tstate
);
19433 if (PyErr_Occurred()) SWIG_fail
;
19435 Py_INCREF(Py_None
); resultobj
= Py_None
;
19450 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19451 PyObject
*resultobj
;
19452 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19453 wxString
*arg2
= 0 ;
19454 bool temp2
= false ;
19455 PyObject
* obj0
= 0 ;
19456 PyObject
* obj1
= 0 ;
19457 char *kwnames
[] = {
19458 (char *) "self",(char *) "command", NULL
19461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
19462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19465 arg2
= wxString_in_helper(obj1
);
19466 if (arg2
== NULL
) SWIG_fail
;
19470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19471 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
19473 wxPyEndAllowThreads(__tstate
);
19474 if (PyErr_Occurred()) SWIG_fail
;
19476 Py_INCREF(Py_None
); resultobj
= Py_None
;
19491 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19492 PyObject
*resultobj
;
19493 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19494 wxString
*arg2
= 0 ;
19495 bool temp2
= false ;
19496 PyObject
* obj0
= 0 ;
19497 PyObject
* obj1
= 0 ;
19498 char *kwnames
[] = {
19499 (char *) "self",(char *) "path", NULL
19502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
19503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19506 arg2
= wxString_in_helper(obj1
);
19507 if (arg2
== NULL
) SWIG_fail
;
19511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19512 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
19514 wxPyEndAllowThreads(__tstate
);
19515 if (PyErr_Occurred()) SWIG_fail
;
19517 Py_INCREF(Py_None
); resultobj
= Py_None
;
19532 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19533 PyObject
*resultobj
;
19534 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19536 PyObject
* obj0
= 0 ;
19537 PyObject
* obj1
= 0 ;
19538 char *kwnames
[] = {
19539 (char *) "self",(char *) "x", NULL
19542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
19543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19545 arg2
= (double)SWIG_As_double(obj1
);
19546 if (PyErr_Occurred()) SWIG_fail
;
19548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19549 (arg1
)->SetPrinterScaleX(arg2
);
19551 wxPyEndAllowThreads(__tstate
);
19552 if (PyErr_Occurred()) SWIG_fail
;
19554 Py_INCREF(Py_None
); resultobj
= Py_None
;
19561 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19562 PyObject
*resultobj
;
19563 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19565 PyObject
* obj0
= 0 ;
19566 PyObject
* obj1
= 0 ;
19567 char *kwnames
[] = {
19568 (char *) "self",(char *) "y", NULL
19571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
19572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19574 arg2
= (double)SWIG_As_double(obj1
);
19575 if (PyErr_Occurred()) SWIG_fail
;
19577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19578 (arg1
)->SetPrinterScaleY(arg2
);
19580 wxPyEndAllowThreads(__tstate
);
19581 if (PyErr_Occurred()) SWIG_fail
;
19583 Py_INCREF(Py_None
); resultobj
= Py_None
;
19590 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19591 PyObject
*resultobj
;
19592 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19595 PyObject
* obj0
= 0 ;
19596 PyObject
* obj1
= 0 ;
19597 PyObject
* obj2
= 0 ;
19598 char *kwnames
[] = {
19599 (char *) "self",(char *) "x",(char *) "y", NULL
19602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19605 arg2
= (double)SWIG_As_double(obj1
);
19606 if (PyErr_Occurred()) SWIG_fail
;
19607 arg3
= (double)SWIG_As_double(obj2
);
19608 if (PyErr_Occurred()) SWIG_fail
;
19610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19611 (arg1
)->SetPrinterScaling(arg2
,arg3
);
19613 wxPyEndAllowThreads(__tstate
);
19614 if (PyErr_Occurred()) SWIG_fail
;
19616 Py_INCREF(Py_None
); resultobj
= Py_None
;
19623 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19624 PyObject
*resultobj
;
19625 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19627 PyObject
* obj0
= 0 ;
19628 PyObject
* obj1
= 0 ;
19629 char *kwnames
[] = {
19630 (char *) "self",(char *) "x", NULL
19633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
19634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19636 arg2
= (long)SWIG_As_long(obj1
);
19637 if (PyErr_Occurred()) SWIG_fail
;
19639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19640 (arg1
)->SetPrinterTranslateX(arg2
);
19642 wxPyEndAllowThreads(__tstate
);
19643 if (PyErr_Occurred()) SWIG_fail
;
19645 Py_INCREF(Py_None
); resultobj
= Py_None
;
19652 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19653 PyObject
*resultobj
;
19654 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19656 PyObject
* obj0
= 0 ;
19657 PyObject
* obj1
= 0 ;
19658 char *kwnames
[] = {
19659 (char *) "self",(char *) "y", NULL
19662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
19663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19665 arg2
= (long)SWIG_As_long(obj1
);
19666 if (PyErr_Occurred()) SWIG_fail
;
19668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19669 (arg1
)->SetPrinterTranslateY(arg2
);
19671 wxPyEndAllowThreads(__tstate
);
19672 if (PyErr_Occurred()) SWIG_fail
;
19674 Py_INCREF(Py_None
); resultobj
= Py_None
;
19681 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19682 PyObject
*resultobj
;
19683 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
19686 PyObject
* obj0
= 0 ;
19687 PyObject
* obj1
= 0 ;
19688 PyObject
* obj2
= 0 ;
19689 char *kwnames
[] = {
19690 (char *) "self",(char *) "x",(char *) "y", NULL
19693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
19695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19696 arg2
= (long)SWIG_As_long(obj1
);
19697 if (PyErr_Occurred()) SWIG_fail
;
19698 arg3
= (long)SWIG_As_long(obj2
);
19699 if (PyErr_Occurred()) SWIG_fail
;
19701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19702 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
19704 wxPyEndAllowThreads(__tstate
);
19705 if (PyErr_Occurred()) SWIG_fail
;
19707 Py_INCREF(Py_None
); resultobj
= Py_None
;
19714 static PyObject
* PrintData_swigregister(PyObject
*, PyObject
*args
) {
19716 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19717 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
19719 return Py_BuildValue((char *)"");
19721 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
19722 PyObject
*resultobj
;
19723 wxPageSetupDialogData
*result
;
19725 if(!PyArg_ParseTuple(args
,(char *)":new_PageSetupDialogData")) goto fail
;
19727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19728 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
19730 wxPyEndAllowThreads(__tstate
);
19731 if (PyErr_Occurred()) SWIG_fail
;
19733 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
19740 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
19741 PyObject
*resultobj
;
19742 wxPageSetupDialogData
*arg1
= 0 ;
19743 wxPageSetupDialogData
*result
;
19744 PyObject
* obj0
= 0 ;
19746 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
19747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19748 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19750 if (arg1
== NULL
) {
19751 PyErr_SetString(PyExc_TypeError
,"null reference");
19755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19756 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
19758 wxPyEndAllowThreads(__tstate
);
19759 if (PyErr_Occurred()) SWIG_fail
;
19761 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
19768 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
19773 argc
= PyObject_Length(args
);
19774 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
19775 argv
[ii
] = PyTuple_GetItem(args
,ii
);
19778 return _wrap_new_PageSetupDialogData__SWIG_0(self
,args
);
19784 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPageSetupDialogData
, 0) == -1) {
19792 return _wrap_new_PageSetupDialogData__SWIG_1(self
,args
);
19796 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PageSetupDialogData'");
19801 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19802 PyObject
*resultobj
;
19803 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19804 PyObject
* obj0
= 0 ;
19805 char *kwnames
[] = {
19806 (char *) "self", NULL
19809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
19810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19816 wxPyEndAllowThreads(__tstate
);
19817 if (PyErr_Occurred()) SWIG_fail
;
19819 Py_INCREF(Py_None
); resultobj
= Py_None
;
19826 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19827 PyObject
*resultobj
;
19828 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19830 PyObject
* obj0
= 0 ;
19831 PyObject
* obj1
= 0 ;
19832 char *kwnames
[] = {
19833 (char *) "self",(char *) "flag", NULL
19836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
19837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19839 arg2
= (bool)SWIG_As_bool(obj1
);
19840 if (PyErr_Occurred()) SWIG_fail
;
19842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19843 (arg1
)->EnableHelp(arg2
);
19845 wxPyEndAllowThreads(__tstate
);
19846 if (PyErr_Occurred()) SWIG_fail
;
19848 Py_INCREF(Py_None
); resultobj
= Py_None
;
19855 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19856 PyObject
*resultobj
;
19857 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19859 PyObject
* obj0
= 0 ;
19860 PyObject
* obj1
= 0 ;
19861 char *kwnames
[] = {
19862 (char *) "self",(char *) "flag", NULL
19865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
19866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19868 arg2
= (bool)SWIG_As_bool(obj1
);
19869 if (PyErr_Occurred()) SWIG_fail
;
19871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19872 (arg1
)->EnableMargins(arg2
);
19874 wxPyEndAllowThreads(__tstate
);
19875 if (PyErr_Occurred()) SWIG_fail
;
19877 Py_INCREF(Py_None
); resultobj
= Py_None
;
19884 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19885 PyObject
*resultobj
;
19886 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19888 PyObject
* obj0
= 0 ;
19889 PyObject
* obj1
= 0 ;
19890 char *kwnames
[] = {
19891 (char *) "self",(char *) "flag", NULL
19894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
19895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19897 arg2
= (bool)SWIG_As_bool(obj1
);
19898 if (PyErr_Occurred()) SWIG_fail
;
19900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19901 (arg1
)->EnableOrientation(arg2
);
19903 wxPyEndAllowThreads(__tstate
);
19904 if (PyErr_Occurred()) SWIG_fail
;
19906 Py_INCREF(Py_None
); resultobj
= Py_None
;
19913 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19914 PyObject
*resultobj
;
19915 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19917 PyObject
* obj0
= 0 ;
19918 PyObject
* obj1
= 0 ;
19919 char *kwnames
[] = {
19920 (char *) "self",(char *) "flag", NULL
19923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
19924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19926 arg2
= (bool)SWIG_As_bool(obj1
);
19927 if (PyErr_Occurred()) SWIG_fail
;
19929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19930 (arg1
)->EnablePaper(arg2
);
19932 wxPyEndAllowThreads(__tstate
);
19933 if (PyErr_Occurred()) SWIG_fail
;
19935 Py_INCREF(Py_None
); resultobj
= Py_None
;
19942 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19943 PyObject
*resultobj
;
19944 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19946 PyObject
* obj0
= 0 ;
19947 PyObject
* obj1
= 0 ;
19948 char *kwnames
[] = {
19949 (char *) "self",(char *) "flag", NULL
19952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
19953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19955 arg2
= (bool)SWIG_As_bool(obj1
);
19956 if (PyErr_Occurred()) SWIG_fail
;
19958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19959 (arg1
)->EnablePrinter(arg2
);
19961 wxPyEndAllowThreads(__tstate
);
19962 if (PyErr_Occurred()) SWIG_fail
;
19964 Py_INCREF(Py_None
); resultobj
= Py_None
;
19971 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19972 PyObject
*resultobj
;
19973 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
19975 PyObject
* obj0
= 0 ;
19976 char *kwnames
[] = {
19977 (char *) "self", NULL
19980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
19981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
19982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19985 result
= (bool)(arg1
)->GetDefaultMinMargins();
19987 wxPyEndAllowThreads(__tstate
);
19988 if (PyErr_Occurred()) SWIG_fail
;
19991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19999 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20000 PyObject
*resultobj
;
20001 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20003 PyObject
* obj0
= 0 ;
20004 char *kwnames
[] = {
20005 (char *) "self", NULL
20008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
20009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20013 result
= (bool)(arg1
)->GetEnableMargins();
20015 wxPyEndAllowThreads(__tstate
);
20016 if (PyErr_Occurred()) SWIG_fail
;
20019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20027 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20028 PyObject
*resultobj
;
20029 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20031 PyObject
* obj0
= 0 ;
20032 char *kwnames
[] = {
20033 (char *) "self", NULL
20036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
20037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20041 result
= (bool)(arg1
)->GetEnableOrientation();
20043 wxPyEndAllowThreads(__tstate
);
20044 if (PyErr_Occurred()) SWIG_fail
;
20047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20055 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20056 PyObject
*resultobj
;
20057 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20059 PyObject
* obj0
= 0 ;
20060 char *kwnames
[] = {
20061 (char *) "self", NULL
20064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
20065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20069 result
= (bool)(arg1
)->GetEnablePaper();
20071 wxPyEndAllowThreads(__tstate
);
20072 if (PyErr_Occurred()) SWIG_fail
;
20075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20083 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20084 PyObject
*resultobj
;
20085 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20087 PyObject
* obj0
= 0 ;
20088 char *kwnames
[] = {
20089 (char *) "self", NULL
20092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
20093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20097 result
= (bool)(arg1
)->GetEnablePrinter();
20099 wxPyEndAllowThreads(__tstate
);
20100 if (PyErr_Occurred()) SWIG_fail
;
20103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20111 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20112 PyObject
*resultobj
;
20113 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20115 PyObject
* obj0
= 0 ;
20116 char *kwnames
[] = {
20117 (char *) "self", NULL
20120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
20121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20125 result
= (bool)(arg1
)->GetEnableHelp();
20127 wxPyEndAllowThreads(__tstate
);
20128 if (PyErr_Occurred()) SWIG_fail
;
20131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20139 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20140 PyObject
*resultobj
;
20141 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20143 PyObject
* obj0
= 0 ;
20144 char *kwnames
[] = {
20145 (char *) "self", NULL
20148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
20149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20153 result
= (bool)(arg1
)->GetDefaultInfo();
20155 wxPyEndAllowThreads(__tstate
);
20156 if (PyErr_Occurred()) SWIG_fail
;
20159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20167 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20168 PyObject
*resultobj
;
20169 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20171 PyObject
* obj0
= 0 ;
20172 char *kwnames
[] = {
20173 (char *) "self", NULL
20176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
20177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20181 result
= (arg1
)->GetMarginTopLeft();
20183 wxPyEndAllowThreads(__tstate
);
20184 if (PyErr_Occurred()) SWIG_fail
;
20187 wxPoint
* resultptr
;
20188 resultptr
= new wxPoint((wxPoint
&) result
);
20189 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20197 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20198 PyObject
*resultobj
;
20199 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20201 PyObject
* obj0
= 0 ;
20202 char *kwnames
[] = {
20203 (char *) "self", NULL
20206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
20207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20211 result
= (arg1
)->GetMarginBottomRight();
20213 wxPyEndAllowThreads(__tstate
);
20214 if (PyErr_Occurred()) SWIG_fail
;
20217 wxPoint
* resultptr
;
20218 resultptr
= new wxPoint((wxPoint
&) result
);
20219 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20227 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20228 PyObject
*resultobj
;
20229 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20231 PyObject
* obj0
= 0 ;
20232 char *kwnames
[] = {
20233 (char *) "self", NULL
20236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
20237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20241 result
= (arg1
)->GetMinMarginTopLeft();
20243 wxPyEndAllowThreads(__tstate
);
20244 if (PyErr_Occurred()) SWIG_fail
;
20247 wxPoint
* resultptr
;
20248 resultptr
= new wxPoint((wxPoint
&) result
);
20249 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20257 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20258 PyObject
*resultobj
;
20259 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20261 PyObject
* obj0
= 0 ;
20262 char *kwnames
[] = {
20263 (char *) "self", NULL
20266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
20267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20271 result
= (arg1
)->GetMinMarginBottomRight();
20273 wxPyEndAllowThreads(__tstate
);
20274 if (PyErr_Occurred()) SWIG_fail
;
20277 wxPoint
* resultptr
;
20278 resultptr
= new wxPoint((wxPoint
&) result
);
20279 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20287 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20288 PyObject
*resultobj
;
20289 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20291 PyObject
* obj0
= 0 ;
20292 char *kwnames
[] = {
20293 (char *) "self", NULL
20296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
20297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20301 result
= (int)(arg1
)->GetPaperId();
20303 wxPyEndAllowThreads(__tstate
);
20304 if (PyErr_Occurred()) SWIG_fail
;
20306 resultobj
= SWIG_From_int((int)result
);
20313 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20314 PyObject
*resultobj
;
20315 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20317 PyObject
* obj0
= 0 ;
20318 char *kwnames
[] = {
20319 (char *) "self", NULL
20322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
20323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20327 result
= (arg1
)->GetPaperSize();
20329 wxPyEndAllowThreads(__tstate
);
20330 if (PyErr_Occurred()) SWIG_fail
;
20333 wxSize
* resultptr
;
20334 resultptr
= new wxSize((wxSize
&) result
);
20335 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20343 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20344 PyObject
*resultobj
;
20345 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20346 wxPrintData
*result
;
20347 PyObject
* obj0
= 0 ;
20348 char *kwnames
[] = {
20349 (char *) "self", NULL
20352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
20353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20358 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
20359 result
= (wxPrintData
*) &_result_ref
;
20362 wxPyEndAllowThreads(__tstate
);
20363 if (PyErr_Occurred()) SWIG_fail
;
20365 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
20372 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20373 PyObject
*resultobj
;
20374 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20376 PyObject
* obj0
= 0 ;
20377 char *kwnames
[] = {
20378 (char *) "self", NULL
20381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
20382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20386 result
= (bool)(arg1
)->Ok();
20388 wxPyEndAllowThreads(__tstate
);
20389 if (PyErr_Occurred()) SWIG_fail
;
20392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20400 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20401 PyObject
*resultobj
;
20402 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20404 PyObject
* obj0
= 0 ;
20405 PyObject
* obj1
= 0 ;
20406 char *kwnames
[] = {
20407 (char *) "self",(char *) "flag", NULL
20410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
20411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20413 arg2
= (bool)SWIG_As_bool(obj1
);
20414 if (PyErr_Occurred()) SWIG_fail
;
20416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20417 (arg1
)->SetDefaultInfo(arg2
);
20419 wxPyEndAllowThreads(__tstate
);
20420 if (PyErr_Occurred()) SWIG_fail
;
20422 Py_INCREF(Py_None
); resultobj
= Py_None
;
20429 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20430 PyObject
*resultobj
;
20431 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20433 PyObject
* obj0
= 0 ;
20434 PyObject
* obj1
= 0 ;
20435 char *kwnames
[] = {
20436 (char *) "self",(char *) "flag", NULL
20439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
20440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20442 arg2
= (bool)SWIG_As_bool(obj1
);
20443 if (PyErr_Occurred()) SWIG_fail
;
20445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20446 (arg1
)->SetDefaultMinMargins(arg2
);
20448 wxPyEndAllowThreads(__tstate
);
20449 if (PyErr_Occurred()) SWIG_fail
;
20451 Py_INCREF(Py_None
); resultobj
= Py_None
;
20458 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20459 PyObject
*resultobj
;
20460 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20461 wxPoint
*arg2
= 0 ;
20463 PyObject
* obj0
= 0 ;
20464 PyObject
* obj1
= 0 ;
20465 char *kwnames
[] = {
20466 (char *) "self",(char *) "pt", NULL
20469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
20470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20474 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20478 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
20480 wxPyEndAllowThreads(__tstate
);
20481 if (PyErr_Occurred()) SWIG_fail
;
20483 Py_INCREF(Py_None
); resultobj
= Py_None
;
20490 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20491 PyObject
*resultobj
;
20492 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20493 wxPoint
*arg2
= 0 ;
20495 PyObject
* obj0
= 0 ;
20496 PyObject
* obj1
= 0 ;
20497 char *kwnames
[] = {
20498 (char *) "self",(char *) "pt", NULL
20501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
20502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20506 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20510 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
20512 wxPyEndAllowThreads(__tstate
);
20513 if (PyErr_Occurred()) SWIG_fail
;
20515 Py_INCREF(Py_None
); resultobj
= Py_None
;
20522 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20523 PyObject
*resultobj
;
20524 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20525 wxPoint
*arg2
= 0 ;
20527 PyObject
* obj0
= 0 ;
20528 PyObject
* obj1
= 0 ;
20529 char *kwnames
[] = {
20530 (char *) "self",(char *) "pt", NULL
20533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
20534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20538 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20542 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
20544 wxPyEndAllowThreads(__tstate
);
20545 if (PyErr_Occurred()) SWIG_fail
;
20547 Py_INCREF(Py_None
); resultobj
= Py_None
;
20554 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20555 PyObject
*resultobj
;
20556 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20557 wxPoint
*arg2
= 0 ;
20559 PyObject
* obj0
= 0 ;
20560 PyObject
* obj1
= 0 ;
20561 char *kwnames
[] = {
20562 (char *) "self",(char *) "pt", NULL
20565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
20566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20570 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20574 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
20576 wxPyEndAllowThreads(__tstate
);
20577 if (PyErr_Occurred()) SWIG_fail
;
20579 Py_INCREF(Py_None
); resultobj
= Py_None
;
20586 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20587 PyObject
*resultobj
;
20588 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20590 PyObject
* obj0
= 0 ;
20591 PyObject
* obj1
= 0 ;
20592 char *kwnames
[] = {
20593 (char *) "self",(char *) "id", NULL
20596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
20597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20599 arg2
= (int)SWIG_As_int(obj1
);
20600 if (PyErr_Occurred()) SWIG_fail
;
20602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20603 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
20605 wxPyEndAllowThreads(__tstate
);
20606 if (PyErr_Occurred()) SWIG_fail
;
20608 Py_INCREF(Py_None
); resultobj
= Py_None
;
20615 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20616 PyObject
*resultobj
;
20617 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20620 PyObject
* obj0
= 0 ;
20621 PyObject
* obj1
= 0 ;
20622 char *kwnames
[] = {
20623 (char *) "self",(char *) "size", NULL
20626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20631 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20635 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
20637 wxPyEndAllowThreads(__tstate
);
20638 if (PyErr_Occurred()) SWIG_fail
;
20640 Py_INCREF(Py_None
); resultobj
= Py_None
;
20647 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20648 PyObject
*resultobj
;
20649 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
20650 wxPrintData
*arg2
= 0 ;
20651 PyObject
* obj0
= 0 ;
20652 PyObject
* obj1
= 0 ;
20653 char *kwnames
[] = {
20654 (char *) "self",(char *) "printData", NULL
20657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
20658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialogData
,
20659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20660 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
20661 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20663 if (arg2
== NULL
) {
20664 PyErr_SetString(PyExc_TypeError
,"null reference");
20668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20669 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
20671 wxPyEndAllowThreads(__tstate
);
20672 if (PyErr_Occurred()) SWIG_fail
;
20674 Py_INCREF(Py_None
); resultobj
= Py_None
;
20681 static PyObject
* PageSetupDialogData_swigregister(PyObject
*, PyObject
*args
) {
20683 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20684 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
20686 return Py_BuildValue((char *)"");
20688 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20689 PyObject
*resultobj
;
20690 wxWindow
*arg1
= (wxWindow
*) 0 ;
20691 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
20692 wxPageSetupDialog
*result
;
20693 PyObject
* obj0
= 0 ;
20694 PyObject
* obj1
= 0 ;
20695 char *kwnames
[] = {
20696 (char *) "parent",(char *) "data", NULL
20699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
20700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20703 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPageSetupDialogData
,
20704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20707 if (!wxPyCheckForApp()) SWIG_fail
;
20708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20709 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
20711 wxPyEndAllowThreads(__tstate
);
20712 if (PyErr_Occurred()) SWIG_fail
;
20714 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
20721 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20722 PyObject
*resultobj
;
20723 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
20724 wxPageSetupDialogData
*result
;
20725 PyObject
* obj0
= 0 ;
20726 char *kwnames
[] = {
20727 (char *) "self", NULL
20730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
20731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
20732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20736 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
20737 result
= (wxPageSetupDialogData
*) &_result_ref
;
20740 wxPyEndAllowThreads(__tstate
);
20741 if (PyErr_Occurred()) SWIG_fail
;
20743 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
20750 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20751 PyObject
*resultobj
;
20752 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
20754 PyObject
* obj0
= 0 ;
20755 char *kwnames
[] = {
20756 (char *) "self", NULL
20759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
20760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPageSetupDialog
,
20761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20764 result
= (int)(arg1
)->ShowModal();
20766 wxPyEndAllowThreads(__tstate
);
20767 if (PyErr_Occurred()) SWIG_fail
;
20769 resultobj
= SWIG_From_int((int)result
);
20776 static PyObject
* PageSetupDialog_swigregister(PyObject
*, PyObject
*args
) {
20778 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20779 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
20781 return Py_BuildValue((char *)"");
20783 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
20784 PyObject
*resultobj
;
20785 wxPrintDialogData
*result
;
20787 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
20789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20790 result
= (wxPrintDialogData
*)new wxPrintDialogData();
20792 wxPyEndAllowThreads(__tstate
);
20793 if (PyErr_Occurred()) SWIG_fail
;
20795 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
20802 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
20803 PyObject
*resultobj
;
20804 wxPrintData
*arg1
= 0 ;
20805 wxPrintDialogData
*result
;
20806 PyObject
* obj0
= 0 ;
20808 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
20809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintData
,
20810 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20812 if (arg1
== NULL
) {
20813 PyErr_SetString(PyExc_TypeError
,"null reference");
20817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20818 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
20820 wxPyEndAllowThreads(__tstate
);
20821 if (PyErr_Occurred()) SWIG_fail
;
20823 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
20830 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
20835 argc
= PyObject_Length(args
);
20836 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
20837 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20840 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
20846 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
20854 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
20858 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintDialogData'");
20863 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20864 PyObject
*resultobj
;
20865 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20866 PyObject
* obj0
= 0 ;
20867 char *kwnames
[] = {
20868 (char *) "self", NULL
20871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
20872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20878 wxPyEndAllowThreads(__tstate
);
20879 if (PyErr_Occurred()) SWIG_fail
;
20881 Py_INCREF(Py_None
); resultobj
= Py_None
;
20888 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20889 PyObject
*resultobj
;
20890 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20892 PyObject
* obj0
= 0 ;
20893 char *kwnames
[] = {
20894 (char *) "self", NULL
20897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
20898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20902 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
20904 wxPyEndAllowThreads(__tstate
);
20905 if (PyErr_Occurred()) SWIG_fail
;
20907 resultobj
= SWIG_From_int((int)result
);
20914 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20915 PyObject
*resultobj
;
20916 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20918 PyObject
* obj0
= 0 ;
20919 char *kwnames
[] = {
20920 (char *) "self", NULL
20923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
20924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20928 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
20930 wxPyEndAllowThreads(__tstate
);
20931 if (PyErr_Occurred()) SWIG_fail
;
20933 resultobj
= SWIG_From_int((int)result
);
20940 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20941 PyObject
*resultobj
;
20942 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20944 PyObject
* obj0
= 0 ;
20945 char *kwnames
[] = {
20946 (char *) "self", NULL
20949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
20950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20954 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
20956 wxPyEndAllowThreads(__tstate
);
20957 if (PyErr_Occurred()) SWIG_fail
;
20959 resultobj
= SWIG_From_int((int)result
);
20966 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20967 PyObject
*resultobj
;
20968 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20970 PyObject
* obj0
= 0 ;
20971 char *kwnames
[] = {
20972 (char *) "self", NULL
20975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
20976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
20977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20980 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
20982 wxPyEndAllowThreads(__tstate
);
20983 if (PyErr_Occurred()) SWIG_fail
;
20985 resultobj
= SWIG_From_int((int)result
);
20992 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20993 PyObject
*resultobj
;
20994 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
20996 PyObject
* obj0
= 0 ;
20997 char *kwnames
[] = {
20998 (char *) "self", NULL
21001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
21002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21006 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
21008 wxPyEndAllowThreads(__tstate
);
21009 if (PyErr_Occurred()) SWIG_fail
;
21011 resultobj
= SWIG_From_int((int)result
);
21018 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21019 PyObject
*resultobj
;
21020 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21022 PyObject
* obj0
= 0 ;
21023 char *kwnames
[] = {
21024 (char *) "self", NULL
21027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
21028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21032 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
21034 wxPyEndAllowThreads(__tstate
);
21035 if (PyErr_Occurred()) SWIG_fail
;
21038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21046 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21047 PyObject
*resultobj
;
21048 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21050 PyObject
* obj0
= 0 ;
21051 char *kwnames
[] = {
21052 (char *) "self", NULL
21055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
21056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21060 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
21062 wxPyEndAllowThreads(__tstate
);
21063 if (PyErr_Occurred()) SWIG_fail
;
21066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21074 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21075 PyObject
*resultobj
;
21076 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21078 PyObject
* obj0
= 0 ;
21079 char *kwnames
[] = {
21080 (char *) "self", NULL
21083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
21084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21088 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
21090 wxPyEndAllowThreads(__tstate
);
21091 if (PyErr_Occurred()) SWIG_fail
;
21094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21102 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21103 PyObject
*resultobj
;
21104 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21106 PyObject
* obj0
= 0 ;
21107 char *kwnames
[] = {
21108 (char *) "self", NULL
21111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
21112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21116 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
21118 wxPyEndAllowThreads(__tstate
);
21119 if (PyErr_Occurred()) SWIG_fail
;
21122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21130 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21131 PyObject
*resultobj
;
21132 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21134 PyObject
* obj0
= 0 ;
21135 char *kwnames
[] = {
21136 (char *) "self", NULL
21139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
21140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21144 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
21146 wxPyEndAllowThreads(__tstate
);
21147 if (PyErr_Occurred()) SWIG_fail
;
21150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21158 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21159 PyObject
*resultobj
;
21160 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21162 PyObject
* obj0
= 0 ;
21163 PyObject
* obj1
= 0 ;
21164 char *kwnames
[] = {
21165 (char *) "self",(char *) "flag", NULL
21168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21171 arg2
= (bool)SWIG_As_bool(obj1
);
21172 if (PyErr_Occurred()) SWIG_fail
;
21174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21175 (arg1
)->SetSetupDialog(arg2
);
21177 wxPyEndAllowThreads(__tstate
);
21178 if (PyErr_Occurred()) SWIG_fail
;
21180 Py_INCREF(Py_None
); resultobj
= Py_None
;
21187 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21188 PyObject
*resultobj
;
21189 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21191 PyObject
* obj0
= 0 ;
21192 PyObject
* obj1
= 0 ;
21193 char *kwnames
[] = {
21194 (char *) "self",(char *) "v", NULL
21197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21200 arg2
= (int)SWIG_As_int(obj1
);
21201 if (PyErr_Occurred()) SWIG_fail
;
21203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21204 (arg1
)->SetFromPage(arg2
);
21206 wxPyEndAllowThreads(__tstate
);
21207 if (PyErr_Occurred()) SWIG_fail
;
21209 Py_INCREF(Py_None
); resultobj
= Py_None
;
21216 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21217 PyObject
*resultobj
;
21218 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21220 PyObject
* obj0
= 0 ;
21221 PyObject
* obj1
= 0 ;
21222 char *kwnames
[] = {
21223 (char *) "self",(char *) "v", NULL
21226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21229 arg2
= (int)SWIG_As_int(obj1
);
21230 if (PyErr_Occurred()) SWIG_fail
;
21232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21233 (arg1
)->SetToPage(arg2
);
21235 wxPyEndAllowThreads(__tstate
);
21236 if (PyErr_Occurred()) SWIG_fail
;
21238 Py_INCREF(Py_None
); resultobj
= Py_None
;
21245 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21246 PyObject
*resultobj
;
21247 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21249 PyObject
* obj0
= 0 ;
21250 PyObject
* obj1
= 0 ;
21251 char *kwnames
[] = {
21252 (char *) "self",(char *) "v", NULL
21255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21258 arg2
= (int)SWIG_As_int(obj1
);
21259 if (PyErr_Occurred()) SWIG_fail
;
21261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21262 (arg1
)->SetMinPage(arg2
);
21264 wxPyEndAllowThreads(__tstate
);
21265 if (PyErr_Occurred()) SWIG_fail
;
21267 Py_INCREF(Py_None
); resultobj
= Py_None
;
21274 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21275 PyObject
*resultobj
;
21276 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21278 PyObject
* obj0
= 0 ;
21279 PyObject
* obj1
= 0 ;
21280 char *kwnames
[] = {
21281 (char *) "self",(char *) "v", NULL
21284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
21285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21287 arg2
= (int)SWIG_As_int(obj1
);
21288 if (PyErr_Occurred()) SWIG_fail
;
21290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21291 (arg1
)->SetMaxPage(arg2
);
21293 wxPyEndAllowThreads(__tstate
);
21294 if (PyErr_Occurred()) SWIG_fail
;
21296 Py_INCREF(Py_None
); resultobj
= Py_None
;
21303 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21304 PyObject
*resultobj
;
21305 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21307 PyObject
* obj0
= 0 ;
21308 PyObject
* obj1
= 0 ;
21309 char *kwnames
[] = {
21310 (char *) "self",(char *) "v", NULL
21313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
21314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21316 arg2
= (int)SWIG_As_int(obj1
);
21317 if (PyErr_Occurred()) SWIG_fail
;
21319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21320 (arg1
)->SetNoCopies(arg2
);
21322 wxPyEndAllowThreads(__tstate
);
21323 if (PyErr_Occurred()) SWIG_fail
;
21325 Py_INCREF(Py_None
); resultobj
= Py_None
;
21332 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21333 PyObject
*resultobj
;
21334 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21336 PyObject
* obj0
= 0 ;
21337 PyObject
* obj1
= 0 ;
21338 char *kwnames
[] = {
21339 (char *) "self",(char *) "flag", NULL
21342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
21343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21345 arg2
= (bool)SWIG_As_bool(obj1
);
21346 if (PyErr_Occurred()) SWIG_fail
;
21348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21349 (arg1
)->SetAllPages(arg2
);
21351 wxPyEndAllowThreads(__tstate
);
21352 if (PyErr_Occurred()) SWIG_fail
;
21354 Py_INCREF(Py_None
); resultobj
= Py_None
;
21361 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21362 PyObject
*resultobj
;
21363 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21365 PyObject
* obj0
= 0 ;
21366 PyObject
* obj1
= 0 ;
21367 char *kwnames
[] = {
21368 (char *) "self",(char *) "flag", NULL
21371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
21372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21374 arg2
= (bool)SWIG_As_bool(obj1
);
21375 if (PyErr_Occurred()) SWIG_fail
;
21377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21378 (arg1
)->SetSelection(arg2
);
21380 wxPyEndAllowThreads(__tstate
);
21381 if (PyErr_Occurred()) SWIG_fail
;
21383 Py_INCREF(Py_None
); resultobj
= Py_None
;
21390 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21391 PyObject
*resultobj
;
21392 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21394 PyObject
* obj0
= 0 ;
21395 PyObject
* obj1
= 0 ;
21396 char *kwnames
[] = {
21397 (char *) "self",(char *) "flag", NULL
21400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
21401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21403 arg2
= (bool)SWIG_As_bool(obj1
);
21404 if (PyErr_Occurred()) SWIG_fail
;
21406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21407 (arg1
)->SetCollate(arg2
);
21409 wxPyEndAllowThreads(__tstate
);
21410 if (PyErr_Occurred()) SWIG_fail
;
21412 Py_INCREF(Py_None
); resultobj
= Py_None
;
21419 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21420 PyObject
*resultobj
;
21421 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21423 PyObject
* obj0
= 0 ;
21424 PyObject
* obj1
= 0 ;
21425 char *kwnames
[] = {
21426 (char *) "self",(char *) "flag", NULL
21429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
21430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21432 arg2
= (bool)SWIG_As_bool(obj1
);
21433 if (PyErr_Occurred()) SWIG_fail
;
21435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21436 (arg1
)->SetPrintToFile(arg2
);
21438 wxPyEndAllowThreads(__tstate
);
21439 if (PyErr_Occurred()) SWIG_fail
;
21441 Py_INCREF(Py_None
); resultobj
= Py_None
;
21448 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21449 PyObject
*resultobj
;
21450 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21452 PyObject
* obj0
= 0 ;
21453 PyObject
* obj1
= 0 ;
21454 char *kwnames
[] = {
21455 (char *) "self",(char *) "flag", NULL
21458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
21459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21461 arg2
= (bool)SWIG_As_bool(obj1
);
21462 if (PyErr_Occurred()) SWIG_fail
;
21464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21465 (arg1
)->EnablePrintToFile(arg2
);
21467 wxPyEndAllowThreads(__tstate
);
21468 if (PyErr_Occurred()) SWIG_fail
;
21470 Py_INCREF(Py_None
); resultobj
= Py_None
;
21477 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21478 PyObject
*resultobj
;
21479 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21481 PyObject
* obj0
= 0 ;
21482 PyObject
* obj1
= 0 ;
21483 char *kwnames
[] = {
21484 (char *) "self",(char *) "flag", NULL
21487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
21488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21490 arg2
= (bool)SWIG_As_bool(obj1
);
21491 if (PyErr_Occurred()) SWIG_fail
;
21493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21494 (arg1
)->EnableSelection(arg2
);
21496 wxPyEndAllowThreads(__tstate
);
21497 if (PyErr_Occurred()) SWIG_fail
;
21499 Py_INCREF(Py_None
); resultobj
= Py_None
;
21506 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21507 PyObject
*resultobj
;
21508 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21510 PyObject
* obj0
= 0 ;
21511 PyObject
* obj1
= 0 ;
21512 char *kwnames
[] = {
21513 (char *) "self",(char *) "flag", NULL
21516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
21517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21519 arg2
= (bool)SWIG_As_bool(obj1
);
21520 if (PyErr_Occurred()) SWIG_fail
;
21522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21523 (arg1
)->EnablePageNumbers(arg2
);
21525 wxPyEndAllowThreads(__tstate
);
21526 if (PyErr_Occurred()) SWIG_fail
;
21528 Py_INCREF(Py_None
); resultobj
= Py_None
;
21535 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21536 PyObject
*resultobj
;
21537 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21539 PyObject
* obj0
= 0 ;
21540 PyObject
* obj1
= 0 ;
21541 char *kwnames
[] = {
21542 (char *) "self",(char *) "flag", NULL
21545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
21546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21548 arg2
= (bool)SWIG_As_bool(obj1
);
21549 if (PyErr_Occurred()) SWIG_fail
;
21551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21552 (arg1
)->EnableHelp(arg2
);
21554 wxPyEndAllowThreads(__tstate
);
21555 if (PyErr_Occurred()) SWIG_fail
;
21557 Py_INCREF(Py_None
); resultobj
= Py_None
;
21564 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21565 PyObject
*resultobj
;
21566 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21568 PyObject
* obj0
= 0 ;
21569 char *kwnames
[] = {
21570 (char *) "self", NULL
21573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
21574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21578 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
21580 wxPyEndAllowThreads(__tstate
);
21581 if (PyErr_Occurred()) SWIG_fail
;
21584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21592 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21593 PyObject
*resultobj
;
21594 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21596 PyObject
* obj0
= 0 ;
21597 char *kwnames
[] = {
21598 (char *) "self", NULL
21601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
21602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21606 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
21608 wxPyEndAllowThreads(__tstate
);
21609 if (PyErr_Occurred()) SWIG_fail
;
21612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21620 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21621 PyObject
*resultobj
;
21622 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21624 PyObject
* obj0
= 0 ;
21625 char *kwnames
[] = {
21626 (char *) "self", NULL
21629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
21630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21634 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
21636 wxPyEndAllowThreads(__tstate
);
21637 if (PyErr_Occurred()) SWIG_fail
;
21640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21648 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21649 PyObject
*resultobj
;
21650 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21652 PyObject
* obj0
= 0 ;
21653 char *kwnames
[] = {
21654 (char *) "self", NULL
21657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
21658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21662 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
21664 wxPyEndAllowThreads(__tstate
);
21665 if (PyErr_Occurred()) SWIG_fail
;
21668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21676 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21677 PyObject
*resultobj
;
21678 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21680 PyObject
* obj0
= 0 ;
21681 char *kwnames
[] = {
21682 (char *) "self", NULL
21685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
21686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21690 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
21692 wxPyEndAllowThreads(__tstate
);
21693 if (PyErr_Occurred()) SWIG_fail
;
21696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21704 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21705 PyObject
*resultobj
;
21706 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21707 wxPrintData
*result
;
21708 PyObject
* obj0
= 0 ;
21709 char *kwnames
[] = {
21710 (char *) "self", NULL
21713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
21714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21719 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
21720 result
= (wxPrintData
*) &_result_ref
;
21723 wxPyEndAllowThreads(__tstate
);
21724 if (PyErr_Occurred()) SWIG_fail
;
21726 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
21733 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21734 PyObject
*resultobj
;
21735 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
21736 wxPrintData
*arg2
= 0 ;
21737 PyObject
* obj0
= 0 ;
21738 PyObject
* obj1
= 0 ;
21739 char *kwnames
[] = {
21740 (char *) "self",(char *) "printData", NULL
21743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
21744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21746 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintData
,
21747 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21749 if (arg2
== NULL
) {
21750 PyErr_SetString(PyExc_TypeError
,"null reference");
21754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21755 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
21757 wxPyEndAllowThreads(__tstate
);
21758 if (PyErr_Occurred()) SWIG_fail
;
21760 Py_INCREF(Py_None
); resultobj
= Py_None
;
21767 static PyObject
* PrintDialogData_swigregister(PyObject
*, PyObject
*args
) {
21769 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21770 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
21772 return Py_BuildValue((char *)"");
21774 static PyObject
*_wrap_new_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21775 PyObject
*resultobj
;
21776 wxWindow
*arg1
= (wxWindow
*) 0 ;
21777 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
21778 wxPrintDialog
*result
;
21779 PyObject
* obj0
= 0 ;
21780 PyObject
* obj1
= 0 ;
21781 char *kwnames
[] = {
21782 (char *) "parent",(char *) "data", NULL
21785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21789 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintDialogData
,
21790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21793 if (!wxPyCheckForApp()) SWIG_fail
;
21794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21795 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
21797 wxPyEndAllowThreads(__tstate
);
21798 if (PyErr_Occurred()) SWIG_fail
;
21800 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
21807 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21808 PyObject
*resultobj
;
21809 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21811 PyObject
* obj0
= 0 ;
21812 char *kwnames
[] = {
21813 (char *) "self", NULL
21816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
21817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21821 result
= (int)(arg1
)->ShowModal();
21823 wxPyEndAllowThreads(__tstate
);
21824 if (PyErr_Occurred()) SWIG_fail
;
21826 resultobj
= SWIG_From_int((int)result
);
21833 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21834 PyObject
*resultobj
;
21835 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21836 wxPrintDialogData
*result
;
21837 PyObject
* obj0
= 0 ;
21838 char *kwnames
[] = {
21839 (char *) "self", NULL
21842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
21843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21848 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
21849 result
= (wxPrintDialogData
*) &_result_ref
;
21852 wxPyEndAllowThreads(__tstate
);
21853 if (PyErr_Occurred()) SWIG_fail
;
21855 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
21862 static PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21863 PyObject
*resultobj
;
21864 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21865 wxPrintData
*result
;
21866 PyObject
* obj0
= 0 ;
21867 char *kwnames
[] = {
21868 (char *) "self", NULL
21871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintData",kwnames
,&obj0
)) goto fail
;
21872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21877 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
21878 result
= (wxPrintData
*) &_result_ref
;
21881 wxPyEndAllowThreads(__tstate
);
21882 if (PyErr_Occurred()) SWIG_fail
;
21884 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
21891 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21892 PyObject
*resultobj
;
21893 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
21895 PyObject
* obj0
= 0 ;
21896 char *kwnames
[] = {
21897 (char *) "self", NULL
21900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
21901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialog
,
21902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21905 result
= (wxDC
*)(arg1
)->GetPrintDC();
21907 wxPyEndAllowThreads(__tstate
);
21908 if (PyErr_Occurred()) SWIG_fail
;
21911 resultobj
= wxPyMake_wxObject(result
, 1);
21919 static PyObject
* PrintDialog_swigregister(PyObject
*, PyObject
*args
) {
21921 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21922 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
21924 return Py_BuildValue((char *)"");
21926 static PyObject
*_wrap_new_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21927 PyObject
*resultobj
;
21928 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
21930 PyObject
* obj0
= 0 ;
21931 char *kwnames
[] = {
21932 (char *) "data", NULL
21935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
21937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintDialogData
,
21938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21941 if (!wxPyCheckForApp()) SWIG_fail
;
21942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21943 result
= (wxPrinter
*)new wxPrinter(arg1
);
21945 wxPyEndAllowThreads(__tstate
);
21946 if (PyErr_Occurred()) SWIG_fail
;
21948 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
21955 static PyObject
*_wrap_delete_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21956 PyObject
*resultobj
;
21957 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21958 PyObject
* obj0
= 0 ;
21959 char *kwnames
[] = {
21960 (char *) "self", NULL
21963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
21964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21970 wxPyEndAllowThreads(__tstate
);
21971 if (PyErr_Occurred()) SWIG_fail
;
21973 Py_INCREF(Py_None
); resultobj
= Py_None
;
21980 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21981 PyObject
*resultobj
;
21982 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
21983 wxWindow
*arg2
= (wxWindow
*) 0 ;
21984 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
21986 PyObject
* obj0
= 0 ;
21987 PyObject
* obj1
= 0 ;
21988 PyObject
* obj2
= 0 ;
21989 char *kwnames
[] = {
21990 (char *) "self",(char *) "parent",(char *) "printout", NULL
21993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
21995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21996 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21998 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
21999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22002 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
22004 wxPyEndAllowThreads(__tstate
);
22005 if (PyErr_Occurred()) SWIG_fail
;
22008 resultobj
= wxPyMake_wxObject(result
, 0);
22016 static PyObject
*_wrap_Printer_ReportError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22017 PyObject
*resultobj
;
22018 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22019 wxWindow
*arg2
= (wxWindow
*) 0 ;
22020 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
22021 wxString
*arg4
= 0 ;
22022 bool temp4
= false ;
22023 PyObject
* obj0
= 0 ;
22024 PyObject
* obj1
= 0 ;
22025 PyObject
* obj2
= 0 ;
22026 PyObject
* obj3
= 0 ;
22027 char *kwnames
[] = {
22028 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
22031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22034 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22036 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
22037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22039 arg4
= wxString_in_helper(obj3
);
22040 if (arg4
== NULL
) SWIG_fail
;
22044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22045 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
22047 wxPyEndAllowThreads(__tstate
);
22048 if (PyErr_Occurred()) SWIG_fail
;
22050 Py_INCREF(Py_None
); resultobj
= Py_None
;
22065 static PyObject
*_wrap_Printer_Setup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22066 PyObject
*resultobj
;
22067 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22068 wxWindow
*arg2
= (wxWindow
*) 0 ;
22070 PyObject
* obj0
= 0 ;
22071 PyObject
* obj1
= 0 ;
22072 char *kwnames
[] = {
22073 (char *) "self",(char *) "parent", NULL
22076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
22077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22079 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22083 result
= (bool)(arg1
)->Setup(arg2
);
22085 wxPyEndAllowThreads(__tstate
);
22086 if (PyErr_Occurred()) SWIG_fail
;
22089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22097 static PyObject
*_wrap_Printer_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22098 PyObject
*resultobj
;
22099 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22100 wxWindow
*arg2
= (wxWindow
*) 0 ;
22101 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
22102 bool arg4
= (bool) true ;
22104 PyObject
* obj0
= 0 ;
22105 PyObject
* obj1
= 0 ;
22106 PyObject
* obj2
= 0 ;
22107 PyObject
* obj3
= 0 ;
22108 char *kwnames
[] = {
22109 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
22112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22115 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22117 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyPrintout
,
22118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22120 arg4
= (bool)SWIG_As_bool(obj3
);
22121 if (PyErr_Occurred()) SWIG_fail
;
22124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22125 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
22127 wxPyEndAllowThreads(__tstate
);
22128 if (PyErr_Occurred()) SWIG_fail
;
22131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22139 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22140 PyObject
*resultobj
;
22141 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22142 wxWindow
*arg2
= (wxWindow
*) 0 ;
22144 PyObject
* obj0
= 0 ;
22145 PyObject
* obj1
= 0 ;
22146 char *kwnames
[] = {
22147 (char *) "self",(char *) "parent", NULL
22150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
22151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22153 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
22154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22157 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
22159 wxPyEndAllowThreads(__tstate
);
22160 if (PyErr_Occurred()) SWIG_fail
;
22163 resultobj
= wxPyMake_wxObject(result
, 0);
22171 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22172 PyObject
*resultobj
;
22173 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22174 wxPrintDialogData
*result
;
22175 PyObject
* obj0
= 0 ;
22176 char *kwnames
[] = {
22177 (char *) "self", NULL
22180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
22181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22186 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
22187 result
= (wxPrintDialogData
*) &_result_ref
;
22190 wxPyEndAllowThreads(__tstate
);
22191 if (PyErr_Occurred()) SWIG_fail
;
22193 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
22200 static PyObject
*_wrap_Printer_GetAbort(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22201 PyObject
*resultobj
;
22202 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
22204 PyObject
* obj0
= 0 ;
22205 char *kwnames
[] = {
22206 (char *) "self", NULL
22209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
22210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrinter
,
22211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22214 result
= (bool)(arg1
)->GetAbort();
22216 wxPyEndAllowThreads(__tstate
);
22217 if (PyErr_Occurred()) SWIG_fail
;
22220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22228 static PyObject
*_wrap_Printer_GetLastError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22229 PyObject
*resultobj
;
22231 char *kwnames
[] = {
22235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
22237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22238 result
= (int)wxPrinter::GetLastError();
22240 wxPyEndAllowThreads(__tstate
);
22241 if (PyErr_Occurred()) SWIG_fail
;
22243 resultobj
= SWIG_From_int((int)result
);
22250 static PyObject
* Printer_swigregister(PyObject
*, PyObject
*args
) {
22252 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22253 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
22255 return Py_BuildValue((char *)"");
22257 static PyObject
*_wrap_new_Printout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22258 PyObject
*resultobj
;
22259 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
22260 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
22261 wxPyPrintout
*result
;
22262 bool temp1
= false ;
22263 PyObject
* obj0
= 0 ;
22264 char *kwnames
[] = {
22265 (char *) "title", NULL
22268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
22271 arg1
= wxString_in_helper(obj0
);
22272 if (arg1
== NULL
) SWIG_fail
;
22277 if (!wxPyCheckForApp()) SWIG_fail
;
22278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22279 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
22281 wxPyEndAllowThreads(__tstate
);
22282 if (PyErr_Occurred()) SWIG_fail
;
22285 resultobj
= wxPyMake_wxObject(result
, 1);
22301 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22302 PyObject
*resultobj
;
22303 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22304 PyObject
*arg2
= (PyObject
*) 0 ;
22305 PyObject
*arg3
= (PyObject
*) 0 ;
22306 PyObject
* obj0
= 0 ;
22307 PyObject
* obj1
= 0 ;
22308 PyObject
* obj2
= 0 ;
22309 char *kwnames
[] = {
22310 (char *) "self",(char *) "self",(char *) "_class", NULL
22313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22320 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22322 wxPyEndAllowThreads(__tstate
);
22323 if (PyErr_Occurred()) SWIG_fail
;
22325 Py_INCREF(Py_None
); resultobj
= Py_None
;
22332 static PyObject
*_wrap_Printout_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22333 PyObject
*resultobj
;
22334 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22336 PyObject
* obj0
= 0 ;
22337 char *kwnames
[] = {
22338 (char *) "self", NULL
22341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
22342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22346 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
22348 wxPyEndAllowThreads(__tstate
);
22349 if (PyErr_Occurred()) SWIG_fail
;
22353 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22355 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22364 static PyObject
*_wrap_Printout_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22365 PyObject
*resultobj
;
22366 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22368 PyObject
* obj0
= 0 ;
22369 char *kwnames
[] = {
22370 (char *) "self", NULL
22373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
22374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22378 result
= (wxDC
*)(arg1
)->GetDC();
22380 wxPyEndAllowThreads(__tstate
);
22381 if (PyErr_Occurred()) SWIG_fail
;
22384 resultobj
= wxPyMake_wxObject(result
, 0);
22392 static PyObject
*_wrap_Printout_SetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22393 PyObject
*resultobj
;
22394 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22395 wxDC
*arg2
= (wxDC
*) 0 ;
22396 PyObject
* obj0
= 0 ;
22397 PyObject
* obj1
= 0 ;
22398 char *kwnames
[] = {
22399 (char *) "self",(char *) "dc", NULL
22402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
22403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22405 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
22406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22409 (arg1
)->SetDC(arg2
);
22411 wxPyEndAllowThreads(__tstate
);
22412 if (PyErr_Occurred()) SWIG_fail
;
22414 Py_INCREF(Py_None
); resultobj
= Py_None
;
22421 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22422 PyObject
*resultobj
;
22423 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22426 PyObject
* obj0
= 0 ;
22427 PyObject
* obj1
= 0 ;
22428 PyObject
* obj2
= 0 ;
22429 char *kwnames
[] = {
22430 (char *) "self",(char *) "w",(char *) "h", NULL
22433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22436 arg2
= (int)SWIG_As_int(obj1
);
22437 if (PyErr_Occurred()) SWIG_fail
;
22438 arg3
= (int)SWIG_As_int(obj2
);
22439 if (PyErr_Occurred()) SWIG_fail
;
22441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22442 (arg1
)->SetPageSizePixels(arg2
,arg3
);
22444 wxPyEndAllowThreads(__tstate
);
22445 if (PyErr_Occurred()) SWIG_fail
;
22447 Py_INCREF(Py_None
); resultobj
= Py_None
;
22454 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22455 PyObject
*resultobj
;
22456 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22457 int *arg2
= (int *) 0 ;
22458 int *arg3
= (int *) 0 ;
22463 PyObject
* obj0
= 0 ;
22464 char *kwnames
[] = {
22465 (char *) "self", NULL
22468 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22469 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
22471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22475 (arg1
)->GetPageSizePixels(arg2
,arg3
);
22477 wxPyEndAllowThreads(__tstate
);
22478 if (PyErr_Occurred()) SWIG_fail
;
22480 Py_INCREF(Py_None
); resultobj
= Py_None
;
22481 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22482 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22483 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22484 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22491 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22492 PyObject
*resultobj
;
22493 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22496 PyObject
* obj0
= 0 ;
22497 PyObject
* obj1
= 0 ;
22498 PyObject
* obj2
= 0 ;
22499 char *kwnames
[] = {
22500 (char *) "self",(char *) "w",(char *) "h", NULL
22503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22506 arg2
= (int)SWIG_As_int(obj1
);
22507 if (PyErr_Occurred()) SWIG_fail
;
22508 arg3
= (int)SWIG_As_int(obj2
);
22509 if (PyErr_Occurred()) SWIG_fail
;
22511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22512 (arg1
)->SetPageSizeMM(arg2
,arg3
);
22514 wxPyEndAllowThreads(__tstate
);
22515 if (PyErr_Occurred()) SWIG_fail
;
22517 Py_INCREF(Py_None
); resultobj
= Py_None
;
22524 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22525 PyObject
*resultobj
;
22526 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22527 int *arg2
= (int *) 0 ;
22528 int *arg3
= (int *) 0 ;
22533 PyObject
* obj0
= 0 ;
22534 char *kwnames
[] = {
22535 (char *) "self", NULL
22538 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22539 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
22541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22545 (arg1
)->GetPageSizeMM(arg2
,arg3
);
22547 wxPyEndAllowThreads(__tstate
);
22548 if (PyErr_Occurred()) SWIG_fail
;
22550 Py_INCREF(Py_None
); resultobj
= Py_None
;
22551 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22552 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22553 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22554 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22561 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22562 PyObject
*resultobj
;
22563 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22566 PyObject
* obj0
= 0 ;
22567 PyObject
* obj1
= 0 ;
22568 PyObject
* obj2
= 0 ;
22569 char *kwnames
[] = {
22570 (char *) "self",(char *) "x",(char *) "y", NULL
22573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22576 arg2
= (int)SWIG_As_int(obj1
);
22577 if (PyErr_Occurred()) SWIG_fail
;
22578 arg3
= (int)SWIG_As_int(obj2
);
22579 if (PyErr_Occurred()) SWIG_fail
;
22581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22582 (arg1
)->SetPPIScreen(arg2
,arg3
);
22584 wxPyEndAllowThreads(__tstate
);
22585 if (PyErr_Occurred()) SWIG_fail
;
22587 Py_INCREF(Py_None
); resultobj
= Py_None
;
22594 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22595 PyObject
*resultobj
;
22596 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22597 int *arg2
= (int *) 0 ;
22598 int *arg3
= (int *) 0 ;
22603 PyObject
* obj0
= 0 ;
22604 char *kwnames
[] = {
22605 (char *) "self", NULL
22608 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22609 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
22611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22615 (arg1
)->GetPPIScreen(arg2
,arg3
);
22617 wxPyEndAllowThreads(__tstate
);
22618 if (PyErr_Occurred()) SWIG_fail
;
22620 Py_INCREF(Py_None
); resultobj
= Py_None
;
22621 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22622 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22623 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22624 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22631 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22632 PyObject
*resultobj
;
22633 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22636 PyObject
* obj0
= 0 ;
22637 PyObject
* obj1
= 0 ;
22638 PyObject
* obj2
= 0 ;
22639 char *kwnames
[] = {
22640 (char *) "self",(char *) "x",(char *) "y", NULL
22643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22646 arg2
= (int)SWIG_As_int(obj1
);
22647 if (PyErr_Occurred()) SWIG_fail
;
22648 arg3
= (int)SWIG_As_int(obj2
);
22649 if (PyErr_Occurred()) SWIG_fail
;
22651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22652 (arg1
)->SetPPIPrinter(arg2
,arg3
);
22654 wxPyEndAllowThreads(__tstate
);
22655 if (PyErr_Occurred()) SWIG_fail
;
22657 Py_INCREF(Py_None
); resultobj
= Py_None
;
22664 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22665 PyObject
*resultobj
;
22666 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22667 int *arg2
= (int *) 0 ;
22668 int *arg3
= (int *) 0 ;
22673 PyObject
* obj0
= 0 ;
22674 char *kwnames
[] = {
22675 (char *) "self", NULL
22678 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22679 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
22681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22685 (arg1
)->GetPPIPrinter(arg2
,arg3
);
22687 wxPyEndAllowThreads(__tstate
);
22688 if (PyErr_Occurred()) SWIG_fail
;
22690 Py_INCREF(Py_None
); resultobj
= Py_None
;
22691 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22692 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22693 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22694 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22701 static PyObject
*_wrap_Printout_IsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22702 PyObject
*resultobj
;
22703 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22705 PyObject
* obj0
= 0 ;
22706 char *kwnames
[] = {
22707 (char *) "self", NULL
22710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
22711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22715 result
= (bool)(arg1
)->IsPreview();
22717 wxPyEndAllowThreads(__tstate
);
22718 if (PyErr_Occurred()) SWIG_fail
;
22721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22729 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22730 PyObject
*resultobj
;
22731 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22733 PyObject
* obj0
= 0 ;
22734 PyObject
* obj1
= 0 ;
22735 char *kwnames
[] = {
22736 (char *) "self",(char *) "p", NULL
22739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
22740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22742 arg2
= (bool)SWIG_As_bool(obj1
);
22743 if (PyErr_Occurred()) SWIG_fail
;
22745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22746 (arg1
)->SetIsPreview(arg2
);
22748 wxPyEndAllowThreads(__tstate
);
22749 if (PyErr_Occurred()) SWIG_fail
;
22751 Py_INCREF(Py_None
); resultobj
= Py_None
;
22758 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22759 PyObject
*resultobj
;
22760 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22764 PyObject
* obj0
= 0 ;
22765 PyObject
* obj1
= 0 ;
22766 PyObject
* obj2
= 0 ;
22767 char *kwnames
[] = {
22768 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
22771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22774 arg2
= (int)SWIG_As_int(obj1
);
22775 if (PyErr_Occurred()) SWIG_fail
;
22776 arg3
= (int)SWIG_As_int(obj2
);
22777 if (PyErr_Occurred()) SWIG_fail
;
22779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22780 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
22782 wxPyEndAllowThreads(__tstate
);
22783 if (PyErr_Occurred()) SWIG_fail
;
22786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22794 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22795 PyObject
*resultobj
;
22796 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22797 PyObject
* obj0
= 0 ;
22798 char *kwnames
[] = {
22799 (char *) "self", NULL
22802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
22803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22807 (arg1
)->base_OnEndDocument();
22809 wxPyEndAllowThreads(__tstate
);
22810 if (PyErr_Occurred()) SWIG_fail
;
22812 Py_INCREF(Py_None
); resultobj
= Py_None
;
22819 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22820 PyObject
*resultobj
;
22821 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22822 PyObject
* obj0
= 0 ;
22823 char *kwnames
[] = {
22824 (char *) "self", NULL
22827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
22828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22832 (arg1
)->base_OnBeginPrinting();
22834 wxPyEndAllowThreads(__tstate
);
22835 if (PyErr_Occurred()) SWIG_fail
;
22837 Py_INCREF(Py_None
); resultobj
= Py_None
;
22844 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22845 PyObject
*resultobj
;
22846 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22847 PyObject
* obj0
= 0 ;
22848 char *kwnames
[] = {
22849 (char *) "self", NULL
22852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
22853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22857 (arg1
)->base_OnEndPrinting();
22859 wxPyEndAllowThreads(__tstate
);
22860 if (PyErr_Occurred()) SWIG_fail
;
22862 Py_INCREF(Py_None
); resultobj
= Py_None
;
22869 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22870 PyObject
*resultobj
;
22871 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22872 PyObject
* obj0
= 0 ;
22873 char *kwnames
[] = {
22874 (char *) "self", NULL
22877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
22878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22882 (arg1
)->base_OnPreparePrinting();
22884 wxPyEndAllowThreads(__tstate
);
22885 if (PyErr_Occurred()) SWIG_fail
;
22887 Py_INCREF(Py_None
); resultobj
= Py_None
;
22894 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22895 PyObject
*resultobj
;
22896 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22899 PyObject
* obj0
= 0 ;
22900 PyObject
* obj1
= 0 ;
22901 char *kwnames
[] = {
22902 (char *) "self",(char *) "page", NULL
22905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
22906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22908 arg2
= (int)SWIG_As_int(obj1
);
22909 if (PyErr_Occurred()) SWIG_fail
;
22911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22912 result
= (bool)(arg1
)->base_HasPage(arg2
);
22914 wxPyEndAllowThreads(__tstate
);
22915 if (PyErr_Occurred()) SWIG_fail
;
22918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22926 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22927 PyObject
*resultobj
;
22928 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
22929 int *arg2
= (int *) 0 ;
22930 int *arg3
= (int *) 0 ;
22931 int *arg4
= (int *) 0 ;
22932 int *arg5
= (int *) 0 ;
22941 PyObject
* obj0
= 0 ;
22942 char *kwnames
[] = {
22943 (char *) "self", NULL
22946 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
22947 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
22948 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
22949 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
22950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
22951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
22952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22955 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
22957 wxPyEndAllowThreads(__tstate
);
22958 if (PyErr_Occurred()) SWIG_fail
;
22960 Py_INCREF(Py_None
); resultobj
= Py_None
;
22961 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
22962 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
22963 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
22964 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
22965 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
22966 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
22967 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
22968 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
22975 static PyObject
* Printout_swigregister(PyObject
*, PyObject
*args
) {
22977 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22978 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
22980 return Py_BuildValue((char *)"");
22982 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22983 PyObject
*resultobj
;
22984 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
22985 wxWindow
*arg2
= (wxWindow
*) 0 ;
22986 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22987 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22988 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22989 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22990 long arg5
= (long) 0 ;
22991 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
22992 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22993 wxPreviewCanvas
*result
;
22996 bool temp6
= false ;
22997 PyObject
* obj0
= 0 ;
22998 PyObject
* obj1
= 0 ;
22999 PyObject
* obj2
= 0 ;
23000 PyObject
* obj3
= 0 ;
23001 PyObject
* obj4
= 0 ;
23002 PyObject
* obj5
= 0 ;
23003 char *kwnames
[] = {
23004 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
23008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23010 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23015 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23021 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23025 arg5
= (long)SWIG_As_long(obj4
);
23026 if (PyErr_Occurred()) SWIG_fail
;
23030 arg6
= wxString_in_helper(obj5
);
23031 if (arg6
== NULL
) SWIG_fail
;
23036 if (!wxPyCheckForApp()) SWIG_fail
;
23037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23038 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
23040 wxPyEndAllowThreads(__tstate
);
23041 if (PyErr_Occurred()) SWIG_fail
;
23043 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
23058 static PyObject
* PreviewCanvas_swigregister(PyObject
*, PyObject
*args
) {
23060 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23061 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
23063 return Py_BuildValue((char *)"");
23065 static PyObject
*_wrap_new_PreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23066 PyObject
*resultobj
;
23067 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23068 wxFrame
*arg2
= (wxFrame
*) 0 ;
23069 wxString
*arg3
= 0 ;
23070 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23071 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23072 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23073 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23074 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
23075 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
23076 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23077 wxPreviewFrame
*result
;
23078 bool temp3
= false ;
23081 bool temp7
= false ;
23082 PyObject
* obj0
= 0 ;
23083 PyObject
* obj1
= 0 ;
23084 PyObject
* obj2
= 0 ;
23085 PyObject
* obj3
= 0 ;
23086 PyObject
* obj4
= 0 ;
23087 PyObject
* obj5
= 0 ;
23088 PyObject
* obj6
= 0 ;
23089 char *kwnames
[] = {
23090 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23096 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
23097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23099 arg3
= wxString_in_helper(obj2
);
23100 if (arg3
== NULL
) SWIG_fail
;
23106 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23112 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23116 arg6
= (long)SWIG_As_long(obj5
);
23117 if (PyErr_Occurred()) SWIG_fail
;
23121 arg7
= wxString_in_helper(obj6
);
23122 if (arg7
== NULL
) SWIG_fail
;
23127 if (!wxPyCheckForApp()) SWIG_fail
;
23128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23129 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
23131 wxPyEndAllowThreads(__tstate
);
23132 if (PyErr_Occurred()) SWIG_fail
;
23134 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
23157 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23158 PyObject
*resultobj
;
23159 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
23160 PyObject
* obj0
= 0 ;
23161 char *kwnames
[] = {
23162 (char *) "self", NULL
23165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
23166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
23167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23170 (arg1
)->Initialize();
23172 wxPyEndAllowThreads(__tstate
);
23173 if (PyErr_Occurred()) SWIG_fail
;
23175 Py_INCREF(Py_None
); resultobj
= Py_None
;
23182 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23183 PyObject
*resultobj
;
23184 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
23185 PyObject
* obj0
= 0 ;
23186 char *kwnames
[] = {
23187 (char *) "self", NULL
23190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
23191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
23192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23195 (arg1
)->CreateControlBar();
23197 wxPyEndAllowThreads(__tstate
);
23198 if (PyErr_Occurred()) SWIG_fail
;
23200 Py_INCREF(Py_None
); resultobj
= Py_None
;
23207 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23208 PyObject
*resultobj
;
23209 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
23210 PyObject
* obj0
= 0 ;
23211 char *kwnames
[] = {
23212 (char *) "self", NULL
23215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
23216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
23217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23220 (arg1
)->CreateCanvas();
23222 wxPyEndAllowThreads(__tstate
);
23223 if (PyErr_Occurred()) SWIG_fail
;
23225 Py_INCREF(Py_None
); resultobj
= Py_None
;
23232 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23233 PyObject
*resultobj
;
23234 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
23235 wxPreviewControlBar
*result
;
23236 PyObject
* obj0
= 0 ;
23237 char *kwnames
[] = {
23238 (char *) "self", NULL
23241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
23242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewFrame
,
23243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23246 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
23248 wxPyEndAllowThreads(__tstate
);
23249 if (PyErr_Occurred()) SWIG_fail
;
23251 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
23258 static PyObject
* PreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
23260 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23261 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
23263 return Py_BuildValue((char *)"");
23265 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23266 PyObject
*resultobj
;
23267 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23269 wxWindow
*arg3
= (wxWindow
*) 0 ;
23270 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23271 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23272 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23273 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23274 long arg6
= (long) wxTAB_TRAVERSAL
;
23275 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
23276 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23277 wxPreviewControlBar
*result
;
23280 bool temp7
= false ;
23281 PyObject
* obj0
= 0 ;
23282 PyObject
* obj1
= 0 ;
23283 PyObject
* obj2
= 0 ;
23284 PyObject
* obj3
= 0 ;
23285 PyObject
* obj4
= 0 ;
23286 PyObject
* obj5
= 0 ;
23287 PyObject
* obj6
= 0 ;
23288 char *kwnames
[] = {
23289 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23295 arg2
= (long)SWIG_As_long(obj1
);
23296 if (PyErr_Occurred()) SWIG_fail
;
23297 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
23298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23302 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23308 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23312 arg6
= (long)SWIG_As_long(obj5
);
23313 if (PyErr_Occurred()) SWIG_fail
;
23317 arg7
= wxString_in_helper(obj6
);
23318 if (arg7
== NULL
) SWIG_fail
;
23323 if (!wxPyCheckForApp()) SWIG_fail
;
23324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23325 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
23327 wxPyEndAllowThreads(__tstate
);
23328 if (PyErr_Occurred()) SWIG_fail
;
23330 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
23345 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23346 PyObject
*resultobj
;
23347 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23349 PyObject
* obj0
= 0 ;
23350 char *kwnames
[] = {
23351 (char *) "self", NULL
23354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
23355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23359 result
= (int)(arg1
)->GetZoomControl();
23361 wxPyEndAllowThreads(__tstate
);
23362 if (PyErr_Occurred()) SWIG_fail
;
23364 resultobj
= SWIG_From_int((int)result
);
23371 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23372 PyObject
*resultobj
;
23373 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23375 PyObject
* obj0
= 0 ;
23376 PyObject
* obj1
= 0 ;
23377 char *kwnames
[] = {
23378 (char *) "self",(char *) "zoom", NULL
23381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
23382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23384 arg2
= (int)SWIG_As_int(obj1
);
23385 if (PyErr_Occurred()) SWIG_fail
;
23387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23388 (arg1
)->SetZoomControl(arg2
);
23390 wxPyEndAllowThreads(__tstate
);
23391 if (PyErr_Occurred()) SWIG_fail
;
23393 Py_INCREF(Py_None
); resultobj
= Py_None
;
23400 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23401 PyObject
*resultobj
;
23402 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23403 wxPrintPreview
*result
;
23404 PyObject
* obj0
= 0 ;
23405 char *kwnames
[] = {
23406 (char *) "self", NULL
23409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
23410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23414 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
23416 wxPyEndAllowThreads(__tstate
);
23417 if (PyErr_Occurred()) SWIG_fail
;
23419 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
23426 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23427 PyObject
*resultobj
;
23428 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23429 PyObject
* obj0
= 0 ;
23430 char *kwnames
[] = {
23431 (char *) "self", NULL
23434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
23435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23441 wxPyEndAllowThreads(__tstate
);
23442 if (PyErr_Occurred()) SWIG_fail
;
23444 Py_INCREF(Py_None
); resultobj
= Py_None
;
23451 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23452 PyObject
*resultobj
;
23453 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23454 PyObject
* obj0
= 0 ;
23455 char *kwnames
[] = {
23456 (char *) "self", NULL
23459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
23460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23464 (arg1
)->OnPrevious();
23466 wxPyEndAllowThreads(__tstate
);
23467 if (PyErr_Occurred()) SWIG_fail
;
23469 Py_INCREF(Py_None
); resultobj
= Py_None
;
23476 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23477 PyObject
*resultobj
;
23478 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23479 PyObject
* obj0
= 0 ;
23480 char *kwnames
[] = {
23481 (char *) "self", NULL
23484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
23485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23491 wxPyEndAllowThreads(__tstate
);
23492 if (PyErr_Occurred()) SWIG_fail
;
23494 Py_INCREF(Py_None
); resultobj
= Py_None
;
23501 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23502 PyObject
*resultobj
;
23503 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23504 PyObject
* obj0
= 0 ;
23505 char *kwnames
[] = {
23506 (char *) "self", NULL
23509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
23510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23516 wxPyEndAllowThreads(__tstate
);
23517 if (PyErr_Occurred()) SWIG_fail
;
23519 Py_INCREF(Py_None
); resultobj
= Py_None
;
23526 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23527 PyObject
*resultobj
;
23528 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
23529 PyObject
* obj0
= 0 ;
23530 char *kwnames
[] = {
23531 (char *) "self", NULL
23534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
23535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPreviewControlBar
,
23536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23541 wxPyEndAllowThreads(__tstate
);
23542 if (PyErr_Occurred()) SWIG_fail
;
23544 Py_INCREF(Py_None
); resultobj
= Py_None
;
23551 static PyObject
* PreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
23553 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23554 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
23556 return Py_BuildValue((char *)"");
23558 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
23559 PyObject
*resultobj
;
23560 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23561 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23562 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
23563 wxPrintPreview
*result
;
23564 PyObject
* obj0
= 0 ;
23565 PyObject
* obj1
= 0 ;
23566 PyObject
* obj2
= 0 ;
23568 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23571 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23574 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
23575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23578 if (!wxPyCheckForApp()) SWIG_fail
;
23579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23580 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
23582 wxPyEndAllowThreads(__tstate
);
23583 if (PyErr_Occurred()) SWIG_fail
;
23585 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
23592 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
23593 PyObject
*resultobj
;
23594 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
23595 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23596 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
23597 wxPrintPreview
*result
;
23598 PyObject
* obj0
= 0 ;
23599 PyObject
* obj1
= 0 ;
23600 PyObject
* obj2
= 0 ;
23602 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
23603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
23604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23605 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23607 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
23608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23610 if (!wxPyCheckForApp()) SWIG_fail
;
23611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23612 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
23614 wxPyEndAllowThreads(__tstate
);
23615 if (PyErr_Occurred()) SWIG_fail
;
23617 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
23624 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
23629 argc
= PyObject_Length(args
);
23630 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
23631 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23633 if ((argc
>= 2) && (argc
<= 3)) {
23637 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23647 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23656 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
23660 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
23668 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
23677 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23687 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
23697 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
23705 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
23711 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PrintPreview'");
23716 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23717 PyObject
*resultobj
;
23718 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23721 PyObject
* obj0
= 0 ;
23722 PyObject
* obj1
= 0 ;
23723 char *kwnames
[] = {
23724 (char *) "self",(char *) "pageNum", NULL
23727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23730 arg2
= (int)SWIG_As_int(obj1
);
23731 if (PyErr_Occurred()) SWIG_fail
;
23733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23734 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
23736 wxPyEndAllowThreads(__tstate
);
23737 if (PyErr_Occurred()) SWIG_fail
;
23740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23748 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23749 PyObject
*resultobj
;
23750 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23752 PyObject
* obj0
= 0 ;
23753 char *kwnames
[] = {
23754 (char *) "self", NULL
23757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
23758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23762 result
= (int)(arg1
)->GetCurrentPage();
23764 wxPyEndAllowThreads(__tstate
);
23765 if (PyErr_Occurred()) SWIG_fail
;
23767 resultobj
= SWIG_From_int((int)result
);
23774 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23775 PyObject
*resultobj
;
23776 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23777 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
23778 PyObject
* obj0
= 0 ;
23779 PyObject
* obj1
= 0 ;
23780 char *kwnames
[] = {
23781 (char *) "self",(char *) "printout", NULL
23784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
23785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23787 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
23788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23791 (arg1
)->SetPrintout(arg2
);
23793 wxPyEndAllowThreads(__tstate
);
23794 if (PyErr_Occurred()) SWIG_fail
;
23796 Py_INCREF(Py_None
); resultobj
= Py_None
;
23803 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23804 PyObject
*resultobj
;
23805 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23806 wxPyPrintout
*result
;
23807 PyObject
* obj0
= 0 ;
23808 char *kwnames
[] = {
23809 (char *) "self", NULL
23812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
23813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23817 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
23819 wxPyEndAllowThreads(__tstate
);
23820 if (PyErr_Occurred()) SWIG_fail
;
23823 resultobj
= wxPyMake_wxObject(result
, 0);
23831 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23832 PyObject
*resultobj
;
23833 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23834 wxPyPrintout
*result
;
23835 PyObject
* obj0
= 0 ;
23836 char *kwnames
[] = {
23837 (char *) "self", NULL
23840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
23841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23845 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
23847 wxPyEndAllowThreads(__tstate
);
23848 if (PyErr_Occurred()) SWIG_fail
;
23851 resultobj
= wxPyMake_wxObject(result
, 0);
23859 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23860 PyObject
*resultobj
;
23861 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23862 wxFrame
*arg2
= (wxFrame
*) 0 ;
23863 PyObject
* obj0
= 0 ;
23864 PyObject
* obj1
= 0 ;
23865 char *kwnames
[] = {
23866 (char *) "self",(char *) "frame", NULL
23869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
23870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23872 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
23873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23876 (arg1
)->SetFrame(arg2
);
23878 wxPyEndAllowThreads(__tstate
);
23879 if (PyErr_Occurred()) SWIG_fail
;
23881 Py_INCREF(Py_None
); resultobj
= Py_None
;
23888 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23889 PyObject
*resultobj
;
23890 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23891 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23892 PyObject
* obj0
= 0 ;
23893 PyObject
* obj1
= 0 ;
23894 char *kwnames
[] = {
23895 (char *) "self",(char *) "canvas", NULL
23898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
23899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23901 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23905 (arg1
)->SetCanvas(arg2
);
23907 wxPyEndAllowThreads(__tstate
);
23908 if (PyErr_Occurred()) SWIG_fail
;
23910 Py_INCREF(Py_None
); resultobj
= Py_None
;
23917 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23918 PyObject
*resultobj
;
23919 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23921 PyObject
* obj0
= 0 ;
23922 char *kwnames
[] = {
23923 (char *) "self", NULL
23926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
23927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23931 result
= (wxFrame
*)(arg1
)->GetFrame();
23933 wxPyEndAllowThreads(__tstate
);
23934 if (PyErr_Occurred()) SWIG_fail
;
23937 resultobj
= wxPyMake_wxObject(result
, 0);
23945 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23946 PyObject
*resultobj
;
23947 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23948 wxPreviewCanvas
*result
;
23949 PyObject
* obj0
= 0 ;
23950 char *kwnames
[] = {
23951 (char *) "self", NULL
23954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
23955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23959 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
23961 wxPyEndAllowThreads(__tstate
);
23962 if (PyErr_Occurred()) SWIG_fail
;
23964 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
23971 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23972 PyObject
*resultobj
;
23973 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
23974 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
23977 PyObject
* obj0
= 0 ;
23978 PyObject
* obj1
= 0 ;
23979 PyObject
* obj2
= 0 ;
23980 char *kwnames
[] = {
23981 (char *) "self",(char *) "canvas",(char *) "dc", NULL
23984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
23986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23987 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
23988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23989 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
23990 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23992 if (arg3
== NULL
) {
23993 PyErr_SetString(PyExc_TypeError
,"null reference");
23997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23998 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
24000 wxPyEndAllowThreads(__tstate
);
24001 if (PyErr_Occurred()) SWIG_fail
;
24004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24012 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24013 PyObject
*resultobj
;
24014 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24015 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24018 PyObject
* obj0
= 0 ;
24019 PyObject
* obj1
= 0 ;
24020 PyObject
* obj2
= 0 ;
24021 char *kwnames
[] = {
24022 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24028 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24030 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24031 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24033 if (arg3
== NULL
) {
24034 PyErr_SetString(PyExc_TypeError
,"null reference");
24038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24039 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
24041 wxPyEndAllowThreads(__tstate
);
24042 if (PyErr_Occurred()) SWIG_fail
;
24045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24053 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24054 PyObject
*resultobj
;
24055 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24058 PyObject
* obj0
= 0 ;
24059 PyObject
* obj1
= 0 ;
24060 char *kwnames
[] = {
24061 (char *) "self",(char *) "pageNum", NULL
24064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24067 arg2
= (int)SWIG_As_int(obj1
);
24068 if (PyErr_Occurred()) SWIG_fail
;
24070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24071 result
= (bool)(arg1
)->RenderPage(arg2
);
24073 wxPyEndAllowThreads(__tstate
);
24074 if (PyErr_Occurred()) SWIG_fail
;
24077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24085 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24086 PyObject
*resultobj
;
24087 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24088 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24089 PyObject
* obj0
= 0 ;
24090 PyObject
* obj1
= 0 ;
24091 char *kwnames
[] = {
24092 (char *) "self",(char *) "canvas", NULL
24095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
24096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24098 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24102 (arg1
)->AdjustScrollbars(arg2
);
24104 wxPyEndAllowThreads(__tstate
);
24105 if (PyErr_Occurred()) SWIG_fail
;
24107 Py_INCREF(Py_None
); resultobj
= Py_None
;
24114 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24115 PyObject
*resultobj
;
24116 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24117 wxPrintDialogData
*result
;
24118 PyObject
* obj0
= 0 ;
24119 char *kwnames
[] = {
24120 (char *) "self", NULL
24123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
24124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24129 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
24130 result
= (wxPrintDialogData
*) &_result_ref
;
24133 wxPyEndAllowThreads(__tstate
);
24134 if (PyErr_Occurred()) SWIG_fail
;
24136 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
24143 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24144 PyObject
*resultobj
;
24145 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24147 PyObject
* obj0
= 0 ;
24148 PyObject
* obj1
= 0 ;
24149 char *kwnames
[] = {
24150 (char *) "self",(char *) "percent", NULL
24153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
24154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24156 arg2
= (int)SWIG_As_int(obj1
);
24157 if (PyErr_Occurred()) SWIG_fail
;
24159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24160 (arg1
)->SetZoom(arg2
);
24162 wxPyEndAllowThreads(__tstate
);
24163 if (PyErr_Occurred()) SWIG_fail
;
24165 Py_INCREF(Py_None
); resultobj
= Py_None
;
24172 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24173 PyObject
*resultobj
;
24174 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24176 PyObject
* obj0
= 0 ;
24177 char *kwnames
[] = {
24178 (char *) "self", NULL
24181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
24182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24186 result
= (int)(arg1
)->GetZoom();
24188 wxPyEndAllowThreads(__tstate
);
24189 if (PyErr_Occurred()) SWIG_fail
;
24191 resultobj
= SWIG_From_int((int)result
);
24198 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24199 PyObject
*resultobj
;
24200 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24202 PyObject
* obj0
= 0 ;
24203 char *kwnames
[] = {
24204 (char *) "self", NULL
24207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
24208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24212 result
= (int)(arg1
)->GetMaxPage();
24214 wxPyEndAllowThreads(__tstate
);
24215 if (PyErr_Occurred()) SWIG_fail
;
24217 resultobj
= SWIG_From_int((int)result
);
24224 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24225 PyObject
*resultobj
;
24226 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24228 PyObject
* obj0
= 0 ;
24229 char *kwnames
[] = {
24230 (char *) "self", NULL
24233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
24234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24238 result
= (int)(arg1
)->GetMinPage();
24240 wxPyEndAllowThreads(__tstate
);
24241 if (PyErr_Occurred()) SWIG_fail
;
24243 resultobj
= SWIG_From_int((int)result
);
24250 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24251 PyObject
*resultobj
;
24252 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24254 PyObject
* obj0
= 0 ;
24255 char *kwnames
[] = {
24256 (char *) "self", NULL
24259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
24260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24264 result
= (bool)(arg1
)->Ok();
24266 wxPyEndAllowThreads(__tstate
);
24267 if (PyErr_Occurred()) SWIG_fail
;
24270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24278 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24279 PyObject
*resultobj
;
24280 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24282 PyObject
* obj0
= 0 ;
24283 PyObject
* obj1
= 0 ;
24284 char *kwnames
[] = {
24285 (char *) "self",(char *) "ok", NULL
24288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
24289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24291 arg2
= (bool)SWIG_As_bool(obj1
);
24292 if (PyErr_Occurred()) SWIG_fail
;
24294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24295 (arg1
)->SetOk(arg2
);
24297 wxPyEndAllowThreads(__tstate
);
24298 if (PyErr_Occurred()) SWIG_fail
;
24300 Py_INCREF(Py_None
); resultobj
= Py_None
;
24307 static PyObject
*_wrap_PrintPreview_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24308 PyObject
*resultobj
;
24309 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24312 PyObject
* obj0
= 0 ;
24313 PyObject
* obj1
= 0 ;
24314 char *kwnames
[] = {
24315 (char *) "self",(char *) "interactive", NULL
24318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
24319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24321 arg2
= (bool)SWIG_As_bool(obj1
);
24322 if (PyErr_Occurred()) SWIG_fail
;
24324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24325 result
= (bool)(arg1
)->Print(arg2
);
24327 wxPyEndAllowThreads(__tstate
);
24328 if (PyErr_Occurred()) SWIG_fail
;
24331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24339 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24340 PyObject
*resultobj
;
24341 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24342 PyObject
* obj0
= 0 ;
24343 char *kwnames
[] = {
24344 (char *) "self", NULL
24347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
24348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24352 (arg1
)->DetermineScaling();
24354 wxPyEndAllowThreads(__tstate
);
24355 if (PyErr_Occurred()) SWIG_fail
;
24357 Py_INCREF(Py_None
); resultobj
= Py_None
;
24364 static PyObject
* PrintPreview_swigregister(PyObject
*, PyObject
*args
) {
24366 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24367 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
24369 return Py_BuildValue((char *)"");
24371 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
24372 PyObject
*resultobj
;
24373 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24374 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
24375 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
24376 wxPyPrintPreview
*result
;
24377 PyObject
* obj0
= 0 ;
24378 PyObject
* obj1
= 0 ;
24379 PyObject
* obj2
= 0 ;
24381 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
24382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
24383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24384 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
24385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24387 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintDialogData
,
24388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24391 if (!wxPyCheckForApp()) SWIG_fail
;
24392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24393 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
24395 wxPyEndAllowThreads(__tstate
);
24396 if (PyErr_Occurred()) SWIG_fail
;
24398 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
24405 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
24406 PyObject
*resultobj
;
24407 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24408 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
24409 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
24410 wxPyPrintPreview
*result
;
24411 PyObject
* obj0
= 0 ;
24412 PyObject
* obj1
= 0 ;
24413 PyObject
* obj2
= 0 ;
24415 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
24416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintout
,
24417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24418 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyPrintout
,
24419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24420 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPrintData
,
24421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24423 if (!wxPyCheckForApp()) SWIG_fail
;
24424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24425 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
24427 wxPyEndAllowThreads(__tstate
);
24428 if (PyErr_Occurred()) SWIG_fail
;
24430 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
24437 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
24442 argc
= PyObject_Length(args
);
24443 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
24444 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24446 if ((argc
>= 2) && (argc
<= 3)) {
24450 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24460 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24469 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
24473 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
24481 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
24490 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24500 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
24510 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
24518 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
24524 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_PyPrintPreview'");
24529 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24530 PyObject
*resultobj
;
24531 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24532 PyObject
*arg2
= (PyObject
*) 0 ;
24533 PyObject
*arg3
= (PyObject
*) 0 ;
24534 PyObject
* obj0
= 0 ;
24535 PyObject
* obj1
= 0 ;
24536 PyObject
* obj2
= 0 ;
24537 char *kwnames
[] = {
24538 (char *) "self",(char *) "self",(char *) "_class", NULL
24541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24548 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24550 wxPyEndAllowThreads(__tstate
);
24551 if (PyErr_Occurred()) SWIG_fail
;
24553 Py_INCREF(Py_None
); resultobj
= Py_None
;
24560 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24561 PyObject
*resultobj
;
24562 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24565 PyObject
* obj0
= 0 ;
24566 PyObject
* obj1
= 0 ;
24567 char *kwnames
[] = {
24568 (char *) "self",(char *) "pageNum", NULL
24571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24574 arg2
= (int)SWIG_As_int(obj1
);
24575 if (PyErr_Occurred()) SWIG_fail
;
24577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24578 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
24580 wxPyEndAllowThreads(__tstate
);
24581 if (PyErr_Occurred()) SWIG_fail
;
24584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24592 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24593 PyObject
*resultobj
;
24594 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24595 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24598 PyObject
* obj0
= 0 ;
24599 PyObject
* obj1
= 0 ;
24600 PyObject
* obj2
= 0 ;
24601 char *kwnames
[] = {
24602 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24608 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24610 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24611 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24613 if (arg3
== NULL
) {
24614 PyErr_SetString(PyExc_TypeError
,"null reference");
24618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24619 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
24621 wxPyEndAllowThreads(__tstate
);
24622 if (PyErr_Occurred()) SWIG_fail
;
24625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24633 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24634 PyObject
*resultobj
;
24635 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24636 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24639 PyObject
* obj0
= 0 ;
24640 PyObject
* obj1
= 0 ;
24641 PyObject
* obj2
= 0 ;
24642 char *kwnames
[] = {
24643 (char *) "self",(char *) "canvas",(char *) "dc", NULL
24646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24649 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24651 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDC
,
24652 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24654 if (arg3
== NULL
) {
24655 PyErr_SetString(PyExc_TypeError
,"null reference");
24659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24660 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
24662 wxPyEndAllowThreads(__tstate
);
24663 if (PyErr_Occurred()) SWIG_fail
;
24666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24674 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24675 PyObject
*resultobj
;
24676 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24679 PyObject
* obj0
= 0 ;
24680 PyObject
* obj1
= 0 ;
24681 char *kwnames
[] = {
24682 (char *) "self",(char *) "pageNum", NULL
24685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
24686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24688 arg2
= (int)SWIG_As_int(obj1
);
24689 if (PyErr_Occurred()) SWIG_fail
;
24691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24692 result
= (bool)(arg1
)->base_RenderPage(arg2
);
24694 wxPyEndAllowThreads(__tstate
);
24695 if (PyErr_Occurred()) SWIG_fail
;
24698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24706 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24707 PyObject
*resultobj
;
24708 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24710 PyObject
* obj0
= 0 ;
24711 PyObject
* obj1
= 0 ;
24712 char *kwnames
[] = {
24713 (char *) "self",(char *) "percent", NULL
24716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
24717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24719 arg2
= (int)SWIG_As_int(obj1
);
24720 if (PyErr_Occurred()) SWIG_fail
;
24722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24723 (arg1
)->base_SetZoom(arg2
);
24725 wxPyEndAllowThreads(__tstate
);
24726 if (PyErr_Occurred()) SWIG_fail
;
24728 Py_INCREF(Py_None
); resultobj
= Py_None
;
24735 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24736 PyObject
*resultobj
;
24737 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24740 PyObject
* obj0
= 0 ;
24741 PyObject
* obj1
= 0 ;
24742 char *kwnames
[] = {
24743 (char *) "self",(char *) "interactive", NULL
24746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
24747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24749 arg2
= (bool)SWIG_As_bool(obj1
);
24750 if (PyErr_Occurred()) SWIG_fail
;
24752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24753 result
= (bool)(arg1
)->base_Print(arg2
);
24755 wxPyEndAllowThreads(__tstate
);
24756 if (PyErr_Occurred()) SWIG_fail
;
24759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24767 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24768 PyObject
*resultobj
;
24769 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
24770 PyObject
* obj0
= 0 ;
24771 char *kwnames
[] = {
24772 (char *) "self", NULL
24775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
24776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPrintPreview
,
24777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24780 (arg1
)->base_DetermineScaling();
24782 wxPyEndAllowThreads(__tstate
);
24783 if (PyErr_Occurred()) SWIG_fail
;
24785 Py_INCREF(Py_None
); resultobj
= Py_None
;
24792 static PyObject
* PyPrintPreview_swigregister(PyObject
*, PyObject
*args
) {
24794 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24795 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
24797 return Py_BuildValue((char *)"");
24799 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24800 PyObject
*resultobj
;
24801 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
24802 wxFrame
*arg2
= (wxFrame
*) 0 ;
24803 wxString
*arg3
= 0 ;
24804 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24805 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24806 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24807 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24808 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
24809 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
24810 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24811 wxPyPreviewFrame
*result
;
24812 bool temp3
= false ;
24815 bool temp7
= false ;
24816 PyObject
* obj0
= 0 ;
24817 PyObject
* obj1
= 0 ;
24818 PyObject
* obj2
= 0 ;
24819 PyObject
* obj3
= 0 ;
24820 PyObject
* obj4
= 0 ;
24821 PyObject
* obj5
= 0 ;
24822 PyObject
* obj6
= 0 ;
24823 char *kwnames
[] = {
24824 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
24829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24830 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
24831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24833 arg3
= wxString_in_helper(obj2
);
24834 if (arg3
== NULL
) SWIG_fail
;
24840 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24846 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24850 arg6
= (long)SWIG_As_long(obj5
);
24851 if (PyErr_Occurred()) SWIG_fail
;
24855 arg7
= wxString_in_helper(obj6
);
24856 if (arg7
== NULL
) SWIG_fail
;
24861 if (!wxPyCheckForApp()) SWIG_fail
;
24862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24863 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
24865 wxPyEndAllowThreads(__tstate
);
24866 if (PyErr_Occurred()) SWIG_fail
;
24868 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
24891 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24892 PyObject
*resultobj
;
24893 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24894 PyObject
*arg2
= (PyObject
*) 0 ;
24895 PyObject
*arg3
= (PyObject
*) 0 ;
24896 PyObject
* obj0
= 0 ;
24897 PyObject
* obj1
= 0 ;
24898 PyObject
* obj2
= 0 ;
24899 char *kwnames
[] = {
24900 (char *) "self",(char *) "self",(char *) "_class", NULL
24903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24910 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24912 wxPyEndAllowThreads(__tstate
);
24913 if (PyErr_Occurred()) SWIG_fail
;
24915 Py_INCREF(Py_None
); resultobj
= Py_None
;
24922 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24923 PyObject
*resultobj
;
24924 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24925 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
24926 PyObject
* obj0
= 0 ;
24927 PyObject
* obj1
= 0 ;
24928 char *kwnames
[] = {
24929 (char *) "self",(char *) "canvas", NULL
24932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
24933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24935 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewCanvas
,
24936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24939 (arg1
)->SetPreviewCanvas(arg2
);
24941 wxPyEndAllowThreads(__tstate
);
24942 if (PyErr_Occurred()) SWIG_fail
;
24944 Py_INCREF(Py_None
); resultobj
= Py_None
;
24951 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24952 PyObject
*resultobj
;
24953 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24954 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
24955 PyObject
* obj0
= 0 ;
24956 PyObject
* obj1
= 0 ;
24957 char *kwnames
[] = {
24958 (char *) "self",(char *) "bar", NULL
24961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
24962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24964 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPreviewControlBar
,
24965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24968 (arg1
)->SetControlBar(arg2
);
24970 wxPyEndAllowThreads(__tstate
);
24971 if (PyErr_Occurred()) SWIG_fail
;
24973 Py_INCREF(Py_None
); resultobj
= Py_None
;
24980 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24981 PyObject
*resultobj
;
24982 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
24983 PyObject
* obj0
= 0 ;
24984 char *kwnames
[] = {
24985 (char *) "self", NULL
24988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
24989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
24990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24993 (arg1
)->base_Initialize();
24995 wxPyEndAllowThreads(__tstate
);
24996 if (PyErr_Occurred()) SWIG_fail
;
24998 Py_INCREF(Py_None
); resultobj
= Py_None
;
25005 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25006 PyObject
*resultobj
;
25007 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
25008 PyObject
* obj0
= 0 ;
25009 char *kwnames
[] = {
25010 (char *) "self", NULL
25013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
25014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
25015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25018 (arg1
)->base_CreateCanvas();
25020 wxPyEndAllowThreads(__tstate
);
25021 if (PyErr_Occurred()) SWIG_fail
;
25023 Py_INCREF(Py_None
); resultobj
= Py_None
;
25030 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25031 PyObject
*resultobj
;
25032 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
25033 PyObject
* obj0
= 0 ;
25034 char *kwnames
[] = {
25035 (char *) "self", NULL
25038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
25039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewFrame
,
25040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25043 (arg1
)->base_CreateControlBar();
25045 wxPyEndAllowThreads(__tstate
);
25046 if (PyErr_Occurred()) SWIG_fail
;
25048 Py_INCREF(Py_None
); resultobj
= Py_None
;
25055 static PyObject
* PyPreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
25057 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25058 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
25060 return Py_BuildValue((char *)"");
25062 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25063 PyObject
*resultobj
;
25064 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25066 wxWindow
*arg3
= (wxWindow
*) 0 ;
25067 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25068 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25069 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25070 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25071 long arg6
= (long) 0 ;
25072 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
25073 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25074 wxPyPreviewControlBar
*result
;
25077 bool temp7
= false ;
25078 PyObject
* obj0
= 0 ;
25079 PyObject
* obj1
= 0 ;
25080 PyObject
* obj2
= 0 ;
25081 PyObject
* obj3
= 0 ;
25082 PyObject
* obj4
= 0 ;
25083 PyObject
* obj5
= 0 ;
25084 PyObject
* obj6
= 0 ;
25085 char *kwnames
[] = {
25086 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPrintPreview
,
25091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25092 arg2
= (long)SWIG_As_long(obj1
);
25093 if (PyErr_Occurred()) SWIG_fail
;
25094 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
25095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25099 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25105 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25109 arg6
= (long)SWIG_As_long(obj5
);
25110 if (PyErr_Occurred()) SWIG_fail
;
25114 arg7
= wxString_in_helper(obj6
);
25115 if (arg7
== NULL
) SWIG_fail
;
25120 if (!wxPyCheckForApp()) SWIG_fail
;
25121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25122 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25124 wxPyEndAllowThreads(__tstate
);
25125 if (PyErr_Occurred()) SWIG_fail
;
25127 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
25142 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25143 PyObject
*resultobj
;
25144 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
25145 PyObject
*arg2
= (PyObject
*) 0 ;
25146 PyObject
*arg3
= (PyObject
*) 0 ;
25147 PyObject
* obj0
= 0 ;
25148 PyObject
* obj1
= 0 ;
25149 PyObject
* obj2
= 0 ;
25150 char *kwnames
[] = {
25151 (char *) "self",(char *) "self",(char *) "_class", NULL
25154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
25156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25161 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25163 wxPyEndAllowThreads(__tstate
);
25164 if (PyErr_Occurred()) SWIG_fail
;
25166 Py_INCREF(Py_None
); resultobj
= Py_None
;
25173 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25174 PyObject
*resultobj
;
25175 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
25176 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
25177 PyObject
* obj0
= 0 ;
25178 PyObject
* obj1
= 0 ;
25179 char *kwnames
[] = {
25180 (char *) "self",(char *) "preview", NULL
25183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
25184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
25185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25186 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPrintPreview
,
25187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25190 (arg1
)->SetPrintPreview(arg2
);
25192 wxPyEndAllowThreads(__tstate
);
25193 if (PyErr_Occurred()) SWIG_fail
;
25195 Py_INCREF(Py_None
); resultobj
= Py_None
;
25202 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25203 PyObject
*resultobj
;
25204 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
25205 PyObject
* obj0
= 0 ;
25206 char *kwnames
[] = {
25207 (char *) "self", NULL
25210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
25211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
25212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25215 (arg1
)->base_CreateButtons();
25217 wxPyEndAllowThreads(__tstate
);
25218 if (PyErr_Occurred()) SWIG_fail
;
25220 Py_INCREF(Py_None
); resultobj
= Py_None
;
25227 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25228 PyObject
*resultobj
;
25229 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
25231 PyObject
* obj0
= 0 ;
25232 PyObject
* obj1
= 0 ;
25233 char *kwnames
[] = {
25234 (char *) "self",(char *) "zoom", NULL
25237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
25238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyPreviewControlBar
,
25239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25240 arg2
= (int)SWIG_As_int(obj1
);
25241 if (PyErr_Occurred()) SWIG_fail
;
25243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25244 (arg1
)->base_SetZoomControl(arg2
);
25246 wxPyEndAllowThreads(__tstate
);
25247 if (PyErr_Occurred()) SWIG_fail
;
25249 Py_INCREF(Py_None
); resultobj
= Py_None
;
25256 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
25258 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25259 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
25261 return Py_BuildValue((char *)"");
25263 static PyMethodDef SwigMethods
[] = {
25264 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25265 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25266 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25267 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25268 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25269 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
25270 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25271 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25272 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25273 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25274 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25275 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25276 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25277 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25278 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25279 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25280 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25281 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25282 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25283 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25284 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
25285 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
25286 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25287 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25288 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25289 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25290 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25291 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_GetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25292 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25293 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25294 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
25295 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25296 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25297 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25298 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25299 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25300 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25301 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25302 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25303 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25304 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25305 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25306 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25307 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25308 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25309 { (char *)"TopLevelWindow_IsActive", (PyCFunction
) _wrap_TopLevelWindow_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25310 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25311 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacGetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25312 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
25313 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25314 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25315 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25316 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25317 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25318 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25319 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25320 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25321 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25322 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25323 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25324 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25325 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25326 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25327 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25328 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25329 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25330 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25331 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25332 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25333 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25334 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25335 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25336 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
25337 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25338 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25339 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25340 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25341 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25342 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25343 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25344 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25345 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25346 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25347 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25348 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
25349 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25350 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25351 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25352 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
25353 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25354 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25355 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25356 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
25357 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25358 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25359 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25360 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25361 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
25362 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25363 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25364 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25365 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25366 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25367 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25368 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25369 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25370 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25371 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25372 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25373 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25374 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25375 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25376 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25377 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25378 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
25379 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25380 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25381 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25382 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25383 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25384 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25385 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25386 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25387 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25388 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25389 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25390 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25391 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25392 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25393 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25394 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25395 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25396 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25397 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25398 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25399 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25400 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25401 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25402 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25403 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25404 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25405 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25406 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
25407 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25408 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25409 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25410 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25411 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25412 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25413 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
25414 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25415 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25416 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25417 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25418 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25419 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25420 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25421 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25422 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25423 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25424 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25425 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25426 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25427 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25428 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25429 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25430 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25431 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25432 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25433 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25434 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25435 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25436 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
25437 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25438 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25439 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25440 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25441 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25442 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25443 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25444 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
25445 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25446 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25447 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25448 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25449 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25450 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25451 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25452 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25453 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25454 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25455 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25456 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
25457 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25458 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25459 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25460 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25461 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25462 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
25463 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25464 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25465 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25466 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25467 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25468 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25469 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25470 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25471 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
25472 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25473 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25474 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25475 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25476 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25477 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
25478 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25479 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25480 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
25481 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25482 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25483 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
25484 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25485 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25486 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25487 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
25488 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25489 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25490 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25491 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25492 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25493 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25494 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25495 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25496 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25497 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25498 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25499 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25500 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25501 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25502 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25503 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25504 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25505 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
25506 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25507 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25508 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25509 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25510 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25511 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25512 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25513 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25514 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25515 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25516 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25517 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25518 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25519 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25520 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25521 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25522 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25523 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25524 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25525 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25526 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25527 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25528 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25529 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25530 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25531 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
25532 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25533 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25534 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25535 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25536 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25537 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25538 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
) _wrap_HtmlListBox_GetFileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25539 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
25540 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25541 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25542 { (char *)"TaskBarIcon_Destroy", (PyCFunction
) _wrap_TaskBarIcon_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25543 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25544 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25545 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25546 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25547 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25548 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
25549 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25550 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
25551 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25552 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25553 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25554 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25555 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25556 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25557 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25558 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25559 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
25560 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25561 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25562 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
25563 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25564 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25565 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25566 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25567 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25568 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25569 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
25570 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25571 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25572 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25573 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25574 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25575 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25576 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25577 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25578 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25579 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25580 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25581 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25582 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25583 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25584 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25585 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25586 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25587 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
25588 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25589 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25590 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25591 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
25592 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25593 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25594 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25595 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25596 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
25597 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25598 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25599 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25600 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
25601 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25602 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
25603 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25604 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25605 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25606 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25607 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25608 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25609 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25610 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25611 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25612 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25613 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25614 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25615 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25616 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25617 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25618 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
25619 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25620 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25621 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
25622 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25623 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
25624 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25625 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25626 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25627 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
25628 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25629 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25630 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25631 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25632 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25633 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25634 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25635 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25636 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
25637 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25638 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25639 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25640 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25641 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25642 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25643 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25644 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25645 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
25646 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25647 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25648 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25649 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25650 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25651 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
25652 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25653 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25654 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25655 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25656 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25657 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25658 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25659 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25660 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25661 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25662 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25663 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
25664 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25665 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25666 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25667 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25668 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25669 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25670 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
25671 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25672 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25673 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25674 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
25675 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25676 { (char *)"new_PrePyWindow", (PyCFunction
) _wrap_new_PrePyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25677 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25678 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25679 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25680 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25681 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25682 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25683 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25684 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25685 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25686 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25687 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25688 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25689 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25690 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25691 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25692 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25693 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25694 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25695 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25696 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25697 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25698 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25699 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25700 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
25701 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25702 { (char *)"new_PrePyPanel", (PyCFunction
) _wrap_new_PrePyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25703 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25704 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25705 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25706 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25707 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25708 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25709 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25710 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25711 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25712 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25713 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25714 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25715 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25716 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25717 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25718 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25719 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25720 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25721 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25722 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25723 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction
) _wrap_PyPanel_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25724 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyPanel_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25725 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyPanel_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25726 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
25727 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25728 { (char *)"new_PrePyScrolledWindow", (PyCFunction
) _wrap_new_PrePyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25729 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25730 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25731 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25732 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25733 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25734 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25735 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25736 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25737 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25738 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25739 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25740 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction
) _wrap_PyScrolledWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25741 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25742 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25743 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction
) _wrap_PyScrolledWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25744 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25745 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25746 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyScrolledWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25747 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction
) _wrap_PyScrolledWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25748 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction
) _wrap_PyScrolledWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25749 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyScrolledWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25750 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25751 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyScrolledWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25752 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
25753 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
25754 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25755 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25756 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25757 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25758 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25759 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25760 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25761 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25762 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25763 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25764 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25765 { (char *)"PrintData_GetBin", (PyCFunction
) _wrap_PrintData_GetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25766 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25767 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25768 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25769 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25770 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25771 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25772 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25773 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25774 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25775 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25776 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25777 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25778 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25779 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25780 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25781 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25782 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25783 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25784 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25785 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25786 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25787 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25788 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25789 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25790 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25791 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25792 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25793 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25794 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25795 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25796 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25797 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25798 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
25799 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
25800 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25801 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25802 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25803 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25804 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25805 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25806 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25807 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25808 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25809 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25810 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25811 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25812 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25813 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25814 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25815 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25816 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25817 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25818 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25819 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25820 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25821 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25822 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25823 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25824 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25825 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25826 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25827 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25828 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25829 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25830 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
25831 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25832 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25833 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25834 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
25835 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
25836 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25837 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25838 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25839 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25840 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25841 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25842 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25843 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25844 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25845 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25846 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25847 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25848 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25849 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25850 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25851 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25852 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25853 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25854 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25855 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25856 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25857 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25858 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25859 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25860 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25861 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25862 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25863 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25864 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25865 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25866 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25867 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25868 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
25869 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25870 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25871 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25872 { (char *)"PrintDialog_GetPrintData", (PyCFunction
) _wrap_PrintDialog_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25873 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25874 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
25875 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25876 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25877 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25878 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25879 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25880 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25881 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25882 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25883 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25884 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25885 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
25886 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25887 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25888 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25889 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25890 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25891 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25892 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25893 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25894 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25895 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25896 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25897 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25898 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25899 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25900 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25901 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25902 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25903 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25904 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25905 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25906 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25907 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25908 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
25909 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25910 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
25911 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25912 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25913 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25914 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25915 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25916 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
25917 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25918 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25919 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25920 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25921 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25922 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25923 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25924 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25925 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25926 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
25927 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
25928 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25929 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25930 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25931 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25932 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25933 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25934 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25935 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25936 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25937 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25938 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25939 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25940 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25941 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25942 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25943 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25944 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25945 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25946 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25947 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25948 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25949 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25950 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
25951 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
25952 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25953 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25954 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25955 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25956 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25957 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25958 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25959 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25960 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
25961 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25962 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25963 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25964 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25965 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25966 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25967 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25968 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
25969 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25970 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25971 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25972 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25973 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
25974 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
25975 { NULL
, NULL
, 0, NULL
}
25979 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25981 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
25982 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
25984 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
25985 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25987 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
25988 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
25990 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
25991 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
25993 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
25994 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
25996 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
25997 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
25999 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
26000 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
26002 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
26003 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26005 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
26006 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
26008 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
26009 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
26011 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
26012 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
26014 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
26015 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
26017 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
26018 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26020 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
26021 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
26023 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
26024 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
26026 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
26027 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26029 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
26030 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
26032 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
26033 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
26035 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
26036 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
26038 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
26039 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
26041 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
26042 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
26044 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
26045 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
26047 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
26048 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
26050 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
26051 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
26053 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
26054 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26056 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
26057 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
26059 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
26060 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
26062 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
26063 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
26065 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
26066 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
26068 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
26069 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
26071 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
26072 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
26074 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
26075 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26077 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
26078 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
26080 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
26081 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
26083 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
26084 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
26086 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
26087 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
26089 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
26090 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26092 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
26093 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26095 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
26096 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
26098 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
26099 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
26101 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
26102 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
26104 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
26105 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
26107 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
26108 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26110 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
26111 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
26113 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
26114 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
26116 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
26117 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26119 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
26120 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
26122 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
26123 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
26125 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
26126 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
26128 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
26129 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
26131 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
26132 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
26134 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
26135 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
26137 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
26138 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
26140 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
26141 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26143 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
26144 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26146 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
26147 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
26149 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
26150 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
26152 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
26153 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26155 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
26156 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26158 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
26159 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
26161 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
26162 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
26164 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
26165 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26167 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
26168 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
26170 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
26171 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26173 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
26174 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
26176 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
26177 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26179 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
26180 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
26182 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
26183 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
26185 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
26186 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
26188 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
26189 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
26191 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
26192 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
26194 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
26195 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
26197 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
26198 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
26200 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
26201 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26203 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
26204 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
26206 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
26207 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
26209 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
26210 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26212 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
26213 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26215 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
26216 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
26218 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
26219 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
26221 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
26222 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
26224 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
26225 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26227 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
26228 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26230 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
26231 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26233 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
26234 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
26236 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
26237 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26239 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
26240 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
26242 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
26243 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
26245 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
26246 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26248 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
26249 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26251 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
26252 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
26254 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
26255 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26257 static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x
) {
26258 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
26260 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
26261 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26263 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
26264 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26266 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
26267 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
26269 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
26270 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
26272 static void *_p_wxTipWindowTo_p_wxFrame(void *x
) {
26273 return (void *)((wxFrame
*) ((wxTipWindow
*) x
));
26275 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
26276 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
26278 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
26279 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26281 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
26282 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
26284 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
26285 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
26287 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
26288 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
26290 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
26291 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
26293 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
26294 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
26296 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
26297 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
26299 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
26300 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26302 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
26303 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
26305 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
26306 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
26308 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
26309 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
26311 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
26312 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
26314 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
26315 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
26317 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
26318 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
26320 static void *_p_wxSizerTo_p_wxObject(void *x
) {
26321 return (void *)((wxObject
*) ((wxSizer
*) x
));
26323 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
26324 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
26326 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
26327 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26329 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
26330 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
26332 static void *_p_wxEventTo_p_wxObject(void *x
) {
26333 return (void *)((wxObject
*) ((wxEvent
*) x
));
26335 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
26336 return (void *)((wxObject
*) ((wxFontData
*) x
));
26338 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
26339 return (void *)((wxObject
*) ((wxPrintData
*) x
));
26341 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
26342 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
26344 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
26345 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
26347 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
26348 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
26350 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
26351 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
26353 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
26354 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
26356 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
26357 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
26359 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
26360 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
26362 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
26363 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
26365 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
26366 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
26368 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
26369 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
26371 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
26372 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
26374 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
26375 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
26377 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
26378 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26380 static void *_p_wxControlTo_p_wxObject(void *x
) {
26381 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
26383 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
26384 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
26386 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
26387 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26389 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
26390 return (void *)((wxObject
*) ((wxFSFile
*) x
));
26392 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
26393 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
26395 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
26396 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
26398 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
26399 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26401 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
26402 return (void *)((wxObject
*) ((wxColourData
*) x
));
26404 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
26405 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
26407 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
26408 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26410 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
26411 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
26413 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
26414 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
26416 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
26417 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
26419 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
26420 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26422 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
26423 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26425 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
26426 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
26428 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
26429 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
26431 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
26432 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
26434 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
26435 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26437 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
26438 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26440 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
26441 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
26443 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
26444 return (void *)((wxObject
*) ((wxPrinter
*) x
));
26446 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
26447 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
26449 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
26450 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
26452 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
26453 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26455 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
26456 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
26458 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
26459 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
26461 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
26462 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
26464 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
26465 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
26467 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
26468 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
26470 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
26471 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
26473 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
26474 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
26476 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
26477 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
26479 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
26480 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
26482 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
26483 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
26485 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
26486 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
26488 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
26489 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
26491 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
26492 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
26494 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
26495 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
26497 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
26498 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
26500 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
26501 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
26503 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
26504 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
26506 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
26507 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
26509 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
26510 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
26512 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
26513 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
26515 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
26516 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26518 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
26519 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26521 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
26522 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
26524 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
26525 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26527 static void *_p_wxImageTo_p_wxObject(void *x
) {
26528 return (void *)((wxObject
*) ((wxImage
*) x
));
26530 static void *_p_wxFrameTo_p_wxObject(void *x
) {
26531 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
26533 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
26534 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
26536 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
26537 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
26539 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
26540 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
26542 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
26543 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
26545 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
26546 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26548 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
26549 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26551 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
26552 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
26554 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
26555 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
26557 static void *_p_wxWindowTo_p_wxObject(void *x
) {
26558 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
26560 static void *_p_wxMenuTo_p_wxObject(void *x
) {
26561 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
26563 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
26564 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
26566 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
26567 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
26569 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
26570 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
26572 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
26573 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
26575 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
26576 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
26578 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
26579 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
26581 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
26582 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26584 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
26585 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
26587 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
26588 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26590 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
26591 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
26593 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
26594 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26596 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
26597 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
26599 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
26600 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26602 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
26603 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
26605 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
26606 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
26608 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
26609 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
26611 static void *_p_wxPanelTo_p_wxObject(void *x
) {
26612 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
26614 static void *_p_wxDialogTo_p_wxObject(void *x
) {
26615 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
26617 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
26618 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26620 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
26621 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26623 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
26624 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26626 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
26627 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
26629 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
26630 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
26632 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
26633 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
26635 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
26636 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26638 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
26639 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
26641 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
26642 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
26644 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
26645 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
26647 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
26648 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
26650 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
26651 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
26653 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
26654 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26656 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
26657 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
26659 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
26660 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
26662 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
26663 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26665 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
26666 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
26668 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
26669 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
26671 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
26672 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26674 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
26675 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
26677 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
26678 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
26680 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
26681 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
26683 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
26684 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
26686 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
26687 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
26689 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
26690 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26692 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
26693 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26695 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
26696 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26698 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
26699 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26701 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
26702 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
26704 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
26705 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
26707 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
26708 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
26710 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
26711 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
26713 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
26714 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
26716 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
26717 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
26719 static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x
) {
26720 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxPageSetupDialog
*) x
));
26722 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
26723 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
26725 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x
) {
26726 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxTipWindow
*) x
));
26728 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
26729 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
26731 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
26732 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
26734 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
26735 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
26737 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
26738 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
26740 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
26741 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
26743 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
26744 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26746 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
26747 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26749 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
26750 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
26752 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
26753 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
26755 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
26756 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
26758 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
26759 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
26761 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
26762 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26764 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
26765 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
26767 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
26768 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
26770 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
26771 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
26773 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
26774 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
26776 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
26777 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
26779 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
26780 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
26782 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
26783 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
26785 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
26786 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
26788 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
26789 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
26791 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
26792 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26794 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
26795 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26797 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
26798 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
26800 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
26801 return (void *)((wxWindow
*) ((wxPanel
*) x
));
26803 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
26804 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
26806 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
26807 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26809 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
26810 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
26812 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
26813 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
26815 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
26816 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
26818 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
26819 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
26821 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
26822 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
26824 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
26825 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
26827 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
26828 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
26830 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
26831 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
26833 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
26834 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
26836 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
26837 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
26839 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
26840 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26842 static void *_p_wxControlTo_p_wxWindow(void *x
) {
26843 return (void *)((wxWindow
*) ((wxControl
*) x
));
26845 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
26846 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
26848 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
26849 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
26851 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
26852 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
26854 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
26855 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
26857 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
26858 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
26860 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
26861 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26863 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
26864 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26866 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
26867 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26869 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
26870 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
26872 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
26873 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26875 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
26876 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
26878 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
26879 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
26881 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
26882 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
26884 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
26885 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
26887 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
26888 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
26890 static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x
) {
26891 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxPageSetupDialog
*) x
));
26893 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
26894 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
26896 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
26897 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26899 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
26900 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26902 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
26903 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
26905 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
26906 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
26908 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
26909 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
26911 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
26912 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
26914 static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x
) {
26915 return (void *)((wxDialog
*) ((wxPageSetupDialog
*) x
));
26917 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
26918 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
26920 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
26921 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
26923 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
26924 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
26926 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
26927 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
26929 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
26930 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
26932 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
26933 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
26935 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
26936 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
26938 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
26939 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
26941 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
26942 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
26944 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
26945 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
26947 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
26948 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
26950 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
26951 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
26953 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
26954 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
26956 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
26957 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
26959 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
26960 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
26962 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
26963 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
26965 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
26966 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
26968 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
26969 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
26971 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
26972 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
26974 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
26975 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
26977 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
26978 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
26980 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
26981 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
26983 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
26984 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
26986 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
26987 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
26989 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
26990 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
26992 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
26993 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
26995 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
26996 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
26998 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
26999 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
27001 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
[] = {{"_p_wxQueryLayoutInfoEvent", 0, "wxQueryLayoutInfoEvent *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27002 static swig_type_info _swigt__p_wxPreviewFrame
[] = {{"_p_wxPreviewFrame", 0, "wxPreviewFrame *", 0, 0, 0, 0},{"_p_wxPreviewFrame", 0, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxPreviewFrame
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27003 static swig_type_info _swigt__p_wxPyPreviewFrame
[] = {{"_p_wxPyPreviewFrame", 0, "wxPyPreviewFrame *", 0, 0, 0, 0},{"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27004 static swig_type_info _swigt__p_wxPyPanel
[] = {{"_p_wxPyPanel", 0, "wxPyPanel *", 0, 0, 0, 0},{"_p_wxPyPanel", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27005 static swig_type_info _swigt__p_wxMenu
[] = {{"_p_wxMenu", 0, "wxMenu *", 0, 0, 0, 0},{"_p_wxMenu", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27006 static swig_type_info _swigt__p_wxFontData
[] = {{"_p_wxFontData", 0, "wxFontData *", 0, 0, 0, 0},{"_p_wxFontData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27007 static swig_type_info _swigt__p_wxEvent
[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27008 static swig_type_info _swigt__p_wxPrintData
[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0, 0, 0, 0},{"_p_wxPrintData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27009 static swig_type_info _swigt__p_wxTaskBarIcon
[] = {{"_p_wxTaskBarIcon", 0, "wxTaskBarIcon *", 0, 0, 0, 0},{"_p_wxTaskBarIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27010 static swig_type_info _swigt__p_wxPyTaskBarIcon
[] = {{"_p_wxPyTaskBarIcon", 0, "wxPyTaskBarIcon *", 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27011 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}};
27012 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}};
27013 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}};
27014 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}};
27015 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}};
27016 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}};
27017 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}};
27018 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}};
27019 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}};
27020 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}};
27021 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}};
27022 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}};
27023 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}};
27024 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}};
27025 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}};
27026 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}};
27027 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}};
27028 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}};
27029 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}};
27030 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}};
27031 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}};
27032 static swig_type_info _swigt__p_wxPasswordEntryDialog
[] = {{"_p_wxPasswordEntryDialog", 0, "wxPasswordEntryDialog *", 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27033 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}};
27034 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}};
27035 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}};
27036 static swig_type_info _swigt__p_wxTextEntryDialog
[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0, 0, 0, 0},{"_p_wxTextEntryDialog", 0, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxTextEntryDialog
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27037 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}};
27038 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}};
27039 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_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_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_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_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_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_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}};
27040 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}};
27041 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}};
27042 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}};
27043 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}};
27044 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}};
27045 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}};
27046 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}};
27047 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}};
27048 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}};
27049 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}};
27050 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}};
27051 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}};
27052 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}};
27053 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_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_wxTextEntryDialog", _p_wxTextEntryDialogTo_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_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_wxEvtHandler", _p_wxEvtHandlerTo_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_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_wxPrintDialog", _p_wxPrintDialogTo_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}};
27054 static swig_type_info _swigt__p_wxMDIClientWindow
[] = {{"_p_wxMDIClientWindow", 0, "wxMDIClientWindow *", 0, 0, 0, 0},{"_p_wxMDIClientWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27055 static swig_type_info _swigt__p_wxTipWindow
[] = {{"_p_wxTipWindow", 0, "wxTipWindow *", 0, 0, 0, 0},{"_p_wxTipWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27056 static swig_type_info _swigt__p_wxPyPopupTransientWindow
[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27057 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}};
27058 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}};
27059 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}};
27060 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}};
27061 static swig_type_info _swigt__p_wxPopupWindow
[] = {{"_p_wxPopupWindow", 0, "wxPopupWindow *", 0, 0, 0, 0},{"_p_wxPopupWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxPopupWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27062 static swig_type_info _swigt__p_wxSashWindow
[] = {{"_p_wxSashWindow", 0, "wxSashWindow *", 0, 0, 0, 0},{"_p_wxSashWindow", 0, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxSashWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27063 static swig_type_info _swigt__p_wxTopLevelWindow
[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_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_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27064 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_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_wxMDIClientWindow", _p_wxMDIClientWindowTo_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_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 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_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27065 static swig_type_info _swigt__p_wxScrolledWindow
[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0, 0, 0, 0},{"_p_wxScrolledWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxScrolledWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27066 static swig_type_info _swigt__p_wxMenuBar
[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0, 0, 0, 0},{"_p_wxMenuBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27067 static swig_type_info _swigt__p_wxPyScrolledWindow
[] = {{"_p_wxPyScrolledWindow", 0, "wxPyScrolledWindow *", 0, 0, 0, 0},{"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
27068 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}};
27069 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}};
27070 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}};
27071 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}};
27072 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}};
27073 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}};
27074 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}};
27075 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_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_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_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}};
27076 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}};
27077 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}};
27078 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}};
27079 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}};
27080 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}};
27081 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}};
27082 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}};
27083 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}};
27084 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}};
27085 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}};
27086 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}};
27087 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}};
27089 static swig_type_info
*swig_types_initial
[] = {
27090 _swigt__p_wxQueryLayoutInfoEvent
,
27091 _swigt__p_wxPreviewFrame
,
27092 _swigt__p_wxPyPreviewFrame
,
27093 _swigt__p_wxPyPanel
,
27095 _swigt__p_wxFontData
,
27097 _swigt__p_wxPrintData
,
27098 _swigt__p_wxTaskBarIcon
,
27099 _swigt__p_wxPyTaskBarIcon
,
27100 _swigt__p_wxIconBundle
,
27101 _swigt__p_wxLayoutAlgorithm
,
27102 _swigt__p_wxFindDialogEvent
,
27103 _swigt__p_wxPreviewCanvas
,
27105 _swigt__p_wxSplitterEvent
,
27106 _swigt__p_wxRegion
,
27107 _swigt__p_wxFindReplaceData
,
27112 _swigt__p_wxVisualAttributes
,
27113 _swigt__p_wxMDIChildFrame
,
27114 _swigt__p_wxColourData
,
27115 _swigt__p_wxNotifyEvent
,
27116 _swigt__p_wxPyWindow
,
27117 _swigt__p_wxSplashScreen
,
27118 _swigt__p_wxFindReplaceDialog
,
27119 _swigt__p_wxProgressDialog
,
27120 _swigt__p_wxMessageDialog
,
27121 _swigt__p_wxPasswordEntryDialog
,
27122 _swigt__p_wxSingleChoiceDialog
,
27123 _swigt__p_wxMultiChoiceDialog
,
27124 _swigt__p_wxFileDialog
,
27125 _swigt__p_wxTextEntryDialog
,
27126 _swigt__p_wxPrinter
,
27127 _swigt__p_wxArrayInt
,
27128 _swigt__p_wxEvtHandler
,
27129 _swigt__p_wxCalculateLayoutEvent
,
27130 _swigt__p_wxPyHtmlListBox
,
27131 _swigt__p_wxPyVListBox
,
27134 _swigt__p_wxMiniFrame
,
27136 _swigt__p_wxPyPrintout
,
27137 _swigt__p_wxTaskBarIconEvent
,
27138 _swigt__p_wxScrollWinEvent
,
27139 _swigt__p_wxStatusBar
,
27140 _swigt__p_wxMDIParentFrame
,
27142 _swigt__p_wxObject
,
27143 _swigt__p_wxMDIClientWindow
,
27144 _swigt__p_wxTipWindow
,
27145 _swigt__p_wxPyPopupTransientWindow
,
27146 _swigt__p_wxSashLayoutWindow
,
27147 _swigt__p_wxSplitterWindow
,
27148 _swigt__p_wxSplashScreenWindow
,
27149 _swigt__p_wxPyVScrolledWindow
,
27150 _swigt__p_wxPopupWindow
,
27151 _swigt__p_wxSashWindow
,
27152 _swigt__p_wxTopLevelWindow
,
27153 _swigt__p_wxWindow
,
27154 _swigt__p_wxScrolledWindow
,
27155 _swigt__p_wxMenuBar
,
27156 _swigt__p_wxPyScrolledWindow
,
27157 _swigt__p_wxPrintPreview
,
27158 _swigt__p_wxSashEvent
,
27159 _swigt__p_wxString
,
27160 _swigt__p_wxPyPrintPreview
,
27161 _swigt__p_wxFontDialog
,
27162 _swigt__p_wxDirDialog
,
27163 _swigt__p_wxColourDialog
,
27164 _swigt__p_wxDialog
,
27166 _swigt__p_wxPageSetupDialog
,
27167 _swigt__p_wxPrintDialog
,
27168 _swigt__p_wxFileSystem
,
27169 _swigt__p_wxBitmap
,
27170 _swigt__p_wxCommandEvent
,
27171 _swigt__p_wxPreviewControlBar
,
27172 _swigt__p_wxPyPreviewControlBar
,
27173 _swigt__p_wxColour
,
27174 _swigt__p_wxToolBar
,
27175 _swigt__p_wxPageSetupDialogData
,
27176 _swigt__p_wxPrintDialogData
,
27181 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
27183 static swig_const_info swig_const_table
[] = {
27184 {0, 0, 0, 0.0, 0, 0}};
27193 SWIGEXPORT(void) SWIG_init(void) {
27194 static PyObject
*SWIG_globals
= 0;
27195 static int typeinit
= 0;
27198 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
27199 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
27200 d
= PyModule_GetDict(m
);
27203 for (i
= 0; swig_types_initial
[i
]; i
++) {
27204 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
27208 SWIG_InstallConstants(d
,swig_const_table
);
27210 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
27211 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
27212 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
27213 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
27214 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
27215 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_From_int((int)wxSTAY_ON_TOP
));
27216 PyDict_SetItemString(d
,"ICONIZE", SWIG_From_int((int)wxICONIZE
));
27217 PyDict_SetItemString(d
,"MINIMIZE", SWIG_From_int((int)wxMINIMIZE
));
27218 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_From_int((int)wxMAXIMIZE
));
27219 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_From_int((int)wxCLOSE_BOX
));
27220 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_From_int((int)wxTHICK_FRAME
));
27221 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_From_int((int)wxSYSTEM_MENU
));
27222 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_From_int((int)wxMINIMIZE_BOX
));
27223 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_From_int((int)wxMAXIMIZE_BOX
));
27224 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_From_int((int)wxTINY_CAPTION_HORIZ
));
27225 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_From_int((int)wxTINY_CAPTION_VERT
));
27226 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_From_int((int)wxRESIZE_BOX
));
27227 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_From_int((int)wxRESIZE_BORDER
));
27228 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_From_int((int)wxDIALOG_NO_PARENT
));
27229 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)wxDEFAULT_FRAME_STYLE
));
27230 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)wxDEFAULT_DIALOG_STYLE
));
27231 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_From_int((int)wxFRAME_TOOL_WINDOW
));
27232 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)wxFRAME_FLOAT_ON_PARENT
));
27233 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)wxFRAME_NO_WINDOW_MENU
));
27234 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_From_int((int)wxFRAME_NO_TASKBAR
));
27235 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_From_int((int)wxFRAME_SHAPED
));
27236 PyDict_SetItemString(d
,"FRAME_DRAWER", SWIG_From_int((int)wxFRAME_DRAWER
));
27237 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_From_int((int)wxDIALOG_MODAL
));
27238 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_From_int((int)wxDIALOG_MODELESS
));
27239 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_From_int((int)wxUSER_COLOURS
));
27240 PyDict_SetItemString(d
,"NO_3D", SWIG_From_int((int)wxNO_3D
));
27241 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)wxFULLSCREEN_NOMENUBAR
));
27242 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)wxFULLSCREEN_NOTOOLBAR
));
27243 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)wxFULLSCREEN_NOSTATUSBAR
));
27244 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_From_int((int)wxFULLSCREEN_NOBORDER
));
27245 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)wxFULLSCREEN_NOCAPTION
));
27246 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_From_int((int)wxFULLSCREEN_ALL
));
27247 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)wxTOPLEVEL_EX_DIALOG
));
27248 PyDict_SetItemString(d
,"USER_ATTENTION_INFO", SWIG_From_int((int)wxUSER_ATTENTION_INFO
));
27249 PyDict_SetItemString(d
,"USER_ATTENTION_ERROR", SWIG_From_int((int)wxUSER_ATTENTION_ERROR
));
27250 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)wxSPLASH_CENTRE_ON_PARENT
));
27251 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)wxSPLASH_CENTRE_ON_SCREEN
));
27252 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_From_int((int)wxSPLASH_NO_CENTRE
));
27253 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_From_int((int)wxSPLASH_TIMEOUT
));
27254 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)wxSPLASH_NO_TIMEOUT
));
27255 PyDict_SetItemString(d
,"SB_NORMAL", SWIG_From_int((int)wxSB_NORMAL
));
27256 PyDict_SetItemString(d
,"SB_FLAT", SWIG_From_int((int)wxSB_FLAT
));
27257 PyDict_SetItemString(d
,"SB_RAISED", SWIG_From_int((int)wxSB_RAISED
));
27258 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
27259 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_From_int((int)wxSP_NOBORDER
));
27260 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_From_int((int)wxSP_NOSASH
));
27261 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)wxSP_PERMIT_UNSPLIT
));
27262 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_From_int((int)wxSP_LIVE_UPDATE
));
27263 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_From_int((int)wxSP_3DSASH
));
27264 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_From_int((int)wxSP_3DBORDER
));
27265 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_From_int((int)wxSP_NO_XP_THEME
));
27266 PyDict_SetItemString(d
,"SP_BORDER", SWIG_From_int((int)wxSP_BORDER
));
27267 PyDict_SetItemString(d
,"SP_3D", SWIG_From_int((int)wxSP_3D
));
27268 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_From_int((int)wxSPLIT_HORIZONTAL
));
27269 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_From_int((int)wxSPLIT_VERTICAL
));
27270 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_From_int((int)wxSPLIT_DRAG_NONE
));
27271 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)wxSPLIT_DRAG_DRAGGING
));
27272 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSPLIT_DRAG_LEFT_DOWN
));
27273 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
27274 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
27275 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
27276 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
27277 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
27278 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
27279 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_From_int((int)wxSASH_DRAG_NONE
));
27280 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_From_int((int)wxSASH_DRAG_DRAGGING
));
27281 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)wxSASH_DRAG_LEFT_DOWN
));
27282 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_From_int((int)wxSW_NOBORDER
));
27283 PyDict_SetItemString(d
,"SW_BORDER", SWIG_From_int((int)wxSW_BORDER
));
27284 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_From_int((int)wxSW_3DSASH
));
27285 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_From_int((int)wxSW_3DBORDER
));
27286 PyDict_SetItemString(d
,"SW_3D", SWIG_From_int((int)wxSW_3D
));
27287 PyDict_SetItemString(d
,"SASH_TOP", SWIG_From_int((int)wxSASH_TOP
));
27288 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_From_int((int)wxSASH_RIGHT
));
27289 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_From_int((int)wxSASH_BOTTOM
));
27290 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_From_int((int)wxSASH_LEFT
));
27291 PyDict_SetItemString(d
,"SASH_NONE", SWIG_From_int((int)wxSASH_NONE
));
27292 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_From_int((int)wxSASH_STATUS_OK
));
27293 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)wxSASH_STATUS_OUT_OF_RANGE
));
27294 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
27295 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_From_int((int)wxLAYOUT_HORIZONTAL
));
27296 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_From_int((int)wxLAYOUT_VERTICAL
));
27297 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_From_int((int)wxLAYOUT_NONE
));
27298 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_From_int((int)wxLAYOUT_TOP
));
27299 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_From_int((int)wxLAYOUT_LEFT
));
27300 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_From_int((int)wxLAYOUT_RIGHT
));
27301 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_From_int((int)wxLAYOUT_BOTTOM
));
27302 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_From_int((int)wxLAYOUT_LENGTH_Y
));
27303 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_From_int((int)wxLAYOUT_LENGTH_X
));
27304 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)wxLAYOUT_MRU_LENGTH
));
27305 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_From_int((int)wxLAYOUT_QUERY
));
27306 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
27307 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
27308 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
27310 // Map renamed classes back to their common name for OOR
27311 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
27312 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
27313 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
27315 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
27316 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
27317 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
27318 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
27319 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
27320 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
27321 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
27322 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
27323 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
27324 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
27325 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
27326 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
27327 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
27328 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_From_int((int)wxCHOICEDLG_STYLE
));
27329 SWIG_addvarlink(SWIG_globals
,(char*)"GetPasswordFromUserPromptStr",_wrap_GetPasswordFromUserPromptStr_get
, _wrap_GetPasswordFromUserPromptStr_set
);
27330 PyDict_SetItemString(d
,"FR_DOWN", SWIG_From_int((int)wxFR_DOWN
));
27331 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_From_int((int)wxFR_WHOLEWORD
));
27332 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_From_int((int)wxFR_MATCHCASE
));
27333 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_From_int((int)wxFR_REPLACEDIALOG
));
27334 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_From_int((int)wxFR_NOUPDOWN
));
27335 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_From_int((int)wxFR_NOMATCHCASE
));
27336 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_From_int((int)wxFR_NOWHOLEWORD
));
27337 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
27338 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
27339 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
27340 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
27341 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
27342 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_From_int((int)4001));
27343 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_From_int((int)4001));
27344 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_From_int((int)4002));
27345 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_From_int((int)4003));
27346 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_From_int((int)4004));
27347 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_From_int((int)4005));
27348 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_From_int((int)4100));
27349 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_From_int((int)4600));
27350 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
27351 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
27352 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_From_int((int)wxPRINT_MODE_NONE
));
27353 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_From_int((int)wxPRINT_MODE_PREVIEW
));
27354 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_From_int((int)wxPRINT_MODE_FILE
));
27355 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_From_int((int)wxPRINT_MODE_PRINTER
));
27356 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_From_int((int)wxPRINT_MODE_STREAM
));
27357 PyDict_SetItemString(d
,"PRINTBIN_DEFAULT", SWIG_From_int((int)wxPRINTBIN_DEFAULT
));
27358 PyDict_SetItemString(d
,"PRINTBIN_ONLYONE", SWIG_From_int((int)wxPRINTBIN_ONLYONE
));
27359 PyDict_SetItemString(d
,"PRINTBIN_LOWER", SWIG_From_int((int)wxPRINTBIN_LOWER
));
27360 PyDict_SetItemString(d
,"PRINTBIN_MIDDLE", SWIG_From_int((int)wxPRINTBIN_MIDDLE
));
27361 PyDict_SetItemString(d
,"PRINTBIN_MANUAL", SWIG_From_int((int)wxPRINTBIN_MANUAL
));
27362 PyDict_SetItemString(d
,"PRINTBIN_ENVELOPE", SWIG_From_int((int)wxPRINTBIN_ENVELOPE
));
27363 PyDict_SetItemString(d
,"PRINTBIN_ENVMANUAL", SWIG_From_int((int)wxPRINTBIN_ENVMANUAL
));
27364 PyDict_SetItemString(d
,"PRINTBIN_AUTO", SWIG_From_int((int)wxPRINTBIN_AUTO
));
27365 PyDict_SetItemString(d
,"PRINTBIN_TRACTOR", SWIG_From_int((int)wxPRINTBIN_TRACTOR
));
27366 PyDict_SetItemString(d
,"PRINTBIN_SMALLFMT", SWIG_From_int((int)wxPRINTBIN_SMALLFMT
));
27367 PyDict_SetItemString(d
,"PRINTBIN_LARGEFMT", SWIG_From_int((int)wxPRINTBIN_LARGEFMT
));
27368 PyDict_SetItemString(d
,"PRINTBIN_LARGECAPACITY", SWIG_From_int((int)wxPRINTBIN_LARGECAPACITY
));
27369 PyDict_SetItemString(d
,"PRINTBIN_CASSETTE", SWIG_From_int((int)wxPRINTBIN_CASSETTE
));
27370 PyDict_SetItemString(d
,"PRINTBIN_FORMSOURCE", SWIG_From_int((int)wxPRINTBIN_FORMSOURCE
));
27371 PyDict_SetItemString(d
,"PRINTBIN_USER", SWIG_From_int((int)wxPRINTBIN_USER
));
27372 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_From_int((int)wxPRINTER_NO_ERROR
));
27373 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_From_int((int)wxPRINTER_CANCELLED
));
27374 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_From_int((int)wxPRINTER_ERROR
));
27375 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_From_int((int)wxPREVIEW_PRINT
));
27376 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_From_int((int)wxPREVIEW_PREVIOUS
));
27377 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_From_int((int)wxPREVIEW_NEXT
));
27378 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_From_int((int)wxPREVIEW_ZOOM
));
27379 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_From_int((int)wxPREVIEW_FIRST
));
27380 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_From_int((int)wxPREVIEW_LAST
));
27381 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_From_int((int)wxPREVIEW_GOTO
));
27382 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_From_int((int)wxPREVIEW_DEFAULT
));
27383 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_From_int((int)wxID_PREVIEW_CLOSE
));
27384 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_From_int((int)wxID_PREVIEW_NEXT
));
27385 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)wxID_PREVIEW_PREVIOUS
));
27386 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_From_int((int)wxID_PREVIEW_PRINT
));
27387 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_From_int((int)wxID_PREVIEW_ZOOM
));
27388 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_From_int((int)wxID_PREVIEW_FIRST
));
27389 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_From_int((int)wxID_PREVIEW_LAST
));
27390 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_From_int((int)wxID_PREVIEW_GOTO
));
27392 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");